dbTalk Databases Forums  

[BUGS] Feature request: ALTER TABLE tbl SET STATISTICS...

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Feature request: ALTER TABLE tbl SET STATISTICS... in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sean Chittenden
 
Posts: n/a

Default [BUGS] Feature request: ALTER TABLE tbl SET STATISTICS... - 12-07-2004 , 01:55 AM






Subject nearly says it all. Could we add it to the TODO list to have
per table statistics? I have a table here that requires a stats target
of 1000 in order for it to project values correctly (believe me, tried
everything in increments of 50 from 10 on up, it needs 1000). The
problem being that the rest of the database works just fine with a
statistics target of 20. Using per-column stats works, but was kind of
tedious to setup (there are ~20 active columns that need that high of a
stats value). Anyway, something along the lines of:

ALTER TABLE tbl SET STATISTICS 1000;

would be fantastic. Thanks. -sc

--
Sean Chittenden


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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.