I am running PostgreSQL 9.3
(in a hot standby setup) on Ubuntu 14.04 LTS
.
I would like to display the growth (e.g. amount of tuples) of a table over time. The table does not contain a "timestamp" (or equivalent out of historical reasons) column.
Is their a way in PostgreSQL 9.3
to query information about the insertion time of a tuple in a table?
Doing a workaround might give you the statistics on growth of a table over time. In Postgres 9.3 there is a feature called The statistics collector. This might do the trick:
Or you can take a look at the Zalando PGObserver.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With