BUG #4596: information_schema.table_privileges is way too slow - Mailing list pgsql-bugs

From Kirill Simonov
Subject BUG #4596: information_schema.table_privileges is way too slow
Date
Msg-id 200812242040.mBOKelf5093189@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4596: information_schema.table_privileges is way too slow  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4596
Logged by:          Kirill Simonov
Email address:      xi@gamma.dn.ua
PostgreSQL version: 8.3.5
Operating system:   Linux Ubuntu 8.10
Description:        information_schema.table_privileges is way too slow
Details:

It takes about 5 minutes to perform the query
SELECT * FROM information_schema.table_privileges
on an empty database (i.e. with system tables only).

postgres=# select * from information_schema.table_privileges;
Time: 296409.513 ms

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Problem on Installation
Next
From: Tom Lane
Date:
Subject: Re: BUG #4596: information_schema.table_privileges is way too slow