Re: CloseDataBase vs CommitDataBase
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68842
interpreted = N
texte = Dennis J. Bonsall, Jr. wrote:>> I would suspect that closedatabases could cause more of a>> performance hit (in performance intense situations) than commitdatabases.>> My reasoning is because commitdatabase is not taking the .db out of RAM.> > That is correct; however it is a known issue with WebDNA 4.5.1 WebSTAR > plugin version that multiple instances of the same database can be > opened. This results in one instance being written to the disk when > modified, but the other instance is still opened in ram, and contains > outdated info. The only solution is to close all databases, and reopen > them from disk. I know it then has to be reloaded into RAM, but there > is no other option (aside from upgrading - hopefully the problem has > been fixed in the latest version).> >> I use [commitdatabase..] *after* ever append/replace/delete out of >> habbit.> > Theoretically, you shouldn't even have to do this - WebDNA should do > this automatically if the option is set in the preferences.> > DennisYes indeed, but I have heard similar statements as yours regarding thisover the years (commitdatabase not working all the time)..and at some point I just starting coding this way.. (for the "just in case"scenerio).Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Dennis J. Bonsall, Jr. wrote:>> I would suspect that closedatabases could cause more of a>> performance hit (in performance intense situations) than commitdatabases.>> My reasoning is because commitdatabase is not taking the .db out of RAM.> > That is correct; however it is a known issue with WebDNA 4.5.1 WebSTAR > plugin version that multiple instances of the same database can be > opened. This results in one instance being written to the disk when > modified, but the other instance is still opened in ram, and contains > outdated info. The only solution is to close all databases, and reopen > them from disk. I know it then has to be reloaded into RAM, but there > is no other option (aside from upgrading - hopefully the problem has > been fixed in the latest version).> >> I use [commitdatabase..] *after* ever append/replace/delete out of >> habbit.> > Theoretically, you shouldn't even have to do this - WebDNA should do > this automatically if the option is set in the preferences.> > DennisYes indeed, but I have heard similar statements as yours regarding thisover the years (commitdatabase not working all the time)..and at some point I just starting coding this way.. (for the "just in case"scenerio).Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Donovan Brooke
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:
WCS Newbie question (1997)
Running _every_ page through WebCat-error.html (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
SKU lookup (1997)
WebCat2: multiple currency support (1997)
can WC render sites out? (1997)
fileinfo syntax undocumented (2000)
emailer w/F2 (1997)
Re[2]: Charting records by state (2000)
[ModDate] & [ModTime] ? (1997)
FAX orders (1996)
Webmerchant (1999)
Now you see it now you donīt (1997)
[SHOWIF]s and empty arguments (1997)
WC2.0 Memory Requirements (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
[WebDNA] [BULK] WebDNA Windows Install (2016)
Forum - Test Request (2005)
Here we go again... was: DDEConnect not working (2006)
Cookies (1999)