Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105614
interpreted = N
texte = Did you check if the [replace] tag actually writes to disk? or does the = replacement in RAM? We are working on the [append] tag that writes to disk, while it should = not. Maybe the [replace] tag also writes to disk? this wrong behaviour = is intentionally programmed and inherited from previous versions. - chris On Jul 18, 2010, at 18:46, Kenneth Grome wrote: > I may have been wrong about replace in a loop not working properly. = Instead it may just be REALLY SLOW ... >=20 > I just ran a new test and learned that it takes 10+ seconds to replace = those 45 db records. I never imagined that it would take so long to do = such a few replaces but apparently it does. =20 >=20 > This means I cannot look only at the "5 seconds in time" that I posted = previously. Instead I have to look at 2-3 times as many records in = order to see all 45 that were replaced. >=20 > So right now here's what I think: >=20 > WebDNA may actually be replacing all 45 records, but it is taking way = too long to do it, so I still have to find another alternative to my = existing code. >=20 > Sincerely, > Kenneth Grome >=20 >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  2. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  3. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  4. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  5. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  6. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  7. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  8. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  9. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  10. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  11. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  12. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  13. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  14. [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
Did you check if the [replace] tag actually writes to disk? or does the = replacement in RAM? We are working on the [append] tag that writes to disk, while it should = not. Maybe the [replace] tag also writes to disk? this wrong behaviour = is intentionally programmed and inherited from previous versions. - chris On Jul 18, 2010, at 18:46, Kenneth Grome wrote: > I may have been wrong about replace in a loop not working properly. = Instead it may just be REALLY SLOW ... >=20 > I just ran a new test and learned that it takes 10+ seconds to replace = those 45 db records. I never imagined that it would take so long to do = such a few replaces but apparently it does. =20 >=20 > This means I cannot look only at the "5 seconds in time" that I posted = previously. Instead I have to look at 2-3 times as many records in = order to see all 45 that were replaced. >=20 > So right now here's what I think: >=20 > WebDNA may actually be replacing all 45 records, but it is taking way = too long to do it, so I still have to find another alternative to my = existing code. >=20 > Sincerely, > Kenneth Grome >=20 >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us christophe.billiottet@webdna.us

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] writing pdfs on the fly (Avery labels #5160) (2010) [append] and SSL (1997) WebTV, IPAddress, Cookies, IDEAS?? (1998) Resume Catalog ? (1997) update on wn searching (1997) [shownext] and descending order (1997) Showif, Search and text ? (2003) questions on variations of Ken's [text multi=T]var1=&var2=[/text] (1999) WebMerchant and AVS (1998) Jimmy (1998) List archive status? (1999) Re:quit command on NT (1997) Multiply prices (1997) multiple databases (1997) Emailer help....! (1997) Firewalls - What's Good? (1999) Where's Cart Created ? (1997) Need help!! on searching in two databases. (1998) NetSplat and WebCat2 (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997)