Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Very slow I...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 4045 of 4355
Post > Topic >>

Re: Very slow INFORMATION_SCHEMA

by tgl@[EMAIL PROTECTED] (Tom Lane) May 2, 2008 at 06:20 PM

Ernesto <equistango@[EMAIL PROTECTED]
> writes:
> I'm wondering why would this query take about 90 seconds to return 74
rows?

EXPLAIN ANALYZE might tell you something.

Is this really the query you're running?  Because these two columns
don't exist:

> INFORMATION_SCHEMA.KEY_COLUMN_USAGE.REFERENCED_TABLE_NAME, 
> INFORMATION_SCHEMA.KEY_COLUMN_USAGE.REFERENCED_COLUMN_NAME

Leaving those out, I get sub-second runtimes for 70-odd foreign key
constraints, on much slower hardware than I think you are using.

			regards, tom lane

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 4 Posts in Topic:
Very slow INFORMATION_SCHEMA
equistango@[EMAIL PROTECT  2008-05-02 18:07:58 
Re: Very slow INFORMATION_SCHEMA
tgl@[EMAIL PROTECTED] (T  2008-05-02 18:20:58 
Re: Very slow INFORMATION_SCHEMA
mweilguni@[EMAIL PROTECTE  2008-05-05 13:30:28 
Re: Very slow INFORMATION_SCHEMA
tgl@[EMAIL PROTECTED] (T  2008-05-05 20:56:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:07:58 CDT 2008.