Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2007, 02:16 PM
Sean Fraley Sean Fraley is offline
Senior Member
 
Join Date: Aug 2006
Location: Ohio, United States
Posts: 974
Default How to find the disk usage with PT PostgreSQL database?

I've been using a VMWare image to play poker for the past year or so due to the fact that I was shuffling between different computers in the house and simply running the same VMWare image on all of them and serving my PT database off one of them. Now that I am no longer doing this, I would like to transfer the database to the VM image but need to make sure that the disk size used by the image is large enough. Does anyone know how to find out how much server disk space is used by the database?
Reply With Quote
  #2  
Old 11-22-2007, 05:31 PM
Brocken Brocken is offline
Member
 
Join Date: Sep 2007
Posts: 73
Default Re: How to find the disk usage with PT PostgreSQL database?

Check how big the Data directory is in the Postgres dir?
Reply With Quote
  #3  
Old 11-22-2007, 07:13 PM
notreallymyname notreallymyname is offline
Senior Member
 
Join Date: Dec 2006
Location: NL100
Posts: 123
Default Re: How to find the disk usage with PT PostgreSQL database?

There are functions for this in contrib/dbsize.sql
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.