Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Hosting MySQL databases?

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Search Engine Help  
Author Message
xxxspam

External


Since: Jan 08, 2004
Posts: 199



(Msg. 1) Posted: Sun Feb 29, 2004 7:58 am
Post subject: Hosting MySQL databases?
Archived from groups: alt>www>webmaster (more info?)

To a host, what is the difference between a customer having 10 databases
with each having 1 mb of stuff in it or 1 database with 10 mb of stuff in
it also assuming an equal number of tables.

--
Duende

 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
spamblocked1

External


Since: Sep 19, 2003
Posts: 3499



(Msg. 2) Posted: Sun Feb 29, 2004 11:34 am
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Duende wrote:
 > To a host, what is the difference between a customer having 10
 > databases with each having 1 mb of stuff in it or 1 database with 10
 > mb of stuff in it also assuming an equal number of tables.

Resources. A small db uses less RAM, however each db has its own overhead.

Usual advice is to have one db containing all your data and that works well
in most circumstances. It may be sensible to place rarely used data in
another db.

Why?

--
William Tasso<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
xxxspam

External


Since: Jan 08, 2004
Posts: 199



(Msg. 3) Posted: Sun Feb 29, 2004 12:37 pm
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

While sitting in a puddle William Tasso scribbled in the mud:

 > Duende wrote:
  >> To a host, what is the difference between a customer having 10
  >> databases with each having 1 mb of stuff in it or 1 database with 10
  >> mb of stuff in it also assuming an equal number of tables.
 >
 > Resources. A small db uses less RAM, however each db has its own
 > overhead.
 >
 > Usual advice is to have one db containing all your data and that works
 > well in most circumstances. It may be sensible to place rarely used
 > data in another db.
 >
 > Why?
 >

Just seems more neat & tidy to have all tables pertaining to each thingy in
their own database. Maybe I need just one big thingy instead if many snall
thingys. Wink

--
Duende<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
spamblocked1

External


Since: Sep 19, 2003
Posts: 3499



(Msg. 4) Posted: Sun Feb 29, 2004 3:09 pm
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Duende wrote:
 > While sitting in a puddle William Tasso scribbled in the mud:
 >
  >> Duende wrote:
   >>> To a host, what is the difference between a customer having 10
   >>> databases with each having 1 mb of stuff in it or 1 database with 10
   >>> mb of stuff in it also assuming an equal number of tables.
  >>
  >> Resources. A small db uses less RAM, however each db has its own
  >> overhead.
  >>
  >> Usual advice is to have one db containing all your data and that
  >> works well in most circumstances. It may be sensible to place
  >> rarely used data in another db.
  >>
  >> Why?
  >>
 >
 > Just seems more neat & tidy to have all tables pertaining to each
 > thingy in their own database. Maybe I need just one big thingy
 > instead if many snall thingys. Wink

There is economy of scale to factor in. For example if you have a db that
contains your site navigation/site map then it could make sense to have just
one set of routines that delivers to several sites based on a parameterised
query: what site is calling?, what page is calling?

Then you only have your logic and data in one place - easy to manage change.

Same can apply to many apps, guestbook, forums, online polls etc....

--
William Tasso<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
e01

External


Since: Feb 01, 2004
Posts: 27



(Msg. 5) Posted: Sun Feb 29, 2004 7:19 pm
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"William Tasso" <SpamBlocked DeleteThis @tbdata.com> wrote
 > Usual advice is to have one db containing all your data and that works
well
 > in most circumstances. It may be sensible to place rarely used data in
 > another db.
 >
 > Why?


Some web-based programs such as guestbooks, bulletin boards, etc, like to
use their own database...or two. Drives me nuts Razz<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
who

External


Since: Apr 29, 2004
Posts: 1010



(Msg. 6) Posted: Sun Feb 29, 2004 9:16 pm
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Duende" <xxxspam.DeleteThis@wipkip.biz> wrote in message
news:Xns949DD58CE79A9xxxspamwipkipbiz@130.133.1.4...
 > To a host, what is the difference between a customer having 10 databases
 > with each having 1 mb of stuff in it or 1 database with 10 mb of stuff in
 > it also assuming an equal number of tables.
 >
For us - it is 10 mb - thats all she wrote.

By the way mr D. do you ever sleep?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
xxxspam

External


Since: Jan 08, 2004
Posts: 199



(Msg. 7) Posted: Sun Feb 29, 2004 9:16 pm
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

While sitting in a puddle Bill Logan scribbled in the mud:

 > By the way mr D. do you ever sleep?

Gave that up years ago. Just a waste of time.

--
Duende<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
user274

External


Since: Oct 23, 2003
Posts: 226



(Msg. 8) Posted: Mon Mar 01, 2004 3:35 am
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Duende" <xxxspam.DeleteThis@wipkip.biz> wrote in message
news:Xns949DD58CE79A9xxxspamwipkipbiz@130.133.1.4...
 > To a host, what is the difference between a customer having 10 databases
 > with each having 1 mb of stuff in it or 1 database with 10 mb of stuff in
 > it also assuming an equal number of tables.

