Обсуждение: Patch for information_schema performance

Поиск
Список
Период
Сортировка

Patch for information_schema performance

От
Joachim Wieland
Дата:
Hi,

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

http://archives.postgresql.org/pgsql-bugs/2008-12/msg00144.php

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.


Regards,
Joachim

Вложения

Re: Patch for information_schema performance

От
Peter Eisentraut
Дата:
On fre, 2009-09-25 at 00:55 +0200, Joachim Wieland wrote:
> the attached patch addresses the performance issues of the
> authorization related views from information_schema (BUG #4596). It
> implements what Tom suggests in
> 
> http://archives.postgresql.org/pgsql-bugs/2008-12/msg00144.php
> 
> 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.

Committed with a bunch of cleanup.