Re: CommitDatabase vs. CloseDatabase
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39530
interpreted = N
texte = >I'm not sure when CommitDatabase should be used instead of CloseDatabase.>>CloseDatabase will cause all info in RAM to be written to the >harddrive. As soon as the database is needed afterwards, the >database will be opened and its contents will again be in RAM and >available to the templates. If the server crashes, the database will >not be lost.>>CommitDatabase writes the info in RAM to the harddrive, but does not >close the database. Again, if the server crashes, the database will >not be lost.>>If I have this right, why would one protect a database better than the other?The don't. Use these contexts according to what you want to achieve. If you want the database to remain open, use commit - otherwise, use close.-- ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I'm not sure when CommitDatabase should be used instead of CloseDatabase.>>CloseDatabase will cause all info in RAM to be written to the >harddrive. As soon as the database is needed afterwards, the >database will be opened and its contents will again be in RAM and >available to the templates. If the server crashes, the database will >not be lost.>>CommitDatabase writes the info in RAM to the harddrive, but does not >close the database. Again, if the server crashes, the database will >not be lost.>>If I have this right, why would one protect a database better than the other?The don't. Use these contexts according to what you want to achieve. If you want the database to remain open, use commit - otherwise, use close.-- ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se-------------------------------------------------------------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://search.smithmicro.com/
Christer Olsson
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:
The USArea® Network web site ... (1997)
Dates and Math - Simple Subtraction (2004)
WebCommerce: Folder organization ? (1997)
Nested tags count question (1997)
Separate SSL Server (1997)
syntax question, not in online refernce (1997)
[WebDNA] why this error when using [shownext] with a [table]? (2009)
WebSite and *NO* Authentication Dialog Box!!? (1998)
Error after loading WebDNA (2004)
WebCat2b15MacPlugin - showing [math] (1997)
SSL do I need it?? (1998)
[OT] Bulk Email Software (2002)
Help name our technology! (1997)
[BULK] [WebDNA] [BULK] Console / WebDNA no connection to module (2011)
[OT] Creating HTML Emails (not using WebDNA) (2003)
IE 6 form caching issue. (2003)
command parameters (1998)
drop down selection list for a search (1998)
slide show (2002)
https validation (2001)