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:
redirect with frames (1997)
textarea input truncated at 255 chars (1999)
Prices Dropped (1998)
hiding hyperlink info in URL field (1999)
[FoundItems] solved - thanks (1997)
search results through frames (2000)
Resume Catalog ? (1997)
WebCat2 - Getting to the browser's username/password data (1997)
math on date? (1997)
Secure Server (1997)
Help! WebCat2 bug (1997)
formula's (1998)
form data submission gets truncated (1997)
Creating folders and deleting files (1997)
$Replace with [founditems] (1997)
Copy and paste text into form fields....... (2005)
Displaying photo attached to first record (1997)
Emailer setup (1997)
no [include]s with encryption? (1998)
Web Archives (2003)