Skip to content

alexandruluca/postgresql-timeseries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Efficient time series storage in PostgreSQL

This repo illustrates how to efficiently store and retrieve time series in PostgreSQL for mutiple tenants

  1. It illustrates on how to do it with sequelize (ORM), this method patches sequelize as it does not allow any partitioning
  2. The relevant table queries along with indexes are exported in the ./db folder

Based on the presentation from https://youtu.be/atvgYJTBEF4 and other small changes

Extensions used

Single value lookup using btree

single value lookup

Range value lookup using btree

range value lookup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published