It's based on memory and disk space set for the policy. The
documentation shows how to query and change the retention policy.
Code: Select all
dbadmin=> SELECT GET_DATA_COLLECTOR_POLICY('SessionStarts');
GET_DATA_COLLECTOR_POLICY
---------------------------------------------------------------------------
200KB kept in memory, 5000KB kept on disk. Time based retention disabled.
(1 row)
dbadmin=> SELECT GET_DATA_COLLECTOR_POLICY('SessionEnds');
GET_DATA_COLLECTOR_POLICY
---------------------------------------------------------------------------
100KB kept in memory, 5000KB kept on disk. Time based retention disabled.
(1 row)
You can get a list of all the data collection components using:
Code: Select all
SELECT DISTINCT component, description FROM v_monitor.data_collector ORDER BY component;
I discussed Data Collector Tables and retention defaults in
this post.