restoring db problems

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

restoring db problems

Postby zedjr » Thu Aug 14, 2008 1:13 pm

I have a 40gb db that has taken over 27 hours to restore and not quite sure totally y. Once it is restored shall i try to reindex the databse tehn do a vaccum then cluster. What process shall i take once the db is restored. I would stop it now but hopefully will be over soon. I did have the hard drive allocation at 32kb as i thought this would improve performance but read 4kb is better. So what does anyone think i shall do once db is restored and in what order. thanks
zedjr
 
Posts: 198
Joined: Mon Feb 04, 2008 6:28 pm

Re: restoring db problems

Postby WhiteRider » Thu Aug 14, 2008 1:30 pm

I don't really know what the restore does, or rather how it reconstructs the database.
It may build it really neatly, in which case the cluster/vacuum may be unnecessary, but unless one of the postgres experts knows better, I would suggest you cluster/vacuum/analyse it once you've got it set up in PT3 again.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: restoring db problems

Postby zedjr » Fri Aug 15, 2008 1:41 am

do u think i should reindex also. should i do that first then cluster, vacuum analyze.
zedjr
 
Posts: 198
Joined: Mon Feb 04, 2008 6:28 pm

Re: restoring db problems

Postby WhiteRider » Fri Aug 15, 2008 11:44 am

As I understand it, the 3 processes in PT3 will do what you need.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 52 guests

cron
highfalutin