Re: What is the best way to storage music files in Postgresql - Mailing list pgsql-performance

From Craig James
Subject Re: What is the best way to storage music files in Postgresql
Date
Msg-id 47DCBC18.8000904@emolecules.com
Whole thread Raw
In response to What is the best way to storage music files in Postgresql  (Rich <rhdyes@gmail.com>)
List pgsql-performance
Rich wrote:
> I am going to embarkon building a music library using apache,
> postgresql and php.  What is the best way to store the music files?
> Which file type should I use?

In Postgres, its all just binary data.  It's entirely up to you which particular format you use. mp2, mp3 mp4, wmv,
avi,whatever, it's all the same to Postgres. 

A better question is: Should you store the binary data in Postgres itself, or keep it in files and only store the
filenames? The Postgres archives have several discussions of this topic, and the answer is, "it depends." 

Craig


pgsql-performance by date:

Previous
From: Rich
Date:
Subject: What is the best way to storage music files in Postgresql
Next
From: Craig Ringer
Date:
Subject: Re: What is the best way to storage music files in Postgresql