ClickHouse/tests/queries/0_stateless/02864_profile_event_part_lock.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
332 B
MySQL
Raw Normal View History

2023-08-24 13:32:03 +00:00
DROP TABLE IF EXISTS random_mt;
CREATE TABLE random_mt
(
key UInt64,
value String
)
ENGINE MergeTree()
ORDER BY tuple();
INSERT INTO random_mt VALUES (1, 'Hello');
2023-08-24 18:48:10 +00:00
SELECT any(value > 0) from system.events WHERE event = 'PartsLockHoldMicroseconds' or event = 'PartsLockWaitMicroseconds';
2023-08-24 13:32:03 +00:00
DROP TABLE IF EXISTS random_mt;