Re: Storing wave files in database
- From: Paul Clement <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx>
- Date: Wed, 29 Mar 2006 08:11:52 -0600
On Wed, 29 Mar 2006 02:16:55 +0200, "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote:
¤ Hi,
¤
¤ in my current project I need to record audio data
¤ analyse them and store everything in some sort of database.
¤
¤ I have not much experience with databases except for
¤ some small tests with ADO and MS Access, MySql
¤ and Paradox.
¤
¤ The goal is to record sample files for test speakers
¤ and store the audio data, name and gender of the speaker
¤ and finally some analysis results. All this would happen on
¤ a local computer Win2K/XP. Network access, if needed
¤ at all, would be limited to a few users.
¤
¤ My questions:
¤
¤ 1) Can anyone give some advice as to whether it is reasonable
¤ to store large amounts of binary data in a database, wave files
¤ in my case? Or should I store file paths to external wave files?
¤
Security and portability are typically the reasons for storing the binary data in the database. If
neither is really a requirement then file paths would be much more efficient. Of course you can
still implement NTFS file security as well to limit access to the files.
¤ 2) In case I use an MS Access database: is there a limit on how
¤ many data I can store in it? The number of records wouldn't be
¤ that large but the total amount of data could be well beyond 2 GB.
¤
Access probably isn't a very good solution for this (unless you use file paths). WAV files can be
quite large so given the potential size of the database you will run up again the two gig limitation
rather quickly.
¤ 3) Are there any performance issues in reading/storing large amounts of
¤ binary data from a database compared to file access for external referenced
¤ files? How about MS Access in particular?
¤
Sure. There will definitely be overhead when storing the files in the database. Unless your WAV
files are on average under ten seconds in length (16-bit stereo, 44.1 k) the overhead can be quite
substantial.
Paul
~~~~
Microsoft MVP (Visual Basic)
.
- References:
- Storing wave files in database
- From: nicolasr
- Storing wave files in database
- Prev by Date: RE: Oracle Lob (blob) Read / Write woes
- Next by Date: Re: Store procedure vs Direct statement ???
- Previous by thread: Re: Storing wave files in database
- Next by thread: Re: Storing wave files in database
- Index(es):
Relevant Pages
|