Re: Simple Database close connection

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39156
interpreted = N
texte = Scott Anderson wrote: > > WebCatalog does not track changes made to the database file by users, other > programs, or even certain WebDNA tags (WriteFile, AppendFile, etc...). This > is why you should take care to make sure the database is flushed from memory > before modifying the physical database file by any means other than the > built in database commands.This is, of course, the cause of the problems that I have. If WebCatalog does not track changes made outside of its control (say by looking at the last modified timestamp), I have no good way to get WebCatalog to notice my changes other than [flushdatabase], which risks stomping on my changes should WebCatalog decide that the file in RAM was, at some point in the past modified for whatever reason.I need r/o databases. WebCatalog needs to keeps its claws off of them and NEVER write to a r/o database. I also need a tag to force the RAM resident version to be replaced with the disk resident copy. I cannot be expected to [flushdatabase] and THEN replace a 16MB database, all the while hoping that no one does a query that will reload a now partial file. This is a classic race condition and is not good design. Even a simple [reloaddatabase db=...] which would drop the RAM version and load the disk version would be better than the current state of affairs.This is not the first time I have asked for this (as Grant will probably be able to document) since ALL of our primary database are extracts from our backend systems and are NEVER modified within WebCatalog. I can, of course, shut off WebCatalog while I am in the process of replacing my files, but I am running many sites which pass all of their pages through WebCatalog, so that would leave me completely dead in the water during updates.John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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:

    
  1. Re: Simple Database close connection (John Peacock 2001)
  2. Re: Simple Database close connection (Samuel Renkert 2001)
  3. Re: Simple Database close connection (Alex McCombie 2001)
  4. Re: Simple Database close connection (John Peacock 2001)
  5. Re: Simple Database close connection (Samuel Renkert 2001)
  6. Re: Simple Database close connection (John Peacock 2001)
  7. Re: Simple Database close connection (John Peacock 2001)
  8. Re: Simple Database close connection (Samuel Renkert 2001)
  9. Re: Simple Database close connection (Alex McCombie 2001)
  10. Re: Simple Database close connection (Nitai @ ComputerOil 2001)
  11. Re: Simple Database close connection (Bob Minor 2001)
  12. Re: Simple Database close connection (Scott Anderson 2001)
  13. Re: Simple Database close connection (John Peacock 2001)
  14. Re: Simple Database close connection (Scott Anderson 2001)
  15. Re: Simple Database close connection (Andrew Simpson 2001)
  16. Re: Simple Database close connection (John Peacock 2001)
  17. Re: Simple Database close connection (Scott Anderson 2001)
  18. Re: Simple Database close connection (Scott Anderson 2001)
  19. Re: Simple Database close connection (Alex McCombie 2001)
  20. Re: Simple Database close connection (John Peacock 2001)
  21. Re: Simple Database close connection (John Peacock 2001)
  22. Re: Simple Database close connection (Scott Anderson 2001)
  23. Re: Simple Database close connection (Alex McCombie 2001)
  24. Re: Simple Database close connection (Scott Anderson 2001)
  25. Re: Simple Database close connection (Alex McCombie 2001)
  26. Re: Simple Database close connection (Alex McCombie 2001)
  27. Re: Simple Database close connection (Donovan Brooke 2001)
  28. Re: Simple Database close connection (John Peacock 2001)
  29. Simple Database close connection (Alex McCombie 2001)
Scott Anderson wrote: > > WebCatalog does not track changes made to the database file by users, other > programs, or even certain WebDNA tags (WriteFile, AppendFile, etc...). This > is why you should take care to make sure the database is flushed from memory > before modifying the physical database file by any means other than the > built in database commands.This is, of course, the cause of the problems that I have. If WebCatalog does not track changes made outside of its control (say by looking at the last modified timestamp), I have no good way to get WebCatalog to notice my changes other than [flushdatabase], which risks stomping on my changes should WebCatalog decide that the file in RAM was, at some point in the past modified for whatever reason.I need r/o databases. WebCatalog needs to keeps its claws off of them and NEVER write to a r/o database. I also need a tag to force the RAM resident version to be replaced with the disk resident copy. I cannot be expected to [flushdatabase] and THEN replace a 16MB database, all the while hoping that no one does a query that will reload a now partial file. This is a classic race condition and is not good design. Even a simple [reloaddatabase db=...] which would drop the RAM version and load the disk version would be better than the current state of affairs.This is not the first time I have asked for this (as Grant will probably be able to document) since ALL of our primary database are extracts from our backend systems and are NEVER modified within WebCatalog. I can, of course, shut off WebCatalog while I am in the process of replacing my files, but I am running many sites which pass all of their pages through WebCatalog, so that would leave me completely dead in the water during updates.John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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/ John Peacock

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:

WebMerchant 1.6 and SHTML (1997) WebCat Talk Arhives... (1998) includes and cart numbers (1997) RE: IIS4b2 and WebCatalog b19 (1997) Search in 2 or more catalogs (1997) [convertchars] Problem (2000) Converting a Magazine to a Web Site with WebCat (1999) Web Catalog 2 demo (1997) Searchable archives gone again??? (2000) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Malformed Pages (1999) WebCat2.0 [format thousands .0f] no go (1997) Tax and ShipCost Problem (1997) [searchString] (1997) Universal db access template ... (2002) [SHOWIF AND/OR] (1997) pc (1997) Not really WebCat (1997) Add to a filename in multifile upload (2002) & in Lookups (1997)