On Wed, May 14, 2008 at 7:33 PM, Duan Ligong <l-duan@xxxxxxxxxxxxxxxxxx> wrote: > > Hi, all > > Is there a way to estimate the size of the space which a postgresql database > occupies? or the max size of db? > > I know there are a lot of factors, such as the frequency > of updating, data size, which affects the size of db and it seems difficult > to estimate it precisely. There's also the old fashioned way: sudo su - postgres cd $PGDATA # or wherever you point with -D on startup du -sh .