PostGIS vs Qserv
PostGIS: The standard spatial extension for PostgreSQL: geometry, geography, rasters and topology in SQL. Qserv: Distributed shared-nothing SQL database built to serve the Rubin Observatory's petascale sky catalogs.
key differences
- PostGIS is primarily a spatial database; Qserv is relational.
- Qserv is built for larger datasets (≤ 1 PB) than PostGIS (≤ 10 TB).
- Horizontal scaling is addon in PostGIS and native in Qserv.
- Transactions: PostGIS offers full ACID; Qserv offers limited.
- Only PostGIS has transactions, json, triggers, stored procedures, materialized views.
- Only Qserv has compression.
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 qserv for
- +Serving petascale astronomical object and source catalogs
- +Spatial cone and box searches over sky surveys
- +Large read-mostly scientific tables partitioned by position
best at · OLAP, Scientific, Geo
PostGIS vs Qserv: FAQ
What is the difference between PostGIS and Qserv?
PostGIS: The standard spatial extension for PostgreSQL: geometry, geography, rasters and topology in SQL. Qserv: Distributed shared-nothing SQL database built to serve the Rubin Observatory's petascale sky catalogs. PostGIS is primarily a spatial database; Qserv is relational. Qserv is built for larger datasets (≤ 1 PB) than PostGIS (≤ 10 TB). Horizontal scaling is addon in PostGIS and native in Qserv.
When should I choose PostGIS over Qserv?
Choose PostGIS for store locators and proximity search; fleet tracking and logistics routing; and land, utility and municipal GIS. Choose Qserv for serving petascale astronomical object and source catalogs; spatial cone and box searches over sky surveys; and large read-mostly scientific tables partitioned by position.
Is PostGIS or Qserv more popular?
PostGIS ranks #32 on the WhichDB Score (47.5/100) and Qserv ranks #610 (0.8/100). Popularity is not fit: check the requirements that matter for your project.
Are PostGIS and Qserv open source?
Yes. PostGIS is open source. License: GNU GPL v2.0. Yes. Qserv is open source. License: GNU General Public License v3.0.