Re: [PERFORM] Performance with sorting and LIMIT on partitioned table

2009-10-20 Thread Joe Uhl
On Mon, Oct 19, 2009 at 6:58 AM, Joe Uhl wrote: I have a similar, recent thread titled Partitioned Tables and ORDER BY with a decent break down. I think I am hitting the same issue Michal is. Essentially doing a SELECT against the parent with appropriate constraint columns in the WHERE clause

Re: [PERFORM] Performance with sorting and LIMIT on partitioned table

2009-10-19 Thread Merlin Moncure
On Mon, Oct 19, 2009 at 6:58 AM, Joe Uhl wrote: > I have a similar, recent thread titled Partitioned Tables and ORDER BY with > a decent break down.  I think I am hitting the same issue Michal is. > > Essentially doing a SELECT against the parent with appropriate constraint > columns in the WHERE

Re: [PERFORM] Performance with sorting and LIMIT on partitioned table

2009-10-19 Thread Joe Uhl
On Mon, Oct 12, 2009 at 10:14 AM, Michal Szymanski wrote: We have performance problem with query on partitioned table when query use order by and we want to use first/last rows from result set. More detail description: We have big table where each row is one telephone call (CDR). Definitni

Re: [PERFORM] Performance with sorting and LIMIT on partitioned table

2009-10-18 Thread Robert Haas
On Mon, Oct 12, 2009 at 10:14 AM, Michal Szymanski wrote: > We have performance problem with query on partitioned table when query > use order by and we want to use first/last rows from result set. > More detail description: > We have big table where each row is one telephone call (CDR). > Definit

[PERFORM] Performance with sorting and LIMIT on partitioned table

2009-10-17 Thread Michal Szymanski
We have performance problem with query on partitioned table when query use order by and we want to use first/last rows from result set. More detail description: We have big table where each row is one telephone call (CDR). Definitnion of this table look like this: CREATE TABLE accounting.cdr_full_p