Skip site navigation (1) Skip section navigation (2)

Patch for information_schema performance

From: Joachim Wieland <joe(at)mcknight(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Cc: xi(at)gamma(dot)dn(dot)ua
Subject: Patch for information_schema performance
Date: 2009-09-24 22:55:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

the attached patch addresses the performance issues of the
authorization related views from information_schema (BUG #4596). It
implements what Tom suggests in

In the cases that I have tested both the new and the old view return
the same data but I'd appreciate more tests. The patch currently does
not remove the original views but renames them from xyz to old_xyz, so
you can run your own tests of the new view definition vs. the old one.

I also include a psql file that might help you testing.


Attachment: aclexplode.diff
Description: text/x-diff (24.2 KB)
Attachment: compare.psql
Description: application/octet-stream (2.9 KB)


pgsql-hackers by date

Next:From: Herodotos HerodotouDate: 2009-09-24 23:49:35
Subject: Re: Join optimization for inheritance tables
Previous:From: Tom LaneDate: 2009-09-24 21:54:59
Subject: Re: plpgsql function is so slow

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group