Re: Non-text database theory
Date: Sat, 06 Sep 2008 11:53:25 +1000
Message-ID: <87skseavl6.fsf_at_lion.rapttech.com.au>
Rune Allnor <allnor_at_tele.ntnu.no> writes:
> Hi all.
>
> This might be off topic for this group; if so please direct me to a
> more
> appropriate group.
>
> I have 20 years of programming experience (hobby / personal scale)
> and
> am getting my feet wet with databases for the first time. The project
> at
> hand needs a database to handle large amounts of data. The data are
> measured by sonar and amounts to the hundreds of GB, so one would
> prefer to save the data on some binary format to save time on the
> text <-> binary conversions.
>
> The textbooks I have found on database theory solely deal with text
> data, i.e. data that are stored as tables in text files, which I
> suppose
> is OK for educational purposes.
>
> 1) Where can I find material on 'real-life' databases which deal with
> the
> storage and handling of binary data?
> 2) Are there database implementations which are better suited for my
> application than others? I would like to keep the application
> platform
> independent, and use C++ as my programming language.
>
Many databases have the concept of a 'blob', (binary large object), which you could use. However, in most cases it isn't going to gain you much.
The data storage and retrieval aspects of a database are only part of the benefits of a DBMS. The real power comes from the ability to retrieve sets of data based on various criteria or attributes. However, with binary data, there is often little in the way of attributes that can be easily identified in the data itself - after all, its just sequences of 1s and 0s. In fact, with binary data, storing it in the database can actually complicate things because more often than not, you will use other stand-alone applications to process the data. If its in the database, you will now need to create some interface between the database and the applicaiton that processes the data. This could be as easy as having the database dump the data into a disk file that the application can then read, but then what has the database actually given you?
HTH Tim
-- tcross (at) rapttech dot com dot auReceived on Sat Sep 06 2008 - 03:53:25 CEST