storing videos ,images,songs

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
majidali
Forum Newbie
Posts: 17
Joined: Thu Mar 11, 2010 3:33 am

storing videos ,images,songs

Post by majidali »

can any tell me which is the best way to store videos ,images,songs .is it .file system or database system? pls explain pros and cons of both.
minorDemocritus
Forum Commoner
Posts: 96
Joined: Thu Apr 01, 2010 7:28 pm
Location: Chicagoland, IL, USA

Re: storing videos ,images,songs

Post by minorDemocritus »

Do it on the filesystem, not the database. It's much easier to maintain.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: storing videos ,images,songs

Post by John Cartwright »

Definitely store the meta data in the database, and the file itself on the filesystem. The overhead in storing binary data in the database is significantly higher than the filesystem.
Post Reply