Unix Technical Forum

Re: Slow Restoration of a template1 Database (ALTER GROUP)

This is a discussion on Re: Slow Restoration of a template1 Database (ALTER GROUP) within the Pgsql Performance forums, part of the PostgreSQL category; --> "Ben Young" <Ben.Young@etrials.com> writes: > When trying to restore my template1 database (7.3.4) I am > experiencing very long ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 11:06 AM
Tom Lane
 
Posts: n/a
Default Re: Slow Restoration of a template1 Database (ALTER GROUP)

"Ben Young" <Ben.Young@etrials.com> writes:
> When trying to restore my template1 database (7.3.4) I am
> experiencing very long delays. For 600 users (pg_shadow)
> and 4 groups (pg_group) it is taking 1hr and 17 minutes to
> complete. All of the create user statements are processed in a
> matter of seconds, but each alter groups statement takes
> about 10 seconds to process.


I tried doing 1000 ALTER GROUP ADD USER commands in 7.3, and didn't
see any particular performance problem. Could we see the output
of "VACUUM FULL VERBOSE pg_group"?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:40 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com