<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica Documentation – Data collector utility</title>
    <link>/en/admin/monitoring/data-collector-utility/</link>
    <description>Recent content in Data collector utility on Vertica Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/monitoring/data-collector-utility/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Configuring data retention policies</title>
      <link>/en/admin/monitoring/data-collector-utility/configuring-data-retention-policies/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/monitoring/data-collector-utility/configuring-data-retention-policies/</guid>
      <description>
        
        
        &lt;p&gt;&lt;a class=&#34;glosslink&#34; href=&#34;../../../../en/glossary/data-collector/&#34; title=&#34;A utility that collects and retains database monitoring information.&#34;&gt;Data collector&lt;/a&gt; maintains retention policies for each Vertica component that it monitors—for example, TupleMoverEvents, or DepotEvictions. You can identify monitored components by querying system table &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/data-collector/&#34;&gt;DATA_COLLECTOR&lt;/a&gt;. For example, the following query returns partition activity components:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT DISTINCT component FROM data_collector WHERE component ILIKE &amp;#39;%partition%&amp;#39;;
      component
----------------------
 HiveCustomPartitions
 CopyPartitions
 MovePartitions
 SwapPartitions
(4 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Each component has its own retention policy, which is comprised of several properties:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;MEMORY_BUFFER_SIZE_KB specifies in kilobytes the maximum amount of collected data that the Data Collector buffers in memory before moving it to disk.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;DISK_SIZE_KB specifies in kilobytes the maximum disk space allocated for this component&#39;s Data Collector table.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;INTERVAL_TIME is an &lt;a href=&#34;../../../../en/sql-reference/data-types/datetime-data-types/interval/&#34;&gt;INTERVAL&lt;/a&gt; data type that specifies how long data of a given component is retained in that component&#39;s Data Collector table.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Vertica sets default values on all properties, which you can modify with meta-functions &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/data-collector-functions/set-data-collector-policy/&#34;&gt;SET_DATA_COLLECTOR_POLICY&lt;/a&gt; and &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/data-collector-functions/set-data-collector-time-policy/&#34;&gt;SET_DATA_COLLECTOR_TIME_POLICY&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can view retention policy settings by calling &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/data-collector-functions/get-data-collector-policy/&#34;&gt;GET_DATA_COLLECTOR_POLICY&lt;/a&gt;. For example, the following statement returns the retention policy for the TupleMoverEvents component:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT get_data_collector_policy(&amp;#39;TupleMoverEvents&amp;#39;);
                          get_data_collector_policy
-----------------------------------------------------------------------------
 1000KB kept in memory, 15000KB kept on disk. Time based retention disabled.
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;setting-retention-memory-and-disk-storage&#34;&gt;Setting retention memory and disk storage&lt;/h2&gt;
&lt;p&gt;Retention policy properties MEMORY_BUFFER_SIZE_KB and DISK_SIZE_KB combine to determine how much collected data is available at any given time. The two properties have the following dependencies: if MEMORY_BUFFER_SIZE_KB is set to 0, the Data Collector does not retain any data for this component either in memory or on disk; and if DISK_SIZE_KB is set to 0, then the Data Collector retains only as much component data as it can buffer, as set by MEMORY_BUFFER_SIZE_KB .&lt;/p&gt;
&lt;p&gt;For example, the following statement changes memory and disk setting for component ResourceAcquisitions from its current setting of 1,000 KB memory and 10,000 KB disk space to 1500 KB and 25000 KB, respectively:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT set_data_collector_policy(&amp;#39;ResourceAcquisitions&amp;#39;, &amp;#39;1500&amp;#39;, &amp;#39;25000&amp;#39;);
 set_data_collector_policy
---------------------------
 SET
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You should consider setting MEMORY_BUFFER_SIZE_KB to a high value in the following cases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Unusually high levels of data collection. If MEMORY_BUFFER_SIZE_KB is set too low, the Data Collector might be unable to flush buffered data to disk fast enough to keep up with the activity level, which can lead to loss of in-memory data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Very large data collector records—for example, records with very long query strings. The Data Collector uses double-buffering, so it cannot retain in memory records that are more than 50 percent larger than MEMORY_BUFFER_SIZE_KB.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;setting-time-based-retention&#34;&gt;Setting time-based retention&lt;/h2&gt;
&lt;p&gt;By default, all collected data of a given component remain on disk and are accessible in the component&#39;s Data Collector table, up to the disk storage limit of that component&#39;s retention policy as set by its DISK_SIZE_KB property. You can call SET_DATA_COLLECTOR_POLICY to limit how long data is retained in a component&#39;s Data Collector table. In the following example, SET_DATA_COLLECTOR_POLICY is called on component TupleMoverEvents and sets its INTERVAL_TIME property to an interval of 30 minutes:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;SELECT set_data_collector_policy(&amp;#39;TupleMoverEvents &amp;#39;, &amp;#39;30 minutes&amp;#39;::interval);
set_data_collector_time_policy
--------------------------------
SET
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;After this call, the Data Collector table &lt;code&gt;dc_tuple_mover_events&lt;/code&gt; only retains records of Tuple Mover activity that occurred in the last 30 minutes. Older Tuple Mover data are automatically dropped from this table. For example, after the previous call to SET_DATA_COLLECTOR_POLICY, querying &lt;code&gt;dc_tuple_mover_events&lt;/code&gt; returns data of Tuple Mover activity that was collected over the last 30 minutes—in this case, since 07:58:21:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT current_timestamp(0)  - &amp;#39;30 minutes&amp;#39;::interval AS &amp;#39;30 minutes ago&amp;#39;;
   30 minutes ago
---------------------
 2020-08-13 07:58:21
(1 row)

=&amp;gt; SELECT time, node_name, session_id, user_name, transaction_id, operation FROM dc_tuple_mover_events WHERE node_name=&amp;#39;v_vmart_node0001&amp;#39; ORDER BY transaction_id;
             time              |    node_name     |           session_id            | user_name |  transaction_id   | operation
-------------------------------+------------------+---------------------------------+-----------+-------------------+-----------
 2020-08-13 08:16:54.360597-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807826 | Mergeout
 2020-08-13 08:16:54.397346-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807826 | Mergeout
 2020-08-13 08:16:54.424002-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807826 | Mergeout
 2020-08-13 08:16:54.425989-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807829 | Mergeout
 2020-08-13 08:16:54.456829-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807829 | Mergeout
 2020-08-13 08:16:54.485097-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807829 | Mergeout
 2020-08-13 08:19:45.8045-04   | v_vmart_node0001 | v_vmart_node0001-190508:0x37b08 | dbadmin   | 45035996273807855 | Mergeout
 2020-08-13 08:19:45.742-04    | v_vmart_node0001 | v_vmart_node0001-190508:0x37b08 | dbadmin   | 45035996273807855 | Mergeout
 2020-08-13 08:19:45.684764-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x37b08 | dbadmin   | 45035996273807855 | Mergeout
 2020-08-13 08:19:45.799796-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807865 | Mergeout
 2020-08-13 08:19:45.768856-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807865 | Mergeout
 2020-08-13 08:19:45.715424-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807865 | Mergeout
 2020-08-13 08:25:20.465604-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807890 | Mergeout
 2020-08-13 08:25:20.497266-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807890 | Mergeout
 2020-08-13 08:25:20.518839-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807890 | Mergeout
 2020-08-13 08:25:20.52099-04  | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807893 | Mergeout
 2020-08-13 08:25:20.549075-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807893 | Mergeout
 2020-08-13 08:25:20.569072-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807893 | Mergeout
(18 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;After 25 minutes elapse, 12 of these records age out of the 30 minute interval set for TupleMoverEvents., and are dropped from &lt;code&gt;dc_tuple_mover_events&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT current_timestamp(0)  - &amp;#39;30 minutes&amp;#39;::interval AS &amp;#39;30 minutes ago&amp;#39;;
   30 minutes ago
---------------------
 2020-08-13 08:23:33
(1 row)


=&amp;gt; SELECT time, node_name, session_id, user_name, transaction_id, operation FROM dc_tuple_mover_events WHERE node_name=&amp;#39;v_vmart_node0001&amp;#39; ORDER BY transaction_id;
             time              |    node_name     |           session_id            | user_name |  transaction_id   | operation
-------------------------------+------------------+---------------------------------+-----------+-------------------+-----------
 2020-08-13 08:25:20.465604-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807890 | Mergeout
 2020-08-13 08:25:20.497266-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807890 | Mergeout
 2020-08-13 08:25:20.518839-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807890 | Mergeout
 2020-08-13 08:25:20.52099-04  | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807893 | Mergeout
 2020-08-13 08:25:20.549075-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807893 | Mergeout
 2020-08-13 08:25:20.569072-04 | v_vmart_node0001 | v_vmart_node0001-190508:0x375db | dbadmin   | 45035996273807893 | Mergeout
(6 rows)
&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Setting a component policy&#39;s INTERVAL_TIME property has no effect on how much data storage the Data Collector retains on disk for that component. Maximum disk storage capacity is determined by the DISK_SIZE_KB property. Setting the INTERVAL_TIME property only affects how long data is retained by the component&#39;s Data Collector table.

&lt;/div&gt;
&lt;p&gt;The meta-function &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/data-collector-functions/set-data-collector-time-policy/&#34;&gt;SET_DATA_COLLECTOR_TIME_POLICY&lt;/a&gt; also sets a retention policy&#39;s INTERVAL_TIME property. Unlike SET_DATA_COLLECTOR_POLICY, this meta-function only sets the INTERVAL_TIME property . It also differs in that you can use this meta-function to update INTERVAL_TIME on all components, by omitting the component argument. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;SELECT set_data_collector_time_policy(&amp;#39;1 day&amp;#39;::interval);
set_data_collector_time_policy
--------------------------------
SET
(1 row)

=&amp;gt; SELECT DISTINCT component, INTERVAL_SET, INTERVAL_TIME FROM DATA_COLLECTOR WHERE component ILIKE &amp;#39;%partition%&amp;#39;;
      component       | INTERVAL_SET | INTERVAL_TIME
----------------------+--------------+---------------
 HiveCustomPartitions | t            | 1
 MovePartitions       | t            | 1
 CopyPartitions       | t            | 1
 SwapPartitions       | t            | 1
(4 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To clear the INTERVAL_TIME policy property, call SET_DATA_COLLECTOR_TIME_POLICY with a negative integer argument. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT set_data_collector_time_policy(&amp;#39;-1&amp;#39;);
 set_data_collector_time_policy
--------------------------------
 SET
(1 row)

=&amp;gt; SELECT DISTINCT component, INTERVAL_SET, INTERVAL_TIME FROM DATA_COLLECTOR WHERE component ILIKE &amp;#39;%partition%&amp;#39;;
      component       | INTERVAL_SET | INTERVAL_TIME
----------------------+--------------+---------------
 MovePartitions       | f            | 0
 SwapPartitions       | f            | 0
 HiveCustomPartitions | f            | 0
 CopyPartitions       | f            | 0
(4 rows)
&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Setting INTERVAL_TIME on a retention policy also sets its BOOLEAN property INTERVAL_SET.

&lt;/div&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Querying data collector tables</title>
      <link>/en/admin/monitoring/data-collector-utility/querying-data-collector-tables/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/monitoring/data-collector-utility/querying-data-collector-tables/</guid>
      <description>
        
        
        
&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

Data Collector tables (prefixed by &lt;code&gt;dc_&lt;/code&gt;) are in the &lt;code&gt;V_INTERNAL&lt;/code&gt; schema. If you use Data Collector tables in scripts or monitoring tools, be aware that any Vertica upgrade is liable to remove or change them without notice.

&lt;/div&gt;
&lt;p&gt;You can obtain component-specific data from Data Collector tables. The Data Collector compiles the component data from its log files in a table format that you can query with standard SQL queries. You can identify Data Collector table names for specific components through system table Data Collector. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT distinct component, table_name FROM data_collector where component ILIKE &amp;#39;lock%&amp;#39;;
  component   |    table_name
--------------+------------------
 LockRequests | dc_lock_requests
 LockReleases | dc_lock_releases
 LockAttempts | dc_lock_attempts
(3 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can then query the desired Data Collector tables—for example, check for lock delays in &lt;code&gt;dc_lock_attempts&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT * from dc_lock_attempts WHERE description != &amp;#39;Granted immediately&amp;#39;;
-[ RECORD 1 ]------+------------------------------
time               | 2020-08-17 00:14:07.187607-04
node_name          | v_vmart_node0001
session_id         | v_vmart_node0001-319647:0x1d
user_id            | 45035996273704962
user_name          | dbadmin
transaction_id     | 45035996273819050
object             | 0
object_name        | Global Catalog
mode               | X
promoted_mode      | X
scope              | TRANSACTION
start_time         | 2020-08-17 00:14:07.184663-04
timeout_in_seconds | 300
result             | granted
description        | Granted after waiting
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Admin: Managing data collection logs</title>
      <link>/en/admin/monitoring/data-collector-utility/managing-data-collection-logs/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/monitoring/data-collector-utility/managing-data-collection-logs/</guid>
      <description>
        
        
        &lt;p&gt;On startup, Vertica creates a &lt;code&gt;DataCollector&lt;/code&gt; directory under the database catalog directory of each node. This directory contains one or more logs for individual components. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[dbadmin@doch01 DataCollector]$ pwd
/home/dbadmin/VMart/v_vmart_node0001_catalog/DataCollector
[dbadmin@doch01 DataCollector]$ ls -1 -g Lock*
-rw------- 1 verticadba 2559879 Aug 17 00:14 LockAttempts_650572441057355.log
-rw------- 1 verticadba  614579 Aug 17 05:28 LockAttempts_650952885486175.log
-rw------- 1 verticadba 2559895 Aug 14 18:31 LockReleases_650306482037650.log
-rw------- 1 verticadba 1411127 Aug 17 05:28 LockReleases_650759468041873.log
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The DataCollector directory also contains a pair of SQL template files for each component:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;CREATE_&lt;/code&gt;&lt;em&gt;&lt;code&gt;component&lt;/code&gt;&lt;/em&gt;&lt;code&gt;_TABLE.sql&lt;/code&gt; provides DDL for creating a table where you can load Data Collector logs for a given component—for example, LockAttempts:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[dbadmin@doch01 DataCollector]$ cat CREATE_LockAttempts_TABLE.sql
\set dcschema &amp;#39;echo ${DCSCHEMA:-dc}&amp;#39;
CREATE TABLE :dcschema.dc_lock_attempts(
  &amp;#34;time&amp;#34; TIMESTAMP WITH TIME ZONE,
  &amp;#34;node_name&amp;#34; VARCHAR(128),
  &amp;#34;session_id&amp;#34; VARCHAR(128),
  &amp;#34;user_id&amp;#34; INTEGER,
  &amp;#34;user_name&amp;#34; VARCHAR(128),
  &amp;#34;transaction_id&amp;#34; INTEGER,
  &amp;#34;object&amp;#34; INTEGER,
  &amp;#34;object_name&amp;#34; VARCHAR(128),
  &amp;#34;mode&amp;#34; VARCHAR(128),
  &amp;#34;promoted_mode&amp;#34; VARCHAR(128),
  &amp;#34;scope&amp;#34; VARCHAR(128),
  &amp;#34;start_time&amp;#34; TIMESTAMP WITH TIME ZONE,
  &amp;#34;timeout_in_seconds&amp;#34; INTEGER,
  &amp;#34;result&amp;#34; VARCHAR(128),
  &amp;#34;description&amp;#34; VARCHAR(64000)
);
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;COPY_&lt;/code&gt;&lt;em&gt;&lt;code&gt;component&lt;/code&gt;&lt;/em&gt;&lt;code&gt;_TABLE.sql&lt;/code&gt; contains SQL for loading (with &lt;a href=&#34;../../../../en/sql-reference/statements/copy/&#34;&gt;COPY&lt;/a&gt;) the data log files into the table that the CREATE script creates. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[dbadmin@doch01 DataCollector]$ cat COPY_LockAttempts_TABLE.sql
\set dcpath &amp;#39;echo ${DCPATH:-$PWD}&amp;#39;
\set dcschema &amp;#39;echo ${DCSCHEMA:-dc}&amp;#39;
\set logfiles &amp;#39;&amp;#39;&amp;#39;&amp;#39;:dcpath&amp;#39;/LockAttempts_*.log&amp;#39;&amp;#39;&amp;#39;
COPY :dcschema.dc_lock_attempts(
  LockAttempts_start_filler FILLER VARCHAR(64) DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;time_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;time&amp;#34; FORMAT &amp;#39;_internal&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;node_name_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;node_name&amp;#34; ESCAPE E&amp;#39;\001&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;session_id_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;session_id&amp;#34; ESCAPE E&amp;#39;\001&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;user_id_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;user_id&amp;#34; FORMAT &amp;#39;d&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;user_name_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;user_name&amp;#34; ESCAPE E&amp;#39;\001&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;transaction_id_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;transaction_id&amp;#34; FORMAT &amp;#39;d&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;object_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;object&amp;#34; FORMAT &amp;#39;d&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;object_name_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;object_name&amp;#34; ESCAPE E&amp;#39;\001&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;mode_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;mode&amp;#34; ESCAPE E&amp;#39;\001&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;promoted_mode_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;promoted_mode&amp;#34; ESCAPE E&amp;#39;\001&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;scope_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;scope&amp;#34; ESCAPE E&amp;#39;\001&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;start_time_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;start_time&amp;#34; FORMAT &amp;#39;_internal&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;timeout_in_seconds_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;timeout_in_seconds&amp;#34; FORMAT &amp;#39;d&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;result_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;result&amp;#34; ESCAPE E&amp;#39;\001&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;,
  &amp;#34;description_nfiller&amp;#34; FILLER VARCHAR(32) DELIMITER &amp;#39;:&amp;#39;,
  &amp;#34;description&amp;#34; ESCAPE E&amp;#39;\001&amp;#39;
)  FROM :logfiles RECORD TERMINATOR E&amp;#39;\n.\n&amp;#39; DELIMITER E&amp;#39;\n&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;log-management-meta-functions&#34;&gt;Log management meta-functions&lt;/h2&gt;
&lt;p&gt;You can manage Data Collector logs with Vertica meta-functions &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/data-collector-functions/flush-data-collector/&#34;&gt;FLUSH_DATA_COLLECTOR&lt;/a&gt; and &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/data-collector-functions/clear-data-collector/&#34;&gt;CLEAR_DATA_COLLECTOR&lt;/a&gt;. Both functions can specify a single component, or execute on all components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;FLUSH_DATA_COLLECTOR waits until memory logs are moved to disk and then flushes the Data Collector, synchronizing the log with disk storage. For example, the following statement executes on all components:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT flush_data_collector();
 flush_data_collector
----------------------
 FLUSH
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;CLEAR_DATA_COLLECTOR clears all memory and disk records from Data Collector tables and logs, and resets collection statistics in system table &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/data-collector/&#34;&gt;DATA_COLLECTOR&lt;/a&gt;. For example, the following statement executes on data collected for component ResourceAcquisitions:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT clear_data_collector(&amp;#39;ResourceAcquisitions&amp;#39;);
 clear_data_collector
----------------------
 CLEAR
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
