What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Simple Database close connection

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39267
interpreted = N
texte = >Samuel Renkert wrote: > > > > shutdown webcat and webserver > > swap databases > > startup webcat and webserver > > > > Anyone trying to get to a page will just have to wait until your > > webserver is back up, shouldn't be long, seconds, maybe. I don't see > > how else you can keep people from opening your db's between steps 2 > > and 3. > > > >Bad for us; all of our sites run 100% through WebCat so no pages at all >get served while it is down. And in one case, the file is being FTP'd >over a relatively slow WAN link, so we are talking minutes not seconds.I think if you are uploading to an active db you have trouble brewing. Webcat can close a db whenever it feels it needs more ram ([closedatabase] docs). So you run into a spot where webcat may have closed your db, and you've began uploading, now a user forces the db open. Webcat opens the db with half the data.It might be working ok for now, but it's by chance, not design.A safer alternative is to upload the file to a different location, then swap it in, thus you avoid opening an incomplete db AND you don't have to rely on a speedy upload time.A variation on what I said before, with more context... Assuming your directory structure looks like this... .../activedbs/ first.db second.db0. create a new directory .../newdbs1. upload the new DBs into newdbs. (1 hour, but who cares!) 2. kill webcat / webserver. 3. move files from newdbs into activedbs. 4. start webcat / webserver.HTHs -Sam------------------------------------------------------------- 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)
>Samuel Renkert wrote: > > > > shutdown webcat and webserver > > swap databases > > startup webcat and webserver > > > > Anyone trying to get to a page will just have to wait until your > > webserver is back up, shouldn't be long, seconds, maybe. I don't see > > how else you can keep people from opening your db's between steps 2 > > and 3. > > > >Bad for us; all of our sites run 100% through WebCat so no pages at all >get served while it is down. And in one case, the file is being FTP'd >over a relatively slow WAN link, so we are talking minutes not seconds.I think if you are uploading to an active db you have trouble brewing. Webcat can close a db whenever it feels it needs more ram ([closedatabase] docs). So you run into a spot where webcat may have closed your db, and you've began uploading, now a user forces the db open. Webcat opens the db with half the data.It might be working ok for now, but it's by chance, not design.A safer alternative is to upload the file to a different location, then swap it in, thus you avoid opening an incomplete db AND you don't have to rely on a speedy upload time.A variation on what I said before, with more context... Assuming your directory structure looks like this... .../activedbs/ first.db second.db0. create a new directory .../newdbs1. upload the new DBs into newdbs. (1 hour, but who cares!) 2. kill webcat / webserver. 3. move files from newdbs into activedbs. 4. start webcat / webserver.HTHs -Sam------------------------------------------------------------- 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/ Samuel Renkert

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:

Trouble with [Math] (1998) Frames (1997) WebCAT MacOS9 --> OSX (2003) Secure server question (1997) WCS Newbie question (1997) Emailer choke (1997) Running _every_ page through WebCat-error.html (1997) External Images (1998) Character limit in [Search]? (1998) newcart (1997) attn: smitmicro - cart limitation (2002) SmithMicro FTP problems (2002) [ShowNext] feature in 2.0 (1997) Emailer help....! (1997) Conversion Database Question (2001) Multiple Items (1998) WebCat2b15MacPlugin - [protect] (1997) Wonderin' whats the way (1998) Can Web Cat Do this? - LOOK (2000) Requiring that certain fields be completed (1997)