Re: [WebDNA] To Commitdatabase or Not to Commitdatabase

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108411
interpreted = N
texte = > Do you know if is the same as having a at the end of = all/any [append] / [replace] within a codebase. Yes, AFAIK, this is correct ^^^. > Meaning that they are equal but absolute better than Flushdatabases. But this ^^^ , I do not understand what you are asking. I think instead of thinking in terms of "better than", you would benefit = from just focusing on what you want/need to happen. What do you want? = You want to have a reason to do things.. before doing them. Describe = the real need and then the best answer comes. Just saying "better than" = is out of context and too vague. If your need is just to make sure the data is preserved in case webdna = crashes, then you just want the data on disk (whether or not it was also = in RAM). For that purpose, either use the auto-commit admin toggle, or = use [commitdatabase...] after any db *writing* operation in code. > ...or is better than [append] / [replace] or vise = versa. Huh? Here ^^^ you seem to be comparing [commitdatabase...] with = [append] / [replace] ?! [commitdatabase...] writes a database's contents from RAM to disk. [append] adds a record to a db. [replace] replaces field values in an existing record (and appends as = well if using the "&append=3DT" param.) So I really do not understand how you came to compare those very = different things. -Govinda Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Kenneth Grome 2012)
  2. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (christophe.billiottet@webdna.us 2012)
  3. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Palle Bo Nielsen 2012)
  4. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Govinda 2012)
  5. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Palle Bo Nielsen 2012)
  6. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Govinda 2012)
  7. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Palle Bo Nielsen 2012)
  8. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Govinda 2012)
  9. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Palle Bo Nielsen 2012)
  10. Re: [WebDNA] To Commitdatabase or Not to Commitdatabase (Govinda 2012)
  11. [WebDNA] To Commitdatabase or Not to Commitdatabase (Palle Bo Nielsen 2012)
> Do you know if is the same as having a at the end of = all/any [append] / [replace] within a codebase. Yes, AFAIK, this is correct ^^^. > Meaning that they are equal but absolute better than Flushdatabases. But this ^^^ , I do not understand what you are asking. I think instead of thinking in terms of "better than", you would benefit = from just focusing on what you want/need to happen. What do you want? = You want to have a reason to do things.. before doing them. Describe = the real need and then the best answer comes. Just saying "better than" = is out of context and too vague. If your need is just to make sure the data is preserved in case webdna = crashes, then you just want the data on disk (whether or not it was also = in RAM). For that purpose, either use the auto-commit admin toggle, or = use [commitdatabase...] after any db *writing* operation in code. > ...or is better than [append] / [replace] or vise = versa. Huh? Here ^^^ you seem to be comparing [commitdatabase...] with = [append] / [replace] ?! [commitdatabase...] writes a database's contents from RAM to disk. [append] adds a record to a db. [replace] replaces field values in an existing record (and appends as = well if using the "&append=3DT" param.) So I really do not understand how you came to compare those very = different things. -Govinda 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:

Comments in db? (1997) WCS Newbie question (1997) calculating tax rates, mail order solutions and version 2 (1997) Email Newsletters (2003) Variables (1999) WebCat b13 CGI -shownext- (1997) Windows XP + Apache 2.0 + WebDNA (2002) Reversed words (1997) best way to get 2 unique strings on the same page load? (2000) Emailer setup (1997) Case sensitivity and [showif] (1999) More Applescript (1997) DB permission issues (2004) Duplicate Email (2003) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat2 - many [carts] on one template page? (1997) wierd crashes for multi-sendmails on NT (1997) Looking for a Manual (1997) JavaScript form question (2001)