mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-02 13:00:37 +00:00
more indices
This commit is contained in:
@@ -11,7 +11,8 @@ create index scrapes_tenant_id_idx on scrapes (tenant_id);
|
||||
create index scrapes_timeline_id_idx on scrapes (timeline_id);
|
||||
create index scrapes_scrape_ts_idx on scrapes (scrape_ts);
|
||||
create index scrapes_tenant_timeline_id_idx on scrapes (tenant_id, timeline_id);
|
||||
|
||||
create index timeline_scrape_ts_idx on scrapes (timeline_id, scrape_ts);
|
||||
create index pageserver_id_idx on scrapes (pageserver_id);
|
||||
--- what follows are example queries ---
|
||||
|
||||
--- how many layer accesses did we have per layers/timeline/tenant in the last 30 seconds
|
||||
|
||||
Reference in New Issue
Block a user