FLUSH_DATA_COLLECTOR
Waits until memory logs are moved to disk and then flushes the Data Collector, synchronizing the log with the disk storage. A superuser can flush Data Collector information for an individual component or for all components.
Syntax
FLUSH_DATA_COLLECTOR( [ 'component' ] )
Parameters
component |
Flushes the specified component. If you provide no argument, the function flushes the Data Collector in full. For the current list of component names, query the V_MONITOR.DATA_COLLECTOR system table. |
Privileges
Superuser
Examples
The following command flushes the Data Collector for the ResourceAcquisitions component:
=> SELECT flush_data_collector('ResourceAcquisitions'); flush_data_collector ---------------------- FLUSH (1 row)
The following command flushes data collection for all components:
=> SELECT flush_data_collector(); flush_data_collector ---------------------- FLUSH (1 row)