pg.ddx.io pgsql-performance@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Charles Gomes <charlesrg@outlook.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ondrej Ivanič <ondrej.ivanic@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Performance on Bulk Insert to Partitioned Table
Date: Fri, 21 Dec 2012 09:14:46 -0500
Message-ID: <BLU002-W49D4893B3D847BB4CD7B4FAB360@phx.gbl> (raw)
In-Reply-To: <27306.1356046747@sss.pgh.pa.us>
References: <BLU002-W2777115565E1CBCF867857AB370@phx.gbl>
<CAM6mieLLD+WBx_NXubUihbDbHzb46tjxYWNWg_VgjV9omwOVcw@mail.gmail.com>
<BLU002-W73F8F8D02096BD549F2809AB370@phx.gbl>
<27306.1356046747@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
Tom, I may have to rethink it, so I'm going to have about 100 Million rows per day (5 days a week) 2 Billion per month. My point on partitioning was to be able to store 6 months of data in a single machine. About 132 partitions in a total of 66 billion rows.
----------------------------------------
> From: tgl@sss.pgh.pa.us
> To: charlesrg@outlook.com
> CC: ondrej.ivanic@gmail.com; pgsql-performance@postgresql.org
> Subject: Re: [PERFORM] Performance on Bulk Insert to Partitioned Table
> Date: Thu, 20 Dec 2012 18:39:07 -0500
>
> Charles Gomes <charlesrg@outlook.com> writes:
> > Using rules would be totally bad as I'm partitioning daily and after one year having 365 lines of IF won't be fun to maintain.
>
> You should probably rethink that plan anyway. The existing support for
> partitioning is not meant to support hundreds of partitions; you're
> going to be bleeding performance in a lot of places if you insist on
> doing that.
>
> regards, tom lane
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
view thread (48+ messages) latest in thread
Message-ID: <BLU002-W49D4893B3D847BB4CD7B4FAB360@phx.gbl> Permalink: ../BLU002-W49D4893B3D847BB4CD7B4FAB360@phx.gbl/ Also on: postgresql.org/message-id/BLU002-W49D4893B3D847BB4CD7B4FAB360@phx.gbl ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-performance@postgresql.org Cc: charlesrg@outlook.com, tgl@sss.pgh.pa.us, ondrej.ivanic@gmail.com Subject: Re: Performance on Bulk Insert to Partitioned Table In-Reply-To: <BLU002-W49D4893B3D847BB4CD7B4FAB360@phx.gbl> References: <BLU002-W2777115565E1CBCF867857AB370@phx.gbl> <CAM6mieLLD+WBx_NXubUihbDbHzb46tjxYWNWg_VgjV9omwOVcw@mail.gmail.com> <BLU002-W73F8F8D02096BD549F2809AB370@phx.gbl> <27306.1356046747@sss.pgh.pa.us> <BLU002-W49D4893B3D847BB4CD7B4FAB360@phx.gbl> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox