Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTm6i-0000yD-QC for pgsql-general@arkaria.postgresql.org; Tue, 26 Dec 2017 10:05:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTm6i-0007Xa-0Q for pgsql-general@arkaria.postgresql.org; Tue, 26 Dec 2017 10:05:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eTm6h-0007Vp-PM for pgsql-general@lists.postgresql.org; Tue, 26 Dec 2017 10:05:11 +0000 Received: from mail.tamay-dogan.net ([78.47.247.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eTm6W-0002dU-QW for pgsql-general@lists.postgresql.org; Tue, 26 Dec 2017 10:05:08 +0000 Received: from localhost (localhost [127.0.0.1]) (uid 33) by mail.tamay-dogan.net with local; Tue, 26 Dec 2017 11:04:55 +0100 id 0000000000001F47.5A421EC7.00005BB6 Received: from 37.157.109.77 (SquirrelMail authenticated user michelle.konzack) by webmail.tamay-dogan.net with HTTP; Tue, 26 Dec 2017 11:04:55 +0100 Message-ID: <985d2955b835dfc9033108c7a271d94e.squirrel@webmail.tamay-dogan.net> Date: Tue, 26 Dec 2017 11:04:55 +0100 Subject: [table partitioning] How many partitions are possibel? From: "Michelle Konzack" To: pgsql-general@lists.postgresql.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal OpenPGP: id=A5957FD8834573E2 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello *, Long time ago I used VIEWs on my history database and when PostgreSQL introduced table partitioning I was switching to it. Currently I use Debian GNU/Linux 7.11 with PostgreSQL 9.1 (table space and table partitioning) using an Adaptec 16-Channel Raid-1 Controller with 16x 6 TByte SAS UltraStar (HGST) drives. I created partitions of 100 years range and have currently 132 of them. There are 8 base columns (1 data colum in english) and then for each language used an additional colum. Some of the data where translated into 27 languages but I have 56 non-english columns. So in total I have currently 64 columns and arround 156mio rows. Th etables are organised into history_earth history_earth_021_a history_earth_020_a history_earth_019_a ... history_earth_124_b ... "a" mean A.C. and "b" B.C. While checking my Root-Servers I discovered, that my PostgreSQL Box has a huge performance problem, because some table partitions became VERY large (3 table partitions exceed already 1 TByte and 14 are 500-1000GB). I like to make the partitions smaller, but the documentation say, you should not dare to make several 1000 partitions.. Question: What is with is today possibel with table partitioning? And there is another thing: The 16 "new" SAS Drives where sponsored, hence free for me including the new Raid-1 Controller, but I do not like the idea, to have a singel physical database of arround 40 TByte diskspace... I can get much less expensive (not cheaper) SAS drives of 1 or 2 TByte and since the Raid-1 Controller cost only 400€, I can use several LOW POWER machines (Mini-ITX) to accomplish the task because the webinterface is anyway stored on a seperated server. Any suggestions? -- Michelle Konzack 00372-54541400