influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.17k stars 3.51k forks source link

Add a `last_cache` system table #25098

Open hiltontj opened 5 days ago

hiltontj commented 5 days ago

A new system table will be added to enable querying information about the internal last caches configured on the server.

This will be served with the following query:

SELECT * FROM system.last_cache

and will return a table with columns for table, name, key_columns (string array), value_columns (string array), and count.