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