PostGIS vs TileDB
PostGIS: The standard spatial extension for PostgreSQL: geometry, geography, rasters and topology in SQL. TileDB: Embeddable multidimensional array storage engine for dense and sparse data on object storage.
key differences
- PostGIS is primarily a spatial database; TileDB is array / scientific.
- Licensing: PostGIS is open source (copyleft) (GNU GPL v2.0); TileDB is open source (permissive) (MIT License).
- TileDB is built for larger datasets (≤ 1 PB) than PostGIS (≤ 10 TB).
- Horizontal scaling is addon in PostGIS and manual in TileDB.
- Transactions: PostGIS offers full ACID; TileDB offers limited.
- Only PostGIS has transactions, joins, secondary indexes, geospatial, json.
- Only TileDB has vector search, columnar storage, compression, encryption at rest, time travel.
- TileDB can run embedded in your application process.
choose postgis for
- +Store locators and proximity search
- +Fleet tracking and logistics routing
- +Land, utility and municipal GIS
- +Vector tile generation for web maps
best at · Geo, OLTP, OLAP
choose tiledb for
- +Population genomics and single-cell datasets
- +Satellite imagery and raster archives
- +Large sparse matrices for ML
- +Vector search over embeddings stored on object storage
best at · Scientific, Geo, Vector search
PostGIS vs TileDB: FAQ
What is the difference between PostGIS and TileDB?
PostGIS: The standard spatial extension for PostgreSQL: geometry, geography, rasters and topology in SQL. TileDB: Embeddable multidimensional array storage engine for dense and sparse data on object storage. PostGIS is primarily a spatial database; TileDB is array / scientific. Licensing: PostGIS is open source (copyleft) (GNU GPL v2.0); TileDB is open source (permissive) (MIT License). TileDB is built for larger datasets (≤ 1 PB) than PostGIS (≤ 10 TB).
When should I choose PostGIS over TileDB?
Choose PostGIS for store locators and proximity search; fleet tracking and logistics routing; and land, utility and municipal GIS. Choose TileDB for population genomics and single-cell datasets; satellite imagery and raster archives; and large sparse matrices for ML.
Is PostGIS or TileDB more popular?
PostGIS ranks #32 on the WhichDB Score (47.5/100) and TileDB ranks #298 (10.5/100). Popularity is not fit: check the requirements that matter for your project.
Are PostGIS and TileDB open source?
Yes. PostGIS is open source. License: GNU GPL v2.0. Yes. TileDB is open source. License: MIT License.