Commit Graph

1033 Commits

Author SHA1 Message Date
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
Ivan Blinkov
b70ed921ea Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-11 12:22:13 +03:00
Alexander Kuzmenkov
e4be52f35f Add system.asynchronous_metric_log 2020-06-10 22:17:54 +03:00
Ivan Blinkov
f5b8e61046
Update configuration-files.md 2020-06-10 21:04:47 +03:00
Fan()
e144e78b31
Update clickhouse-copier.md (#11558) 2020-06-10 18:30:33 +03:00
Ivan Blinkov
6f7064928f Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-09 19:07:57 +03:00
vxider
f011ca02cf
fix punctuation (#11553) 2020-06-09 18:52:53 +03:00
Ivan Blinkov
653a9afda0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-05 22:51:28 +03:00
BayoNet
905c58b9ac
DOCS-625: system.query_thread_log (#11437)
* DOCSUP-1041 query_thread_log table description was updated according the example. (#119)

* This file was edited according to the DOCSUP-1041. Text was ordered with example, links and missed information were added.

* Editing using comments.

* Edited according connected merge.

* Seems to be pre-last changes.

* CLICKHOUSEDOCS-625: Updated text.

* Table query_thread_log description  was translated to russian. (#120)

* CLICKHOUSEDOCS-625: query_thread_log

* CLICKHOUSEDOCS-625: Fixed text.

* CLICKHOUSEDOCS-625: Updated text by comments.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: AnaUvarova <64017504+AnaUvarova@users.noreply.github.com>
2020-06-05 12:59:21 +03:00
alexey-milovidov
7cdcf575e1
Update backup.md 2020-06-04 21:21:10 +03:00
Filipe Caixeta
9e0823f9e0
Make clear how to restore a backup 2020-06-04 13:12:37 -03:00
BayoNet
58786f9929
DOCS-620: Background pools settings (#11358)
* DOCSUP-1036: Describe settings for different pools (#118)

* describe settings for different pools

* minor changes

* add refs to and from distributed, server settings, kafka, replication, mergetree

* changes in links description

* add description and links to RU version

* add descrtiption and links to ru version

* minor changes

* CLICKHOUSEDOCS-620: Returned text lost by the last merge.

Co-authored-by: Evgenia Sudarikova <56156889+otrazhenia@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-02 21:11:56 +03:00
BayoNet
5088f409ca
DOCS-611: background_buffer_flush_schedule_pool_size setting (#11176)
* DOCSUP-1003 background_buffer_flush_schedule_pool_size setting (#116)

* changes after review

* add RU version

* CLICKHOUSEDOCS-611: Fixed text.

Co-authored-by: Evgenia Sudarikova <56156889+otrazhenia@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-06-02 11:42:05 +03:00
Ivan Blinkov
4bd678a3fd Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-02 08:21:30 +03:00
BayoNet
1d9d1e256f
DOCS-573: system.data_type_families (#11344)
* DOCSUP-921 (#113)

* add the description of data_type_families system table

* add related link, change output example, correct columns description

* fix typos add links

* add russian description of data_type_families system table

* fix links to data_type_families system table

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>

* CLICKHOUSEDOCS-573: system.data_type_families

* CLICKHOUSEDOCS-573: Corrected the wording.

Co-authored-by: pewit-nk <62423826+pewit-nk@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-02 08:10:59 +03:00
BayoNet
a7b3343ee4
CLICKHOUSEDOCS-631: temporary_files_codec, join_on_disk_max_files_to_merge settings. (#11242)
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-01 22:02:16 +03:00
Ivan Blinkov
fd3279f9f1 trigger ci 2020-06-01 00:02:08 +03:00
Ivan Blinkov
52f7b9545b Add http_proxy option 2020-05-30 11:24:21 +03:00
Ivan Blinkov
d154415a5b adjust comments 2020-05-30 11:13:04 +03:00
Ivan Blinkov
77d8c9baca Add anonymize option and version tag 2020-05-30 11:02:13 +03:00
Ivan Blinkov
444026494f brief docs 2020-05-30 00:52:49 +03:00
BayoNet
09369c259c
DOCS-527: system.query_log (#11197)
* DOCSUP-824: query log (#115)

* Draft changes.

* Next step.

* Structure was changed. Missed information was added.

* More edits.

* 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>

* Comments editing was done.

* Translated to russian.

Co-authored-by: Anastasia Uvarova <ana-uvarova@yandex-team.ru>
Co-authored-by: AnaUvarova <64017504+AnaUvarova@users.noreply.github.com>

* CLICKHOUSEDOCS-527: query_log description.

* CLICKHOUSEDOCS-527: Updated structure.

* CLICKHOUSEDOCS-527: Fixed links.

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

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

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

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

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

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

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

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

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

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

* Updated by comments.

* CLICKHOUSEDOCS-527: Updated by comments
.

* CLICKHOUSEDOCS-527: Syncronized EN->RU

Co-authored-by: Anastasia Uvarova <ana-uvarova@yandex-team.ru>
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-05-29 12:43:49 +03:00
BayoNet
c34f1ed6fd
DOCS-631: Settings partial_merge_join_optimizations, partial_merge_join_rows_in_right_blocks (#11130)
* CLICKHOUSEDOCS-631: Settings partial_merge_join_optimizations, partial_merge_join_rows_in_right_blocks

* CLICKHOUSEDOCS-631: Updated by comments.

* CLICKHOUSEDOCS-631: Fixed some grammar.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-27 17:13:37 +03:00
BayoNet
3ff28d0a7a
DOCS-112: any_join_distinct_right_table_keys (#11065)
* CLICKHOUSEDOCS-112: any_join_distinct_right_table_keys

* CLICKHOUSEDOCS-112: Updated link.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Fixed grammar.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Fixed typo.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-26 18:10:56 +03:00
zzsmdfj
7fac670657
update zh-docs-operations (#11192) 2020-05-26 08:43:19 +03:00