Re: 'page impression' techniques for banner ads
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22202
interpreted = N
texte = >Re:>>How does closedatabase and commit database affect speed? If a server crashes>>and use the #1 technique then I'll lose a lot of the data. So if I add a>>commitdatabase call would that be the same as going to the disk like option>>2?>>OK.... (or as Support 2 used to say, Ah ha.. gotcha)>>WHY can't the databases be automatically saved to disk and the ram freed>when a replace, append, write etc... contexts is (are) sent?In a sense, they can. In the WebCatalog admin area, turn on autocommitdatabases. This will save any modification to any database to diskimmediately. Please note, you will pay a HEAVY speed penalty if you aredoing operations like comparing one database to another and integratingrecord changes to synchronize the two. Perhaps a future version ofwebcatalog will allow you (in the admin area) to turn on autocommit for eachdatabase, or give us a command to temporarily turn off autocommit databaseswhile an operation is taking place. [commitoff db=somedata.db]blah blah blah[commiton db=somedata.db]BTW, closedatabase will not lose any data, as it commits the ram to disk,then flushes the ram of the database. Commitdatabase only saves from ram todisk, but it leaves the database in ram afterward.Why close the whole database because you did a replace? All you need to doit write the database to disk (for safety) which commitdatabase will do. Brian B. Burton BOFH - Department of Redundancy Department--------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer?I am today.
Associated Messages, from the most recent to the oldest:
>Re:>>How does closedatabase and commit database affect speed? If a server crashes>>and use the #1 technique then I'll lose a lot of the data. So if I add a>>commitdatabase call would that be the same as going to the disk like option>>2?>>OK.... (or as Support 2 used to say, Ah ha.. gotcha)>>WHY can't the databases be automatically saved to disk and the ram freed>when a replace, append, write etc... contexts is (are) sent?In a sense, they can. In the WebCatalog admin area, turn on autocommitdatabases. This will save any modification to any database to diskimmediately. Please note, you will pay a HEAVY speed penalty if you aredoing operations like comparing one database to another and integratingrecord changes to synchronize the two. Perhaps a future version ofwebcatalog will allow you (in the admin area) to turn on autocommit for eachdatabase, or give us a command to temporarily turn off autocommit databaseswhile an operation is taking place. [commitoff db=somedata.db]blah blah blah[commiton db=somedata.db]BTW, closedatabase will not lose any data, as it commits the ram to disk,then flushes the ram of the database. Commitdatabase only saves from ram todisk, but it leaves the database in ram afterward.Why close the whole database because you did a replace? All you need to doit write the database to disk (for safety) which commitdatabase will do. Brian B. Burton BOFH - Department of Redundancy Department--------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer?I am today.
Brian B. Burton
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:
wo search help (1999)
WebCat2 - many [carts] on one template page? (1997)
Firesite cache vs webcat cache (1997)
Num Found by category (2000)
[SHOWIF] (1997)
PCS Frames (1997)
WebCatalog for Postcards ? (1997)
Resume Catalog ? (1997)
Automated FTP from Shell - Update (2004)
more cookie crumbling (1999)
Running 2 two WebCatalog.acgi's (1996)
Running 2 two WebCatalog.acgi's (1996)
SuperFlush stumped on simple sort (1999)
2.0 Info (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Universal root for WC errors? (1997)
RE: WebCat and image maps (1997)
Number searching/formats (1998)
Smith Micro - no competition (2000)
typhoon... (1997)