17.07.2015 Views

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1: Storing and Managing Unstructured DataHowever, in the context <strong>of</strong> our definition <strong>of</strong> structured data, this CLOB data is unstructured.It is not easy for the relational database engine to understand the content storedin the CLOB column. For example, if a user wants to retrieve a list <strong>of</strong> all URLs in a set <strong>of</strong>forum posts, this is not going to be easy for a relational database query.BLOB dataBLOBs consist <strong>of</strong> "chunks" <strong>of</strong> binary data. When you record a voice note using yourpersonal organizer s<strong>of</strong>tware, you are generating some BLOB data. A chunk <strong>of</strong> encryptedbinary data, or the content <strong>of</strong> an executable file, is a BLOB value. More and more applicationstoday need to handle and store BLOB data. A few examples include:• a document management system that stores different types <strong>of</strong> documents, such asWord or Excel• a product catalog application that stores the images <strong>of</strong> products• a multimedia library that stores videos and music• a s<strong>of</strong>tware download website that stores setup files, executable or zip files.Again, most BLOB data – Word or Excel documents, images, audio files, and so on – doeshave a defined structure; an application that generates or consumes these files can understandthe content based on the associated, simple schema.However, from the relational database perspective, BLOB data is most certainly unstructured.Even though the applications that read and write BLOB data from and into thedatabase understand the structure <strong>of</strong> the data, a database engine does not really understandit.29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!