2023-01-03 21:00:31 +00:00
|
|
|
flat
|
|
|
|
-- { echoOn }
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (1, 'First', now());
|
|
|
|
SELECT key, value FROM dict_flat ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'Second', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_flat ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 Second
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'SecondUpdated', now());
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (3, 'Third', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_flat ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 SecondUpdated
|
|
|
|
3 Third
|
|
|
|
flat/custom
|
|
|
|
-- { echoOn }
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (1, 'First', now());
|
|
|
|
SELECT key, value FROM dict_flat_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'Second', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_flat_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 Second
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'SecondUpdated', now());
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (3, 'Third', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_flat_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 SecondUpdated
|
|
|
|
3 Third
|
|
|
|
hashed
|
|
|
|
-- { echoOn }
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (1, 'First', now());
|
|
|
|
SELECT key, value FROM dict_hashed ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'Second', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_hashed ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 Second
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'SecondUpdated', now());
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (3, 'Third', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_hashed ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 SecondUpdated
|
|
|
|
3 Third
|
|
|
|
hashed/custom
|
|
|
|
-- { echoOn }
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (1, 'First', now());
|
|
|
|
SELECT key, value FROM dict_hashed_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'Second', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_hashed_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 Second
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'SecondUpdated', now());
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (3, 'Third', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_hashed_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 SecondUpdated
|
|
|
|
3 Third
|
|
|
|
complex_key_hashed
|
|
|
|
-- { echoOn }
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (1, 'First', now());
|
|
|
|
SELECT key, value FROM dict_complex_key_hashed ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'Second', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_complex_key_hashed ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 Second
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'SecondUpdated', now());
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (3, 'Third', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_complex_key_hashed ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 SecondUpdated
|
|
|
|
3 Third
|
|
|
|
complex_key_hashed/custom
|
|
|
|
-- { echoOn }
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (1, 'First', now());
|
|
|
|
SELECT key, value FROM dict_complex_key_hashed_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'Second', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_complex_key_hashed_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 Second
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (2, 'SecondUpdated', now());
|
|
|
|
INSERT INTO table_for_update_field_dictionary VALUES (3, 'Third', now());
|
2023-05-08 04:49:41 +00:00
|
|
|
SELECT sleepEachRow(1) FROM numbers(10) SETTINGS function_sleep_max_microseconds_per_block = 10000000 FORMAT Null;
|
2023-01-03 21:00:31 +00:00
|
|
|
SELECT key, value FROM dict_complex_key_hashed_custom ORDER BY key ASC;
|
|
|
|
1 First
|
|
|
|
2 SecondUpdated
|
|
|
|
3 Third
|