Commit Graph

67 Commits

Author SHA1 Message Date
Alexey Milovidov
48a397577c Add a style check against DOS and Windows 2023-12-29 13:10:40 +01: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
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
Vitaly Baranov
a4d57fe108 Rename the name of the utility "backupview" -> "clickhouse_backupview". 2023-11-13 10:15:37 +01:00
Vitaly Baranov
f12b95df7d Add documentation. 2023-11-13 09:43:06 +01:00
Azat Khuzhin
c25d6cd624
Rename directory monitor concept into background INSERT (#55978)
* Limit log frequence for "Skipping send data over distributed table" message

After SYSTEM STOP DISTRIBUTED SENDS it will constantly print this
message.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Rename directory monitor concept into async INSERT

Rename the following query settings (with preserving backward
compatiblity, by keeping old name as an alias):
- distributed_directory_monitor_sleep_time_ms -> distributed_async_insert_sleep_time_ms
- distributed_directory_monitor_max_sleep_time_ms -> distributed_async_insert_max_sleep_time_ms
- distributed_directory_monitor_batch -> distributed_async_insert_batch_inserts
- distributed_directory_monitor_split_batch_on_failure -> distributed_async_insert_split_batch_on_failure

Rename the following table settings (with preserving backward
compatiblity, by keeping old name as an alias):
- monitor_batch_inserts -> async_insert_batch
- monitor_split_batch_on_failure -> async_insert_split_batch_on_failure
- directory_monitor_sleep_time_ms -> async_insert_sleep_time_ms
- directory_monitor_max_sleep_time_ms -> async_insert_max_sleep_time_ms

And also update all the references:

    $ gg -e directory_monitor_ -e monitor_ tests docs | cut -d: -f1 | sort -u | xargs sed -e 's/distributed_directory_monitor_sleep_time_ms/distributed_async_insert_sleep_time_ms/g' -e 's/distributed_directory_monitor_max_sleep_time_ms/distributed_async_insert_max_sleep_time_ms/g' -e 's/distributed_directory_monitor_batch_inserts/distributed_async_insert_batch/g' -e 's/distributed_directory_monitor_split_batch_on_failure/distributed_async_insert_split_batch_on_failure/g' -e 's/monitor_batch_inserts/async_insert_batch/g' -e 's/monitor_split_batch_on_failure/async_insert_split_batch_on_failure/g' -e 's/monitor_sleep_time_ms/async_insert_sleep_time_ms/g' -e 's/monitor_max_sleep_time_ms/async_insert_max_sleep_time_ms/g' -i

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Rename async_insert for Distributed into background_insert

This will avoid amigibuity between general async INSERT's and INSERT
into Distributed, which are indeed background, so new term express it
even better.

Mostly done with:

    $ git di HEAD^ --name-only | xargs sed -i -e 's/distributed_async_insert/distributed_background_insert/g' -e 's/async_insert_batch/background_insert_batch/g' -e 's/async_insert_split_batch_on_failure/background_insert_split_batch_on_failure/g' -e 's/async_insert_sleep_time_ms/background_insert_sleep_time_ms/g' -e 's/async_insert_max_sleep_time_ms/background_insert_max_sleep_time_ms/g'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Mark 02417_opentelemetry_insert_on_distributed_table as long

CI: https://s3.amazonaws.com/clickhouse-test-reports/55978/7a6abb03a0b507e29e999cb7e04f246a119c6f28/stateless_tests_flaky_check__asan_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-01 15:09:39 +01:00
robot-clickhouse
9cafdbd972
Merge pull request #54309 from evillique/better-docs
Make docs better
2023-09-05 15:58:59 +02:00
Nikolay Degterinsky
2db239d6ad Make docs better 2023-09-05 12:43:53 +00:00
Alexey Gerasimchuck
3a212217a3 Implemented globs to select * from '<file>' 2023-08-31 04:20:44 +00:00
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation" 2023-03-17 21:21:11 +03:00
rfraposa
60fb9973d7 trailing slash fixes 2023-03-16 16:43:01 -05:00
Ivan Blinkov
61c2f23713 Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
DanRoscigno
726d3c0739 add slugs to all docs 2022-08-26 13:37:11 -04:00
Alexey Milovidov
7e9a3796e9 Fix wrong docs 2022-06-21 00:09:55 +02:00
rfraposa
e7b7b7ecd3 Various docs fixes 2022-04-29 05:33:51 -06:00
rfraposa
1afe4300e8 Fixed broken links 2022-04-11 09:55:54 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Orkhan Zeynalli
070ad64ba7
Invalid xml config 2022-01-09 22:38:31 +04:00
Tatiana Kirillova
24701346da
Update clickhouse-format.md 2021-11-26 20:33:47 +03:00
Tatiana Kirillova
ffca0e0cff perevod na russkiy 2021-11-26 20:21:39 +03:00
Azat Khuzhin
e0cd7a8304 docs: switch <yandex> to <clickhouse> 2021-10-26 08:52:29 +03:00
Ivan Blinkov
f429db1ee9 find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
Alexey Milovidov
df3be36758 Remove trailing whitespaces from docs 2021-07-29 18:27:50 +03:00
Alexey Milovidov
d87d833691 Remove trailing whitespaces from docs 2021-07-29 18:20:55 +03:00
alesapin
6062c7b5e5
Update clickhouse-format.md 2021-05-14 19:22:54 +03:00
olgarev
46f52ca211
Update docs/ru/operations/utilities/clickhouse-format.md
Co-authored-by: alesapin <alesapin@gmail.com>
2021-05-12 15:15:02 +03:00
olgarev
447c73ce14
Apply suggestions from code review
Co-authored-by: alesapin <alesapin@gmail.com>
2021-05-12 15:11:44 +03:00
Olga Revyakina
1f1ec13ac5 Links updated 2021-04-30 10:00:53 +03:00
olgarev
4c40b7a9df
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-04-29 06:39:01 +03:00
olgarev
b9e5a28829
Update docs/ru/operations/utilities/clickhouse-format.md 2021-04-29 06:28:00 +03:00
olgarev
96f739025c
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-04-29 06:27:21 +03:00
Olga Revyakina
7b0cea4573 Minor fixes 2021-04-25 11:47:05 +03:00
Olga Revyakina
4d2fd45660 Formatting 2021-04-25 10:21:46 +03:00
Olga Revyakina
64e85c3deb Another fix in md 2021-04-25 10:17:14 +03:00
Olga Revyakina
e815f90b53 Fix 2021-04-25 10:09:43 +03:00
Olga Revyakina
306bfeb576 clickhouse-format utility and links in index file 2021-04-25 09:58:57 +03:00
Alexey Milovidov
8850856276 Remove "Original article" (must be automated instead) 2021-03-15 14:32:26 +03:00
Nikita Mikhaylov
a14110a9a5
Merge pull request #21497 from olgarev/DOCSUP-6545_edit_and_translate
DOSCUP-6545: Edit and translate
2021-03-12 16:04:31 +03:00
lehasm
62aa7bdd74 Экранированные кодовые позиции Unicode заменены на символы 2021-03-08 17:54:44 +03:00
olgarev
f19bd8270d
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-06 23:27:08 +03:00
Olga Revyakina
406f3f9a06 First commit 2021-03-06 14:13:14 +03:00
Roman Bug
e8889463a6
Update docs/ru/operations/utilities/clickhouse-local.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-02-15 21:25:31 +03:00
romanzhukov
a937bf26a1 DOCSUP-5266: Fix ticket comments. 2021-02-01 21:11:47 +03:00
Roman Bug
7a9863194a
Update docs/ru/operations/utilities/clickhouse-local.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-01-30 18:46:36 +03:00
romanzhukov
0f7f8ace73 DOCSUP-5266: Add changes from PR 2021-01-26 01:39:23 +03:00
Kruglov Pavel
da6a7e6d2f
Merge pull request #19212 from sevirov/sevirov-DOCSUP-5273-edit_translate_russian
DOCSUP-5273: Edit and translate to Russian
2021-01-23 02:28:16 +03:00
George
6458d21040 various fixes 2021-01-20 18:38:35 +03:00
George
60584362e7 Fixed typo 2021-01-18 22:57:13 +03:00
Dmitriy
c1b8ab1e5a Edit and translate
Поправил английский вариант и перевел на русский язык.
2021-01-17 21:13:27 +03:00