Robert Schulze
c04e4eb162
Merge remote-tracking branch 'rschu1ze/master' into qc-isolation
2024-01-09 16:30:20 +00:00
vdimir
b4bfd01322
Merge pull request #58246 from ClickHouse/vdimir/util_format_values
...
clickhouse-format improvements: support VALUES, comments, max_line_length
2024-01-09 11:24:42 +01:00
Duc Canh Le
37a7ce2950
Apply suggestions from code review
...
Co-authored-by: pufit <pufit@yandex.ru>
2024-01-09 17:17:30 +08:00
Yakov Olkhovskiy
cfa41e7dc6
Merge pull request #58038 from ClickHouse/revert-58022-revert-57555-ft-dropped_tables_parts
...
Add system.dropped_tables_parts table - second attempt
2024-01-09 00:47:07 -05:00
Robert Schulze
fabc06995e
Improve isolation of query results in query cache
...
Fixes #58054
2024-01-08 20:52:30 +00:00
Kruglov Pavel
b947609b8e
Merge branch 'master' into variant-data-type
2024-01-08 15:04:51 +01:00
vdimir
621d17b16f
Better clickhouse-format: support VALUES, comments
2024-01-08 12:01:33 +00:00
Robert Schulze
6665d23243
Merge pull request #58029 from skyoct/feat/server_settings
...
Add `changeable_without_restart` column to `system.server_settings`
2024-01-08 10:09:51 +01:00
Robert Schulze
0f51e32bb5
Rename from ZSTDQPL to ZSTD_QPL
2024-01-07 17:47:31 +00:00
Robert Schulze
e947ed710b
Hijack and document 'update' map to represent reload status
2024-01-07 13:09:27 +00:00
zhangyifan27
730135f933
Seperate max_execution_time and max_estimated_execution_time
2024-01-07 12:32:42 +08:00
Alexey Milovidov
a899f0a9ed
Merge pull request #58561 from Avogar/json-bool-as-string
...
Allow to read Bool values into String in JSON input formats
2024-01-06 21:41:36 +01:00
avogar
7e5ba62017
Allow to read Bool values into String in JSON input formats
2024-01-05 20:33:30 +00:00
Duc Canh Le
c3586b2e35
fix docs
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-05 07:23:22 +00:00
Duc Canh Le
934e006213
add document
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-05 07:13:46 +00:00
chenwei
4b26a08318
keeper connection mode in doc file not work.
...
1. use "-h localhost:9181" followed doc is aborted.
root@c64618ba15d1:~/data/zk# clickhouse-keeper-client -h localhost:9181
getservbyname
Aborted
2. use "-h localhost -p 9181" is ok.
root@c64618ba15d1:~/data/zk# clickhouse-keeper-client -h localhost -p 9181
Connected to ZooKeeper at 127.0.0.1:9181 with session_id 20
Keeper feature flag FILTERED_LIST: enabled
Keeper feature flag MULTI_READ: enabled
Keeper feature flag CHECK_NOT_EXISTS: disabled
Keeper feature flag CREATE_IF_NOT_EXISTS: disabled
/ :)
2024-01-05 14:23:04 +08:00
Mathieu Rey
9c46596556
Fix example 3 and tweak formatting
...
* example 3 is about having several SQL queries in the same input, made an example illustrating that
* removed the sql marker for all results except example 2 to emphasize when you would get colorized output in the terminal
2024-01-05 14:07:51 +08:00
Aliaksei Khatskevich
02db6c6b2b
Fix postgresql table function arguments documentation
2024-01-04 09:22:39 +01:00
Aliaksei Khatskevich
531131bbd6
Fix replication_queue.num_postponed documentation
2024-01-04 09:22:39 +01:00
Alexander Tokmakov
b1688b1953
Merge branch 'master' into rdb_dont_wait_inactive
2024-01-03 17:03:01 +01:00
Val Doroshchuk
5c221d123d
MaterializedMySQL: Introduce MySQL Binlog Client
...
One binlog connection for many databases.
Suggesting to disable this feature by default for now. It should be explicitly enabled by SETTINGS use_binlog_client=1.
But if you would permanently enable it in MaterializedMySQLSettings, it should keep old behavior and all tests should pass too.
1. Introduced `IBinlog` and its impl to read the binlog events from socket - `BinlogFromSocket`, or file - `BinlogFromFile`. Based on prev impl of `EventBase` and the same old binlog parsers. It fully keeps BC with old version. Fixed `./check-mysql-binlog` to test new impl.
2. Introduced `BinlogEventsDispatcher`, it reads the event from the source `IBinlog` and sends it to currently attached `IBinlog` instances.
3. Introduced `BinlogClient`, which is used to group a list of `BinlogEventsDispatcher` by MySQL binlog connection which is defined by `user:password@host:port`. All dispatchers with the same binlog position should be merged to one.
4. Introduced `BinlogClientFactory`, which is a singleton and it is used to track all binlogs created over the instance.
5. Introduced `use_binlog_client` setting to `MaterializedMySQL`, which forces to reuse a `BinlogClient` if it already exists in `BinlogClientCatalog` or create new one. By default, it is disabled.
6. Introduced `max_bytes_in_binlog_queue` setting to define the limit of bytes in binlog's queue of events. If bytes in the queue increases this limit, `BinlogEventsDispatcher` will stop reading new events from source `IBinlog` until the space for new events will be freed.
7. Introduced `max_milliseconds_to_wait_in_binlog_queue` setting to define max ms to wait when the max bytes exceeded.
7. Introduced `max_milliseconds_to_wait_in_binlog_queue` setting to define max ms to wait when the max bytes exceeded.
8. Introduced `max_bytes_in_binlog_dispatcher_buffer` setting to define max bytes in the binlog dispatcher's buffer before it is flushed to attached binlogs.
9. Introduced `max_flush_milliseconds_in_binlog_dispatcher` setting to define max milliseconds in the binlog dispatcher's buffer to wait before it is flushed to attached binlogs.
10. Introduced `system.mysql_binlogs` system table, which shows a list of active binlogs.
11. Introduced `UnparsedRowsEvent` and `MYSQL_UNPARSED_ROWS_EVENT`, which defines that an event is not parsed and should be explicitly parsed later.
12. Fixed bug when not possible to apply DDL since syntax error or unsupported SQL.
@larspars is the author of following:
`GTIDSets::contains()`
`ReplicationHelper`
`shouldReconnectOnException()`
2024-01-03 15:26:09 +01:00
Kruglov Pavel
4d8cf71ba7
Merge branch 'master' into variant-data-type
2024-01-03 15:21:23 +01:00
Alexey Milovidov
eb930efebb
Merge pull request #57732 from ClickHouse/load-metadata-threads
...
Increase `load_metadata_threads` to 16
2024-01-02 22:26:18 +01:00
Bharat Nallan Chakravarthy
00b5e28d6a
Merge upstream/master into ncb/system-database-engines
2023-12-30 23:10:48 -08:00
Bharat Nallan Chakravarthy
2996c8167f
add docs
2023-12-30 20:48:35 -08:00
Alexey Milovidov
7bded0a5e7
Merge pull request #58316 from ClickHouse/reintroduce_is_deleted
...
Re-introduce `is_deleted` column for ReplacingMergeTree
2023-12-31 00:57:19 +01:00
robot-ch-test-poll4
09ffe8ffcc
Merge pull request #57837 from ClickHouse/pufit/docs-patch-roles
...
Added information about preconfigured roles in users.xml to the docs
2023-12-30 13:09:50 +01:00
robot-ch-test-poll3
d5894aa286
Merge pull request #58311 from ClickHouse/system-errors-doc
...
Improve system.errors documentation
2023-12-30 12:58:12 +01:00
Dmitry Novik
46dfc37397
Fixup
2023-12-30 10:41:41 +01:00
Alexander Tokmakov
1013f6b23f
Merge branch 'master' into reintroduce_is_deleted
2023-12-29 15:46:24 +01:00
Alexander Tokmakov
bfc10bd234
an option to avoid waiting for inactive Replicated db replicas
2023-12-29 15:19:16 +01:00
Michael Kolupaev
96c68e5aae
Remove pausing, enable multithreading, kick off refresh on table creation unless the query says EMPTY
2023-12-28 17:56:06 +00:00
Michael Kolupaev
f0417d0ec3
Things
2023-12-28 17:56:05 +00:00
Michael Kolupaev
8b8ef41407
Documentation
2023-12-28 17:56:05 +00:00
Dmitry Novik
50e531bf93
Improve system.errors documentation
2023-12-28 14:47:30 +00:00
Alexander Tokmakov
bdada351c8
Revert "Merge pull request #58274 from ClickHouse/revert-58267"
...
This reverts commit 583b9637c2
, reversing
changes made to 224e937620
.
2023-12-28 14:07:59 +01:00
Alexander Tokmakov
38fe70c68a
Revert "Refreshable materialized views (takeover)"
2023-12-28 13:12:20 +01:00
Alexey Milovidov
524d53199d
Merge branch 'master' into mv
2023-12-28 04:11:48 +01:00
Alexey Milovidov
c7efd2afea
Revert #58267
2023-12-28 04:09:33 +01:00
Alexey Milovidov
40a5dbdeba
Merge branch 'master' into mv
2023-12-28 03:16:27 +01:00
Alexey Milovidov
dcbd3b9c26
Merge pull request #58267 from ClickHouse/fix_is_deleted_compatibility
...
Re-introduce `is_deleted` column for ReplacingMergeTree
2023-12-28 00:13:01 +01:00
Michael Kolupaev
b9cbecb0df
Remove pausing, enable multithreading, kick off refresh on table creation unless the query says EMPTY
2023-12-27 20:24:56 +00:00
Michael Kolupaev
538b23d862
Things
2023-12-27 20:24:55 +00:00
Michael Kolupaev
7786b12a89
Documentation
2023-12-27 20:24:55 +00:00
Sema Checherinda
617ee5abaf
Merge pull request #57551 from bharatnc/ncb/async-metrics-pri-key-size
...
add asynchronous metrics for total primary key size in memory and allocated
2023-12-27 20:24:20 +01:00
Alexander Tokmakov
01d042c490
Revert "Merge pull request #57932 from ClickHouse/remove-shit-cleanup"
...
This reverts commit 2d58dc512c
, reversing
changes made to 41873dc4a3
.
2023-12-27 13:46:06 +01:00
santrancisco
91835256aa
fix doc
2023-12-26 16:57:18 +11:00
Azat Khuzhin
74ea601dc2
Add documentation for MemoryResidentMax metric in system.asynchronous_metrics
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-22 18:38:44 +01:00
Bharat Nallan Chakravarthy
62b28d365c
Merge with upstream/master
2023-12-21 17:04:25 -08:00
skyoct
342a4f7b96
add doc and opt some code
2023-12-21 14:25:18 +00:00
Christoph Wurm
9def89d416
Fix anchors to settings.md
2023-12-20 18:26:36 +00:00
San
e2fb159911
Merge pull request #58053 from ClickHouse/update_query_cache_doc
...
Updating query cache doc with security consideration
2023-12-20 13:50:08 +11:00
San
d2d0c970aa
Update query-cache.md
...
Fixing spelling and explain clearer.
2023-12-20 12:45:36 +11:00
Yakov Olkhovskiy
43fcea64b6
Merge pull request #57186 from chenlx0/bytes_uncompressed
...
Show uncompressed data size in system.tables
2023-12-19 19:04:47 -05:00
santrancisco
82ffb570b0
Remove newline
2023-12-20 10:44:46 +11:00
Kruglov Pavel
087946f385
Merge branch 'master' into variant-data-type
2023-12-20 00:40:18 +01:00
santrancisco
2dda0ccfb7
Updating query cache doc with security consideration
2023-12-20 10:39:07 +11:00
Jordi Villar
7c281d9a6f
Allow max_size_to_drop settings in query time ( #57452 )
2023-12-19 23:16:03 +01:00
avogar
319ae440b6
Implement Variant data type
2023-12-19 16:45:15 +00:00
Bharat Nallan Chakravarthy
ecd2843b47
add a clarification to docs
2023-12-19 08:35:14 -08:00
Yakov Olkhovskiy
3d8933f241
Revert "Revert "Add system.dropped_tables_parts table""
2023-12-19 10:44:44 -05:00
Robert Schulze
952175ce39
Merge pull request #57875 from zhongyuankai/order_by_all
...
Support `ORDER BY ALL`
2023-12-19 13:38:07 +01:00
vdimir
252cb8a507
Merge pull request #54602 from fionera/issue-49028
...
Add setting http_make_head_request
2023-12-19 13:33:59 +01:00
Robert Schulze
91609a104c
Merge pull request #57547 from rschu1ze/docs-mv-table-engine
...
Docs: Remove mention of materialized view table engine
2023-12-19 13:29:56 +01:00
Robert Schulze
6053fa9d89
Merge remote-tracking branch 'rschu1ze/master' into docs-mv-table-engine
2023-12-19 11:52:26 +00:00
Antonio Andelic
52b3caec90
Revert "Add system.dropped_tables_parts table"
2023-12-19 10:36:22 +01:00
Alexey Milovidov
eecacf528d
Merge pull request #57983 from cwurm/patch-2
...
Update settings.md: allow_experimental_parallel_reading_from_replicas
2023-12-18 21:30:10 +01:00
Bharat Nallan Chakravarthy
aef4e2e6ec
Merge upstream/master into ncb/async-metrics-pri-key-size
2023-12-18 09:46:51 -08:00
Christoph Wurm
e357c088a0
Update settings.md: allow_experimental_parallel_reading_from_replicas
...
Document all possible values for `allow_experimental_parallel_reading_from_replicas`.
2023-12-18 16:55:44 +00:00
Yakov Olkhovskiy
8e39c61401
Merge remote-tracking branch 'origin/master' into ft-dropped_tables_parts
2023-12-18 15:40:07 +00:00
Robert Schulze
9033c96e29
Some fixups
2023-12-17 09:11:16 +00:00
Sergei Trifonov
3634b949a8
Merge pull request #57793 from ClickHouse/rename-system-table
...
Rename `system.async_loader` into `system.asynchronous_loader`
2023-12-16 17:33:04 +01:00
Sergei Trifonov
37a01bc109
Merge branch 'master' into ft-dropped_tables_parts
2023-12-16 11:53:37 +01:00
Alexey Milovidov
ee502ef6b9
Remove trash (OPTIMIZE CLEANUP)
2023-12-15 22:41:58 +01:00
Sema Checherinda
0dfe530a7f
Merge pull request #56744 from MikhailBurdukov/native_copy_for_s3_disks
...
Enabled s3 `copyObject` for copy between s3 disks.
2023-12-15 16:05:16 +01:00
Alexey Milovidov
23cee7ef37
Merge pull request #57851 from azat/revert-55271-local-lazy-database
...
Revert "Replace --no-system-tables with loading virtual tables of system database lazily"
2023-12-15 03:25:59 +01:00
Christoph Wurm
64a58ee445
Update clickhouse-benchmark.md: Remove json output
...
Suppport for `--json` was removed in https://github.com/ClickHouse/ClickHouse/pull/53293 .
2023-12-14 14:15:41 +00:00
serxa
eff4196be1
review fix
2023-12-14 14:12:27 +00:00
Azat Khuzhin
0e86e16a01
Revert "Replace --no-system-tables with loading virtual tables of system database lazily"
2023-12-14 09:07:47 +01:00
pufit
f49894f644
Added information about preconfigured roles in users.xml to the docs
2023-12-13 23:28:21 -05:00
Yakov Olkhovskiy
de755202dd
Create dropped_tables_parts.md
2023-12-13 18:32:54 -05:00
Han Fei
6abe4b113a
Merge pull request #57375 from lingtaolf/feature/more_warnings
...
Feature/more warnings
2023-12-12 22:48:51 +01:00
serxa
57d7a58dbe
Rename system.async_loader
into system.asynchronous_loader
2023-12-12 16:55:27 +00:00
Kruglov Pavel
6567fb2c08
Merge pull request #56859 from Avogar/csv-infer-numbers-from-strings
...
Allow to infer numbers from strings in CSV format
2023-12-12 17:09:02 +01:00
Han Fei
a96593c8b1
Merge branch 'master' into feature/more_warnings
2023-12-12 15:25:01 +01:00
Chen Lixiang
68af81196d
Merge branch 'ClickHouse:master' into bytes_uncompressed
2023-12-12 22:06:45 +08:00
avogar
1db000dae5
Add docs
2023-12-11 18:02:05 +00:00
Kruglov Pavel
3b1ffbd77c
Merge branch 'master' into schema-inference-union
2023-12-11 18:59:15 +01:00
MikhailBurdukov
119e451967
Merge branch 'master' into native_copy_for_s3_disks
2023-12-11 07:25:20 +00:00
Alexey Milovidov
27f19635cd
Increase load_metadata_threads
to 16
2023-12-11 00:49:20 +01:00
Azat Khuzhin
cc9afe6f6e
Replace --no-system-tables with loading virtual tables of system database lazily
...
First of all the problem is that that simple 'SELECT 1' cannot be runned
without system.one, which makes --no-system-tables almost useless:
$ ./clickhouse-debug local --no-system-tables -q "select 1"
Code: 81. DB::Exception: Database system does not exist. (UNKNOWN_DATABASE)
Secondly there are just too much flags, and this one
(--no-system-tables) is too damn specific.
This patch should improve startup time of the clickhouse-local almost
3x in debug builds.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-09 23:08:29 +01:00
Chen Lixiang
7cd770e9a7
fix doc and comments
2023-12-09 20:09:41 +08:00
avogar
ee7af95bc0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into schema-inference-union
2023-12-08 20:29:28 +00:00
hdhoang
fc8292182c
fix typo TKSV
...
correct name is TS-KV
2023-12-07 20:19:00 +07:00
Chen Lixiang
9e95fe5d29
conflict fixed.
2023-12-07 18:10:45 +08:00
Alexey Milovidov
0b597eadf8
Clarify the usage of prefer_not_to_merge
option
2023-12-06 12:11:03 +01:00
Robert Schulze
1276c3ab80
Try to fix broken links
2023-12-06 08:48:56 +00:00
Bharat Nallan Chakravarthy
41b2b63cee
add docs
2023-12-05 18:50:36 -08:00
xleoken
f07599b7c0
fix tip doc
2023-12-05 17:52:33 +08:00
Alexey Milovidov
1f752b79db
Merge pull request #55894 from bharatnc/ncb/hostname-system-log-tables
...
add hostname column to system log tables
2023-12-05 06:42:43 +01:00