X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6E1609DC945 for ; Thu, 9 Feb 2006 11:58:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 68187-04 for ; Thu, 9 Feb 2006 11:58:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by postgresql.org (Postfix) with ESMTP id 187C79DC8A5 for ; Thu, 9 Feb 2006 11:58:22 -0400 (AST) Received: from nemo.qabal.org ([67.23.174.57]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060209155827.UHXZ18877.mta10.adelphia.net@nemo.qabal.org>; Thu, 9 Feb 2006 10:58:27 -0500 Received: from [127.0.0.1] (nemo.qabal.org [192.168.1.9]) by nemo.qabal.org (8.13.4/8.12.11) with ESMTP id k19FwQnV007106; Thu, 9 Feb 2006 10:58:26 -0500 Message-ID: <43EB66A1.10302@qabal.org> Date: Thu, 09 Feb 2006 10:58:25 -0500 From: Nate Byrnes User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Craig A. James" CC: pgsql-performance@postgresql.org Subject: Re: Storing Digital Video References: <3cf983d0601311632t4a2f068au1f958746c2b092a7@mail.gmail.com> <200602060930.31144.albert@sedifa.com> <43EB475C.3040708@qabal.org> <43EB5D59.1030207@modgraph-usa.com> In-Reply-To: <43EB5D59.1030207@modgraph-usa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200602/79 X-Sequence-Number: 17065 Thanks, until Postgres can pay my bills (hopefully soon...) I will have to be an Oracle guy. Aside from the filesystem being better at managing large files (which I do agree) are there performance implications for the storage in the DB? Where I work, the question is not can you add the security code to the middleware, but how many middlewares and applications will need to be updated. Regards, Nate Craig A. James wrote: > Nate Byrnes wrote: >> I must claim some ignorance, I come from the application world... >> but, from a data integrity perspective, it makes a whole lot of sense >> to store video, images, documents, whatever in the database rather >> than on the file system external to it. Personally, I would use >> LOB's, but I do not know the internals well enough to say LOBs or >> large columns. Regardless, there are a lot of compelling reasons >> ranging from software maintenance, disk management, data access >> control, single security layer implementation, and so on which >> justify storing data like this in the DB. Am I too much of an >> Oracle guy? > > Yes, you are too much of an Oracle guy ;-). Oracle got this notion > that they could conquer the world, that EVERYTHING should be in an > Oracle database. I think they even built a SAMBA file system on top > of Oracle. It's like a hammer manufacturer telling you the hammer is > also good for screws and for gluing. It just ain't so. > > You can store videos in a database, but there will be a price. You're > asking the database to do something that the file system is already > exceptionally good at: store big files. > > You make one good point about security: A database can provide a > single point of access control. Storing the videos externally > requires a second mechanism. That's not necessarily bad -- you > probably have a middleware layer, which can ensure that it won't > deliver the goods unless the user has successfully connected to the > database. > > Craig > > !DSPAM:43eb5e8970644042098162! >