|
| 1 | +--- |
| 2 | +description: 'System table containing information about in progress merge tree part exports' |
| 3 | +keywords: ['system table', 'exports', 'merge tree', 'part'] |
| 4 | +slug: /operations/system-tables/exports |
| 5 | +title: 'system.exports' |
| 6 | +--- |
| 7 | + |
| 8 | +Contains information about in progress merge tree part exports |
| 9 | + |
| 10 | +Columns: |
| 11 | + |
| 12 | +- `source_database` ([String](/docs/en/sql-reference/data-types/string.md)) — Name of the source database. |
| 13 | +- `source_table` ([String](/docs/en/sql-reference/data-types/string.md)) — Name of the source table. |
| 14 | +- `destination_database` ([String](/docs/en/sql-reference/data-types/string.md)) — Name of the destination database. |
| 15 | +- `destination_table` ([String](/docs/en/sql-reference/data-types/string.md)) — Name of the destination table. |
| 16 | +- `create_time` ([DateTime](/docs/en/sql-reference/data-types/datetime.md)) — Date and time when the export command was submitted for execution. |
| 17 | +- `part_name` ([String](/docs/en/sql-reference/data-types/string.md)) — Name of the part. |
| 18 | +- `destination_file_path` ([String](/docs/en/sql-reference/data-types/string.md)) — File path relative to where the part is being exported to. |
| 19 | +- `elapsed` ([Float64](/docs/en/sql-reference/data-types/float.md)) — The time elapsed (in seconds) since the export started. |
| 20 | +- `rows_read` ([UInt64](/docs/en/sql-reference/data-types/int-uint.md)) — The number of rows read from the exported part. |
| 21 | +- `total_rows_to_read` ([UInt64](/docs/en/sql-reference/data-types/int-uint.md)) — The total number of rows to read from the exported part. |
| 22 | +- `total_size_bytes_compressed` ([UInt64](/docs/en/sql-reference/data-types/int-uint.md)) — The total size of the compressed data in the exported part. |
| 23 | +- `total_size_bytes_uncompressed` ([UInt64](/docs/en/sql-reference/data-types/int-uint.md)) — The total size of the uncompressed data in the exported part. |
| 24 | +- `bytes_read_uncompressed` ([UInt64](/docs/en/sql-reference/data-types/int-uint.md)) — The number of uncompressed bytes read from the exported part. |
| 25 | +- `memory_usage` ([UInt64](/docs/en/sql-reference/data-types/int-uint.md)) — Current memory usage in bytes for the export operation. |
| 26 | +- `peak_memory_usage` ([UInt64](/docs/en/sql-reference/data-types/int-uint.md)) — Peak memory usage in bytes during the export operation. |
| 27 | + |
| 28 | +**Example** |
| 29 | + |
| 30 | +```sql |
| 31 | +arthur :) select * from system.exports; |
| 32 | + |
| 33 | +SELECT * |
| 34 | +FROM system.exports |
| 35 | + |
| 36 | +Query id: 2026718c-d249-4208-891b-a271f1f93407 |
| 37 | + |
| 38 | +Row 1: |
| 39 | +────── |
| 40 | +source_database: default |
| 41 | +source_table: source_mt_table |
| 42 | +destination_database: default |
| 43 | +destination_table: destination_table |
| 44 | +create_time: 2025-11-19 09:09:11 |
| 45 | +part_name: 20251016-365_1_1_0 |
| 46 | +destination_file_path: table_root/eventDate=2025-10-16/retention=365/20251016-365_1_1_0_17B2F6CD5D3C18E787C07AE3DAF16EB1.parquet |
| 47 | +elapsed: 2.04845441 |
| 48 | +rows_read: 1138688 -- 1.14 million |
| 49 | +total_rows_to_read: 550961374 -- 550.96 million |
| 50 | +total_size_bytes_compressed: 37619147120 -- 37.62 billion |
| 51 | +total_size_bytes_uncompressed: 138166213721 -- 138.17 billion |
| 52 | +bytes_read_uncompressed: 316892925 -- 316.89 million |
| 53 | +memory_usage: 596006095 -- 596.01 million |
| 54 | +peak_memory_usage: 601239033 -- 601.24 million |
| 55 | +``` |
| 56 | + |
0 commit comments