deleting part of a database

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

deleting part of a database

Postby aise0603 » Wed Jul 07, 2010 11:10 am

I have about 2 million hands and they are taking up between 25-30gb. Is that normal? A lot of the hands that I have are pretty old and are at a different stake, so I could stand to lose them. Is there a way to just delete part of the database?

Thanks in advance
Mark
aise0603
 
Posts: 12
Joined: Sun Oct 04, 2009 1:54 am

Re: deleting part of a database

Postby kraada » Wed Jul 07, 2010 1:13 pm

That sounds like a normal amount of space for that quantity of hands. You can purge only certain hands from your database, but be aware it can take quite some time; if you are purging most of that database it'll probably be faster to export the hands you want and import them into a new database.

Please see the Tutorial: Selective Purge for details on how to remove parts of the database, and the Tutorial: Selective Export for details on how to export only parts of the database.
kraada
Moderator
 
Posts: 54430
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 0 guests