Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binary BLOB storage 1

Status
Not open for further replies.

doloto

Programmer
Sep 27, 2002
3
JP
Hi!
Anybody knows the way Interbase stores its binary BLOBs? Does it store the binary data itself or only points to a DB-outside storage place?
 
Hi,

All data is stored inside the datafile (database). In each row with a BLOB value, a pointer to the actual blob is stored. If you retrieve the BLOB (via components or whatever), InterBase fetches the blob stream by following the pointer.

The pointer means that a blob is not stored "inline" - at the same data-page as the rest of the row(s). So you can easily have a lot of blobs per table and as long as you don't retrieve them, it won't harm speed fetching data from disk...
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top