Commit Graph

1057 Commits

Author SHA1 Message Date
Evgeniia Sudarikova
869a6f6aa0 Add EN and RU description 2020-11-12 16:25:05 +03:00
annvsh
ab96528a9c Fixed 2020-11-12 19:03:24 +07:00
annvsh
6543b32221 Fixed 2020-11-09 22:00:18 +07:00
Maksim Kita
02da9af32d DateTime comparison with date string literal 2020-11-09 11:29:08 +03:00
Anna Shakhova
f4afb46433
DOCSUP-3123: Edited the ReplicatedMergeTree and Polygon dictionaries (#16110)
* #13573

* #9278

* Fixed

* Fixed

* Fixed link

* Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-polygon.md

* Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-polygon.md

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-08 22:42:28 +03:00
annvsh
ca3a1b15c2 Fixed 2020-11-07 12:37:34 +07:00
Azat Khuzhin
f379f9837d Document use_compact_format_in_distributed_parts_names setting
Since it has been enabled by default, at least it should be documented.
2020-11-06 21:02:44 +03:00
gyuton
0d1fcd2f96
DOCSUP-3227: Documented the persistent setting (#16579)
* added description of disable_set_and_join_persistency setting.

* Changed setting name to persistent, added references about persistent to join table engine and set table engine

* Resolved conflict.

* Added reviewers suggestions

* Added translation for Russian.

* Fixed typos

* Update docs/en/operations/settings/settings.md

Fixed minor stuff.

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update settings.md

Updated translation.

* Fixed description and translation

* Fixed letter cases

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-06 14:23:04 +03:00
filimonov
c7facedf10
Update clickhouse-copier.md 2020-11-04 12:02:30 +01:00
alexey-milovidov
4fede5b008
Merge pull request #16438 from azat/errorCode-v2
Add errorCodeToName() and system.errors
2020-11-04 12:40:47 +03:00
alexey-milovidov
85d5c8edc5
Merge pull request #16515 from AnaUvarova/ana-uvarova-DOCSUP-2962-one-more-field-metric-log
DOCSUP-2962: one more field metric log
2020-11-04 12:30:02 +03:00
alexey-milovidov
ec2ab4c51f
Merge pull request #16646 from sevirov/sevirov-DOCSUP-3849-document_max_concurrent_queries_for_all_users
DOCSUP-3849: Document the max_concurrent_queries_for_all_users setting
2020-11-04 11:26:18 +03:00
alexey-milovidov
0001fc244d
Update settings.md 2020-11-04 11:24:40 +03:00
alexey-milovidov
973c1d7983
Merge pull request #16529 from azat/log_queries_min_time
Add log_queries_min_query_duration_ms
2020-11-04 01:47:18 +03:00
alexey-milovidov
8a3f38f332
Merge branch 'master' into errorCode-v2 2020-11-04 01:40:41 +03:00
sevirov
993af08779
DOCSUP-1829: Update the system.columns table description (#16576)
* Update order-by.md

Задокументировал параметры OFFSET и FETCH.

* Update prewhere.md

Поправляю битые ссылки.

* Update prewhere.md

Вернул изменения назад.

* Update order-by.md

Пытаюсь исправить битые ссылки.

* Update columns.md

Добавил position и compression_codec.

* Translation columns.md

Сделал перевод на русский язык.

* Delete changes order-by.md

Удалил изменения в файле order-by.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-03 18:36:25 +03:00
Azat Khuzhin
3be8a56f5c Add log_queries_min_query_duration_ms
Only queries slower then the value of this setting will go to system.query_log,
i.e. something like slow_query_log in mysql.

v2: log_queries_min_time renamed to log_queries_min_query_duration_ms
v3: add current_database into system.query_thread_log
v4: rewrite test using current_database
v5: fix query_duration_ms in system.query_thread_log
2020-11-02 21:34:54 +03:00
damozhaeva
6db9ee4300
DOCSUP-3172: Edit and translate to Russian (#16153)
* Edit and traslate to Russian.

* Update docs/ru/engines/table-engines/integrations/kafka.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/interfaces/http.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/interfaces/http.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Ticket.

* http.

* kafka ru

Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-02 19:54:23 +03:00
sevirov
baa8958ad4
DOCSUP-1830: Describe the system.parts_columns table (#16531)
* Update order-by.md

Задокументировал параметры OFFSET и FETCH.

* Update prewhere.md

Поправляю битые ссылки.

* Update prewhere.md

Вернул изменения назад.

* Update order-by.md

Пытаюсь исправить битые ссылки.

* Create parts_columns.md

Сделал описание системной таблицы parts_columns.

* Delete changes order-by.md

Удалил изменения файла, не относящегося к этой ветке.

* Update parts_columns.md

Исправил линки.

* Edit and translate russian parts_columns.md

Выполнил перевел на русский язык.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-02 19:32:43 +03:00
Denis Zhuravlev
4adef402e6 Doc/multiple_leaders 2020-11-01 12:14:25 -04:00
annvsh
13c49c723f Added TSV format settings 2020-11-01 22:25:58 +07:00
Dmitriy
08e523d5de Update settings.md
Добавил описание настройки max_concurrent_queries_for_all_users.
2020-11-01 17:58:37 +03:00
annvsh
0f78dbc31d Init commit 2020-11-01 21:41:10 +07:00
olgarev
49d3b65cc2
DOCSUP-3537: Documented the output_format_pretty_row_numbers setting (#16446)
* Docs en, ru

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Docs for allow_experimental_bigint_types translated to Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-30 20:25:05 +03:00
ana-uvarova
3bded85c4f Details 2020-10-29 15:43:18 +03:00
Azat Khuzhin
b2e2322895 Add system.errors table
Contains error codes with number of times they have been triggered.

Columns:

-   `name` ([String](../../sql-reference/data-types/string.md)) — name of the error (`errorCodeToName`).
-   `code` ([Int32](../../sql-reference/data-types/int-uint.md)) — code number of the error.
-   `value` ([UInt64](../../sql-reference/data-types/int-uint.md)) - number of times this error has been happened.

**Example**

``` sql
SELECT *
FROM system.errors
WHERE value > 0
ORDER BY code ASC
LIMIT 1

┌─name─────────────┬─code─┬─value─┐
│ CANNOT_OPEN_FILE │   76 │     1 │
└──────────────────┴──────┴───────┘
2020-10-29 10:55:38 +03:00
ana-uvarova
ce016ba8c9 Draft 2020-10-27 10:22:14 +03:00
Alexander Kuzmenkov
5a70e26c70 Merge remote-tracking branch 'origin/master' into HEAD 2020-10-26 19:21:13 +03:00
sevirov
8f03e526a4
DOCSUP-3200: Edit and translate to Russian (#16204)
* Edit and translate

Отредактировал английскую версию текстов документов и перевел изменения на русский язык.

* Update trace_log.md

Исправляю битые ссылки.

* Fixing broken links

Исправил битые ссылки.

* Fixing broken links

Поправил битую ссылку, добавив раздел в русскую версию.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-26 13:09:41 +03:00
Alexey Milovidov
18458f36e7 Fix trash 2020-10-26 08:20:37 +03:00
alexey-milovidov
fb8a48aab8
Merge pull request #16241 from olgarev/revolg-DOCSUP-2472-Docs_for_the_crash_log_system_table
DOCSUP-2472: Documented the crash_log system table
2020-10-26 07:27:39 +03:00
Olga Revyakina
300f07bdba Links fixed. 2020-10-25 05:58:39 +03:00
Olga Revyakina
98f073a3a5 Text updated ant translated to Russian 2020-10-25 05:38:54 +03:00
Alexander Kuzmenkov
40c828b19d try to fix weird docs error 2020-10-22 20:35:02 +03:00
Alexander Kuzmenkov
5cbf645de4 Merge remote-tracking branch 'origin/master' into tmp 2020-10-22 19:48:02 +03:00
Alexander Kuzmenkov
145e2b012f cleanup 2020-10-22 19:47:20 +03:00
Olga Revyakina
545d187ef7 Docs for the crash_log table (en) 2020-10-21 19:32:52 +03:00
alexey-milovidov
8084ce75cb
Merge pull request #16105 from azat/allow_nondeterministic_optimize_skip_unused_shards
Add allow_nondeterministic_optimize_skip_unused_shards
2020-10-21 00:16:26 +03:00
Alexander Kuzmenkov
6dcfd26b29 Merge remote-tracking branch 'origin/master' into tmp 2020-10-19 21:36:30 +03:00
Azat Khuzhin
9b8abd44ab Add allow_nondeterministic_optimize_skip_unused_shards 2020-10-17 01:07:02 +03:00
vivarum
1d9df13b47
Merge branch 'master' into enable-parsing-of-input-enum-values-by-id-10682 2020-10-16 11:07:01 +03:00
olgarev
cfda514e1f
Corrections to the cast_keep_nullable setting docs (en, ru). (#15991)
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-10-15 20:34:48 +03:00
Alexander Kuzmenkov
b4378b004f Merge remote-tracking branch 'origin/master' into tmp 2020-10-15 16:01:41 +03:00
alexey-milovidov
7d2f96ade9
Merge pull request #14508 from olgarev/revolg-DOCSUP-1675-Doc_the_cast_keep_nullable_setting
DOCSUP-1675 Docs for the cast_keep_nullable setting
2020-10-14 00:06:03 +03:00
alexey-milovidov
fc83bd1088
Merge branch 'master' into setting-date-time-output-format 2020-10-13 23:48:27 +03:00
Alexey Milovidov
db4db42b65 Fix broken links in docs 2020-10-13 20:23:29 +03:00
damozhaeva
e1fcbe749c
Edit and translate to Russian. (#15462)
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
2020-10-13 18:29:28 +03:00
Maksim Kita
adaae8a12c Added OutputFormat setting date_time_output_format 2020-10-13 13:59:43 +03:00
Alexander Kuzmenkov
6200433e12 Merge origin/master into tmp (using imerge) 2020-10-12 21:15:31 +03:00
alexey-milovidov
7326343f31
Merge pull request #15522 from r1j1k/53r93y-DOCSUP-2866-allow_experimental_bigint_types
DOCSUP-2866: Document the allow_experimental_bigint_types setting
2020-10-08 16:06:42 +03:00
Azat Khuzhin
75e612fc16 Use full featured parser for force_data_skipping_indices 2020-10-07 01:44:14 +03:00
Azat Khuzhin
ef6d12967f Implement force_data_skipping_indices setting 2020-10-07 01:42:31 +03:00
Vasily Kozhukhovskiy
dfc13ca8e7 Enable parsing enum values by their ids for CSV, TSV and JSON input formats
* for CSV and TSV input formats input_format_csv_enum_as_number,
    input_format_tsv_enum_as_number settings should be enabled in order to
    treat input value as enum id
2020-10-06 18:37:54 +03:00
r1j1k
568235ddeb
Merge branch 'master' into 53r93y-DOCSUP-2866-allow_experimental_bigint_types 2020-10-05 09:35:45 +03:00
alexey-milovidov
037d00a633
Merge branch 'master' into revolg-DOCSUP-2403-Document_the_mechanics_of_custom_settings_specifying 2020-10-03 16:57:20 +03:00
alexey-milovidov
15af9f407e
Merge pull request #15417 from dmi-feo/patch-1
fix insert_quorum_timeout doc
2020-10-03 16:55:46 +03:00
alexey-milovidov
a4c16459a7
Update settings.md 2020-10-03 16:55:27 +03:00
alexey-milovidov
8d6f001dba
Merge pull request #15423 from den-crane/patch-1
Update settings.md / fix description of max_server_memory_usage
2020-10-03 16:38:22 +03:00
alexey-milovidov
1f0e41656c
Merge pull request #15416 from ClickHouse/filimonov-doc-core_dump
Mention core_dump size limit in docs
2020-10-03 16:37:11 +03:00
Sergey Ryzhkov
ea9045da8d DOCSUP-2866: Document the allow_experimental_bigint_types setting 2020-10-02 08:09:44 +03:00
Alexander Kuzmenkov
244687bfc1 Merge remote-tracking branch 'origin/master' into HEAD 2020-10-01 18:41:48 +03:00
Denny Crane
d9e5593808
Update settings.md
fix description of max_server_memory_usage
2020-09-28 15:26:38 -03:00
dmi-feo
9014722695
fix insert_quorum_timeout doc
06d7b6cbef/src/Core/Settings.h (L160)
2020-09-28 19:25:36 +03:00
filimonov
5b142ac37f
Update settings.md 2020-09-28 17:01:28 +02:00
Alexander Kuzmenkov
218d86de7e Merge remote-tracking branch 'origin/master' into tmp 2020-09-28 16:29:51 +03:00
Olga Revyakina
64a431ae8b Custom settings docs in english. 2020-09-28 05:59:01 +03:00
bharatnc
5359e3bf70 Field event_time_microseconds - add documentation 2020-09-25 10:39:37 -07:00
alesapin
269d225637 Merge branch 'master' into myrrc-feature-cmake-flags-doc-generator 2020-09-22 17:00:02 +03:00
Alexander Kuzmenkov
7b64ca33b1 Merge remote-tracking branch 'origin/master' into tmp 2020-09-22 14:02:20 +03:00
alexey-milovidov
df122b90b4
Update performance-test.md 2020-09-22 02:07:12 +03:00
alexey-milovidov
3c1a679612
Update performance-test.md 2020-09-22 02:06:19 +03:00
Olga Revyakina
e6b91cfd92 Merge branch 'master' into revolg-DOCSUP-1675-Doc_the_cast_keep_nullable_setting 2020-09-21 14:27:14 +03:00
alexey-milovidov
3e0509af69
Merge pull request #13573 from amosbird/rms
specific ReplicatedMergeTree settings
2020-09-21 01:36:33 +03:00
alexey-milovidov
21eeebeb7a
Merge pull request #14772 from otrazhenia/evgsudarikova-DOCSUP-2039
DOCS-323: LowCardinality
2020-09-20 23:07:43 +03:00
alexey-milovidov
8e2231036b
Merge pull request #14259 from olgarev/revolg-DOCSUP-1673-Doc_the_output_format_pretty_max_value_width_setting
DOCSUP-1673: Docs for the output_format_pretty_max_value_width setting.
2020-09-19 16:49:27 +03:00
myrrc
3953ed485b added sub-tables in report, replaced some USE_ -> ENABLE_ for
consistency
2020-09-18 16:09:22 +03:00
Nikolai Kochetov
c7aff19937
Merge pull request #14221 from hagen1778/settings-leaf-limits
[settings]: introduce new query complexity settings for leaf-nodes
2020-09-18 14:05:10 +03:00
alexey-milovidov
9b6c62e82b
Merge pull request #14867 from amosbird/lbo
Explicit define what first replica is.
2020-09-17 19:37:15 +03:00
roman
b41421cb1c [settings]: introduce new query complexity settings for leaf-nodes
The new setting should allow to control query complexity on leaf nodes
excluding the final merging stage on the root-node. For example, distributed
query that reads 1k rows from 5 shards will breach the `max_rows_to_read=5000`,
while effectively every shard reads only 1k rows. With setting `max_rows_to_read_leaf=1500`
this limit won't be reached and query will succeed since every shard reads
not more that ~1k rows.
2020-09-17 10:37:05 +01:00
Alexander Kuzmenkov
6217dd77b5 Merge remote-tracking branch 'origin/master' into tmp 2020-09-17 12:35:10 +03:00
Amos Bird
38d53c38f6
Explicit define what first replica is. 2020-09-16 17:54:41 +08:00
Evgenia Sudarikova
99b220c3ed
Merge branch 'master' into evgsudarikova-DOCSUP-2039 2020-09-15 17:06:42 +03:00
olgarev
06fef7310c
Merge branch 'master' into revolg-DOCSUP-1675-Doc_the_cast_keep_nullable_setting 2020-09-15 06:44:27 +03:00
Olga Revyakina
8506fb20fe Translated into Russian, and typo fixed in English. 2020-09-15 06:38:54 +03:00
olgarev
3617ae4e4b
Update docs/en/operations/settings/settings.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-15 06:12:23 +03:00
olgarev
72d27196a0
Apply suggestions from code review
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-15 06:10:07 +03:00
filimonov
709b0f138a
Update clickhouse-benchmark.md 2020-09-14 14:55:40 +02:00
alesapin
06575970aa
Merge pull request #14705 from amosbird/misc1
Add merge_algorithm to system.merges
2020-09-14 09:58:30 +03:00
Amos Bird
c2d79bc5cc
Add merge_algorithm to system.merges 2020-09-13 10:00:03 +08:00
Evgeniia Sudarikova
7185b9a945 add changes in RU files 2020-09-12 19:59:03 +03:00
bharatnc
05a80518a1 Merge remote-tracking branch 'upstream/master' into ncb/event_time_microseconds_metric_logs 2020-09-09 17:58:29 -07:00
Alexander Kuzmenkov
e729dc5552 Merge remote-tracking branch 'origin/master' into tmp 2020-09-09 17:33:11 +03:00
olgarev
352d54fa6b
Merge branch 'master' into revolg-DOCSUP-1673-Doc_the_output_format_pretty_max_value_width_setting 2020-09-08 19:47:13 +03:00
olgarev
de9f1f4c94
DOCSUP-924: Higher-order functions moved to Array functions (#14092)
* Higher-order functions description moved to Array functions (English).

* Bad anchor fixed.

* Update docs/en/sql-reference/functions/array-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Higher-order functions description moved to Array functions (Russian).

* Update array-functions.md

Minor fixes in Russian text.

Co-authored-by: Olga Revyakina <revolg@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-09-08 18:55:00 +03:00
Alexander Kuzmenkov
c62bf555d2 Merge origin/master into tmp (using imerge) 2020-09-08 16:26:38 +03:00
Alexander Kuzmenkov
d0a9926e7d fixes and some docs 2020-09-08 16:19:27 +03:00
Nikita Mikhaylov
80f193f615
Merge pull request #14252 from bharatnc/ncb/time-query-log-in-ms
add query_start_time_microseconds field to system.query_log & system.query_thread_log tables
2020-09-08 15:11:50 +04:00
Anna
0a9f6b1805
DOCSUP-2193: Describe SHOW queries for RBAC (#14515)
* Documentation for #10387, upd syntax by issues #12311, #12312

* Update docs/ru/sql-reference/statements/show.md

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-08 10:35:24 +03:00
alexey-milovidov
aa48162e81
Update tips.md 2020-09-07 20:22:17 +03:00
bharatnc
9de49d130f AsynchronousMetricLog & MetricLog - update docs with examples 2020-09-06 08:31:27 -07:00
Olga Revyakina
a76139bc22 Minor fixes. 2020-09-05 01:00:07 +03:00
Olga Revyakina
88e5476dbe Docs for the cast_keep_nullable setting (English). 2020-09-05 00:40:31 +03:00
olgarev
f757438e71
Update docs/en/operations/settings/settings.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-04 22:03:16 +03:00
bharatnc
d0c33dc653 docs for query_thread_log - query_start_time_microseconds 2020-09-04 09:48:32 -07:00
bharatnc
bddfa03631 add docs for query_start_time_microseconds 2020-09-04 09:42:18 -07:00
alexey-milovidov
4f9df21d3e
Merge pull request #10373 from azat/dist-SELECT-optimization
Optimize queries with LIMIT/LIMIT BY/ORDER BY for distributed with GROUP BY sharding_key
2020-09-04 01:38:56 +03:00
olgarev
9851cd9a26
Minor update in English text and translation into Russian. (#14240)
Co-authored-by: Olga Revyakina <revolg@yandex.ru>
2020-09-03 21:11:46 +03:00
Azat Khuzhin
776688acc2 Add documentation for optimize_distributed_group_by_sharding_key 2020-09-03 00:54:11 +03:00
Azat Khuzhin
fffeeeba06 Force WithMergeableStateAfterAggregation via distributed_group_by_no_merge (convert to UInt64)
Possible values:
- 1 - Do not merge aggregation states from different servers for distributed query processing - in case it is for certain that there are different keys on different shards.
- 2 - same as 1 but also apply ORDER BY and LIMIT stages
2020-09-03 00:52:51 +03:00
Anna
1a57d25cf0
DOCSUP-1395: Add desc for system tables. (#13852)
* Add desc for system tables.

* Fixed links, add comments from the developer

* Update docs/en/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/settings_profile_elements.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/settings_profile_elements.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/settings_profile_elements.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/users.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Link to Enum.

* Added translation to russian

* Update row_policies.md

* Add lost description

* Update docs/ru/operations/system-tables/grants.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables/grants.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Additions

* Fixed links

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-08-31 21:04:37 +03:00
Olga Revyakina
045e4f8964 Minor fix. 2020-08-30 23:03:16 +03:00
Olga Revyakina
33a65063ce Docs for the output_format_pretty_max_value_width setting (English). 2020-08-30 22:53:22 +03:00
olgarev
5ecb1717a3
DOCSUP-712: Documented the ttl_only_drop_parts setting (#13823)
* Docs in English for the ttl_only_drop_parts setting.

* Docs in Russian.

* Update docs/ru/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-08-28 13:29:56 +03:00
Amos Bird
05a5a13e08
specific ReplicatedMergeTree settings 2020-08-27 22:37:41 +08:00
Alexander Kuzmenkov
c4fc434a13
Merge pull request #14060 from azat/parallel_distributed_insert_select-2
Extend parallel_distributed_insert_select to run INSERT into local table
2020-08-26 20:37:36 +03:00
alexey-milovidov
d3a9389465
Merge branch 'master' into bharatnc-ncb/timezones-table 2020-08-26 04:26:37 +03:00
alexey-milovidov
729f601601
Merge pull request #13849 from olgarev/revolg-DOCSUP-997-lock_acquire_timeout_setting
DOCSUP-997: Documented the lock_acquire_timeout setting
2020-08-26 03:03:47 +03:00
alexey-milovidov
7c3c18da92
Merge branch 'master' into bharatnc-ncb/timezones-table 2020-08-26 02:14:53 +03:00
Azat Khuzhin
50a312534c Extend parallel_distributed_insert_select to run INSERT into local table
Before this patch there was:

- parallel_distributed_insert_select=1, that executes:

    INSERT INTO dist_out SELECT ... FROM underlying_dist_in

After this patch there will be:

- parallel_distributed_insert_select=2, that executes:

    INSERT INTO underlying_dist_out SELECT ... FROM underlying_dist_in

And cover the behaviour w/o integration test, by using the following
techincs:
- SYSTEM STOP DISTRIBUTED SENDS
- prefer_localhost_replica=0
2020-08-25 22:49:13 +03:00
Eugene Klimov
e519e836bf
sync EN and RU version operations/server-configuration-parameters/settings.md add text_log description, translate to RU trace_log.md (#13923)
* fix docs link checks
recreate as new PR
https://github.com/ClickHouse/ClickHouse/pull/13190#issuecomment-676435412

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix links after docs_check https://clickhouse-test-reports.s3.yandex.net/13923/0ce13be72e83665b7269c291f9efdf30c8533338/docs_check/docs_output.txt

Signed-off-by: Slach <bloodjazman@gmail.com>

* try to remove nowhere links in RU, EN, FA, ZN, FR, JA, TR version after https://clickhouse-test-reports.s3.yandex.net/13923/8a4bdfdc57b6b92cdae0651513d190e3f8ebcb23/docs_check/docs_output.txt

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix link after https://clickhouse-test-reports.s3.yandex.net/13923/bc89725b138a8c8bdfa7f1e63698ec1957031cfe/docs_check/docs_output.txt

Signed-off-by: Slach <bloodjazman@gmail.com>
2020-08-25 10:41:59 +03:00
bharatnc
13852301ae Docs for system.time_zones table 2020-08-24 23:31:21 +03:00
Ivan Blinkov
c0f8fb10bc
Update docs/en/operations/settings/settings.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-08-19 17:20:59 +03:00
Olga Revyakina
ca95341823 English docs for the lock_acquire_timeout setting. 2020-08-18 09:32:40 +03:00
Evgenia Sudarikova
225c84a0b3
DOCSUP-1888: Documented the input_format_avro_allow_missing_fields setting (#13671)
* add EN description

* changes after review

* add RU version

* Update docs/en/operations/settings/settings.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-17 11:20:37 +03:00
Fullstop000
ade6e38069
doc: update quotas.md (#13400)
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
2020-08-17 10:42:46 +03:00
Denis Zhuravlev
53422fe239
Update settings.md
removed remark about default's profile for max_server_memory_usage
2020-08-14 16:57:44 -03:00
alexey-milovidov
4dc12873b9
Merge pull request #13616 from hagen1778/max-insert-block-size-docs
[docs]: explicitly mention unit of measurement for `max_insert_block_size`
2020-08-14 03:14:49 +03:00
Roman Bug
4bf3a3e704
DOCSUP-711: Add description for setting output_format_json_quote_denormals (#13391)
* DOCSUP-711: (en) In settings added description for output_format_json_quote_denormals.

* DOCSUP-711: Fix invalid anchor.

* DOCSUP-711: (ru) In settings added description for output_format_json_quote_denormals.

* DOCSUP-711: Change values styles.

* DOCSUP-711: Add a link from the setting description to the JSON format description. (by pr comment)
Add a link from the JSON format description to the setting description. (by pr comment)

* DOCSUP-711: Rewrite sentence.

* DOCSUP-711: (ru) Added link from settings.md to JSON format.

* DOCSUP-711: (en) Added example of output with the setting (by pr comment).

* DOCSUP-711: Add example of output with the setting.

* DOCSUP-711: Minor fix.

* DOCSUP-711: Update example of settings using.

* DOCSUP-711: Minor fix.

* Update docs/en/interfaces/formats.md by pr

Co-authored-by: BayoNet <da-daos@yandex.ru>

* [wip]Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* DOCSUP-711: (en) Add sample table and fix pr comments.

* DOCSUP-711: (ru) Updated from en and by pr comments.

* DOCSUP-711: (ru) Updated from en and by pr comments.

* DOCSUP-711: Added name for sample table.

* Update docs/ru/operations/settings/settings.md by pr comment

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/interfaces/formats.md  by pr comment

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update settings.md

* Update settings.md

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-08-11 18:28:42 +03:00
roman
f18c1ce03e [docs]: explicitly mention unit of measurement for max_insert_block_size
Without explicitly defined unit of measurement the description for
setting `max_insert_block_size` may result into confusion and mistakenly
interpret as bytes.
2020-08-11 14:55:36 +01:00
olgarev
6164e7373d
DOCSUP-791: Docs for optimize_read_in_order setting (#12611)
* Docs in English for optimize_read_in_order setting.

* Link misspelling fixed.

* Usage section moved to the ORDER BY topic.

* Link fixed.

* Update docs/en/sql-reference/statements/select/order-by.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/statements/select/order-by.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/statements/select/order-by.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Small fix in English and translation into Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-10 16:33:39 +03:00
Anna
a6fb067a75
DOCSUP-1915: Split system-table.md into separate files. (#13160)
* Corrected en files

* Split system-tables.md into separate files

* Fixed links.

* Fixed links.

* Fixed links.

* Fixed links.

* Add ref to original article

* Fixed links

* Add toc_folder_title and translate

* Add stack_trace.md, correct toc-title

* Fixed links

* Hypothesis testing

* Hypothesis testing

* Update run.sh, thanks @azat

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-08-06 11:50:29 +03:00
alexey-milovidov
5cc886b5ba
Update tips.md 2020-08-03 22:08:15 +03:00
Alexey Milovidov
b7ec7be296 Update docs 2020-08-02 01:02:46 +03:00
BayoNet
09448811df
DOCS-503: system.stack_trace (#13010)
* CLICKHOUSEDOCS-503: Added stack_trace.md. Restored ru grant.md. Updated ru geo/index.md.

* CLICKHOUSEDOCS-503: Fixed the Original article page.

* Update docs/en/operations/system-tables/stack_trace.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/system-tables/stack_trace.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-31 14:46:58 +03:00
olgarev
2aefe5fb77
DOCSUP-790: docs for mutations_sync setting (#12639)
* Docs in English.

* Fixed links bug.

* Update docs/en/sql-reference/statements/alter/delete.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Translated into Russian. Anchors in links syncronized with English text. One minor change in English text to unify two similar descriptions.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-29 09:43:24 +03:00
Ivan Blinkov
9e62fa1c5a
[docs] maybe fix build 2020-07-28 22:38:52 +03:00
BayoNet
6dd731dd00
DOCS-590: parallel_distributed_insert_select (#12980)
* DOCSUP-987: parallel_distributed_insert_select setting (#145)

* add EN version

* add EN version

* changes after review in EN version

* add RU version

* CLICKHOUSEDOCS-590: Updated text

Co-authored-by: Evgenia Sudarikova <56156889+otrazhenia@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-28 15:25:49 +03:00
olgarev
e2287959a8
DOCSUP-1585: Edit and sync geo functions (#12584)
* Geo functions - en/ru sync.

* Fixed bug with levels.

* Apply suggestions from code review

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Geo functions splitted into 3 files.

* Links fixed.

* Link fixed.

* Anchor fixed.

* Add into TOC.

* Temporarily removed anchors.

* Working on TOC.

* Links to original article.

* TOC and links in English and Russian.

* TOC in English, content in index.

* Link fixed.

* TOC in Russian, with content in index file.

* Added index file to geo functions

* fixed links in ru

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-28 10:57:28 +03:00
Vladimir Chebotarev
81636eb69e
Update asynchronous_metric_log.md 2020-07-27 00:43:03 +03:00
Vladimir Chebotarev
f655270ec3
Update asynchronous_metric_log.md 2020-07-27 00:39:04 +03:00
alexey-milovidov
742b8729b8
Update asynchronous_metrics.md 2020-07-24 12:09:30 +03:00
AnaUvarova
d3e02a2e1b
DOCSUP-1838: Description of the system.asynchronous_metric_log table (#12711)
* Draft for table description.

* async_metric_log was described in two langs

* Fixes.

* Fixes.

* Update docs/en/operations/system-tables/asynchronous_metric_log.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/system-tables/asynchronous_metric_log.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/system-tables/asynchronous_metric_log.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/system-tables/asynchronous_metric_log.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-23 15:15:01 +03:00
Ivan Blinkov
1d3c2e8340
Update docs/en/operations/utilities/clickhouse-local.md 2020-07-23 10:20:40 +03:00
Alexander Kuzmenkov
8b4de77cf6 Add file() example to clickhouse-local docs 2020-07-22 16:39:13 +03:00
BayoNet
1d0be5495c
DOCS-663: RBAC roles system tables (#12605)
* DOCSUP-1394 (#139)

* Added descriptions: system.roles, system.role_grants, system.current_roles, system.enabled_roles

* Add columns

* Add description for system.roles, system.role_grants, system.current_roles, system.enabled_roles

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update system-tables.md

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update system-tables.md

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Translate system.roles, system.role_grants, etc...

* Update docs/ru/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-663: Fixed links.

* CLICKHOUSEDOCS-663: Fixed markup.

Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-21 15:59:28 +03:00
BayoNet
52f95e53fb
DOCS-229: insert_distributed_sync (#12579)
* Revolg docsup 727 insert distributed sync setting (#130)

* Add insert_distributed_sync setting

* insert_distributed_sync en doc upd

* Translated to russian.

* Update docs/ru/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Added the link to the setting in the russian version.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update settings.md

* Update docs/ru/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-21 15:40:03 +03:00
BayoNet
6af122aade
asiana21-DOCSUP-713 (#147) (#12620)
* docs(connection_pool_max_wait_ms): added the setting description

* docs(kafka_max_wait_ms): added the setting description

* docs(replace_running_query_max_wait_ms): added the setting description

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* docs(kafka_max_wait_ms): added RU translation

* docs(connection_pool_max_wait_ms): added RU translation

* removed extra spaces

* docs(replace_running_query_max_wait_ms): added RU translation

Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: AsiaKorushkina <43650329+AsiaKorushkina@users.noreply.github.com>
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
2020-07-21 14:56:18 +03:00
BayoNet
c0942b7d07
DOCS-492: system.mutations (#12608)
* DOCSUP-785 Update the system.mutations description. (#144)

* Description updated, 1 field added (en).

* Translated into Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>

* CLICKHOUSEDOCS-492: Fixed links.

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-21 14:52:23 +03:00
BayoNet
b9e4e91842
DOCS-645: system.licenses (#12607)
* system-license table description with examples (#140)

* system-license table description with examples

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* System licenses description.

* ++

* Update docs/ru/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-645: Fixed links.

* Update docs/en/operations/system-tables/licenses.md

* Update docs/ru/operations/system-tables.md

Co-authored-by: AnaUvarova <64017504+AnaUvarova@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-20 22:17:04 +03:00
Ivan Blinkov
f325f8cf4a
[docs] remove blank lines to make it a correct numbered list (#12591) 2020-07-20 22:12:02 +03:00
Ilya Yatsishin
60b844a87f
Update clickhouse-local.md (#12595) 2020-07-20 13:03:18 +03:00
BayoNet
21a1c5e8eb
DOCS-389: network_compression_method (#12581)
* DOCSUP-715 network_compression_method and network_zstd_compression_level (#141)

* Add network_compression_method and network_zstd_compression_level settings

* Some fixes

* Fix by comments

* Fix by comments

* Fix PR comment and add ru translation

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>

* CLICKHOUSEDOCS-389: Text fixes.

* Update docs/en/operations/settings/settings.md

Co-authored-by: Roman Bug <rrrrrroman@gmail.com>
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-07-20 12:57:36 +03:00
Ilya Yatsishin
dad8d85b7d
Merge pull request #12582 from BayoNet/docs/CLICKHOUSEDOCS-680-max-server-memory-usage-to-ram
DOCS-680: max_server_memory_usage_to_ram
2020-07-20 11:21:13 +03:00
olgarev
ea6743225e
DOCSUP-1380 Document the max_server_memory_usage_to_ram_ratio setting (#142)
* Docs in en for max_server_memory_usage_to_ram_ratio setting added, for max_server_memory_usage setting slightly updated.

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Translated to Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-07-19 20:46:23 +03:00
alexey-milovidov
5775a8934a
Fix awful bug @blinkov 2020-07-17 20:34:43 +03:00
alexey-milovidov
0e481ec0f8
Fix strange leading whitespaces @blinkov 2020-07-17 20:12:21 +03:00
alexey-milovidov
4ac9a466c7
Fix data rot @blinkov 2020-07-17 20:04:19 +03:00
BayoNet
71e7b94aa4
DOCS-586: The validate_polygons setting (#12555)
* asiana21-DOCSUP-979-validate_polygons (#136)

* docs(validate_polygons): added the setting description

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* docs(validate_polygons): added RU translation

Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-586: Minor text edit.

Co-authored-by: AsiaKorushkina <43650329+AsiaKorushkina@users.noreply.github.com>
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-17 18:05:42 +03:00
BayoNet
cd621e4e63
DOCSUP-1315 Updated description of the 'parts' system table (#134) (#12535)
* Updated description of the 'parts' system table and 2 new settings for the MergeTree table

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Data part format description moved to the data storage section.

* An error fixed in english version and russian version added.

* Minor bug fixed in russian version.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-17 18:05:07 +03:00
Artem Zuikov
ff372ec0f0
Standard join type syntax position (#12520) 2020-07-16 11:56:45 +03:00
Ivan Blinkov
ffe2cecb1b
[docs] split the ALTER article (#12502)
* initial split

* initial adjust links

* make en buildable

* re-normalize
2020-07-15 00:02:41 +03:00
BayoNet
deee8572ce
DOCS-664: system.quotas (#12472)
* DOCSUP-1362[CLICKHOUSEDOCS] [ClickHouse] Describe system tables for RBAC (#127)

* Describe system tables for RBAC: quotas, quota_limits, quota_usage, quotas_usage.

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update system-tables.md

* Update system-tables.md

* Update system-tables.md

* Add desc system.quota_limits, system.quotas_usage

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update system-tables.md

Сorrect description of max_read_rows.

* Update system-tables.md

Updated the description of randomized intervals.

* Update system-tables.md

Updated description of key_type.

* Update system-tables.md

Updated description of 'roles'

* Update system-tables.md

Update

* Actualized the description.

* translation

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-664: Splitted the description into separated files.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
2020-07-14 09:57:39 +03:00
Azat Khuzhin
32a45d0dee Implement lifetime_rows/lifetime_bytes for Buffer engine
Buffer engine is usually used on INSERTs, but right now there is no way
to track number of INSERTed rows per-table, since only summary metrics
exists:
- StorageBufferRows
- StorageBufferBytes

But it can be pretty useful to track INSERTed rows rate (and it can be
exposed via http_handlers for i.e. prometheus)
2020-07-11 16:06:11 +03:00
Azat Khuzhin
433fdffc19 Add lifetime_rows/lifetime_bytes interface (exported via system.tables) 2020-07-11 15:33:11 +03:00
Ivan Blinkov
ceac649c01
[docs] split misc statements (#12403) 2020-07-11 14:05:49 +03:00
Maxim Sabyanin
58fed6b19e add output_format_pretty_grid_charset setting in docs 2020-07-10 22:32:51 +03:00
Ivan Blinkov
258d2fd499
[docs] split various kinds of CREATE queries into separate articles (#12328)
* normalize

* split & adjust links

* re-normalize

* adjust ru links

* adjust ja/tr links

* partially apply e0d19d2aea

* reset contribs
2020-07-09 18:10:35 +03:00
Ivan Blinkov
391d31d7f6
Update index.md 2020-07-07 20:28:20 +03:00
Ilya Yatsishin
5a4d9fb9ae
Merge pull request #12070 from ClickHouse/filimonov-max_rows_to_read-threads
max_rows_to_read remove note about 'applied on each thread separately'
2020-07-03 17:45:47 +03:00
BayoNet
3435328465
DOCS-522: max_parser_depth (#12097)
* asiana21-DOCSUP-925-max_parser_depth (#132)

* docs(max_parser_depth): added the setting description

* docs(max_parser_depth): some changes

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* docs(max_parser_depth): added ru translation

* docs(max_parser_depth): removed quotation marks

Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-522: Fixed the link.

Co-authored-by: AsiaKorushkina <43650329+AsiaKorushkina@users.noreply.github.com>
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-03 00:26:55 +03:00
alexey-milovidov
4d01fb3cbc
Update tips.md 2020-07-02 15:54:32 +03:00
BayoNet
e79be9b1ed
DOCS-605: Description for the always_fetch_merged_part setting (#11921)
* Revolg DOCSUP-998 Document the always_fetch_merged_part setting (#123)

* Add always_fetch_merged_part setting

* revolg-DOCSUP-998-add_always_fetch_merged_part_setting link fixed

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Add always_fetch_merged_part setting. Updates.

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Add always_fetch_merged_part setting. Updates.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-605: Minor fixes.

* CLICKHOUSEDOCS-605: Added Plausible to Adopters.

* Update docs/ru/operations/settings/settings.md

Co-authored-by: alesapin <alesapin@gmail.com>

* Update docs/en/operations/settings/settings.md

Co-authored-by: alesapin <alesapin@gmail.com>

* CLICKHOUSEDOCS-605: Fixed access rights description.

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: alesapin <alesapin@gmail.com>
2020-07-02 12:04:40 +03:00
BayoNet
c7d8bf68b8
DOCS-635: Translated the EN version of the AvroConfluent format description (#11930)
* DOCSUP-1350 (#128)

* edited EN version

* add EN and RU translation

* minor changes

* CLICKHOUSEDOCS-635: Updated the description.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Evgenia Sudarikova <56156889+otrazhenia@users.noreply.github.com>
2020-07-02 10:25:06 +03:00
BayoNet
03a643e9d3
DOCS-609: max_server_memory_usage (#11771)
* Revolg DOCSUP-1000 add max server memory usage setting (#125)

* Add max_server_memory_usage setting, delete max_memory_usage_for_all_queries setting.

* Syntax fixed

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Doc for the max_server_memory_usage setting. Updates.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-609: Minor fixes.

* CLICKHOUSEDOCS-609: Actualized position of the setting.

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-01 16:08:16 +03:00
filimonov
b2df6accad
Update query-complexity.md
Remove a note about read limits applied on threads level.
2020-07-01 14:34:24 +02:00
Ivan Blinkov
f886fed08b
fix mistake reported by @Slach 2020-06-25 20:50:13 +03:00
alexey-milovidov
a34032cace
Merge pull request #11300 from blinkov/sentry
Opt-in support for sending crash reports
2020-06-25 17:20:50 +03:00
Alexander Kuzmenkov
2da7b356ab
Merge pull request #11668 from bharatnc/bnc/config-max-num-threads
max_thread_pool_size setting for changing max Threads in Global Thread Pool
2020-06-24 16:11:21 +03:00
alexey-milovidov
18eb141ea1
Merge pull request #11715 from azat/dist-optimize_skip_unused_shards-fixes
Control nesting level for shards skipping and disallow non-deterministic functions
2020-06-24 12:54:58 +03:00
Ivan Blinkov
45d1ca2567 merge master 2020-06-24 00:18:16 +03:00
Azat Khuzhin
b0779dbfe7 Fix documentation 2020-06-23 21:08:28 +03:00
Alexander Kuzmenkov
1a63972a4b Merge remote-tracking branch 'origin/master' into bnc/config-max-num-threads 2020-06-23 20:25:07 +03:00
Alexander Kuzmenkov
bd5ab9c686 Merge remote-tracking branch 'origin/master' into bnc/config-max-num-threads 2020-06-22 15:55:39 +03:00
Alexander Kuzmenkov
ffc5b21bad Merge remote-tracking branch 'origin/master' into HEAD 2020-06-22 15:28:03 +03:00
Ivan Blinkov
2c0ff29c48 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-22 10:06:36 +03:00
alexey-milovidov
4c12f057f6
Merge pull request #11772 from BayoNet/docs/CLICKHOUSEDOCS-658-mv-block-settings
DOCS-658: Materialized views block settings
2020-06-21 17:58:51 +03:00
Azat Khuzhin
fb30629ff2 Add settings to control nesting level for shards skipping optimization
- optimize_skip_unused_shards_nesting (allows control nesting level for
  shards skipping optimization)
- force_skip_optimize_shards_nesting (allows control nesting level for
  checking was shards skipped or not)
- deprecates force_skip_optimize_shards_no_nested
2020-06-21 15:27:01 +03:00
Azat Khuzhin
caa195c034 Add number of errors to ignore while choosing replicas (distributed_replica_max_ignored_errors)
This will allow avoid switching to another replica in case of error
(since error can be temporary).
2020-06-20 11:20:16 +03:00
Alexander Kuzmenkov
288f217df3 Merge remote-tracking branch 'origin/master' into HEAD 2020-06-19 23:07:53 +03:00
BayoNet
d29e1ce986
DOCS-602: transform_null_in (#11734)
* Revolg DOCSUP-996 Document the transform_null_in setting (#124)

* Add doc for transform_null_in setting

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Add doc for the transform_null_in setting (ru)

* Add transform_null_in setting (ru). Anchor fixed

* Add doc for the transform_null_in setting (ru,en). Misspell fixed, anchor fixed.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-602: Updated text.

* Deleted symlink to IN operator.

* CLICKHOUSEDOCS-602: Fixed links.

* CLICKHOUSEDOCS-602: Updated the description.

* CLICKHOUSEDOCS-602: Updated by comments.

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-19 12:18:57 +03:00
Sergei Shtykov
13f8c588de Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-658-mv-block-settings 2020-06-18 22:24:17 +03:00
Evgenia Sudarikova
d0cfa35ab0
DOCSUP-1316 (#122)
* add EN version

* change links in EN version

* changes after review

* add RU description

* minor changes
2020-06-18 22:11:47 +03:00
Azat Khuzhin
6507247328 optimize_skip_unused_shards=2 will disable it for nested distributed queries
P.S. Looks like settings can be converted between SettingUInt64 and
SettingBool without breaking binary protocol.

FWIW maybe it is a good idea to change the semantics of the settings as
follow (but I guess that changing semantic is not a good idea, better to
add new settings and deprecate old ones):
- optimize_skip_unused_shards -- accept nesting level on which the
  optimization will work
- force_skip_optimize_shards_nesting -- accept nesting level on which
  the optimization will work
2020-06-18 21:49:29 +03:00
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00
Ivan Blinkov
6dfb0dd5bb
trigger ci 2020-06-17 20:44:45 +03:00
Ivan Blinkov
0e77692a27 improvements after review comments 2020-06-16 15:56:28 +03:00
Bharat Nallan
09e3975b97 docs for max_thread_pool_size
This adds the docs for the new server level setting
`max_thread_pool_size`.
2020-06-15 22:04:30 -07:00
Azat Khuzhin
0e378590fe Add load_balancing=round_robin 2020-06-14 01:09:21 +03:00
Ivan Blinkov
e98a91e9f7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-12 16:53:00 +03:00
Alexander Kuzmenkov
e354bbc78c
Merge pull request #11588 from ClickHouse/aku/async-log
Add system.asynchronous_metric_log
2020-06-11 16:10:35 +03:00