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:
Hard carriage convertion? (1998)
[thisurl] or another way (2000)
Email Problem (2006)
FTP and [shell] (2003)
Stymied by [ShowNext] with drop down list on a form (1998)
Javascript Stored in a Database (2003)
LookUp Tag (1997)
Summing fields (1997)
syntax question, not in online refernce (1997)
[format] (1998)
strange problem listfiles and movefile (2000)
Automated email (2000)
Great product and great job ! (1997)
Re:Emailer and encryption (1997)
WC2.0 Memory Requirements (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Images (2003)
auto-stripping of spaces (1997)
Re:Emailer tracking (1997)
Multiple Ad databases? (1997)