Commit Graph

281 Commits

Author SHA1 Message Date
chasingegg
c1556e4d8e tiny fix 2021-04-05 00:17:42 +08:00
chasingegg
1aa2b3a4cd fix trace type 2021-04-05 00:16:35 +08:00
Mike Kot
c947280dfc Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local 2021-04-01 21:38:51 +03:00
alexey-milovidov
0c70b06960
Merge branch 'master' into system-querylog-map 2021-03-31 04:54:30 +03:00
Mike Kot
285af08949 Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local 2021-03-24 22:34:20 +03:00
Azat Khuzhin
7c07b43597 Convert system.errors.stack_trace from String into Array(UInt64)
This should decrease overhead for the errors collecting.
2021-03-24 06:52:48 +03:00
Nikolai Kochetov
c2cbdf89a0
Merge pull request #21601 from ka1bi4/romanzhukov-DOCSUP-7042-deltaSum-quota-type
DOCSUP-7042: Edit and translate to Russian (deltaSum function and queries quota type)
2021-03-23 12:05:28 +03:00
Dmitriy
f2de3f5dfd Update query_log
Внес небольшие изменения.
2021-03-21 19:22:04 +03:00
Dmitriy
ccb40e56a0 Fix by comments
Поправил русскую и английскую версии согласно комментариям разработчика.
2021-03-21 18:16:34 +03:00
Dmitriy
3630668242 Update the example
Обновил пример и некоторые столбцы.
2021-03-21 01:12:05 +03:00
Dmitriy
7bf89bce06 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-6177-add_new_columns_system_query_log_system_table 2021-03-19 00:46:52 +03:00
Dmitriy
4046f414fe Add new columns
Добавил новые и недостающие столбцы в описание таблицы.
2021-03-19 00:15:43 +03:00
Roman Bug
2248001079
Merge branch 'master' into romanzhukov-DOCSUP-7042-deltaSum-quota-type 2021-03-18 16:33:38 +03:00
romanzhukov
01b3bd12cd DOCSUP-7042: Fix by PR comments. 2021-03-18 16:28:24 +03:00
romanzhukov
348e76a47f DOCSUP-7042: Fix by PR comments. 2021-03-18 16:16:15 +03:00
Mike Kot
831b90f272 Replaced the iteration algorithm in part finder
Now, instead of iterating through the directories, we iterate though
directories of on of the table disks (which doesn't give us a
substantial boost but is a bit neater to read).

