ltrk2
a29b36612b
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-03 09:41:25 -04:00
Nikolai Kochetov
5d64e036ba
Merge pull request #52695 from yariks5s/in_schema_case_sensitiveness
...
Information_schema case sensitiveness
2023-08-03 12:15:31 +02:00
Kseniia Sumarokova
0ec11a2d79
Merge branch 'master' into system-sync-cache
2023-08-03 12:02:18 +02:00
Alexander Tokmakov
48d736f8fd
select only required columns from system.databases
2023-08-02 23:23:52 +02:00
Azat Khuzhin
cd74da4c03
Remove unused code in StorageSystemStackTrace
...
This columns mask is actually useless, since the main thing is done
without out, in particular:
- detect does the signal should be sent to thread
- does the thread name should be read for this thread
And this cannot be done with columns mask, because multiple columns
depends on signals and thread names.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-02 21:25:00 +02:00
ltrk2
27a2d4d1c7
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-02 11:36:43 -04:00
Yarik Briukhovetskyi
e811d5c4e9
Update attachInformationSchemaTables.cpp
2023-08-02 14:06:20 +02:00
Yarik Briukhovetskyi
dab77b044b
Update attachInformationSchemaTables.cpp
2023-08-02 13:23:18 +02:00
yariks5s
0174244fe1
fixed tests
2023-08-02 11:21:47 +00:00
yariks5s
6db7eaf4d8
fixed ast
2023-08-01 19:14:11 +00:00
Sergei Trifonov
e4ae2ece7c
Merge branch 'master' into async-loader-integration
2023-08-01 13:04:11 +02:00
yariks5s
964e4311c3
reviewed changes
2023-07-31 13:03:56 +00:00
kssenii
5d167b4f03
Merge remote-tracking branch 'upstream/master' into system-sync-cache
2023-07-31 12:44:11 +02:00
Kseniia Sumarokova
8daeeedc8f
Merge pull request #52315 from xiedeyantu/add-alias
...
system.events and system.metrics tables add column name as an alias to event and metric
2023-07-30 22:37:31 +02:00
Kseniia Sumarokova
08ef4d015c
Minor change
2023-07-30 13:36:52 +02:00
ltrk2
6c9a1b14ef
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-07-28 16:18:46 -04:00
pufit
6211845ef0
Merge pull request #51303 from ClickHouse/deprecate-metadata-cache
...
Deprecate the `metadata_cache` feature
2023-07-28 10:31:02 -04:00
yariks5s
96df21bbf5
implemented for all tables, fixed style and fast test
2023-07-28 13:35:13 +00:00
yariks5s
da53bca6e4
added tests
2023-07-27 18:29:50 +00:00
Alexey Milovidov
671128140d
Update autogenerated version to 23.8.1.1 and contributors
2023-07-27 15:34:05 +02:00
Alexander Tokmakov
f3dc6dd061
Revert "Added field refcount
to system.remote_data_paths
table"
2023-07-27 15:23:57 +03:00
Alexey Milovidov
17b647f6b1
Merge pull request #52518 from CurtizJ/add-refcount-to-system-table
...
Added field `refcount` to `system.remote_data_paths` table
2023-07-27 12:13:24 +03:00
Anton Popov
568afbbec3
added field with refcount to system.remote_data_paths table
2023-07-25 12:33:15 +00:00
Kseniia Sumarokova
265e1437a3
Merge branch 'master' into add-alias
2023-07-24 21:52:41 +02:00
Alexey Milovidov
a17652a422
Merge branch 'master' into incbin
2023-07-24 05:33:52 +02:00
Alexey Milovidov
1e467867e6
Attempt to fix LTO
2023-07-24 00:03:40 +02:00
Alexey Milovidov
c8f8a23c71
Fix errors
2023-07-23 06:11:03 +02:00
Alexey Milovidov
4170d1458b
Use incbin for resources, part 2
2023-07-23 06:11:03 +02:00
Alexey Milovidov
00d6f2ee08
Use incbin for resources, part 1
2023-07-23 06:11:03 +02:00
Kseniia Sumarokova
234a0fa7bc
Merge branch 'master' into add-alias
2023-07-22 14:48:49 +02:00
Alexey Milovidov
9dc988981e
Merge branch 'master' into is_obsolete
2023-07-22 04:59:26 +03:00
Sergei Trifonov
8eaf3b6d94
Merge branch 'master' into async-loader-integration
2023-07-21 21:46:06 +02:00
robot-ch-test-poll4
62e01df545
Merge pull request #52104 from filimonov/last_removal_attempt_time_typo
...
Fix typo last_removal_attemp_time
2023-07-21 14:49:36 +02:00
ltrk2
90a2c460c6
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-07-21 08:07:18 -04:00
Alexander Gololobov
03a890f91c
Merge branch 'master' into filter_system_databases
2023-07-20 12:38:15 +02:00
ltrk2
ba4072f049
Adapt changes around SipHash
2023-07-19 10:01:58 -07:00
Robert Schulze
3eb23d899f
Merge remote-tracking branch 'rschu1ze/master' into beautify-system-query-cache
2023-07-19 12:55:09 +00:00
xiedeyantu
d0e886070c
system.events and system.metrics tables add column name as an alias to event and metric
2023-07-19 17:39:00 +08:00
Robert Schulze
f22452c78c
Beautify pretty-printing of the query string in SYSTEM.QUERY_CACHE.
...
Output of SYSTEM.QUERY_CACHE
- before this PR:
SELECT * FROM system.query_cache
Query id: 4989008b-b84c-4e57-bfe5-7fb551814812
Row 1:
──────
query: SELECT 1 SETTINGS
[...]
- after this PR:
SELECT * FROM system.query_cache
Query id: 4989008b-b84c-4e57-bfe5-7fb551814812
Row 1:
──────
query: SELECT 1 SETTINGS use_query_cache = 1
[...]
2023-07-19 09:10:26 +00:00
Sema Checherinda
ed5310ce48
Merge branch 'master' into last_removal_attempt_time_typo
2023-07-19 10:23:25 +02:00
Alexander Gololobov
44595b98d0
Update src/Storages/System/StorageSystemDatabases.cpp
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-07-18 08:25:38 +02:00
Alexander Gololobov
2f6bf4590b
Filter databases list before querying potentially slow fields
2023-07-18 08:25:37 +02:00
Sergei Trifonov
850ab23991
Merge branch 'master' into async-loader-integration
2023-07-17 19:14:54 +02:00
Nikita Mikhaylov
d5b97e4cc1
Merge branch 'master' into deprecate-metadata-cache
2023-07-17 15:00:27 +02:00
Mikhail Filimonov
575de8d497
Fix typo last_removal_attemp_time
2023-07-14 07:04:17 +02:00
Yarik Briukhovetskyi
9afafa9554
Merge branch 'master' into add-index-bytes-to-system-parts
2023-07-11 14:51:46 +02:00
pufit
77e45e5669
Add DROP ROLE ... FROM
and CREATE ROLE ... AT
syntax
2023-07-10 20:23:03 -04:00
Alexey Milovidov
4c20d482ba
Merge branch 'master' into is_obsolete
2023-07-09 08:49:00 +03:00
Alexey Milovidov
612a785fd0
Merge pull request #51674 from ClickHouse/system_jemalloc
...
System table with jemalloc stats
2023-07-09 08:48:05 +03:00
Azat Khuzhin
a10aa9ad50
Force libunwind usage (removes gcc_eh support)
...
libunwind is reentrant and signal safe, and works faster then then
gcc_eh (plus it has some custom patches for problems that have been
found during it's usage in ClickHouse).
gcc_eh may be missing in the system (if gcc was not installed), and
even if it exists clickhouse uses -nodefaultlibs, so some care should be
made to make it work.
Also this library is tiny and there shouln't be any problem to require
it always (there is already tendency to require some contrib libraries,
i.e. poco).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-08 20:55:50 +02:00
Alexander Gololobov
05649c7b38
Removed duplicate header
2023-07-07 13:22:52 +02:00
Alexander Gololobov
1336a9ec67
Better naming
2023-07-06 09:09:55 +02:00
Alexander Gololobov
5512c307db
system.jemalloc_bins table
2023-07-05 14:34:03 +02:00
kssenii
80dabd1346
Merge remote-tracking branch 'upstream/master' into system-sync-cache
2023-07-05 12:58:11 +02:00
Alexey Milovidov
31f68c2c67
Merge branch 'master' into deprecate-metadata-cache
2023-07-04 22:28:14 +02:00
Alexey Milovidov
4e8405cbda
Merge branch 'master' into disks-space-improvement
2023-07-04 22:00:40 +02:00
flynn
69d20c0458
Merge branch 'master' into is_obsolete
2023-07-04 16:46:25 +08:00
yariks5s
ad0bff919c
Merge branch 'master' into add-index-bytes-to-system-parts
2023-07-04 00:26:03 +02:00
Anton Popov
fd4a14d56b
Merge branch 'master' into system.parts_column_modification_time
2023-07-03 23:28:03 +02:00
Sergei Trifonov
bbb5850dec
Merge branch 'master' into async-loader-integration
2023-07-03 20:21:26 +02:00
serxa
a9c9acf42d
fix prioritization/schedule race
2023-07-03 18:21:02 +00:00
Vitaly Baranov
8dd1b7b8b9
Merge branch 'master' into add-hex-functions-for-cityhash
2023-07-03 18:00:33 +02:00
yariks5s
b4bc8fe353
Merge branch 'master' into add-index-bytes-to-system-parts
2023-07-03 16:03:05 +02:00
Azat Khuzhin
22e44ced8a
Add column modification time into system.parts_columns
...
This can be useful to obtain at least some time for the part after
mutations, since mutations will change the modification time of all
parts.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-03 13:34:05 +02:00
Vitaly Baranov
35d1b8448b
Merge branch 'master' into add-hex-functions-for-cityhash
2023-07-02 01:32:54 +02:00
yariks5s
e0b581d418
Merge branch 'master' into add-index-bytes-to-system-parts
2023-07-01 23:23:09 +02:00
Alexander Gololobov
f36f981f15
Move adding CreateSets to the end of optimizations, after applying key conditions and indexes
2023-07-01 20:05:18 +02:00
Alexey Milovidov
5ee7f47b03
Update autogenerated version to 23.7.1.1 and contributors
2023-06-30 17:09:56 +02:00
kssenii
c8ab68a5c3
Add test
2023-06-30 16:13:34 +02:00
Alexey Milovidov
2f8118fef9
Merge branch 'master' into is_obsolete
2023-06-30 12:08:38 +03:00
Antonio Andelic
3b7f6a4324
Merge pull request #50796 from ClickHouse/keeper-add-api-version-config
...
Add feature flags for Keeper API
2023-06-30 09:20:52 +02:00
flynn
be2bd989db
Merge branch 'master' into is_obsolete
2023-06-30 10:35:04 +08:00
kssenii
72d1834bbd
system sync filesystem cache
2023-06-29 18:13:54 +02:00
yariks5s
2c3440be41
Merge branch 'master' into add-index-bytes-to-system-parts
2023-06-29 16:59:43 +02:00
Vitaly Baranov
0cccba62cf
Support getHexUIntLowercase() with CityHash_v1_0_2::uint128 parameter.
2023-06-29 15:29:37 +02:00
Antonio Andelic
6e1aec6e0b
Merge branch 'master' into keeper-add-api-version-config
2023-06-29 11:36:49 +02:00
Vitaly Baranov
5570863676
Merge branch 'master' into reorder-part-checksum-halves
2023-06-28 17:25:34 +02:00
Antonio Andelic
be852d554b
Use magic_enum for values
2023-06-28 07:45:20 +00:00
yariks5s
34094da1c4
Merge branch 'master' into add-index-bytes-to-system-parts
2023-06-28 00:19:13 +02:00
Sergei Trifonov
b9b007691c
Merge branch 'master' into async-loader-integration
2023-06-27 19:44:52 +02:00
yariks5s
f3f604ace4
added table with pk size
2023-06-27 17:06:09 +00:00
Antonio Andelic
efbe01b6bb
Merge branch 'master' into keeper-add-api-version-config
2023-06-27 10:11:04 +00:00
Alexey Milovidov
b5635887c3
Merge remote-tracking branch 'origin/refactor-subqueries-for-in' into many-fixes
2023-06-27 05:39:44 +02:00
Sergei Trifonov
e2798b5221
Merge branch 'master' into async-loader-integration
2023-06-26 19:18:23 +02:00
Robert Schulze
fae545ae5c
Merge pull request #51132 from rschu1ze/inefficient-query-cache
...
Fix ineffective query cache for SELECTs with subqueries
2023-06-26 16:54:54 +02:00
Alexey Milovidov
b8e6bd3299
Merge branch 'master' into refactor-subqueries-for-in
2023-06-26 06:05:12 +03:00
Vitaly Baranov
f1f0daa654
Show halves of checksums in "system.parts", "system.projection_parts" and error messages in the correct order.
2023-06-25 17:17:56 +02:00
flynn
0243542587
Merge branch 'master' into is_obsolete
2023-06-25 16:54:54 +08:00
Vitaly Baranov
3711430d9f
Rename member fields of CityHash_v1_0_2::uint128: "first" -> "low64", "second" -> "high64".
2023-06-24 12:25:56 +02:00
Alexey Milovidov
f0563ae719
Remove the system.metadata_cache
table
2023-06-23 02:32:28 +02:00
Nikolai Kochetov
22e49748b5
Cleanup.
2023-06-22 14:23:04 +00:00
Nikolai Kochetov
a940031878
Merge branch 'master' into refactor-subqueries-for-in
2023-06-22 12:18:48 +02:00
kssenii
78ea4feca0
Merge remote-tracking branch 'upstream/master' into delete-non-evictable-feature
2023-06-21 20:52:08 +02:00
kssenii
9aa4647f4f
Delete feature
2023-06-21 20:48:12 +02:00
Alexander Gololobov
a23caab98c
Merge branch 'master' into sys_zookeep_more_parallel_get
2023-06-21 12:16:57 +02:00
Robert Schulze
dcfcbd8345
Merge remote-tracking branch 'rschu1ze/master' into inefficient-query-cache
2023-06-21 09:23:31 +00:00
Robert Schulze
9b959eb1fb
Merge pull request #49577 from tpanetti/mysql_compatible_types
...
Change SHOW COLUMNS query to display MySQL types in MySQL Compatibility mode
2023-06-21 11:04:22 +02:00
Robert Schulze
bc7df2baca
Merge branch 'master' into non-experimental-qpl-deflate
2023-06-20 20:06:01 +02:00
Alexander Gololobov
7a1f8547f3
Simplify the code
2023-06-20 17:18:05 +02:00
Alexander Gololobov
816c6cdeb1
Simplify the code by using tryGetChildren
2023-06-20 16:56:50 +02:00
郭小龙
154d19ce72
The time format (connected_time field) is incorrect ( #51026 )
...
* The time format (connected_time field) is incorrect
* Change the description and increase the field list display
* Update 02735_system_zookeeper_connection.reference
* Update 02735_system_zookeeper_connection.sql
* Update 02735_system_zookeeper_connection.sql
* Update 02735_system_zookeeper_connection.reference
* fix test
---------
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-06-20 16:57:55 +03:00
Sergei Trifonov
02e0d7e204
Merge branch 'master' into async-loader-integration
2023-06-20 12:03:29 +02:00
Alexander Gololobov
44f1f036e8
Use multi-read requests for list and get
2023-06-19 16:47:17 +02:00
Anton Popov
c8316837e3
Merge remote-tracking branch 'upstream/master' into HEAD
2023-06-19 13:16:10 +00:00
Alexander Gololobov
59c11cb150
Make more parallel get requests to ZooKeeper
2023-06-18 08:26:37 +02:00
Robert Schulze
5311ebe1d2
Make query cache work effective with nested queries.
2023-06-17 20:27:25 +00:00
Nikolai Kochetov
afa74f697c
Refactor a bit.
2023-06-16 19:38:50 +00:00
Alexander Gololobov
f08fd758fa
Make multiple parallel list requests
2023-06-15 18:45:10 +02:00
Azat Khuzhin
e9c9db9335
Disable parallelize_output_from_storages for all system tables
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-14 19:11:23 +03:00
Azat Khuzhin
3c4f638bd7
Disable parallelize_output_from_storages for storages with only one block
...
$ clickhouse-benchmark -i 10000 -d 0 --parallelize_output_from_storages=0 -q "select * from values('foo')"
Loaded 1 queries.
Queries executed: 10000.
localhost:9000, queries 10000, QPS: 2800.490, RPS: 2800.490, MiB/s: 0.032, result RPS: 2800.490, result MiB/s: 0.032.
0.000% 0.000 sec.
10.000% 0.000 sec.
20.000% 0.000 sec.
30.000% 0.000 sec.
40.000% 0.000 sec.
50.000% 0.000 sec.
60.000% 0.000 sec.
70.000% 0.000 sec.
80.000% 0.000 sec.
90.000% 0.000 sec.
95.000% 0.000 sec.
99.000% 0.001 sec.
99.900% 0.001 sec.
99.990% 0.001 sec.
$ clickhouse-benchmark -i 10000 -d 0 --parallelize_output_from_storages=1 -q "select * from values('foo')"
Loaded 1 queries.
Queries executed: 10000.
localhost:9000, queries 10000, QPS: 1259.805, RPS: 1259.805, MiB/s: 0.014, result RPS: 1259.805, result MiB/s: 0.014.
0.000% 0.001 sec.
10.000% 0.001 sec.
20.000% 0.001 sec.
30.000% 0.001 sec.
40.000% 0.001 sec.
50.000% 0.001 sec.
60.000% 0.001 sec.
70.000% 0.001 sec.
80.000% 0.001 sec.
90.000% 0.001 sec.
95.000% 0.001 sec.
99.000% 0.001 sec.
99.900% 0.001 sec.
99.990% 0.003 sec.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-14 19:11:23 +03:00
Antonio Andelic
4ac090b122
Fix tests
2023-06-13 11:01:44 +00:00
Antonio Andelic
a7e6264d56
Add backward compatibility
2023-06-12 13:12:05 +00:00
Antonio Andelic
b634012feb
Add feature flags for Keeper API
2023-06-12 10:57:03 +00:00
Robert Schulze
8222861f2e
Merge remote-tracking branch 'rschu1ze/master' into non-experimental-qpl-deflate
2023-06-11 14:39:30 +00:00
tpanetti
cb8c20722b
Rename setting and description for MySQL compatible types
...
This renames the setting for MySQL compatible types from output_format_mysql_types to use_mysql_types_in_show_columns
2023-06-10 08:38:10 -07:00
flynn
4a7761c162
Add column is_obsolete for system.settings table and related system tables
2023-06-10 08:26:32 +00:00
Thomas Panetti
5769d7feca
Merge branch 'master' into mysql_compatible_types
2023-06-09 13:52:16 -07:00
Nikolai Kochetov
6ce8329bda
Merge branch 'master' into refactor-subqueries-for-in
2023-06-09 20:04:27 +02:00
Robert Schulze
1f928f2d3d
Update StorageSystemBuildOptions.cpp.in
2023-06-09 12:43:30 +00:00
jinjunzh
cbdb408ec8
add USE_QPL for buildoptions
2023-06-09 12:43:12 +00:00
Alexey Milovidov
bc2af59278
Update autogenerated version to 23.6.1.1 and contributors
2023-06-09 13:38:30 +02:00
Robert Schulze
172dd4af73
Show correct staleness value in system.query_cache
2023-06-08 21:05:05 +00:00
Antonio Andelic
b11f744252
Correctly disable async insert with deduplication when it's not needed ( #50663 )
...
* Correctly disable async insert when it's not used
* Better
* Add comment
* Better
* Fix tests
---------
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-07 20:33:08 +02:00
Sergei Trifonov
0cbcff958a
Merge branch 'master' into async-loader-integration
2023-06-07 18:55:04 +02:00
Thomas Panetti
016e30c376
Merge branch 'master' into mysql_compatible_types
2023-06-07 08:26:58 -07:00
Nikita Mikhaylov
e87348010d
Rework loading and removing of data parts for MergeTree tables. ( #49474 )
...
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-06-06 14:42:56 +02:00
Anton Popov
b30544a6ab
allow to replace long file names to hashes
2023-06-06 01:39:45 +00:00
tpanetti
495482cdb2
Refactor ClickHouse->MySQL Type conversion and add configuration setting to trigger type conversion
2023-06-05 15:22:29 -07:00
Sergei Trifonov
cb37506421
Merge branch 'master' into async-loader-integration
2023-06-05 21:33:44 +02:00
János Benjamin Antal
e140cad10c
Clean up includes
2023-06-05 10:18:36 +00:00
serxa
443ec12f66
introduce unique job_id in async_loader
2023-06-03 15:16:21 +00:00
János Benjamin Antal
5e17adc9c0
Add system.user_processes
table
2023-06-02 14:08:14 +00:00
serxa
d364cd067f
fix system.async_loader
2023-05-31 18:08:03 +00:00
tpanetti
38634cc5c5
Convert Clickhouse Types to MySQL types in Compatibility mode
...
This changes MySQL compatibility mode to display MySQL compatible types
2023-05-30 13:29:17 -07:00
Nikolai Kochetov
6ed7a3b73f
Fixing more tests.
2023-05-26 19:25:33 +00:00
Sergei Trifonov
fe172f59db
Merge branch 'master' into async-loader-integration
2023-05-26 18:56:08 +02:00
Nikolai Kochetov
b5b261b22c
Merge branch 'master' into refactor-subqueries-for-in
2023-05-25 21:22:06 +02:00
Nikolai Kochetov
30ff5113d9
Fixing more tests.
2023-05-25 13:33:52 +00:00
何李夫
e4c8c4cecf
Add zookeeper name in endpoint id ( #49780 )
...
* Add zookeeper name in endpoint id
When we migrate a replicated table from one zookeeper cluster to
another (the reason why we migration is that zookeeper's load is
too high), we will create a new table with the same zpath, but it
will fail and the old table will be in trouble.
Here is some infomation:
1.old table:
CREATE TABLE a1 (`id` UInt64)
ENGINE = ReplicatedMergeTree('/clickhouse/tables/default/a1/{shard}', '{replica}')
ORDER BY (id);
2.new table:
CREATE TABLE a2 (`id` UInt64)
ENGINE = ReplicatedMergeTree('aux1:/clickhouse/tables/default/a1/{shard}', '{replica}')
ORDER BY (id);
3.error info:
<Error> executeQuery: Code: 220. DB::Exception: Duplicate interserver IO endpoint:
DataPartsExchange:/clickhouse/tables/default/a1/01/replicas/02.
(DUPLICATE_INTERSERVER_IO_ENDPOINT)
<Error> InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint
named DataPartsExchange:/clickhouse/tables/default/a1/01/replicas/02.
(NO_SUCH_INTERSERVER_IO_ENDPOINT)
* Revert "Add zookeeper name in endpoint id"
This reverts commit 9deb75b249619b7abdd38e3949ca8b3a76c9df8e.
* Add zookeeper name in endpoint id
When we migrate a replicated table from one zookeeper cluster to
another (the reason why we migration is that zookeeper's load is
too high), we will create a new table with the same zpath, but it
will fail and the old table will be in trouble.
* Fix incompatible with a new setting
* add a test, fix other issues
* Update 02442_auxiliary_zookeeper_endpoint_id.sql
* Update 02735_system_zookeeper_connection.reference
* Update 02735_system_zookeeper_connection.sql
* Update run.sh
* Remove the 'no-fasttest' tag
* Update 02442_auxiliary_zookeeper_endpoint_id.sql
---------
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-05-25 12:50:14 +03:00
Sergei Trifonov
994cfaf15b
Merge branch 'master' into async-loader-integration
2023-05-22 19:03:11 +02:00
Nikolai Kochetov
ff6400f91a
Merge branch 'master' into refactor-subqueries-for-in
2023-05-22 13:07:51 +02:00
mateng915
5237dd0245
New system table zookeeper connection ( #45245 )
...
* Feature: Support new system table to show which zookeeper node be connected
Description:
============
Currently we have no place to check which zk node be connected otherwise using
lsof command. It not convenient
Solution:
=========
Implemented a new system table, system.zookeeper_host when CK Server has zk
this table will show the zk node dir which connected by current CK server
Noted: This table can support multi-zookeeper cluster scenario.
* fixed review comments
* added test case
* update test cases
* remove unused code
* fixed review comments and removed unused code
* updated test cases for print host, port and is_expired
* modify the code comments
* fixed CI Failed
* fixed code style check failure
* updated test cases by added Tags
* update test reference
* update test cases
* added system.zookeeper_connection doc
* Update docs/en/operations/system-tables/zookeeper_connection.md
* Update docs/en/operations/system-tables/zookeeper_connection.md
* Update docs/en/operations/system-tables/zookeeper_connection.md
---------
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-05-19 17:06:43 +03:00
Vitaly Baranov
801cacc13f
Merge pull request #49831 from vitlibar/fix-setting-null-in-profile-def
...
Fix setting NULL in profile definition
2023-05-15 22:24:49 +02:00
Sergei Trifonov
e2c1581fd0
Merge branch 'master' into async-loader-integration
2023-05-14 15:20:03 +02:00
Alexey Milovidov
5a44dc26e7
Fixes for clang-17
2023-05-13 02:57:31 +02:00
Sergei Trifonov
426184ef73
Merge branch 'master' into async-loader-integration
2023-05-12 19:55:24 +02:00
Robert Schulze
922420420c
Merge pull request #49300 from ClickHouse/rs/functdocs
...
Introduce more fields for in-source function documentation
2023-05-12 11:36:04 +02:00
Vitaly Baranov
eb62030fa4
Fix assigning a setting to NULL in settings profile's definition.
2023-05-12 11:04:30 +02:00
Sergei Trifonov
b479637e2c
Merge branch 'master' into async-loader-integration
2023-05-09 13:04:36 +02:00
Alexey Milovidov
6b742bb1d1
Merge branch 'master' into system-stack-trace-fix
2023-05-07 06:05:47 +03:00
Robert Schulze
983e37048c
Merge pull request #48853 from ClickHouse/rs/qc-totals-extremes2
...
QueryCache: Support queries with totals and extremes
2023-05-06 15:41:10 +02:00
Robert Schulze
45c28e1221
Introduce more fields for in-source function documentation
2023-05-05 21:30:21 +00:00
Nikolai Kochetov
618486815b
Merge branch 'master' into refactor-subqueries-for-in
2023-05-05 20:39:09 +02:00
Robert Schulze
aba5db40a1
Merge remote-tracking branch 'origin/master' into rs/qc-totals-extremes2
2023-05-05 14:11:10 +00:00
Michael Kolupaev
3bd1489f18
Propagate input_format_parquet_preserve_order to parallelizeOutputAfterReading()
2023-05-05 04:20:27 +00:00
Nikolai Kochetov
f598a39ea2
Refactor PreparedSets [3]
2023-05-04 17:54:08 +00:00
alesapin
412b161104
Merge pull request #48791 from kssenii/better-local-object-storage
...
Make local object storage work consistently with s3 object storage, fix problem with append, make it configurable as independent storage
2023-05-04 11:47:43 +02:00
alesapin
89caf40840
Merge pull request #46528 from myrrc/feature/show-secrets-option
...
Show secrets in `SHOW` and `SELECT` queries
2023-05-04 11:21:30 +02:00
serxa
d834ffd59a
add system.async_loader table
2023-05-03 17:15:34 +00:00
Nikita Mikhaylov
954e3b724c
Speedup outdated parts loading ( #49317 )
2023-05-03 18:56:45 +02:00
Alexander Tokmakov
e399903030
Merge pull request #48548 from ClickHouse/clusters_is_active_column
...
Add some columns to system.clusters
2023-05-03 17:42:40 +03:00
kssenii
35f437ac9c
Address review comments
2023-05-03 14:37:18 +02:00
Nikita Mikhaylov
aa4c5fe958
Enhancements for background merges ( #49313 )
2023-05-02 13:43:59 +02:00
kssenii
fbdccbd25f
Merge remote-tracking branch 'origin/better-local-object-storage' into better-local-object-storage
2023-05-01 22:25:28 +02:00
kssenii
f325ba1794
Better
2023-05-01 21:10:37 +02:00
Alexey Milovidov
491c26fb0a
Slight improvement in Disks interface
2023-04-29 18:55:19 +02:00
Mike Kot
2d20658885
Merge branch 'master' into feature/show-secrets-option
2023-04-28 20:19:35 +03:00
Alexey Milovidov
6dcfdbfaf2
Merge branch 'master' into clusters_is_active_column
2023-04-28 16:16:25 +03:00
Kseniia Sumarokova
107474a42f
Merge pull request #44985 from kssenii/cache-better-locks
...
Rework locking in fs cache
2023-04-28 12:24:55 +02:00
Mike Kot
357cde95e9
Merge branch 'master' into feature/show-secrets-option
2023-04-27 20:19:40 +00:00
Robert Schulze
b6e65ddeff
Merge branch 'master' into add-examples-to-functions
2023-04-27 16:11:32 +02:00
kssenii
3d4413183f
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-04-27 13:16:36 +02:00
Robert Schulze
096667be45
More fixes
2023-04-27 09:33:52 +00:00
Alexey Milovidov
0da0592f86
Merge pull request #49237 from ClickHouse/23.5-prepare
...
Update version after release
2023-04-27 02:47:22 +03:00
Alexey Milovidov
7333e964bc
Update autogenerated version to 23.5.1.1 and contributors
2023-04-27 01:40:57 +02:00
Robert Schulze
d72030b876
Various fixes
2023-04-26 20:38:41 +00:00
DanRoscigno
fb39dc3f19
add some markdown
2023-04-26 14:36:34 -04:00
DanRoscigno
3e1e86cff2
examples added
2023-04-26 14:26:49 -04:00
DanRoscigno
57164820ef
fixed column to string
2023-04-26 11:53:50 -04:00
DanRoscigno
ddd285cda2
compiles, but table has map and table is empty
2023-04-26 11:37:10 -04:00
DanRoscigno
c480f81f94
add: map header, return
2023-04-26 09:50:23 -04:00
Alexey Milovidov
ea34df25f4
Merge branch 'master' into add_zookeeper_name
2023-04-26 13:53:57 +03:00
kssenii
cbf0b98102
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-04-25 15:15:22 +02:00
cangyin
623c8db1a1
add column zookeeper_name in system.replicas
2023-04-25 09:19:36 +08:00
Robert Schulze
b565257a39
Support totals and extremes in query cache
2023-04-24 22:23:27 +00:00
Alexander Tokmakov
332a736a59
Merge branch 'master' into clusters_is_active_column
2023-04-24 15:54:03 +02:00
Robert Schulze
ded8eca041
Merge pull request #48284 from ClickHouse/rs/qc-quota
...
Query Cache: Allow per-user quotas
2023-04-24 11:32:32 +02:00
Alexey Milovidov
67de39c2d9
Merge pull request #48727 from ClickHouse/parallel-processing-from-storages
...
Parallelize query processing right after reading FROM ...
2023-04-23 23:10:32 +03:00
Robert Schulze
38d5f12a32
Query Cache: Implement per-user quotas
2023-04-23 16:13:51 +00:00
kssenii
1fbaaf0445
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-04-22 17:14:50 +02:00
Alexey Milovidov
bd64a4a6fc
Merge pull request #48904 from ClickHouse/fix_set_withzk_and_analyzer
...
Fix segfault when set is not built yet
2023-04-21 15:14:23 +03:00
Han Fei
6805edf9e6
Merge pull request #48850 from sichenzhao/add_alias_for_parts_name
...
add aliases for parts name and names
2023-04-20 13:04:11 +02:00
vdimir
d6416a1321
Store clusters from ClusterDiscovery in separate map
2023-04-19 16:44:54 +02:00
Igor Nikonov
2455334009
Merge remote-tracking branch 'origin/master' into parallel-processing-from-storages
2023-04-18 21:42:51 +00:00
Alexander Gololobov
f7fe747ddc
Fix segfault
2023-04-18 16:30:58 +02:00
kssenii
cd25d61795
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-04-17 19:47:43 +02:00
kssenii
1322ad53b8
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-04-17 18:22:21 +02:00
Sichen Zhao
eb4c26d81f
add aliases for parts name and names
2023-04-17 13:18:40 +00:00
Michael Kolupaev
87be78e6de
Better
2023-04-17 04:58:32 +00:00
Michael Kolupaev
2d4fe85513
Something
2023-04-17 04:58:32 +00:00
Igor Nikonov
908ad29106
Do not parallelize output for zeroes()
2023-04-15 22:14:18 +00:00
kssenii
0517de58d1
Simplify FileCacheFactory
2023-04-15 16:15:20 +02:00
Igor Nikonov
60dbb7b406
Merge remote-tracking branch 'origin/master' into parallel-processing-from-storages
2023-04-14 20:11:51 +00:00
Dmitry Novik
352a240a20
Merge pull request #47984 from ClickHouse/optimize-compilation
...
Optimize compilation
2023-04-14 15:34:46 +02:00
Igor Nikonov
7c84dc48c6
Better way to define for which storage output is parallelized
2023-04-14 12:00:02 +00:00
Igor Nikonov
267cd097bf
Merge pull request #48729 from ClickHouse/fix-memory-order-in-number_mt
...
Fix memory order in number_mt
2023-04-13 23:57:36 +02:00
Dmitry Novik
5cc9b46f78
Merge remote-tracking branch 'origin/master' into optimize-compilation
2023-04-13 16:04:09 +02:00
kssenii
188b41cdb2
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-04-13 13:33:30 +02:00
kssenii
09c23287aa
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-04-13 13:25:45 +02:00
Robert Schulze
3f7ce60e03
Merge branch 'master' into rs/gcc-removal
2023-04-12 22:17:04 +02:00
Igor Nikonov
e3b61a4ea7
Fix memory order in number_mt
2023-04-12 19:35:12 +00:00
Robert Schulze
05606a8835
Clean up GCC warning pragmas
2023-04-11 18:21:08 +00:00
Alexander Tokmakov
dfff30e1a9
Merge branch 'master' into clusters_is_active_column
2023-04-11 16:32:15 +02:00
Sergei Trifonov
ca6e253fa6
Merge pull request #48526 from ClickHouse/lost-part-count
2023-04-11 13:11:42 +02:00
Alexey Milovidov
d259217cf3
Merge pull request #48570 from azat/build/logger_useful
...
Remove superfluous includes of logger_userful.h from headers
2023-04-11 03:56:39 +03:00
Nikolai Kochetov
ba468eac45
Merge pull request #48485 from ClickHouse/read-step-for-system-zookeeper
...
Add reading step for system zookeeper. Analyze path from filter DAG.
2023-04-10 19:28:18 +02:00
Kseniia Sumarokova
65259d964b
Merge pull request #48167 from lzydmxy/add_columns_for_system_storage_policies
...
Add columns for table `system.storage_policies`
2023-04-10 18:32:13 +02:00
Azat Khuzhin
79b83c4fd2
Remove superfluous includes of logger_userful.h from headers
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-10 17:59:30 +02:00
Nikolai Kochetov
d564fe4e64
Fixing build
2023-04-10 10:54:37 +00:00
Alexander Tokmakov
9ec91acef3
add some columns to system.clusters
2023-04-07 18:26:23 +02:00
Azat Khuzhin
011480924a
Use forward declaration of ThreadPool
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-07 11:25:35 +02:00
serxa
343a071798
add lost_part_count
column to system.replicas
2023-04-06 22:38:58 +00:00
Nikolai Kochetov
57255eb56c
Fix equals.
2023-04-06 19:22:10 +00:00
Nikolai Kochetov
b199219ec1
Add reading step for system zookeeper. Analyze path from filter DAG.
2023-04-06 12:24:22 +00:00
kssenii
a405d06e8a
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-04-05 18:46:52 +02:00
vdimir
6f3fa33641
Add unbound flag to system.filesystem_cache
2023-04-05 13:12:20 +00:00
lizhuoyu5
2232d5ad14
Merge branch 'master' into add_columns_for_system_storage_policies
2023-04-04 12:58:10 +08:00
Robert Schulze
a50e741bea
Merge pull request #45912 from ClickHouse/qc-compression
...
Query cache: Enable compression of cache entries
2023-04-03 13:33:47 +02:00
Robert Schulze
3e124f09d0
Merge remote-tracking branch 'origin/master' into qc-compression
2023-04-03 11:28:17 +00:00
Robert Schulze
e79343c169
Make the column order in system.query_cache more intutitive
2023-04-03 10:36:11 +00:00
Azat Khuzhin
c64f9e6f07
Use StrongTypedef for ProfileEvents
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-01 16:01:33 +02:00
Alexey Milovidov
dd79bf0a03
Update autogenerated version to 23.4.1.1 and contributors
2023-03-31 12:20:50 +02:00
kssenii
e2cbccfbc4
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-03-30 17:33:46 +02:00
Robert Schulze
b0473098c6
Merge branch 'master' into qc-compression
2023-03-30 10:55:42 +02:00
Robert Schulze
b324d0ed5e
Merge branch 'master' into qc-compression
2023-03-29 15:09:22 +02:00
lzydmxy
3410082cb2
add columns perform_ttl_move_on_insert, load_balancing for table system.storage_policies
2023-03-29 19:58:25 +08:00
kssenii
4cf2862a0e
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-03-29 12:50:36 +02:00
Azat Khuzhin
f38a7aeabe
ThreadPool metrics introspection
...
There are lots of thread pools and simple local-vs-global is not enough
already, it is good to know which one in particular uses threads.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 10:46:59 +02:00
Alexander Tokmakov
b01f08ccb8
rename marked_dropped_tables to dropped_tables
2023-03-27 13:23:56 +02:00
Dmitry Novik
3488a4d84b
Improve file includes
2023-03-24 03:44:52 +01:00
Kseniia Sumarokova
a9bcd022d5
Merge pull request #46241 from kssenii/named-collections-granular-access
...
Allow separate grants for every named collection
2023-03-21 12:27:53 +01:00
Robert Schulze
d8493780b2
Query cache: Enable compression and squashing of result blocks
...
ClickHouse reads table data in blocks of 'max_block_size' rows. Due to
filtering, aggregation, etc., result blocks are typically much smaller
than 'max_block_size' but there are also cases where they are much
bigger. Setting 'query_cache_squash_partial_results' (enabled by
default) now controls if result blocks are squashed (if they are tiny)
or split (if they are large) into blocks of 'max_block_size' size before
insertion into the query result cache. This reduces performance of
writes into the query cache but improves compressability of cache
entries and provides more natural block granularity when query results
are later served from the query cache.
Entries in the query cache are now also compressed by default. This
reduces the overall memory consumption at the cost of slower writes into
/ reads from the query cache. To disable compression, use setting
'query_cache_compress_entries'.
2023-03-20 20:11:41 +00:00
kssenii
75624c52f7
Merge remote-tracking branch 'upstream/master' into named-collections-granular-access
2023-03-20 16:38:14 +01:00
Robert Schulze
c4664c70a1
Merge branch 'master' into rs/qc-cachebase
2023-03-19 15:23:24 +01:00
Sema Checherinda
0b641fcead
Merge pull request #47564 from CheSema/remove-redundant
...
remove counters for threads, fix negative counters
2023-03-18 02:23:52 +01:00
kssenii
a2977e373a
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-03-17 14:34:04 +01:00
chen
60b7ad819d
Add system.marked_dropped_tables ( #47364 )
...
* add system table marked_dropped_tables
* add test
* add test
* fix
* fix test
* fix style
* fix test
* Update 25400_marked_dropped_tables.sql
* Update 25400_marked_dropped_tables.sql
* Update 25400_marked_dropped_tables.sql
* Update 25400_marked_dropped_tables.sql
* Update 25400_marked_dropped_tables.sql
* fix
* fix test
* Update StorageSystemMarkedDroppedTables.cpp
* fix
* if table_mark_dropped.table is nullptr, engine set empty
2023-03-17 13:48:26 +03:00
Sema Checherinda
3c6deddd1d
work with comments on PR
2023-03-16 19:55:58 +01:00
Mike Kot
511ed93512
Update src/Storages/System/StorageSystemDatabases.cpp
...
Co-authored-by: alesapin <alesapin@gmail.com>
2023-03-15 16:38:59 +03:00
Robert Schulze
73afae2d3f
Introduce TTLCachePolicy
2023-03-14 09:45:20 +00:00
Mike Kot
9920a52c51
use std::lerp, constexpr hex.h
2023-03-07 22:50:17 +00:00
Mike Kot
1fca58b694
Merge branch 'master' into feature/show-secrets-option
2023-03-06 15:46:54 +03:00
kssenii
7b369e516c
Fix stress test
2023-03-03 17:20:27 +01:00
kssenii
0c4bb3c80f
Merge remote-tracking branch 'upstream/master' into named-collections-granular-access
2023-03-02 19:08:29 +01:00
Azat Khuzhin
b5434eac3b
Rename StorageDistributedDirectoryMonitor to DistributedAsyncInsertDirectoryQueue
...
Since #44922 it is not a directory monitor anymore.
v2: Remove unused error codes
v3: Contains some header fixes due to conflicts with master
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
pufit
29296cb004
Merge pull request #46550 from ClickHouse/46231-systerm-server-settings
...
Implement `system.server_settings`
2023-02-28 11:23:15 -05:00
Nikolai Kochetov
738551dbf1
Merge pull request #46624 from CheSema/detached_mt
...
add multitreading for StorageSystemDetachedParts
2023-02-27 20:54:28 +01:00
Mike Kot
c799bd094b
Merge branch 'master' into feature/show-secrets-option
2023-02-27 18:43:14 +03:00
kssenii
5418dd655e
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-02-27 14:35:30 +01:00
Mike Kot
62acc7a6cf
setting and some docs
2023-02-27 13:18:21 +00:00
Sema Checherinda
1666527dae
do listing combined with getting size in one thread
2023-02-26 12:09:05 +01:00
Sema Checherinda
0c9643f1ed
make listing in parrallel as well
2023-02-25 16:27:27 +01:00
Nikolai Kochetov
57b5f9e7d7
Fix case with no detached parts for table.
2023-02-25 13:33:20 +01:00
Sema Checherinda
e2bfa83429
cancel workers when exception
2023-02-25 13:33:20 +01:00
Sema Checherinda
08dc874a37
do not run support threads if no tasks left
2023-02-25 13:33:20 +01:00
Sema Checherinda
e5cbe4311e
create limites count of support threads for a block
2023-02-25 13:33:20 +01:00
Sema Checherinda
ef0c1841af
work with comments on review
2023-02-25 13:33:20 +01:00
Sema Checherinda
3b58249320
pack several files in one thread
2023-02-25 13:33:20 +01:00
Sema Checherinda
8abc1f0d5d
fix build and style
2023-02-25 13:33:20 +01:00
Sema Checherinda
dce319e1c5
add multitreading for StorageSystemDetachedParts
2023-02-25 13:33:20 +01:00
kssenii
6224ca9cd6
Fix
2023-02-24 17:08:05 +01:00
kssenii
f2a9109fe1
Merge remote-tracking branch 'upstream/master' into named-collections-granular-access
2023-02-24 15:20:46 +01:00
pufit
2fbe75957d
Add default
column for system.settings
and system.server_settings
2023-02-23 18:24:57 -05:00
Antonio Andelic
1efba8995d
Update version to 23.3.1.2537
2023-02-23 19:35:57 +00:00
Kseniia Sumarokova
7e064ccbd4
Merge pull request #46667 from kssenii/hide-named-collections-under-setting
...
Allow to hide only values from system.named_collections while making collection visible
2023-02-23 11:44:50 +01:00
pufit
8e7533fa57
Merge pull request #46564 from AVMusorin/update-time-distribution-queue
...
Added `last_exception_time` column into distribution_queue table
2023-02-22 10:43:35 -05:00
kssenii
f0ca3ef207
Merge remote-tracking branch 'upstream/master' into named-collections-granular-access
2023-02-22 14:02:29 +01:00
AVMusorin
0bf0fe488e
added last_exception_time column into distribution_queue table
2023-02-21 23:46:57 +01:00
kssenii
9a7c71b78e
Allow to hide only values from system.named_collections
2023-02-21 18:07:57 +01:00
kssenii
9d16205c8a
Load named collections on first access
2023-02-20 16:33:45 +01:00
pufit
4496db66b2
Implement system.server_settings
2023-02-17 23:46:09 -05:00
kssenii
dbbab26167
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-02-16 12:29:38 +01:00
Robert Schulze
44815240f5
Exclude internal databases from async metric "NumberOfDatabases"
2023-02-15 12:58:00 +00:00
Antonio Andelic
8d16fe5793
Merge branch 'master' into add-support-for-settings-alias
2023-02-13 08:46:00 +01:00
Alexey Milovidov
5f00bc49f8
Merge branch 'master' into addParts
2023-02-12 05:55:18 +03:00
attack204
7f41173a1f
rename API
2023-02-10 16:24:10 +08:00
attack204
93e92dab3b
rename API
2023-02-10 16:05:50 +08:00
attack204
52960d4e7d
add API to MergeTreeData
2023-02-10 11:00:11 +08:00
kssenii
214ffe0bb0
Remove unused code
2023-02-09 17:44:26 +01:00
kssenii
9e04e57949
Allow to give access only to certain named collections
2023-02-09 17:22:57 +01:00
Antonio Andelic
f96d480563
Merge branch 'master' into add-support-for-settings-alias
2023-02-09 16:07:45 +01:00
attack204
07ea30e6e0
beauty
2023-02-09 20:35:28 +08:00
attack204
a5d7f002ec
beauty
2023-02-09 11:03:04 +08:00
attack204
9ce15279ae
reformat
2023-02-09 10:54:18 +08:00
attack204
f65756c0c8
fix style
2023-02-09 09:34:11 +08:00
Vitaly Baranov
4869d3806c
Add setting check_referential_table_dependencies to check referential dependencies on DROP TABLE.
2023-02-08 23:56:59 +01:00
attack204
ecaa97c5b1
fix style
2023-02-08 23:45:39 +08:00
attack204
1328725054
fix style
2023-02-08 22:58:31 +08:00
attack204
01cac6c49b
fix style
2023-02-08 22:49:10 +08:00
attack204
752d1f81b0
fix style
2023-02-08 22:36:07 +08:00
attack204
1fdf3659da
fix style
2023-02-08 22:29:23 +08:00
attack204
41daf88d64
fix style
2023-02-08 22:20:47 +08:00
attack204
820e5bd9c0
fix style
2023-02-08 22:15:05 +08:00
attack204
7c6e30ebe2
fix pointer bug
2023-02-08 22:02:58 +08:00
attack204
b1fc12c162
delete extra API and use dynamic_cast to compute
2023-02-08 21:52:13 +08:00
attack204
9e1081b79a
add parts, active_parts total_marks to system.tables
2023-02-08 20:23:06 +08:00
Robert Schulze
8840aa9242
Fix build with -DENABLE_LIBURING=0 (or -DENABLE_LIBRARIES=0)
...
Follow-up to #38456
The problem was that code which uses liburing was conditionally build
depending on define OS_LINUX and not based on whether liburing was
enabled/disabled at build time.
2023-02-06 16:57:42 +00:00
Azat Khuzhin
1307e6d323
Fix elapsed column in system.processes (10x error)
...
Fixes : #43455 (cc @Algunenano)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-04 22:37:11 +01:00
Kseniia Sumarokova
80c96f7d3d
Merge branch 'master' into cache-better-locks
2023-02-04 22:31:59 +01:00
Antonio Andelic
60e5ee84c2
Extract common code
2023-02-03 18:44:56 +00:00
Antonio Andelic
3a8ba689f2
Update tests and system.settings
2023-02-03 18:26:31 +00:00
Alexander Tokmakov
7e6f7c79f2
Merge pull request #45457 from FrankChen021/exception_time
...
Add last_exception_time to replication_queue
2023-02-03 20:00:15 +03:00
Vitaly Baranov
45d2d678ab
Merge pull request #45800 from vitlibar/rename-new-columns-in-system-backups
...
Rename new columns in system.backups
2023-02-03 14:00:16 +01:00
Kseniia Sumarokova
24da7f2b54
Merge branch 'master' into cache-better-locks
2023-02-02 16:07:13 +01:00
Alexey Milovidov
62bfdb349a
Merge branch 'master' into fix-trash-query-kind
2023-02-02 04:26:49 +01:00
Alexey Milovidov
9b908a0be0
Fix trash around query kind, part 2
2023-02-01 03:31:31 +01:00
Alexey Milovidov
5c4db119fa
Fix trash around query kind, part 1
2023-02-01 03:11:54 +01:00
Vitaly Baranov
96b140cc95
Rename columns in system.backups: num_files, num_processed_files, processed_files_size
...
num_processed_files -> num_files (BACKUP) / files_read (RESTORE)
processed_files_size -> total_size (BACKUP) / bytes_read (RESTORE)
2023-01-31 22:45:41 +01:00
Robert Schulze
325c6bdf3d
Renaming: "Query Result Cache" --> "Query Cache"
...
Reasons:
- The cache will at some point store intermediate results as opposed to
only query results. We should change the terminology now without
having to worry about backward compat.
- Equivalent caches in MySQL (1) and Starrocks (2) are called "query
cache".
- The new name is ca. 13.8% more catchy.
(1) https://dev.mysql.com/doc/refman/5.6/en/query-cache.html
(2) https://docs.starrocks.io/en-us/2.5/using_starrocks/query_cache
2023-01-31 09:54:34 +00:00
Vitaly Baranov
38910412c4
Merge pull request #42244 from AVMusorin/fix_backup_restore_num_files
...
Added num_processed_files and processed_files_size for backup and restore processes
2023-01-30 09:24:49 +01:00
kssenii
917c49ae44
Fix test
2023-01-30 00:10:34 +01:00
alesapin
716d25c33f
Merge pull request #45619 from CurtizJ/refactoring-merge-tree-parts
...
Refactoring of code near merge tree parts
2023-01-27 13:36:33 +01:00
kssenii
dc3cff9f06
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-01-27 12:39:23 +01:00
Mikhail f. Shiryaev
53d89844be
Update version to 23.2.1.1
2023-01-25 23:57:29 +01:00
Anton Popov
8e3698c91f
refactoring of code near merge tree parts
2023-01-25 17:34:09 +00:00
Anton Popov
b987ed5037
Merge pull request #45499 from CurtizJ/add-fields-system-formats
...
Add fields to table `system.formats`
2023-01-23 23:08:35 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Aleksandr
2caeed901b
Merge branch 'master' into fix_backup_restore_num_files
2023-01-23 13:43:20 +01:00
Anton Popov
8a39337c7c
add fields to table system.formats
2023-01-23 02:04:31 +00:00
Robert Schulze
340f406553
Merge branch 'master' into query-result-cache
2023-01-22 13:21:36 +01:00
Aleksandr Musorin
838acb22b7
added num_processed_files and processed_files_size
2023-01-20 10:20:41 +01:00
Frank Chen
fb8452aa49
Add last_exception_time to replication_queue
2023-01-20 15:20:57 +08:00
Aleksei Filatov
afada0ecb3
Fix review notes
2023-01-19 17:02:57 +03:00
Aleksei Filatov
5e9340f682
Add integration test
2023-01-18 17:50:38 +03:00
Aleksei Filatov
7f4a01b903
Add handling of bad dictionary structure
2023-01-18 17:27:03 +03:00
kssenii
4556b516d7
Merge remote-tracking branch 'upstream/master' into cache-better-locks
2023-01-17 14:06:04 +01:00
Robert Schulze
099e30ef2a
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-16 08:04:49 +00:00
Alexander Tokmakov
9d5ec474a3
Merge pull request #43998 from evillique/make_system_replicas_parallel
...
Make `system.replicas` parallel
2023-01-13 16:33:36 +03:00
Robert Schulze
0c528fca29
Introduce SourceFromChunks to avoid unnecessary partial result chunk concatenation
2023-01-12 23:01:00 +00:00
kssenii
6499e8e687
Calculate only required column in system.detached_parts
2023-01-11 16:45:38 +01:00
Alexander Tokmakov
5ff4c6228a
Merge pull request #43840 from Algunenano/system_tables_nolock
...
Do not acquire read locks in system.tables if possible
2023-01-10 20:26:21 +03:00
Robert Schulze
923fa2c15a
Fix review comments, pt. II
2023-01-10 10:21:08 +00:00
Robert Schulze
ad4884b394
Fix review comments, pt. I
2023-01-09 21:42:51 +00:00
Robert Schulze
45dbcf88e5
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-06 20:42:48 +00:00
Kseniia Sumarokova
573d3283b0
Merge pull request #44327 from kssenii/use-new-named-collections-code-2
...
Replace old named collections code with new (from #43147 ) part 2
2023-01-06 13:06:26 +01:00
kssenii
0a0b46f4c2
Better
2023-01-05 21:52:42 +01:00
Nikolay Degterinsky
673ba769e5
Merge remote-tracking branch 'upstream/master' into make_system_replicas_parallel
2023-01-05 02:36:07 +00:00
kssenii
9014c818ae
Merge remote-tracking branch 'upstream/master' into try-perf
2023-01-04 20:56:32 +01:00
kssenii
25f8e8467a
Rewrite locking in cache - intermediate state
2023-01-04 18:56:45 +01:00
Robert Schulze
27f5aad49e
What happens if I remove 156 lines of code?
2023-01-03 18:51:16 +00:00