X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8BFECD1B493 for ; Fri, 28 Nov 2003 14:32:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 41038-05 for ; Fri, 28 Nov 2003 10:32:13 -0400 (AST) Received: from frankenbride.clueinc.net (xd84b4366.ip.e-nt.net [216.75.67.102]) by svr1.postgresql.org (Postfix) with ESMTP id 696C4D1B496 for ; Fri, 28 Nov 2003 10:32:09 -0400 (AST) Received: by frankenbride.clueinc.net (Postfix, from userid 16220) id 0F6B9B8D3; Fri, 28 Nov 2003 09:31:58 -0500 (EST) Date: Fri, 28 Nov 2003 09:31:57 -0500 From: Jamie Lawrence To: Marek Florianczyk Cc: Oli Sennhauser , pgsql-admin@postgresql.org Subject: Re: Experience wanted: low-cost Photo-Archive in TB range Message-ID: <20031128143157.GB24082@clueinc.net> Mail-Followup-To: Marek Florianczyk , Oli Sennhauser , pgsql-admin@postgresql.org References: <3FC744C5.7080108@bluewin.ch> <1070027118.1017.84.camel@franki-laptop.tpi.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1070027118.1017.84.camel@franki-laptop.tpi.pl> User-Agent: Mutt/1.3.28i Organization: clue inc X-URL: http://www.clueinc.net/ X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/491 X-Sequence-Number: 11478 > Hello > > We are planning and offering a low-cost Photo-Archive in TB range. Is > there any experience available with that amount of Data (1-3 TB)? > What kind of machines (CPU, RAM)? What kind of I/O-System? What kind of > Network (100Mbit Ethernet, Fibre, etc.). > What kind of backup-system? How to backup that amount of data, etc. Well, one can generalize a bit. You don't talk about the economics at all, so I can't help you there. Assuming one is providing access to small chunks of data (generally only a meg or two) via metadata about it (account, name, flag, permissions, maybe other things) then you can generalize a bit. Best practice for large storage arrays is proprietary SAN storage critter or some sort. EMC, Netapp, etc. Since you're asking this on a Postgres list, I assume you don't want to go that route. Clustering several machines to provide NFS/Coda/AFS could work. Then you don't care so much about the machines themselves, and can buy cheap, and a lot of them. The network is trickier. What sort of access patterns do you expect? I get the feeling you expect lots of access. So, partition storage from delivery. Delivery should be staightforward - web content delivery isn't that hard. At that point you can talk about the network - what do you expect to handle? Where do you need caches? How do you handle failover? Backup is business specific. This is a recovery question - what is the damage if data is lost vs. what are you willing to spend? There really isn't a best practice here, because cost gets in the way. As far as structuring the data, well, you don't ask about that, and don't talk about the application at all. Blobs might be in order; you might want to manage metadata in the database and files on a filesystem; it depends on what you want to do with it. If you want to provide more info, I'll chat with you - I've done large storage networks before. You have to provide more info to get better answers. I gvague hint that you're not going to spend much money on it, and that's a mistake. Reliable terabyte-scale installations are expensive. -j -- Jamie Lawrence jal@jal.org It it ain't broke, let me have a shot at it.