Re: [WebDNA] To Commitdatabase or Not to Commitdatabase
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108403
interpreted = N
texte = > Hi all,>=20> I have set up a WebNDA 7 server using Mac OS X Lion Client. I sort of =performs ok but I have had a problem where Apache has closed down on me =twice over the past 24 hours and since my data is stored in RAM and I do =not commit to database at every change to the content of RAM - well I =loose data - heavily.>=20> So what is the best alternative to "Automatically commit databases to =disk after modification" ? And with an ambition of NOT loosing any data.>=20> Any good suggestions?>=20Hi PalleJust use [commitdatabase...], in code, when where you want to be sure =the data in a db, in RAM, gets written to disk, like e.g. after a =[replace]/[append].-G
Associated Messages, from the most recent to the oldest:
> Hi all,>=20> I have set up a WebNDA 7 server using Mac OS X Lion Client. I sort of =performs ok but I have had a problem where Apache has closed down on me =twice over the past 24 hours and since my data is stored in RAM and I do =not commit to database at every change to the content of RAM - well I =loose data - heavily.>=20> So what is the best alternative to "Automatically commit databases to =disk after modification" ? And with an ambition of NOT loosing any data.>=20> Any good suggestions?>=20Hi PalleJust use [commitdatabase...], in code, when where you want to be sure =the data in a db, in RAM, gets written to disk, like e.g. after a =
[replace]/
[append].-G
Govinda
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:
Math Help (2000)
Reversed words (1997)
[WebDNA] How to access WebDNA admin pages? (2010)
Offer from ClearWay: Accelerate WebCatalog With ClearWay NITROPowerPlug! (1999)
WebCat2: Items xx to xx shown, etc. (1997)
A question on sub-categories (1997)
[WebDNA] securing passing info from php to webdna (2011)
Upgrading old WebCat Database Files (1997)
Dates - Search and Sorting (1999)
[addlineitems] (1997)
[searchString] (1997)
WebCatb15 Mac CGI -- [purchase] (1997)
WCS Newbie question (1997)
This message couldn't reach the list! (1998)
Trouble with Netscape (1998)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Unable to view next 101-200 (1997)
WebMerchant 1.6 and SHTML (1997)
Dummy Credit Card Number for debug? (1997)
Integration? (1999)