mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
38 lines
828 B
SQL
38 lines
828 B
SQL
DROP TABLE IF EXISTS log;
|
|
|
|
CREATE TABLE log (x UInt8) ENGINE = StripeLog;
|
|
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (0);
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (1);
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (2);
|
|
SELECT * FROM log ORDER BY x;
|
|
|
|
DROP TABLE log;
|
|
|
|
CREATE TABLE log (x UInt8) ENGINE = TinyLog;
|
|
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (0);
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (1);
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (2);
|
|
SELECT * FROM log ORDER BY x;
|
|
|
|
DROP TABLE log;
|
|
|
|
CREATE TABLE log (x UInt8) ENGINE = Log;
|
|
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (0);
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (1);
|
|
SELECT * FROM log ORDER BY x;
|
|
INSERT INTO log VALUES (2);
|
|
SELECT * FROM log ORDER BY x;
|
|
|
|
DROP TABLE log;
|