One Large Database Or Split?

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

One Large Database Or Split?

Postby sashaben » Sun Jun 14, 2009 6:08 am

I was just wondering peoples opinions regarding performance (or maybe another reason as well?)
Would it be better to have
- 1 Database of 3 Million hands
or
- 4 databases of 750k hands

Assuming in both cases they were both (and all) clustered/vacuumed/analysed/cached
and while playing I'm importing into another separate database.
Also the main use would be for hud rather than going through and looking at hands.
sashaben
 
Posts: 4
Joined: Sat May 31, 2008 11:14 pm

Re: One Large Database Or Split?

Postby kraada » Sun Jun 14, 2009 9:21 am

Personally I'd go with 1x3M. But much more than that and I'd start a new database. 5x3M is better, in my experience, than 1x15M -- if for no other reason than the housekeeping time gets quite long then.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: One Large Database Or Split?

Postby sashaben » Sun Jun 14, 2009 10:11 am

If a database has had a full housekeeping done to it, does it make any difference how many hands are in it performance wise when using hud?
sashaben
 
Posts: 4
Joined: Sat May 31, 2008 11:14 pm

Re: One Large Database Or Split?

Postby kraada » Sun Jun 14, 2009 11:43 am

It shouldn't.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 71 guests

cron
highfalutin