- Updated the system.replication_queue command types.
- Fixed the part ptr being empty (added the checksum loading and
initialization).
- Removed extra logging.
2021-03-17 16:55:26 +03:00
Azat Khuzhin
44c9dc753d Add system.errors.last_error_stacktrace column 2021-03-16 22:31:49 +03:00
Azat Khuzhin
775f8f7682 Add system.errors.last_error_message column 2021-03-16 22:31:49 +03:00
Azat Khuzhin
c8852331a2 Add system.errors.last_error_time column 2021-03-16 22:31:49 +03:00
Azat Khuzhin
259e5ba88e Separate accounting of remote exceptions in system.errors 2021-03-16 22:31:46 +03:00
Alexey Milovidov
f617976571 Fix broken links 2021-03-14 15:55:11 +03:00
Alexey Milovidov
ecb686b0be Fix some broken links 2021-03-14 15:29:23 +03:00
alesapin
cae9751961
Merge pull request #21493 from olgarev/revolg-DOCSUP-5854_show_settings
DOCSUP-5854: Documented the SHOW SETTINGS statement
2021-03-11 11:47:32 +03:00
sevirov
5e887b4c99
Update docs/en/operations/system-tables/trace_log.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-10 20:21:43 +03:00
Dmitriy
cf51574d82 Edit and translate to Russian
Исправил английскую версию и перевел на русский язык.
2021-03-09 23:31:48 +03:00
Olga Revyakina
ff76356fd1 Docs en,ru PLUS templates updates 2021-03-06 11:59:50 +03:00
Dmitriy
fec0cf5f09 Edit and translate to Russian
Поправил английскую версию и выполнил перевод на русский язык.
2021-03-02 20:59:33 +03:00
Roman Bug
a4f2ee0752
DOCSUP-6144: Edit and translate PR to Russian (#19780)
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: Vladimir <vdimir@yandex-team.ru>
2021-03-01 16:51:38 +03:00
Dmitriy
efb17c0f31 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-6544-edit_translate_russian_insert_query_support 2021-02-25 23:34:36 +03:00
Alexey Milovidov
0d2d2dc2ed Merge branch 'master' into sundy-li/system-querylog-map 2021-02-18 00:47:54 +03:00
Alexander Kuzmenkov
22a5ef3635
Merge pull request #20095 from sevirov/sevirov-DOCSUP-6437-document_system_opentelemetry_span_log
DOCSUP-6437: Document the system.opentelemetry_span_log system table
2021-02-15 22:34:48 +03:00
Dmitriy
0d9578efc9 Edit and translate
Поправил английскую версию и выполнил перевод.
2021-02-14 14:14:39 +03:00
Dmitriy
d3549aca95 Fix the description of the table
Поправил описание таблицы.
2021-02-11 21:42:15 +03:00
bharatnc
072e0802b5 PartLog - Docs 2021-02-08 07:29:28 -08:00
Alexander Kuzmenkov
e18349f87a
Merge pull request #20008 from sevirov/sevirov-DOCSUP-5930-add_query_id_to_part_log
DOCSUP-5930: Update the system.part_log system table
2021-02-08 16:58:06 +03:00
Alexander Kuzmenkov
5ea35a9ff6
Update part_log.md 2021-02-08 16:56:52 +03:00
alexey-milovidov
e192676238
Merge pull request #19603 from JackyWoo/add_quota_type
add quota type QUERY_SELECTS and QUERY_INSERTS
2021-02-08 15:31:54 +03:00
zhangxiao871
a0c62db9c3 Update documentation. 2021-02-07 14:06:25 +08:00
JackyWoo
77c0f0a0e7 add quota type QUERY_SELECTS and QUERY_INSERTS 2021-02-07 10:57:18 +08:00
zhangxiao871
b75a8a0eb3 documentation. 2021-02-05 17:46:08 +08:00
zhangxiao871
581495ae23 Supports system.zookeeper path IN query. 2021-02-05 14:45:28 +08:00
Dmitriy
409ff2f6b3 Document system.opentelemetry_span_log system table
Задокументировал системную таблицу system.opentelemetry_span_log.
2021-02-04 22:13:55 +03:00
bharatnc
dc6a9ab9f9 Docs - fix unit for event_time_microseconds system.trace_log 2021-02-03 09:38:02 -08:00
Dmitriy
698d5ac022 Fix the description of the system.part_log system table
Поправил на основании комментарий в PR.
2021-02-02 22:27:06 +03:00
Dmitriy
807476cc6a Add some columns
Добавил отсутствующие столбцы, пример, ссылки на типы.
2021-02-02 21:08:10 +03:00
Dmitriy
cad9f2da6c Update the system.distributed_ddl_queue system table
Поправил английскую версию и выполнил перевод на русский язык.
2021-01-31 14:46:44 +03:00
sundy-li
7083ef45a6 Merge remote-tracking branch 'origin/master' into system-querylog-map 2021-01-29 09:26:02 +08:00
Olga Revyakina
f3dd1aadc3 Syntax and links 2021-01-28 13:06:44 +03:00
sundy-li
339133f32a Support Map for OpenTelemetrySpanLog && improve docs update 2021-01-22 13:16:13 +08:00
tavplubix
213c653ef8
Merge pull request #17656 from bharatnc/ncb/ddl-worker-queue-table
add  system.distributed_ddl_queue table
2021-01-11 14:59:26 +03:00
Azat Khuzhin
a8f13594ed Update documentation for system.table_engines 2021-01-08 14:57:24 +03:00
alexey-milovidov
4a2bf8b699
Update index.md 2021-01-08 09:06:35 +03:00
alexey-milovidov
c9d37b194e
Update index.md 2021-01-08 07:33:01 +03:00
alexey-milovidov
723d52e08d
Update index.md 2021-01-08 07:32:19 +03:00
Alexey Milovidov
6dcc779978 Merge branch 'master' into spongedu-complete_sysemlog_table_doc 2021-01-07 22:27:37 +03:00
bharatnc
1e579ac375 Fixes to code, build and style checks 2021-01-07 11:10:49 -08:00
bharatnc
8dacfde3d3 Docs - update to reflect code changes 2021-01-07 11:10:41 -08:00
bharatnc
5365d556e3 Docs - distributed_ddl_queue 2021-01-07 11:10:41 -08:00
alexey-milovidov
138b029934
Merge pull request #18102 from AnaUvarova/ana-uvarova-DOCSUP-4712-metric-log-transfer
DOCSUP-4712 Transferred metric_log setting to another page
2020-12-31 03:29:21 +03:00
alexey-milovidov
af39c2f1d7
Merge branch 'master' into dmozhaeva-DOCSUP-4706-edit-and-translate 2020-12-30 17:11:54 +03:00
ana-uvarova
8d63689b17 content fix 2020-12-30 02:53:44 +03:00
alexey-milovidov
4371e36d92
Update index.md 2020-12-29 20:43:10 +03:00
Dmitriy
e53281e176 Update distribution_queue.md
Исправил this на these.
2020-12-16 23:38:28 +03:00
ana-uvarova
b81a932408 redone 2020-12-15 20:49:00 +03:00
Dmitriy
153610b2c3 Update distribution_queue.md
Поменял also на Also.
2020-12-13 23:44:09 +03:00
Dmitriy
698737681a Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4919-document_replication_queue_system_table 2020-12-13 23:41:22 +03:00
Dmitriy
629f5f0797 Update replication_queue.md
Выполнил перевод на русский язык, внес изменения в английскую версию.
2020-12-13 18:42:34 +03:00
Dmitriy
065a64cc37 Update distribution_queue.md
Добавил ссылку на движок таблиц Distributed.
2020-12-12 22:43:52 +03:00
alexey-milovidov
6e417088dc
Update distribution_queue.md 2020-12-11 00:34:10 +03:00
Dmitriy
123923b5e5 Create distribution_queue.md
Задокументировал системную таблицу distribution_queue.
2020-12-09 21:14:55 +03:00
Daria Mozhaeva
843a26cbca Edit and translate v2. 2020-12-09 18:50:58 +03:00
Daria Mozhaeva
d1c7833f28 Edit and translate. 2020-12-09 17:03:38 +03:00
Dmitriy
215c5675dd Update replication_queue.md
Изменил описание столбца node_name.
2020-12-08 23:25:45 +03:00
Dmitriy
ce721f95ee Create replication_queue.md
Задокументировал системную таблицу replication_queue.
2020-12-08 21:46:25 +03:00
spongedc
5914e6e451 Refine documents for system log table, and fix a link error in config.xml 2020-12-07 16:04:29 +08:00
bharatnc
4f33a6b044 few fixes and formatting 2020-12-03 13:48:02 -08:00
bharatnc
67e6cc8faf docs - add more examples for systems tables 2020-12-03 13:47:56 -08:00
bharatnc
8e0e29480f system.columns - add some doc examples 2020-12-03 11:15:29 -08:00
Anna Shakhova
4479cfbcb0
DOCSUP-3871: Document prefer_not_to_merge option (#17090)
* Init commit

* Translation

* Fixed

* Fixed

* Fixed

* Fixed
2020-12-02 22:03:24 +03:00
Matthew Peveler
d5ec885674
Fix link to database engines
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-02 00:30:05 +02:00
Matthew Peveler
aa45b852b6
Update wording per suggestion
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-01 23:26:28 +02:00
Matthew Peveler
a10222b5fe
Update column info for system.database
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-01 21:36:08 +02:00
sevirov
75f04fac40
DOCSUP-4162: Document the system.replicated_fetches system table (#16900)
* Create replicated_fetches.md

Задокументировал системную таблицу system.replicated_fetches.

* Edit and translate replicated_fetches.md

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

* Update replicated_fetches.md

Внес поправки.

* Update replicated_fetches.md

Внес изменения в русскую версию.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-19 21:12:22 +03: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
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
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
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
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
Olga Revyakina
545d187ef7 Docs for the crash_log table (en) 2020-10-21 19:32:52 +03:00
Alexey Milovidov
db4db42b65 Fix broken links in docs 2020-10-13 20:23:29 +03:00
bharatnc
5359e3bf70 Field event_time_microseconds - add documentation 2020-09-25 10:39:37 -07: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
bharatnc
05a80518a1 Merge remote-tracking branch 'upstream/master' into ncb/event_time_microseconds_metric_logs 2020-09-09 17:58:29 -07: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
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
bharatnc
9de49d130f AsynchronousMetricLog & MetricLog - update docs with examples 2020-09-06 08:31:27 -07: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
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
alexey-milovidov
7c3c18da92
Merge branch 'master' into bharatnc-ncb/timezones-table 2020-08-26 02:14:53 +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
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
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
Ivan Blinkov
9e62fa1c5a
[docs] maybe fix build 2020-07-28 22:38:52 +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
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
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
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
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
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
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