Re: 7.3.1 New install, large queries are slow - Mailing list pgsql-performance

From jasiek@klaster.net
Subject Re: 7.3.1 New install, large queries are slow
Date
Msg-id 20030116204826.GA26576@serwer
Whole thread Raw
In response to Re: 7.3.1 New install, large queries are slow  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Tom said:
> datatype mismatch that prevents the index from being used.  What are the
> datatypes of d.batchid and b.batchid, exactly?  If they're not the same,
> either make them the same or add an explicit coercion to the query, like
>     WHERE d.batchid = b.batchid::typeof_d_batchid
>
It can be source of problem. I found in one of Roman's mail, that
batchid is declared as int8 in master table and as int4 in detail table.
Regards,
Tomasz Myrta

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.3.1 New install, large queries are slow
Next
From: "Roman Fail"
Date:
Subject: Re: 7.3.1 New install, large queries are slow