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:

Re:Email Problem (1997) database size? (1997) Setting up shop (1997) problems with 2 tags (1997) OFF-TOPIC: Check www.godaddy.com for me ... (2003) WebCat2 beta 11 - new prefs ... (1997) Some Questions (1997) Feedback Please (2003) Overridding E-Mailer (1998) email bounce check (2002) Newbie from and old bee (1997) Quickie question on the email templates (1997) Cart Number sequence (1997) Nested tags count question (1997) Weird Math and SV (1997) Copy and paste text into form fields....... (2005) Notepad problems (1998) caching -check- (2001) sendmail for email (was Netforms) (1998) Emailer (2000)