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 themand NEVER write to a r/o database. I also need a tag to force the RAMresident version to be replaced with the disk resident copy. I cannotbe expected to [flushdatabase] and THEN replace a 16MB database, allthe 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 theRAM 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 withinWebCatalog. I can, of course, shut off WebCatalog while I am in theprocess of replacing my files, but I am running many sites which passall of their pages through WebCatalog, so that would leave me completely dead in the water during updates.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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:
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 themand NEVER write to a r/o database. I also need a tag to force the RAMresident version to be replaced with the disk resident copy. I cannotbe expected to [flushdatabase] and THEN replace a 16MB database, allthe 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 theRAM 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 withinWebCatalog. I can, of course, shut off WebCatalog while I am in theprocess of replacing my files, but I am running many sites which passall of their pages through WebCatalog, so that would leave me completely dead in the water during updates.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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:
Reloading Shopping Carts (1998)
New Guestbook Source (1997)
template cache problem (1998)
MasterCounter Help (1998)
Content-type:... (2000)
Webmerchant (1999)
Emailer issue (2006)
Don't know if this is a sily question... (2003)
URGENT! Locked DB's (2001)
Making WebCatalog run as www (2006)
[WebDNA] Install/config issue: WebDNA-MacTel-6.2>OS X Server (2009)
protect (summer holidays with wcat???) (2000)
Quit revisited (1997)
WebCatalog2 Feature Feedback (1996)
Adding new customer numbers sequentially (1997)
WebDNA Feature Request (2006)
# fields limited? (1997)
sort problems....bug or brain fart? (1997)
DataBaseHelper Flawed (1997)
Protect Tag and Groups (1998)