Search |
||
An Introduction to BLOB Streaming for MySQL ProjectPosted by dnourie on April 17, 2008 at 10:14 AM PDT
Speaker, Paul McCullagh For ordinary types of data, MySQL sends the buffer from the client to the server. Streaming
involves making a connection from the source to the destination
continuously, storing and streaming simultaneously. But BLOBs are not ordinary data. The problem of storing BLOBs in a database is multifaceted. BLOBs create big rows in memory, and sequential scans are not possible. The database can become too big to handle, and then the database won't scale well. In addition, BLOBs slows down replication, and BLOB data must be written to the binary log. So, why put BLOBs in the database? So that BLOB operations are transactional and
have valid references, and so you have the data all in one place, which is good
for testing, Small BLOBs are handled better by databases, and it's convenient to handle all your data the same way. Additionally, with
BLOBs in a database, your backups are more consistent. Lastly,
putting the BLOBs in a database makes replication possible. To overcome these issues, the MySQL Project streams BLOB data
directly in and out of the database.You can store Blobs of any size in the
database, and create a scalable back-end that can handle any throughput and
storage requirement. The object is to provide an open system that can
be used by all engines. »
Related Topics >>
Databases Comments
Comments are listed in date ascending order (oldest first)
|
||
|
|