In most cases it would be a waste of resources

Having multiple databases is necessary in some cases... but for the most
part if you just want to keep it "neat and tidy" and have a database for
your products, a database for your guestbook, a database for your sitemap, a
database for wholesale products, a database for people signed up for your
newsletter... etc... etc...

It just ends up being a waste of system resources (RAM, cache, CPU, etc) if
you are opening a database connection, reading a table, closing database
connection, opening new connection, reading a table, closing connection,
opening a third connection, etc, etc, etc<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
who

External


Since: Apr 29, 2004
Posts: 1010



(Msg. 9) Posted: Mon Mar 01, 2004 8:56 am
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Duende" <xxxspam.DeleteThis@wipkip.biz> wrote in message
news:Xns949E10B7DF680xxxspamwipkipbiz@130.133.1.4...
 > While sitting in a puddle William Tasso scribbled in the mud:
 >
  > > Duende wrote:
   > >> To a host, what is the difference between a customer having 10
   > >> databases with each having 1 mb of stuff in it or 1 database with 10
   > >> mb of stuff in it also assuming an equal number of tables.
  > >
  > > Resources. A small db uses less RAM, however each db has its own
  > > overhead.
  > >
  > > Usual advice is to have one db containing all your data and that works
  > > well in most circumstances. It may be sensible to place rarely used
  > > data in another db.
  > >
  > > Why?
  > >
 >
 > Just seems more neat & tidy to have all tables pertaining to each thingy
in
 > their own database. Maybe I need just one big thingy instead if many snall
 > thingys. Wink
 >
In MySql you would manage that in one db by giving rhe tables for each
thingy a group prefix - as in big_thingy for all tables for big thingys and
small_thingy for all tables for small thingys.

Then it is simple when you need to identify one group of thingys from
others.

--
bildanet
MyLot.net - the home of the $10 reseller programme<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
xxxspam

External


Since: Jan 08, 2004
Posts: 199



(Msg. 10) Posted: Mon Mar 01, 2004 8:56 am
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

While sitting in a puddle Bill Logan scribbled in the mud:

 > In MySql you would manage that in one db by giving rhe tables for each
 > thingy a group prefix - as in big_thingy for all tables for big
 > thingys and small_thingy for all tables for small thingys.
 >
 > Then it is simple when you need to identify one group of thingys from
 > others.

That's what I have to do on some sites.

Mostly it was something I was just wondering about.

I have 4 hosts that use cPanel and only one of them sets a limit. As it's
one of the best I thought they must have a good reason whereas the other
best one doesn't set a limit.

--
Duende<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
xxxspam

External


Since: Jan 08, 2004
Posts: 199



(Msg. 11) Posted: Mon Mar 01, 2004 9:56 pm
Post subject: Re: Hosting MySQL databases? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

While sitting in a puddle Augustus scribbled in the mud:

 > Duende" <xxxspam RemoveThis @wipkip.biz> wrote in message
 > news:Xns949DD58CE79A9xxxspamwipkipbiz@130.133.1.4...
  >> To a host, what is the difference between a customer having 10
  >> databases with each having 1 mb of stuff in it or 1 database with 10
  >> mb of stuff in it also assuming an equal number of tables.
 >
 > In most cases it would be a waste of resources
 >
 > Having multiple databases is necessary in some cases... but for the
 > most part if you just want to keep it "neat and tidy" and have a
 > database for your products, a database for your guestbook, a database
 > for your sitemap, a database for wholesale products, a database for
 > people signed up for your newsletter... etc... etc...

Thanks fo everybodys input to my question. I think I might have learned
something. Wink

--
Duende<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Hosting MySQL databases? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Mulitpart form posts and mySQL databases - How are files encoded when theyre sent in mulitpart forms??? Is it the same as blob fields in mySQL databased when you use the LOAD_FILE() command?? If not, is it easy to convert from one to the other?? At the moment, Im taking the blob from mySQL and..

Databases and pagerank - I have a site that badly needs an update. I want to go to a database driven design (PHP/MySQL) but the site has a pagerank of 4 which I don't want to jeopardise. I'm thinking of leaving the main index.htm and adding index.php and waiting to see how the..

Help with MySQL - hi i am building a site from my pc using APACHE/ and all that other stuff need a little help... Now i want to add some php stuff )INSTALLED AND WORKS( , but this needs mySQL )INSTALLED AND WORKS( how would i setup the databases (named: dbase) : before on...

mysql errors - Hi, I've run a php script that uses mysql databases without problems on one server, but then I changed web hosts and installed it the same way buy I get a lot of errors which are all derived from the script not being able to interact with the database.....

mysql question - Ok I have a .sql file thats 30MB in my home dir... I need to use SSH to put it in the database because it wont work with doing it via phpmyadmin... Can anyone remind me what the line is again to do this via SSH? Thanks.... -- Viper http://www.zurax.co...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]