owner stringclasses 14
values | repo stringclasses 14
values | id int64 116k 4.61B | issue_number int32 1 181k | author stringlengths 1 39 | body stringlengths 1 262k | created_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:16:18 | updated_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:22:56 | reactions unknown | author_association stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|
ClickHouse | ClickHouse | 465,617,055 | 2,947 | ztlpn | Fixed since 19.1.6. | 2019-02-20T15:09:11 | 2019-02-20T15:09:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,739,168 | 4,463 | den-crane | >maximum: 9.31 GiB
This is a default setting. Just change it somehow https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#settings_max_memory_usage
in user's profile
```
/etc/clickhouse-server/conf.d# cat memory_usage.xml
<?xml version="1.0" ?>
<yandex>
<profiles>
<default>
... | 2019-02-20T20:22:10 | 2019-02-20T20:24:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,948,622 | 4,456 | ermakus | Looks like abort is unrelated to this issue, server do not crash on this error and correctly return it to client
ODBC bridge is also available
```
root@SC:/home/root777# curl http://localhost:9018/ping
Ok.
```
Looks like that
[checkBridgeIsRunning()](https://github.com/yandex/ClickHouse/blob/c6a01ccfb38c4... | 2019-02-21T10:34:24 | 2019-02-21T10:34:24 | {} | NONE |
ClickHouse | ClickHouse | 466,307,179 | 4,452 | fancyqlx | @ztlpn thanks | 2019-02-22T07:54:29 | 2019-02-22T07:54:29 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,736,372 | 4,463 | jangorecki | @den-crane Thanks for fast response, I can confirm your suggestions resolved my issues. You might consider adding a note about that limit (putting the link you provided) in https://clickhouse.yandex/docs/en/operations/table_engines/memory/ page. | 2019-02-24T05:42:08 | 2019-02-24T05:42:34 | {} | NONE |
ClickHouse | ClickHouse | 466,858,386 | 4,489 | jangorecki | Thanks | 2019-02-25T03:18:36 | 2019-02-25T03:18:36 | {} | NONE |
ClickHouse | ClickHouse | 466,995,829 | 1,981 | sevketozturk | !!start the service after making changes to the config !!!
--note the ranking--
To install official packages add the Yandex repository in /etc/apt/sources.list or in a separate,
/etc/apt/sources.list.d/clickhouse.list file:
1- deb http://repo.yandex.ru/clickhouse/deb/stable/ main/
2- sudo apt-key adv --keyserver k... | 2019-02-25T12:37:31 | 2019-02-25T12:37:31 | {} | NONE |
ClickHouse | ClickHouse | 467,039,988 | 4,361 | proller | Is this Still [WIP] ? | 2019-02-25T14:52:18 | 2019-02-25T14:52:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,273,282 | 4,498 | DaemonMonch | > Your version of ClickHouse was built without support for Kafka. This may happen if you are using unofficial packages or built ClickHouse by yourself.
ok ! got it thanks | 2019-02-26T02:54:19 | 2019-02-26T02:54:19 | {} | NONE |
ClickHouse | ClickHouse | 467,396,856 | 4,199 | igor-sh8 | The problem is solved by creating buffer tables. | 2019-02-26T11:06:48 | 2019-02-26T11:06:48 | {} | NONE |
ClickHouse | ClickHouse | 466,252,238 | 4,456 | ermakus | I think abort caused by another error, not related to **clickhouse-odbc-bridge is not responding** because it heppend 6 days later (see timestumps)
So it coincidence i think. Probably...
```
2019.02.05 13:44:20.508827 [ 25 ] {} <Error> HTTPHandler: Code: 410, e.displayText() = DB::Exception: ODBCBridgeHelper: cli... | 2019-02-22T02:41:48 | 2019-02-22T02:41:48 | {} | NONE |
ClickHouse | ClickHouse | 466,833,005 | 4,455 | filimonov | Clickhouse types are NOT NULLs by default, so to represent somehow the default/empty/nonexisting values it need to use some value which can be stored in that NOT NULL type. For all numerical types (and also Enum type) the default value is 0, which is quite logical.
When doing group by with rollup - default value fo... | 2019-02-25T00:09:20 | 2019-02-25T00:13:26 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,077,779 | 4,467 | alesapin | Do you use any custom codec (zstd, lz4hc)? | 2019-02-25T16:26:57 | 2019-02-25T16:27:17 | {} | MEMBER |
ClickHouse | ClickHouse | 467,375,927 | 4,508 | 4ertus2 | Could you make a pull request with a fix? ;) | 2019-02-26T10:01:53 | 2019-02-26T10:01:53 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,533,559 | 4,174 | vitlibar | I've measured the performance. For the table `hits_v1` of Yandex.Metrica I've got the following results on my machine:
```
INSERT INTO datasets.hits_v1 FORMAT TSV 38.45 real 29.40 user 6.00 sys
INSERT INTO datasets.hits_v1 FORMAT JSONEachRow 67.22 real 67.99 user 7.08 sys
INSERT INTO d... | 2019-02-20T11:18:55 | 2019-02-20T11:22:45 | {} | MEMBER |
ClickHouse | ClickHouse | 465,913,212 | 4,456 | ermakus | cat /var/log/clickhouse-server/clickhouse-odbc-bridge.log
```
2019.02.21 10:26:10.172293 [ 1 ] {} <Debug> ApplicationStartup: Initializing subsystem: Logging Subsystem
2019.02.21 10:26:10.207094 [ 1 ] {} <Information> ApplicationStartup: Starting up
2019.02.21 10:26:10.311844 [ 1 ] {} <Information> ApplicationSta... | 2019-02-21T08:48:11 | 2019-02-21T08:48:11 | {} | NONE |
ClickHouse | ClickHouse | 465,993,756 | 4,350 | ztlpn | BTW you don't need ZooKeeper to use builtin ClickHouse sharding (Distributed tables etc.) | 2019-02-21T13:09:51 | 2019-02-21T13:09:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,268,675 | 2,416 | kaitorecca | Do we have any trick to make a temporary table work like WITH? | 2019-02-22T04:23:17 | 2019-02-22T04:23:17 | {} | NONE |
ClickHouse | ClickHouse | 466,430,772 | 4,479 | alexey-milovidov | TODO: russian changelog. | 2019-02-22T15:14:14 | 2019-02-22T15:14:14 | {} | MEMBER |
ClickHouse | ClickHouse | 466,446,187 | 4,308 | kmatt | I'm wondering if this was the cause of #4282
| 2019-02-22T15:56:59 | 2019-02-22T15:56:59 | {} | NONE |
ClickHouse | ClickHouse | 466,963,962 | 4,467 | 4ertus2 | related #4415 | 2019-02-25T10:44:01 | 2019-02-25T10:44:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,369,502 | 4,510 | 4ertus2 | Hi,
One accidental run on complex installation means nothing. Could you make reliable test, please?
1. Run each query 100-1000 times and place the time into texts file (with one column of time in milliseconds)
2. Use ministat tool to compare the distributions. | 2019-02-26T09:43:36 | 2019-02-26T09:43:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,615,467 | 3,782 | ztlpn | Available since 19.3.3 | 2019-02-20T15:05:33 | 2019-02-20T15:05:33 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,899,696 | 4,465 | vitlibar | This PR improves the performance of reading protobuf messages.
Before this PR filling the table `hits_v1` of Yandex.Metrica took this time:
```
INSERT INTO datasets.hits_v1 FORMAT TSV 38.45 real 29.40 user 6.00 sys
INSERT INTO datasets.hits_v1 FORMAT JSONEachRow 67.22 real 67.99 user 7... | 2019-02-21T08:00:40 | 2019-02-21T15:15:35 | {} | MEMBER |
ClickHouse | ClickHouse | 466,125,114 | 4,433 | filimonov | Yep. that workaround is good enough. Thanks. | 2019-02-21T19:05:03 | 2019-02-21T19:05:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,382,513 | 4,453 | AlexAkulov | Над какой конкретно? | 2019-02-22T12:36:57 | 2019-02-22T12:36:57 | {} | NONE |
ClickHouse | ClickHouse | 466,414,138 | 4,350 | arctica | Actually I see there is already a system.clusters table but doesn't allow writes to it. | 2019-02-22T14:27:59 | 2019-02-22T14:27:59 | {} | NONE |
ClickHouse | ClickHouse | 466,796,194 | 4,489 | den-crane | ```
set output_format_pretty_max_rows = 3;
select * from numbers(100);
SELECT *
FROM numbers(100)
┌─number─┐
│ 0 │
│ 1 │
│ 2 │
└────────┘
Showed first 3.
100 rows in set. Elapsed: 0.001 sec.
``` | 2019-02-24T17:19:14 | 2019-02-24T17:19:14 | {
"+1": 5
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,796,350 | 4,489 | den-crane | ```
select * from numbers(100) format Null;
SELECT *
FROM numbers(100)
FORMAT Null
100 rows in set. Elapsed: 0.001 sec.
``` | 2019-02-24T17:21:06 | 2019-02-24T17:21:06 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,035,217 | 4,470 | tux3 | I landed on this issue from Google, I'm running into the same error in a different project.
I don't have a proper fix, but a workaround is to comment the `ssl_conf = ssl_sect` line you may have in your `/etc/ssl/openssl.cnf` under `[default_conf]` (note that this may actually change your system SSL config!)
I have ... | 2019-02-25T14:39:35 | 2019-02-25T14:39:35 | {
"+1": 17
} | NONE |
ClickHouse | ClickHouse | 467,041,584 | 4,423 | 0i | Just now, just restarted this bug again, how should I fix this bug? It seriously affects the availability of our system.
@den-crane | 2019-02-25T14:56:23 | 2019-02-25T14:56:23 | {
"+1": 2
} | NONE |
ClickHouse | ClickHouse | 465,381,806 | 4,423 | 0i | Do you use Docker ?
Not use Docker
Do you use LowCardinality?
Not use LowCardinality
I upgraded ClickHouse to 19.3.4 and this error will occur, but 19.3.4 will automatically resume after a while. 19.1.6 I have to restart ClickHouse. | 2019-02-20T01:29:37 | 2019-02-20T01:30:45 | {} | NONE |
ClickHouse | ClickHouse | 466,908,921 | 4,423 | M1ha-Shvn | @den-crane I use XFS for /vol1 | 2019-02-25T08:03:26 | 2019-02-25T08:03:26 | {} | NONE |
ClickHouse | ClickHouse | 467,368,028 | 4,180 | MalKeshar | Повторился сегфолт, на этот раз на версии 19.1.6.
```
# dpkg -l | grep 'clickhouse-'
ii clickhouse-client 19.1.6 all Client binary for ClickHouse
ii clickhouse-common-static 19.1.6 amd64 Common files for ClickHouse
ii clickho... | 2019-02-26T09:39:33 | 2019-02-26T09:39:33 | {} | NONE |
ClickHouse | ClickHouse | 465,751,165 | 4,431 | alesapin | Fixed in 19.3.5 | 2019-02-20T20:58:00 | 2019-02-20T20:58:00 | {} | MEMBER |
ClickHouse | ClickHouse | 465,993,512 | 2,521 | fizerkhan | @alexey-milovidov We have the following table
```
count UInt64
avg Float32
```
We could like something like
```
select sum(count), histogramIf(10)(avg, avg <= 20) from summingtable
```
We would like to do get both the sum of count and the histogram together | 2019-02-21T13:08:55 | 2019-02-21T13:11:35 | {} | NONE |
ClickHouse | ClickHouse | 465,996,469 | 4,433 | ztlpn | `extractAll` should be reasonably efficient:
```
WITH 'abcd' AS str
SELECT extractAll(str, '.')
┌─extractAll(str, '.')─┐
│ ['a','b','c','d'] │
└──────────────────────┘
``` | 2019-02-21T13:19:20 | 2019-02-21T13:19:20 | {
"heart": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,317,207 | 3,891 | PangKuo | > Is this the first line with the `session expired` exception? I need the first similar error and some lines preceding it. If it is possible, just upload the logs somewhere so that I can look at them, that will be easier.
version18.16.1
I have the same problem with issue #3934, is there any other way to fix it exce... | 2019-02-22T08:34:39 | 2019-02-22T08:34:39 | {} | NONE |
ClickHouse | ClickHouse | 466,408,252 | 4,476 | den-crane | ```
ClickHouse server version 19.3.5
create view testv(a UInt32) as select number a from numbers(10);
select groupArray(a) from testv;
┌─groupArray(a)─────────┐
│ [0,0,1,0,2,0,3,0,4,0] │
└───────────────────────┘
``` | 2019-02-22T14:09:33 | 2019-02-22T14:10:57 | {
"+1": 1,
"eyes": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,858,639 | 4,491 | jangorecki | Thanks again, will leave that open as I think it is still worth to support script files and not just piping them it. Feel free to close if there are no plans to incorporate that. | 2019-02-25T03:20:29 | 2019-02-25T04:05:35 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 466,900,320 | 3,529 | AloneCoder | Our team currently issues the same problem with the data loss after zookeeper errors while transporting data into clickhouse via kafka | 2019-02-25T07:28:23 | 2019-02-25T07:28:23 | {
"+1": 10
} | NONE |
ClickHouse | ClickHouse | 466,949,134 | 4,498 | abyss7 | Can you provide the `CREATE TABLE` query, please? | 2019-02-25T10:00:26 | 2019-02-25T10:00:26 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,279,591 | 479 | CpuID | @alexey-milovidov now that libzookeeper was removed via https://github.com/yandex/ClickHouse/pull/2107 - any thoughts on diving back into this? :) | 2019-02-26T03:29:15 | 2019-02-26T03:29:15 | {} | NONE |
ClickHouse | ClickHouse | 467,432,691 | 4,492 | den-crane | Backward compatibility I guess and probably better performance because mysqlib is statically compiled to CH binary and ODBC works through several layers CH -> CH-ODBC-Bridge -> ODBC -> DB LIB | 2019-02-26T13:14:04 | 2019-02-26T13:14:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,450,930 | 4,450 | foolfish3 | many sql runs,so not very sure which sql cause it, maybe (because below sql is runs heavy and long time)
CREATE TABLE files ( rank_date Date, filename String, filetime Int64, content String) ENGINE = MergeTree PARTITION BY rank_date ORDER BY filetime SETTINGS index_granularity = 81920;
CREATE TABLE files_new ( ... | 2019-02-20T07:01:23 | 2019-02-20T07:21:59 | {} | NONE |
ClickHouse | ClickHouse | 466,449,846 | 4,308 | daledude | I was having the hang problem with 18.14.18 and 18.14.19 as well. The queues would commit quickly though with those versions. I'll give v19.3.3 a shot. | 2019-02-22T16:07:23 | 2019-02-22T16:07:23 | {} | NONE |
ClickHouse | ClickHouse | 466,794,578 | 4,491 | den-crane | cat script.sql | clickhouse-client -mn
cat qq.sh
#!/bin/bash
cat $1| clickhouse-client -mn
| 2019-02-24T17:01:23 | 2019-02-24T17:01:23 | {
"+1": 23,
"-1": 3
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,908,429 | 4,455 | levw | Thanks for answer! | 2019-02-25T08:01:35 | 2019-02-25T08:01:35 | {} | NONE |
ClickHouse | ClickHouse | 467,398,666 | 4,453 | AlexAkulov | > А какие-то другие манипуляции с данными происходят примерно в то же время что и сегфолты? Например мутации / attach / detach и т.п.?
Сложно сказать, у нас много пользователей КликХауса, никто не жаловался именно на операции с ALTER TABLE. В основном люди замечают, что не выполнились селекты или инсерты во время с... | 2019-02-26T11:13:19 | 2019-02-26T11:13:19 | {} | NONE |
ClickHouse | ClickHouse | 466,403,134 | 4,466 | alexey-milovidov | Comments are in Telegram chat. | 2019-02-22T13:52:56 | 2019-02-22T13:52:56 | {} | MEMBER |
ClickHouse | ClickHouse | 466,822,802 | 4,442 | josepowera | Checked with release 19.3.5 after above referenced #4431 was closed... The problem in this case remains.
| 2019-02-24T22:12:20 | 2019-02-24T22:12:20 | {} | NONE |
ClickHouse | ClickHouse | 466,973,059 | 4,071 | 4ertus2 | ClickHouse cannot lead to power off of your system. It's you kernel / hardware issue. | 2019-02-25T11:14:27 | 2019-02-25T11:14:27 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,348,776 | 4,467 | PhantomPhreak | We're using zstd compression
```
<!-- Compression settings -->
<compression>
<case>
<min_part_size>22548578304</min_part_size>
<method>zstd</method>
</case>
</compression>
``` | 2019-02-26T08:43:05 | 2019-02-26T08:43:05 | {} | NONE |
ClickHouse | ClickHouse | 467,375,703 | 4,492 | simPod | That looks like solution. Thanks!
Why is there MySQL engine btw? Doesn't ODBC engine replace it? | 2019-02-26T10:01:15 | 2019-02-26T10:01:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,383,904 | 4,506 | alexey-milovidov | > ClickHouse build check — Some exception occurred :(
Infrastructure error. | 2019-02-26T10:25:45 | 2019-02-26T10:25:45 | {} | MEMBER |
ClickHouse | ClickHouse | 465,568,216 | 4,456 | alesapin | > Same configuration works for most of users, but some server installs have persistent error **clickhouse-odbc-bridge is not responding**
This means that some hosts are OK and some have **clickhouse-odbc-bridge is not responding**?
You can set logging files for `odbc-bridge` with following lines in `config.xml` `... | 2019-02-20T13:13:10 | 2019-02-20T13:13:10 | {} | MEMBER |
ClickHouse | ClickHouse | 465,954,419 | 4,456 | ermakus | Finally, solved by downgrading to 19.1.6
Unfortunately, can't figure out exact version with regression yet | 2019-02-21T10:52:40 | 2019-02-21T10:52:40 | {} | NONE |
ClickHouse | ClickHouse | 466,452,538 | 4,483 | alexey-milovidov | Tested manually. | 2019-02-22T16:15:07 | 2019-02-22T16:15:07 | {} | MEMBER |
ClickHouse | ClickHouse | 466,740,638 | 847 | jangorecki | can I safely truncate `query_log` table? | 2019-02-24T07:05:31 | 2019-02-24T07:05:31 | {} | NONE |
ClickHouse | ClickHouse | 467,079,457 | 4,453 | AlexAkulov | Не думаю, что над этими таблицами выполняется ALTER COLUMN. Это достаточно редкая операция, а у нас КХ каждый день раз по 10 сегфолтится. | 2019-02-25T16:31:11 | 2019-02-25T16:31:11 | {} | NONE |
ClickHouse | ClickHouse | 465,985,510 | 4,456 | alesapin | > Looks like abort is unrelated to this issue, server do not crash on this error and correctly return it to client.
This is impossible, server always shutdown after abort signal. | 2019-02-21T12:40:33 | 2019-02-21T12:40:55 | {} | MEMBER |
ClickHouse | ClickHouse | 466,125,733 | 4,453 | ztlpn | Выполняются ли запросы ALTER COLUMN над этой таблицей? | 2019-02-21T19:06:47 | 2019-02-21T19:06:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,447,620 | 4,450 | filimonov | Can you describe the circumstances?
Like a select / other actions happened just before the failure? You can also check it in clickhouse-server.log (if enabled) | 2019-02-20T06:47:36 | 2019-02-20T06:47:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,043,572 | 4,452 | ztlpn | The problem is that during aggregation a thread pool is created and if one of the threads cannot be created (e.g. when there is not enough memory), other threads are not joined which causes `std::terminate`.
This was fixed in #3956 (available since 19.1.6) | 2019-02-21T15:31:25 | 2019-02-21T15:31:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 464,069,351 | 4,015 | lapkofear | The same bug is not reproduced for columns with 'DEFAULT'. As a work around existing table can be recreated with this specifier if restriction on manual value insertion is not critical. Also insert_allow_materialized_columns setting helps | 2019-02-15T14:29:43 | 2019-02-22T15:54:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,474,511 | 4,423 | den-crane | What filesystem are you using?
@0i through file /data/store/clickhouse
@M1hacka through file /vol1/clickhouse/data
It maybe related to DIRECT_IO.
[ 18.16.0 . The min_merge_bytes_to_use_direct_io option is set to 10 GiB by default. ]
https://github.com/yandex/ClickHouse/issues/4449 | 2019-02-22T17:18:24 | 2019-02-22T17:18:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,774,867 | 4,467 | rpfennin | this is also an issue in 19.3.5 | 2019-02-24T13:21:36 | 2019-02-24T13:21:36 | {} | NONE |
ClickHouse | ClickHouse | 466,967,837 | 4,498 | alexey-milovidov | Your version of ClickHouse was built without support for Kafka. This may happen if you are using unofficial packages or built ClickHouse by yourself. | 2019-02-25T10:56:37 | 2019-02-25T10:56:37 | {} | MEMBER |
ClickHouse | ClickHouse | 465,616,131 | 4,058 | ztlpn | Fixed in 19.3.3, 19.1.7. | 2019-02-20T15:07:05 | 2019-02-20T15:07:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,858,260 | 4,456 | ermakus | Yes, most of hosts works correctly.
We use same OS (Ubuntu 16.04LTS), same postgresql & clickhouse versions, but VMs/servers is very different (deployed on end users hardware as part of enterprise product).
Also there is propagated error in clickhouse.server.err.log
looks like clickhouse tried call [startBridgeSy... | 2019-02-21T04:32:00 | 2019-02-21T04:40:10 | {} | NONE |
ClickHouse | ClickHouse | 467,383,128 | 4,507 | 4ertus2 | You may try to make it with 'cmake -DNO_WERROR=1' | 2019-02-26T10:23:22 | 2019-02-26T10:23:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,642,733 | 873 | 4ertus2 | Some progress #4462 #4474
| 2019-02-20T16:07:46 | 2019-02-21T19:46:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,356,503 | 4,350 | arctica | @ztlpn interesting, thanks for raising that point. But I can't change the sharding e.g. add new servers without adjusting the config file on each server and restart ClickHouse right? That might be not ideal in a quite dynamic setting. It would be cool if the cluster settings could be stored in a ClickHouse table which ... | 2019-02-22T10:50:06 | 2019-02-22T10:50:06 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 466,404,100 | 4,476 | den-crane | Seems UInt64 treated as UInt32
```
CREATE VIEW test_view AS
SELECT date, sumMerge(hits_state) AS hits FROM test_aggr GROUP BY date;
DESCRIBE TABLE test_view
┌─name─┬─type───┬─default_type─┬─default_expression─┬─comment_expression─┬─codec_expression─┐
│ date │ Date │ │ │ ... | 2019-02-22T13:56:11 | 2019-02-22T13:56:11 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,581,247 | 3,939 | nickevin | @seven7777777 I met the same problem, I have a table just like met430_base? so, how did you modify sort key on this met430_base table? thanks. | 2019-02-22T23:13:20 | 2019-02-22T23:13:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,795,861 | 4,490 | den-crane | Yes, just use POST to enable write mode
echo 'create database testxxx' | curl 'http://localhost:8123/?' --data-binary @-
https://clickhouse.yandex/docs/en/operations/settings/permissions_for_queries/#settings_readonly
When using the GET method in the HTTP interface, readonly = 1 is set automatically. To modify d... | 2019-02-24T17:15:29 | 2019-02-24T17:15:48 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,798,769 | 4,477 | alesapin | <del>Only Mongo tests left. | 2019-02-24T17:46:41 | 2019-02-25T10:48:41 | {} | MEMBER |
ClickHouse | ClickHouse | 466,982,891 | 3,402 | c3mb0 | I can also confirm this, and it is a deal breaker for using `AggregatingMergeTree` in my case. | 2019-02-25T11:49:25 | 2019-02-25T11:49:25 | {} | NONE |
ClickHouse | ClickHouse | 467,004,182 | 4,350 | ztlpn | @arctica Yes, you need to update the config files, but you don't need to restart servers because cluster configuration is updated on the fly. | 2019-02-25T13:06:52 | 2019-02-25T13:07:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,063,074 | 4,505 | alexey-milovidov | Without this PR the test output is:
```
$ ./thread_pool_3
.......terminating
..Aborted (core dumped)
``` | 2019-02-25T15:49:56 | 2019-02-25T15:49:56 | {} | MEMBER |
ClickHouse | ClickHouse | 467,063,949 | 4,485 | alexey-milovidov | The idea is correct but the fix is a little more complicated. Look at #4505. | 2019-02-25T15:52:01 | 2019-02-25T15:52:10 | {} | MEMBER |
ClickHouse | ClickHouse | 464,695,877 | 4,426 | Felixoid | Теперь для мерджа используется пара из двух паттернов, один из которых должен содержать retention и второй function параметры. Default также теперь может задавать только один из двух параметров.
Обратная совместимость полностью сохранена. | 2019-02-18T11:27:29 | 2019-02-25T16:49:24 | {} | MEMBER |
ClickHouse | ClickHouse | 465,321,866 | 3,759 | alexey-milovidov | Superseded by #4448 | 2019-02-19T21:40:48 | 2019-02-19T21:40:48 | {} | MEMBER |
ClickHouse | ClickHouse | 465,557,066 | 4,431 | alesapin | Fix https://github.com/yandex/ClickHouse/pull/4454. Also can be avoided with setting (or query argument) `max_query_size=1048576` regardless of query length. | 2019-02-20T12:37:56 | 2019-02-20T12:41:29 | {} | MEMBER |
ClickHouse | ClickHouse | 465,916,617 | 4,456 | alesapin | `clickhouse-odbc-bridge` always dies with server. Seems like server get abortion signal in `ExternalLoader` (class which load dictionaries including `odbc`) while loading dictionaries, after that it restarts and again loading dictionaries and get abortion. Can you collect some statistics about uptime of troublesome ser... | 2019-02-21T08:58:42 | 2019-02-21T08:58:42 | {} | MEMBER |
ClickHouse | ClickHouse | 466,733,921 | 3,605 | hellmany | Same issue, we haven't enough ssd storage to store all table data. Will be great to store some partitions in another location.
@filimonov Thanks for merge solution, but this is a hack =)))) Adding feature as say @TH-HA will be great. | 2019-02-24T04:47:14 | 2019-02-24T04:48:56 | {} | NONE |
ClickHouse | ClickHouse | 466,905,132 | 4,442 | vladimir-golovchenko | > Checked with release 19.3.5 after above referenced #4431 was closed... The problem in this case remains.
I confirm. | 2019-02-25T07:48:07 | 2019-02-25T07:48:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,962,875 | 4,453 | ztlpn | `wssg.passport_logs_local`, но и про другие тоже интересно (и если выполняются, насколько часто). | 2019-02-25T10:40:39 | 2019-02-25T10:40:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,023,380 | 4,488 | keyzj | Problem was on my side: invalid columns in materialized view 'consumer'.
Btw, if anyone will need to do the same task here's data map:
1) Create 'local' tables on all hosts in cluster;
2) Create distributed tables on all hosts in cluster;
3) Create Kafka engine table 'queue' + materialized view 'consumer' on one ho... | 2019-02-25T14:06:49 | 2019-02-25T14:06:49 | {
"+1": 2
} | NONE |
ClickHouse | ClickHouse | 467,321,776 | 4,453 | filimonov | А какие-то другие манипуляции с данными происходят примерно в то же время что и сегфолты? Например мутации / attach / detach и т.п.?
Можно посмотреть чем остальные потоки занимались в моменте падения? (Если возможно - просто добавьте полный фрагмент лога несколько мин перед падением, если есть какие-то чувствительн... | 2019-02-26T07:07:17 | 2019-02-26T07:11:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 467,433,090 | 4,492 | simPod | Kk, thanks for answers! | 2019-02-26T13:15:19 | 2019-02-26T13:15:19 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,544,442 | 4,442 | josepowera | > The error msg should atleast output the table/kafka topic this relates to, so we know where to even begin debugging.
100% agree that for any debugging print of Topic or Table name is really missing here.
| 2019-02-20T11:55:18 | 2019-02-20T11:55:26 | {} | NONE |
ClickHouse | ClickHouse | 466,014,397 | 3,381 | ztlpn | That was fixed in #4243 (available in 19.1.7 and 19.3.3) | 2019-02-21T14:14:49 | 2019-02-21T14:14:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,995,219 | 4,212 | alesapin | Stress test failure doesn't seem like known error. | 2019-02-25T12:35:15 | 2019-02-25T12:35:15 | {} | MEMBER |
ClickHouse | ClickHouse | 467,004,013 | 4,423 | 0i | @den-crane
I got this bug at today, And must restart ClickHouse. 😭
I use ext4 for /data/store.
root@srv:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvdf 1.5T 1.1T 375G 74% /data/store
| 2019-02-25T13:06:17 | 2019-02-25T13:08:24 | {} | NONE |
ClickHouse | ClickHouse | 467,434,790 | 4,512 | den-crane | select value from system.asynchronous_metrics where metric = 'MaxPartCountForPartition'
select value from system.metrics where metric = 'ReadonlyReplica' | 2019-02-26T13:20:22 | 2019-02-26T13:20:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 465,731,790 | 4,206 | AbdullaevAPo | +1 | 2019-02-20T19:59:56 | 2019-02-20T19:59:56 | {} | NONE |
ClickHouse | ClickHouse | 466,010,265 | 4,394 | ztlpn | Virtual memory is not a scarce resource - there are 2^64 bytes of it :) You should instead look at the resident memory (RES in the `top` output) and it is ok in your screenshot.
Probably this is how jemalloc operates - allocate huge blocks of virtual memory and return unused physical memory to the system using the `... | 2019-02-21T14:02:23 | 2019-02-21T14:02:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 466,276,931 | 4,423 | M1ha-Shvn | Same on 19.1.8. No docker:
```
Cannot seek through file /vol1/clickhouse/data/carrot/chevent/23139-201902_0_1342_205/user_id.bin, errno: 22, strerror: Invalid argument: (while reading column user_id): (while reading from part /vol1/clickhouse/data/carrot/chevent/23139-201902_0_1342_205/ from mark 0 with max_rows_to_r... | 2019-02-22T05:17:13 | 2019-02-22T05:17:13 | {} | NONE |
ClickHouse | ClickHouse | 466,795,134 | 4,492 | den-crane | But there is ODBC table engine
https://www.altinity.com/blog/2018/9/20/using-odbc-with-clickhouse | 2019-02-24T17:07:13 | 2019-02-24T17:07:13 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.