Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1D94E64FD09 for ; Thu, 23 Oct 2008 12:32:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 65571-04 for ; Thu, 23 Oct 2008 12:32:20 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id BA0FF64FCAC for ; Thu, 23 Oct 2008 12:32:20 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id m9NFWKDH040926 for ; Thu, 23 Oct 2008 12:32:20 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id m9NFA9er015574 for pgsql-performance@postgresql.org; Thu, 23 Oct 2008 12:10:09 -0300 (ADT) (envelope-from news) From: "Lionel" X-Newsgroups: pgsql.performance Subject: Hardware HD choice... Date: Thu, 23 Oct 2008 17:10:08 +0200 Organization: Hub.Org Networking Services Lines: 54 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200810/104 X-Sequence-Number: 31685 Hello, I have to choose a dedicated server to host a big 8.3 database. The global size of the database (indexes included) will grow by 40 Go every year (40 millions of lines/year) Real data (indexes excluded) will be around 5-7 Go/year. I need to store 4 years of activity. Very few simultaneous users (~4). 100000 rows added every day via csv imports. The application will be a reporting application. Main statements: aggregation of 10000 to 10millions of line. Vast majority will hit 300000 lines (90% of the connected users), few will hit more than 10 millions (10% of the connected users, there may never be 2 simultaneous users of this category). 20sec - 30sec for such a statement is acceptable. It's quite easy to choose CPU (xeon quad core 2.66, maybe dual xeon), RAM (8-12Go) but I still hesitate for hard disks. these are options possible with the hosters I usually work with: Option 0) RAID1 750Go SATA2 Option 1) RAID1 750Go SATA2 + 500Go USB disk Option 2) RAID1 SAS 15000rpm 147 Go hard disk + 500Go USB Option 2+) RAID1 SATA2 SSD intel X25-M 80Go + 500Go USB Option 3) RAID5 SATA2 5x750Go Option 4) RAID10 SAS 15000rpm 4x146 Go Option 5) RAID10 SATA2 4x250 Go Any other better option that I could ask for ? What would be the best choice in case of an external USB drive : using it for indexes or x_log ? And what is the best option to backup such a database ? Nightly dump ? data folder zip ? thanks for your help.