Binary Large Object
Subject: Computer and Technology noun /ˈbaɪ.nə.ri lɑːrdʒ ˈɑːb.dʒɪkt/ 1 definition
- data-storage
- database-systems
- cloud-storage
- data-management
-
Definition (noun)
Entry #113 · UpdatedA Binary Large Object (BLOB) is a collection of raw, unstructured binary data—such as images, audio recordings, video files, PDFs, or compiled executables—stored and managed as a single logical entity. Because storage engines treat a BLOB as an opaque byte sequence with no predefined schema, databases and object stores cannot natively parse, index, or query its internal structure, leaving format interpretation and validation to the consuming application (typically guided by external metadata like a MIME type). BLOBs provide a standard mechanism for persisting variable-length multimedia and non-tabular payloads alongside structured records or within distributed storage systems, though large payloads require careful trade-offs in memory buffering, streaming, and backup performance compared to storing lightweight file references.
Common Forms
Relational Database BLOB Columns: Variable-length binary column types (such as SQL
BLOB, MySQLLONGBLOB, or PostgreSQLbytea) that store raw byte payloads inside or linked from table rows under transactional ACID guarantees.Cloud Object Storage Blobs: Unstructured files persisted in distributed, flat-namespace object stores—including Amazon S3 objects and Azure Block, Append, and Page Blobs—retrieved over HTTP APIs via unique keys and accompanying metadata.
Web API Blob Objects: Immutable, file-like containers in browser JavaScript environments that encapsulate raw binary data so web applications can slice, stream, read, or upload media without converting payloads into in-memory text strings.
Content-Addressable Storage Blobs: Deduplicated binary payloads keyed by a cryptographic hash of their byte contents, as used in systems like Git to store individual file snapshots independently of filenames or directory paths.
Example
When a user uploads a 4 MB PNG profile picture to a web application, the browser wraps the selected image bytes in a JavaScript
Bloband streams them over HTTPS to a cloud object storage bucket rather than embedding the raw binary inside a PostgreSQL row. The storage service persists the payload as an opaque binary object labeled withContent-Type: image/pngand returns a unique object key, which the application saves as a lightweight text reference in its relational database.