You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contains logging entries with information about various blob storage operations such as uploads and deletes.
7
+
8
+
Columns:
9
+
10
+
-`event_date` ([Date](../../sql-reference/data-types/date.md)) — Date of the event.
11
+
-`event_time` ([DateTime](../../sql-reference/data-types/datetime.md)) — Time of the event.
12
+
-`event_time_microseconds` ([DateTime64](../../sql-reference/data-types/datetime64.md)) — Time of the event with microseconds precision.
13
+
-`event_type` ([Enum8](../../sql-reference/data-types/enum.md)) — Type of the event. Possible values:
14
+
-`'Upload'`
15
+
-`'Delete'`
16
+
-`'MultiPartUploadCreate'`
17
+
-`'MultiPartUploadWrite'`
18
+
-`'MultiPartUploadComplete'`
19
+
-`'MultiPartUploadAbort'`
20
+
-`query_id` ([String](../../sql-reference/data-types/string.md)) — Identifier of the query associated with the event, if any.
21
+
-`thread_id` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — Identifier of the thread performing the operation.
22
+
-`thread_name` ([String](../../sql-reference/data-types/string.md)) — Name of the thread performing the operation.
23
+
-`disk_name` ([LowCardinality(String)](../../sql-reference/data-types/lowcardinality.md)) — Name of the associated disk.
24
+
-`bucket` ([String](../../sql-reference/data-types/string.md)) — Name of the bucket.
25
+
-`remote_path` ([String](../../sql-reference/data-types/string.md)) — Path to the remote resource.
26
+
-`local_path` ([String](../../sql-reference/data-types/string.md)) — Path to the metadata file on the local system, which references the remote resource.
27
+
-`data_size` ([UInt32](../../sql-reference/data-types/int-uint.md#uint-ranges)) — Size of the data involved in the upload event.
28
+
-`error` ([String](../../sql-reference/data-types/string.md)) — Error message associated with the event, if any.
29
+
30
+
**Example**
31
+
32
+
Suppose a blob storage operation uploads a file, and an event is logged:
33
+
34
+
```sql
35
+
SELECT*FROMsystem.blob_storage_logWHERE query_id ='7afe0450-504d-4e4b-9a80-cd9826047972'ORDER BY event_date, event_time_microseconds \G
In this example, upload operation was associated with the `INSERT` query with ID `7afe0450-504d-4e4b-9a80-cd9826047972`. The local metadata file `store/654/6549e8b3-d753-4447-8047-d462df6e6dbe/tmp_insert_all_1_1_0/checksums.txt` refers to remote path `rrr/kxo/tbnqtrghgtnxkzgtcrlutwuslgawe` in bucket `bucket1` on disk `disk_s3`, with a size of 259 bytes.
56
+
57
+
**See Also**
58
+
59
+
-[External Disks for Storing Data](../../operations/storing-data.md)
0 commit comments