Re: [WebDNA] [store] and [recall]: default db location
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 112074
interpreted = N
texte = > Why would it matter if the same volume of data were stored in a> single db or in separate dbs?Just want to take this opportunity to make a parenthesis: several small =databases are usually faster than a large one. Why is this? because one =single modification in a database, in case "Automatically commit =databases to disk after modification" is checked, will have to write few =hundred KB or few MB instead of tens or hundreds of MB to disk. Also, =smaller databases use smaller chunks of RAM.For a instance, a *very* large database with millions of entries would =be faster if split, using a small switch as entry point. For instance =let say the database stores names. It is divided into 26 smaller db, =each one storing the names starting with a specific letter: "a", "b", ="c", "d", =85The entry point (search, append, whatever=85) will extract the first =letter of the query and point the query at the proper db.Since we can expect that not all the databases will be opened at the =same time, RAM usage will also be lower, and a very large database =(several GB) will be easier to open if the server does not have a lot of =RAM.- chris=
Associated Messages, from the most recent to the oldest:
> Why would it matter if the same volume of data were stored in a> single db or in separate dbs?Just want to take this opportunity to make a parenthesis: several small =databases are usually faster than a large one. Why is this? because one =single modification in a database, in case "Automatically commit =databases to disk after modification" is checked, will have to write few =hundred KB or few MB instead of tens or hundreds of MB to disk. Also, =smaller databases use smaller chunks of RAM.For a instance, a *very* large database with millions of entries would =be faster if split, using a small switch as entry point. For instance =let say the database stores names. It is divided into 26 smaller db, =each one storing the names starting with a specific letter: "a", "b", ="c", "d", =85The entry point (search, append, whatever=85) will extract the first =letter of the query and point the query at the proper db.Since we can expect that not all the databases will be opened at the =same time, RAM usage will also be lower, and a very large database =(several GB) will be easier to open if the server does not have a lot of =RAM.- chris=
christophe.billiottet@webdna.us
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:
WebDNA on Intel Mac (2006)
Reversed words (1997)
Creating comums (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Search results templates (1996)
WCS Newbie question (1997)
Roundup function? (1997)
WebCat virtual postcard is done! Thanks for the help! (1998)
[Capitalize] (1998)
Re(5): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)
PCS Emailer's role ? (1997)
pull downs (1997)
Help! WebCat2 bug (1997)
Problem with Formulas.db (1998)
using showpage and showcart commands (1996)
WebCat hosting sites? (1998)
Unceremonious Unwanted Unsubscription (1999)
Nested search (1997)
Re[2]: Using the sendmail command on CGate Pro (Unix) (2000)
Trouble Installing WC 4.0.2 on RedHat 7.1 (2001)