Re: Slow tab completion w/ lots of tables - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Slow tab completion w/ lots of tables
Date
Msg-id 20120821173610.GK1267@tamriel.snowman.net
Whole thread Raw
In response to Re: Slow tab completion w/ lots of tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Um ... I don't see any difference in the clause ordering from 8.2
> forward.  "SELECT * FROM baz<TAB>" produces a query like this in 8.2:

Odd..  I could have sworn I saw a difference in the query generated,
but perhaps I just assumed it was reordered, since it ends up ordered
differently in the actual plans:

8.2: http://explain.depesz.com/s/449
9.1: http://explain.depesz.com/s/03O

Increasing the cost of pg_table_is_visible() caused it to move that test
to the end again (under 9.1), which improved the performance (though I'm
sure having a usable index would help a great deal more..).
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Slow tab completion w/ lots of tables
Next
From: Tom Lane
Date:
Subject: Re: Slow tab completion w/ lots of tables