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:

Cookie Crumble (1998) Been meaning to ask... (1997) OT Hosting Q again. (2002) syntax question, not in online refernce (1997) docs for WebCatalog2 (1997) template not found error (1998) Hiding HTML and breaking the page (1997) Error Log.db --however (1997) RE: Web*SSL and WebCatalog (1997) help needed: Non-english characters in WebCatalog (1997) [WebDNA] BBEdit Codeless Language Module for WebDNA (2009) Execute Applescript (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Paths (1998) HTML Editors (1997) Download (1999) HTML Editors (1997) WebCat & WebTen (1997) Separate SSL Server (1997) OS9 4.5.1 anyone (2003)