Re: autocommit problem
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19073
interpreted = N
texte = >On a server with WebCat 2.1 and WebStar 3.0, I have>>AutoCommit F>>in the preferences. When I wanted to, I just used a [commitdatabases]>command to write them to disk, which was everytime a database changed.>>Now I want to avoid writing these databases to disk unless I give a>command to do so at my convenience. After I get rid of all the>[commitdatabases], the databases continue to be flushed to disk with each>append or replace.>>This is also true for a new [replace] situation I added (never had a>[commitdabase] context to forget to remove) on a very large database that>I can't spare the time it takes to flush to disk.>>I don't see this behavior on my betastore with demo's of WebCat and>WebStar 2.1 running. Both have the autocommit set to false and always>have.>>Is there another item in my preference folder that could override the>AutoCommit F setting? Is there a conflict with a WebStar 3.0 setting?>>Any clues?[append] automatically writes to disk. It does not need the[commitdatabases] command. So I would assume the autocommit=F would noteffect one way or the other this command.regarding the [replace] and it still writing to disk, not to ram and allyou did on your templates is edit out [commitdatabase=some.db] and you areon a Mac and webstar you might want to flush the cache via webstar as itmight be holding the old copy of the template in ram. and make sure youflush your browser cache also. Sometimes such minor changes and or changesmade seconds apart the older template is the one you see not the newer oneso your changes do not show up.===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
Associated Messages, from the most recent to the oldest:
>On a server with WebCat 2.1 and WebStar 3.0, I have>>AutoCommit F>>in the preferences. When I wanted to, I just used a [commitdatabases]>command to write them to disk, which was everytime a database changed.>>Now I want to avoid writing these databases to disk unless I give a>command to do so at my convenience. After I get rid of all the>[commitdatabases], the databases continue to be flushed to disk with each>append or replace.>>This is also true for a new
[replace] situation I added (never had a>[commitdabase] context to forget to remove) on a very large database that>I can't spare the time it takes to flush to disk.>>I don't see this behavior on my betastore with demo's of WebCat and>WebStar 2.1 running. Both have the autocommit set to false and always>have.>>Is there another item in my preference folder that could override the>AutoCommit F setting? Is there a conflict with a WebStar 3.0 setting?>>Any clues?
[append] automatically writes to disk. It does not need the[commitdatabases] command. So I would assume the autocommit=F would noteffect one way or the other this command.regarding the
[replace] and it still writing to disk, not to ram and allyou did on your templates is edit out [commitdatabase=some.db] and you areon a Mac and webstar you might want to flush the cache via webstar as itmight be holding the old copy of the template in ram. and make sure youflush your browser cache also. Sometimes such minor changes and or changesmade seconds apart the older template is the one you see not the newer oneso your changes do not show up.===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
Gary Richter
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:
WebCatalog/WebMerchant 2.1 (1998)
SendMail context not working on CentOS 4 (2007)
HELP WITH DATES (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
Calculating Shipping (1997)
Newbie questions (1999)
RE: Languages (1997)
converchars in sendmail context.... (2004)
About WebDNA (2006)
[ShowNext] feature in 2.0 (1997)
PIXO (1997)
Webten + Webcat running smooth (1998)
Superfilous Characters (1998)
Nested tags count question (1997)
OT: Flash developer needed (2007)
Am I going senile? (Price recalc based on quantity) (1997)
[lookup] [search] Issue (2005)
WC2 or 3: Displaying Search Result Relevance (1998)
GuestBook example (1997)
RE: spawn (1998)