=?ISO-8859-1?Q?Hans-J=FCrgen_Sch=F6nig?= <[EMAIL PROTECTED]> writes: > Recently I have come across a simple issue which made me think about it. > When we create a tmp table (SELECT INTO, CREATE TABLE AS) the planner > won't know anything about its content after creating it.
Run ANALYZE on the temp table, if you intend to use it enough to justify gathering stats about it. VACUUM is more work than needed. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings