Re: Databases going to sleep

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19453
interpreted = N
texte = I agree with what you say. What I meant was you don't want to be flushing the database to disk frequently with a [commitdatabase] when you have a rapidly growing log file. I sometimes to replaces, etc. on log files depending on what the user does. Flushing the changes to disk can be a huge mistake when the log file grows large and volume of visitors increases.Sorry my sleep deprived brain didn't explain better earlier!Sandy>>I do similar logging and have seen blank entries. I prevented it by >>swapping the log file (rolling) whenever the largest reached several >>Megs. Make sure you aren't writing the files to disk with every append >>(an option in preferences or with commitdatabases). > >Sorry Sandy, but this is *not* an option when you use [append] ... > >[append] writes to disk every single time you use it. Only [replace] and >[delete] are affected by setting the preferences differently or by using >[commitdatabase] or [closedatabase] or [flushdatabases]. > >Sincerely, >Ken Grome >808-737-6499 >WebDNA Solutions >mailto:ken@webdna.net >http://www.webdna.net > > > Associated Messages, from the most recent to the oldest:

    
  1. Re: Databases going to sleep (Sandra L. Pitner 1998)
  2. Re: Databases going to sleep (Kenneth Grome 1998)
  3. Re: Databases going to sleep (PCS Technical Support 1998)
  4. Re: Databases going to sleep (Sandra L. Pitner 1998)
  5. Databases going to sleep (Thomas Wedderburn-Bisshop 1998)
I agree with what you say. What I meant was you don't want to be flushing the database to disk frequently with a [commitdatabase] when you have a rapidly growing log file. I sometimes to replaces, etc. on log files depending on what the user does. Flushing the changes to disk can be a huge mistake when the log file grows large and volume of visitors increases.Sorry my sleep deprived brain didn't explain better earlier!Sandy>>I do similar logging and have seen blank entries. I prevented it by >>swapping the log file (rolling) whenever the largest reached several >>Megs. Make sure you aren't writing the files to disk with every append >>(an option in preferences or with commitdatabases). > >Sorry Sandy, but this is *not* an option when you use [append] ... > >[append] writes to disk every single time you use it. Only [replace] and >[delete] are affected by setting the preferences differently or by using >[commitdatabase] or [closedatabase] or [flushdatabases]. > >Sincerely, >Ken Grome >808-737-6499 >WebDNA Solutions >mailto:ken@webdna.net >http://www.webdna.net > > > Sandra L. Pitner

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 equivalent for $REQUEST_URI (2004) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Re:quit command on NT (1997) form data submission gets truncated (1997) (2000) X Server (1999) Template transformed itself into a database? (1998) Announcement-WebCatalog 2.0 Released (1997) Show shoppingcart after remove last item (1997) Tcp Connect and the disappearing page (2000) Approved Carts (1999) Dreamweaver UltraDev (2000) Error (1997) Summing fields (1997) Major Security Hole (solution with Welcome) (1998) blank page from template (1997) Sku numbers (1997) Stuck - Figured out?? (2003) Getting Emailer to send mail (1997) [SHOWIF AND/OR] (1997)