Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6,170 changes: 3,084 additions & 3,086 deletions data/src/Pipfile.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion docs/SETUP/BACK_END.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,12 @@ docker compose down postgres
We use Postgres extensions for GIS and time series functionality not included in base Postgres.

#### PostGIS

[PostGIS](https://postgis.net/) is an open-source extension for PostgreSQL that adds support for spatial and geographic data types and functions. It enables the storage, querying, and analysis of location-based data directly within the database, replacing the need for many external tools and libraries.

#### Timescale DB
[TimescaleDB](https://docs.timescale.com/) is an open-source relational database built on PostgreSQL, optimized for handling time-series data efficiently.

[TimescaleDB](https://docs.timescale.com/) is an open-source relational database built on PostgreSQL, optimized for handling time-series data efficiently.

At the core of TimescaleDB are hypertables, which partition data across time for efficient querying. Hypertables behave like normal Postgres tables, but are optimized for querying data based on timestamps. For our use case, hypertables simplify data management by automatically creating monthly partitions, replacing our previous method of manually creating a separate schema for each month.

Expand Down
Loading
Loading