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 | 452,312,228 | 4,000 | sundy-li | The intention is that we used `std::hash` of `libstdc++` to split the users for A/B testing experiment.
Well I agree with what you said, the purpose of this function may be very limited, and I can't come up with a proper name.
Since this hash function use `MurmurHash64A `, the difference with `murmurHash2_64` ... | 2019-01-08T14:13:47 | 2019-01-08T14:14:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,337,551 | 4,004 | filimonov | Maybe it would be better just to add that to a [user level settings](https://github.com/yandex/ClickHouse/blob/master/dbms/src/Interpreters/Settings.h#L216) instead of passing that back and forward with every function call?
Also: increasing that without any limit by users can be quite dangerous, i.e. i can increase ... | 2019-01-08T15:24:34 | 2019-01-08T15:47:57 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,584,892 | 4,006 | filimonov | Related https://www.altinity.com/blog/2017/12/1/mysql-to-clickhouse-data-migration-and-replication-airlineontime-dataset
| 2019-01-09T06:19:17 | 2019-01-09T06:19:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,629,984 | 4,002 | ggservice007 | @filimonov
I use mybatis. My program almost run normally. But sometime error occurs.
```cmd
The error occurred while setting parameters
SQL: select * from some_table where one = ?
exception, code: 1002
``` | 2019-01-09T09:30:33 | 2019-01-09T09:30:33 | {} | NONE |
ClickHouse | ClickHouse | 452,782,681 | 4,001 | blinkov | Let's open specific feature requests if something will need to be improved in ClickHouse to make this JanusGraph integration happen. | 2019-01-09T17:33:51 | 2019-01-09T17:33:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,945,787 | 4,001 | ggservice007 | @blinkov
nice | 2019-01-10T02:20:22 | 2019-01-10T02:20:22 | {} | NONE |
ClickHouse | ClickHouse | 453,226,838 | 4,032 | chipitsine | ```
[ilia@localhost clickhouse]$ cat CMakeFiles/CMakeError.log
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source ... | 2019-01-10T19:40:32 | 2019-01-10T19:40:32 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,306,200 | 4,019 | pdeva | i can confirm that the `stable` repo has the `testing` version and the `testing` repo has the `stable` version.... | 2019-01-10T23:49:55 | 2019-01-10T23:49:55 | {} | NONE |
ClickHouse | ClickHouse | 453,550,055 | 4,032 | chipitsine | Yep, I did the same finding
So,
1) cmake passed
2) make failed on libstd++
3) I installed stdc++ static
4) build continued and failed
5) I reported
Later build from scratch was OK.
Please wait, I was busy, patch will come soon | 2019-01-11T15:17:31 | 2019-01-11T15:17:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 451,884,639 | 3,988 | filimonov | * Which cmake flags did you use?
* What is your cpu / hw platform?
* Can you provide full ninja / cmake output? | 2019-01-07T10:07:50 | 2019-01-07T10:09:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,274,904 | 3,994 | filimonov | > And i'd like to see a server, executed a query, logged in query_log table, not a host handled SELECT * FROM query_log_distributed request.
> So, this won't solve my problem, unfortunately
Did you try? :) [Documentation](https://clickhouse.yandex/docs/en/query_language/functions/other_functions/#hostname) explicit... | 2019-01-08T12:03:12 | 2019-01-08T12:03:12 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,595,165 | 4,008 | blinkov | Your ClickHouse version is about one year old, while Decimal is pretty recent feature. You need to upgrade ClickHouse. | 2019-01-09T07:13:06 | 2019-01-09T07:13:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,760,351 | 3,540 | smaccona | @VadimPE do you have any suggestions for @Perlovka and myself? | 2019-01-09T16:29:47 | 2019-01-09T16:29:47 | {} | NONE |
ClickHouse | ClickHouse | 453,422,393 | 3,492 | Imomoi | Hello, we have same issue with version 1.1.54380.
После перезапуска сервера таблицы с `ENGINE = Merge(currentDatabase(), ...)` перестают возвращать данные при выполнении запросов в эти таблицы.
Пример создания таблицы:
CREATE TABLE table1 AS table1_history
ENGINE = Merge(currentDatabase(), '^table1_(h... | 2019-01-11T08:13:36 | 2019-01-11T08:13:36 | {} | NONE |
ClickHouse | ClickHouse | 453,509,094 | 3,852 | filimonov | You could try also AggregatingMergeTree with anyLastIf function.
```sql
create table qwerty
engine=AggregatingMergeTree
order by (id)
partition by tuple()
as select 1 as id, anyLastStateIf(toNullable(''),0) str, anyLastStateIf(toNullable(100),0) num;
insert into qwerty select 1 as id, anyLastStateIf(toNull... | 2019-01-11T12:58:28 | 2019-01-11T12:59:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 451,948,517 | 3,988 | mcarbonneaux | - Which cmake flags did you use?
`cmake3 -DCMAKE_INSTALL_PREFIX:PATH=/product/clickhouse ..`
- What is your cpu / hw platform?
i compile on amd (without sse 4.2) and execute on intel with sse2...
** AMD Opteron(tm) Processor 6176
** Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
- Can you provide full ninja / ... | 2019-01-07T14:18:06 | 2019-01-07T14:23:22 | {} | NONE |
ClickHouse | ClickHouse | 452,594,373 | 4,001 | ggservice007 | I have submitted a issue.
https://github.com/JanusGraph/janusgraph/issues/1370
We can together make it.
So nice. | 2019-01-09T07:09:21 | 2019-01-09T07:09:21 | {} | NONE |
ClickHouse | ClickHouse | 452,920,726 | 3,983 | hodgesrm | @filimonov, ClickHouse is definitely not picking up the right certificate directory. The simplest workaround is to set it explicitly using the caConfig tag. The following client config works on Ubuntu 16.04.
```
<client> <!-- Used for connecting to https dictionary source -->
<loadDefaultCAFil... | 2019-01-10T00:10:04 | 2019-01-10T00:11:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,587,630 | 4,026 | filimonov | > No effect, so cause is somewhere else
Just to be sure - can you try to remove that condition? Anyway you "insert only last minute data".
Why: maybe now() is beeing calculated once - at the moment of MV initialization? | 2019-01-11T17:08:06 | 2019-01-11T17:08:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,817,216 | 3,174 | ishirav | We also have small inserts every 10 seconds (into dozens of separate tables), so we put a buffer table in front of every MergeTree table. So data is accumulated in memory, and when the buffer gets full it's flushed to disk. This way the number of parts that are created remains small.
You can run your queries against t... | 2019-01-13T10:11:00 | 2019-01-13T10:11:00 | {} | NONE |
ClickHouse | ClickHouse | 453,818,262 | 4,044 | blinkov | @ggservice007 also see https://clickhouse.yandex/tutorial.html | 2019-01-13T10:29:50 | 2019-01-13T10:29:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,915,276 | 4,044 | blinkov | These articles are more or less about the same thing. But they are mostly about creating a fresh cluster. If the disks on this server are indeed almost full (like 80%+), it's probably better to create separate empty cluster and then transfer data there via INSERT+SELECT or https://clickhouse.yandex/docs/en/operations/u... | 2019-01-14T06:59:46 | 2019-01-14T07:00:44 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 451,910,145 | 3,994 | filimonov | You can just use [hostName](https://clickhouse.yandex/docs/en/query_language/functions/other_functions/#hostname) function.
BTW: If you will create Distributed table above the querylog in the same cluster as your production data - you will get logs only from **one** replica in each shard. Alternatives are:
1) confi... | 2019-01-07T11:46:40 | 2019-01-07T11:46:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,719,501 | 4,010 | filimonov | Check `system.dictionaries` table. | 2019-01-09T14:41:12 | 2019-01-09T14:41:12 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,224,575 | 4,032 | chipitsine | ```
$ gcc --version
gcc (GCC) 8.2.1 20181215 (Red Hat 8.2.1-6)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
```
[ilia@localhost clickhouse]$ uname -... | 2019-01-10T19:33:46 | 2019-01-10T19:33:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,437,289 | 4,015 | Akint | For me it works in 18.14.15 and doesn't work in 18.14.17 (18.14.16 is missing from apt repository). | 2019-01-11T08:56:31 | 2019-01-11T08:56:31 | {} | NONE |
ClickHouse | ClickHouse | 453,663,053 | 3,951 | ogorbacheva | Yes, is in progress, tomorrow i ll do PR | 2019-01-11T21:31:03 | 2019-01-11T21:31:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,727,710 | 3,174 | M1ha-Shvn | Hi. And what can I do, if inserts are rare and small? I want near realtime processing, So I can't form greater batches. I have up to 1k rows in a batch (3kb-2mb on disc), one insert in 30 seconds. And it seems ClickHouse doesn't merge parts, collect 300 on this table, but it hasn't reached some minimal merge size (even... | 2019-01-12T07:43:53 | 2019-01-12T07:44:54 | {} | NONE |
ClickHouse | ClickHouse | 453,733,865 | 3,991 | Ormod | Looked at the output and figured out the reason, I was missing the fedora RPM package:
libstdc++-static
which caused the compile test for the three param version to fail since it tried to do -L stdc++ (could've been called something else, writing this based on memory) which wasn't obviously defined because the RP... | 2019-01-12T09:39:04 | 2019-01-12T09:39:04 | {} | NONE |
ClickHouse | ClickHouse | 452,186,063 | 2,951 | ggservice007 | @blinkov so nice. Thanks a lot.
Now I have enough time to use ClickHouse to develop the great product. | 2019-01-08T06:05:26 | 2019-01-08T06:05:26 | {} | NONE |
ClickHouse | ClickHouse | 452,631,366 | 4,001 | ggservice007 | https://github.com/JanusGraph/janusgraph/issues/1370
So nice.
Who will make it with me?
| 2019-01-09T09:35:02 | 2019-01-09T09:35:02 | {} | NONE |
ClickHouse | ClickHouse | 453,226,162 | 4,032 | filimonov | Duplicate #3991
Please add extra info as requested in that comment: https://github.com/yandex/ClickHouse/issues/3991#issuecomment-452705881 | 2019-01-10T19:38:30 | 2019-01-10T19:38:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,759,529 | 4,045 | ebati | Great news, i couldnt find that function :man_facepalming: . Closing issue. | 2019-01-12T16:12:30 | 2019-01-12T16:12:30 | {} | NONE |
ClickHouse | ClickHouse | 453,914,184 | 4,044 | ggservice007 | @den-crane @blinkov
https://www.altinity.com/blog/2017/6/5/clickhouse-data-distribution
In this solution, when the server disk almost full, how to do?
| 2019-01-14T06:51:30 | 2019-01-14T06:51:30 | {} | NONE |
ClickHouse | ClickHouse | 451,915,464 | 3,994 | PhantomPhreak | > You can just use [hostName](https://clickhouse.yandex/docs/en/query_language/functions/other_functions/#hostname) function.
I haven't found a way how to use it in this case, can you please make an example?
> If you will create Distributed table above the querylog in the same cluster as your production data - yo... | 2019-01-07T12:10:57 | 2019-01-07T12:11:38 | {} | NONE |
ClickHouse | ClickHouse | 452,231,489 | 4,001 | filimonov | Not sure if there are any JanusGraph experts here. Please consult that with guys from https://github.com/JanusGraph/janusgraph/
Please keep in mind [use cases](https://github.com/yandex/ClickHouse/blob/a5e354fba9e4c1416f06be2e305ae3c96d8e5cc0/website/index.html#L328-L355) of ClickHouse. Generally if ClickHouse will... | 2019-01-08T09:29:11 | 2019-01-08T09:29:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,065,977 | 4,023 | alexey-milovidov | ERROR: type should be string, got "https://en.wikipedia.org/wiki/ISO_week_date\r\n\r\n```\r\n%V The ISO 8601 week number (see NOTES) of the current year as a decimal number, range 01 to 53, where week 1 is the first week that has at least 4 days in\r\n the new year.\r\n\r\nNOTES\r\n ISO 8601 week dates\r\n %G, %g, and %V yield values calculated from the week-based year defined by the ISO 8601 standard. In this system, weeks start on a Monday, and are numbered from\r\n 01, for the first week, up to 52 or 53, for the last week. Week 1 is the first week where four or more days fall within the new year (or, synonymously, week 01\r\n is: the first week of the year that contains a Thursday; or, the week that has 4 January in it). When three of fewer days of the first calendar week of the new\r\n year fall within that year, then the ISO 8601 week-based system counts those days as part of week 53 of the preceding year. For example, 1 January 2010 is a\r\n Friday, meaning that just three days of that calendar week fall in 2010. Thus, the ISO 8601 week-based system considers these days to be part of week 53 (%V) of\r\n the year 2009 (%G); week 01 of ISO 8601 year 2010 starts on Monday, 4 January 2010.\r\n```\r\n\r\n" | 2019-01-10T11:37:49 | 2019-01-10T11:37:56 | {} | MEMBER |
ClickHouse | ClickHouse | 453,207,972 | 4,028 | alexey-milovidov | What is the runtime penalty of this option? | 2019-01-10T18:45:05 | 2019-01-10T18:45:05 | {} | MEMBER |
ClickHouse | ClickHouse | 453,220,995 | 4,027 | filimonov | > ENGINE = ReplacingMergeTree
I bet that is the reason. Background merges replace old rows with newer, and results changes.
To ensure - try adding FINAL keyword to your select just after table name to finish all the merges/replacements in memory - of course it will slow down your select, but you should start gett... | 2019-01-10T19:23:17 | 2019-01-10T19:25:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,541,696 | 4,038 | filimonov | STacktrace:
```
2019.01.11 15:43:58.038811 [ 2 ] {} <Error> BaseDaemon: ########################################
2019.01.11 15:43:58.038876 [ 2 ] {} <Error> BaseDaemon: (from thread 229) Received signal Segmentation fault (11).
2019.01.11 15:43:58.038897 [ 2 ] {} <Error> BaseDaemon: Address: 0x11
2019.01.11 15:43:... | 2019-01-11T14:52:05 | 2019-01-11T14:52:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,920,905 | 4,050 | ggservice007 | I am not using batch. | 2019-01-14T07:40:59 | 2019-01-14T07:40:59 | {} | NONE |
ClickHouse | ClickHouse | 453,031,853 | 2,290 | filimonov | Can we close that? | 2019-01-10T09:39:56 | 2019-01-10T09:39:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,442,470 | 4,026 | wawanawna | Yes, we know, this is not a case here. We insert only last minute data usually
I even tried
> WHERE timestamp > now()-1800
No effect, so cause is somewhere else | 2019-01-11T09:10:44 | 2019-01-11T09:10:44 | {} | NONE |
ClickHouse | ClickHouse | 453,522,486 | 3,852 | filimonov | > AggregatingMergeTree was too heavy for this kind of very simple aggregation.
I was comparing once SummingMergeTree with AggregatingMergeTree and did not found any significant differences in performance, but it wasn't accurate and proper benchmark.
Also stored state for anyLast function = just a value (without a... | 2019-01-11T13:50:43 | 2019-01-11T13:52:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,627,306 | 3,997 | mcarbonneaux | i think is because `find_rdkafka.cmake` not search sasl library if `USE_INTERNAL_RDKAFKA_LIBRARY` is set...
```
if (NOT USE_INTERNAL_RDKAFKA_LIBRARY)
find_library (RDKAFKA_LIB rdkafka)
find_path (RDKAFKA_INCLUDE_DIR NAMES librdkafka/rdkafka.h PATHS ${RDKAFKA_INCLUDE_PATHS})
if (USE_STATIC_LIBRARIES A... | 2019-01-11T19:18:30 | 2019-01-11T19:18:49 | {} | NONE |
ClickHouse | ClickHouse | 452,598,615 | 4,002 | ggservice007 | ```xml
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.2</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
... | 2019-01-09T07:29:59 | 2019-01-09T07:29:59 | {} | NONE |
ClickHouse | ClickHouse | 452,650,332 | 4,004 | filimonov | Yep, looks like context is not passed to Aggregate functions (while being available in regular functions). Maybe it was done like that by intent? @alexey-milovidov ?
| 2019-01-09T10:36:43 | 2019-01-09T10:36:58 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,227,451 | 4,032 | chipitsine | ```
[ilia@localhost clickhouse]$ cat CMakeFiles/CMakeOutput.log
The system is: Linux - 5.0.0-0.rc1.git0.1.fc30.x86_64 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compil... | 2019-01-10T19:42:24 | 2019-01-10T19:42:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,388,519 | 2,878 | RouR | same issue
Any workaround? | 2019-01-11T06:03:55 | 2019-01-11T06:03:55 | {} | NONE |
ClickHouse | ClickHouse | 453,497,612 | 3,209 | orloffv | Тоже столкнулся с проблемой
```
ALTER TABLE errors_replicated_index ADD COLUMN testIds DEFAULT experiments
select experiments, testIds from errors_replicated_index where notEmpty(experiments) limit 10
```
->
```
Code: 10, e.displayText() = DB::Exception: Not found column testIds in block. There are only columns:... | 2019-01-11T12:08:30 | 2019-01-11T12:08:52 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,602,529 | 4,026 | den-crane | Try to calculate MV countState or sum(1) to locate the issue (missing rows or uniqExact) | 2019-01-11T17:56:34 | 2019-01-11T17:56:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 451,979,833 | 3,994 | filimonov | > I haven't found a way how to use it in this case, can you please make an example?
```
SELECT *, hostName() as host_name FROM distributed;
```
> . Since we're using 2 replicas in each shard, we're using replicated tables for keeping logs, and table with Distributed engine on the top.
But you probably want ... | 2019-01-07T15:50:53 | 2019-01-07T15:51:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,147,696 | 3,999 | den-crane | >I guess, it server-side caching bug.
>First run of query can return correct data once-time.
check the query result after
set compile_expressions = 0; | 2019-01-08T01:58:38 | 2019-01-08T01:58:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,540,052 | 3,979 | SunguckLee | I will upgrade & check it again.
Thanks. | 2019-01-09T01:42:01 | 2019-01-09T01:42:01 | {} | NONE |
ClickHouse | ClickHouse | 452,592,581 | 4,002 | alex-zaitsev | In our benchmarks native driver above (ClickHouse-Native-JDBC) is significantly slower than official HTTP JDBC when querying data. See this issue: https://github.com/housepower/ClickHouse-Native-JDBC/issues/70 | 2019-01-09T07:00:54 | 2019-01-09T07:00:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,638,497 | 4,002 | filimonov | > exception, code: 1002
Those issues may be related:
https://github.com/yandex/clickhouse-jdbc/issues/122
https://github.com/yandex/clickhouse-jdbc/issues/174 | 2019-01-09T09:57:43 | 2019-01-09T09:57:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,228,986 | 3,976 | alesapin | Unfortunately this is not memory leak. There is problem in compiled expressions cache implementation. | 2019-01-10T19:46:52 | 2019-01-10T19:46:52 | {} | MEMBER |
ClickHouse | ClickHouse | 453,733,978 | 4,032 | Ormod | Yeah I seem to have had the exact same issue in #3991 fixed this by installing the RPM and re-generating cmake files. | 2019-01-12T09:40:52 | 2019-01-12T09:40:52 | {} | NONE |
ClickHouse | ClickHouse | 452,269,641 | 3,994 | PhantomPhreak | > > I haven't found a way how to use it in this case, can you please make an example?
>
> ```
> SELECT *, hostName() as host_name FROM distributed;
> ```
> > . Since we're using 2 replicas in each shard, we're using replicated tables for keeping logs, and table with Distributed engine on the top.
>
> But you p... | 2019-01-08T11:41:45 | 2019-01-08T11:41:45 | {} | NONE |
ClickHouse | ClickHouse | 452,309,149 | 4,002 | den-crane | We have no problems with official JDBC(http).
It's superfast and super stable.
In one project (JDBC(http)) we run about 1 mil. queries every day (over Europe - latency 60ms). Half of queries retrieve more that 500 thousands rows and >10 GB each (huge jsons in column).
Try to tune timeouts i.e. socket_timeout.
| 2019-01-08T14:04:10 | 2019-01-08T14:04:48 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,705,881 | 3,991 | proller | Please show full cmake output.
important strings like
```
-- Looking for pthread_setaffinity_np in pthread
-- Looking for pthread_setaffinity_np in pthread - found
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY - Success
-- Platform has THREE PARAM at ... | 2019-01-09T14:00:25 | 2019-01-09T14:00:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,756,839 | 4,045 | den-crane | Are you aware of parseDateTimeBestEffort ?
select * from system.functions where name like '%Best%'
SELECT parseDateTimeBestEffort('2018-06-08T01:02:03.000Z') | 2019-01-12T15:36:06 | 2019-01-12T15:36:06 | {
"+1": 6
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,861,923 | 2,675 | luck143 | any update on this ? facing the same issue.
just one single corrupt message(like datatype mismatch) in topic is corrupting whole system and putting everything on complete halt .the only option at this moment seem to be deleting the topic from kafka and recreating the streaming table at kafka .
| 2019-01-13T20:16:56 | 2019-01-13T20:16:56 | {} | NONE |
ClickHouse | ClickHouse | 453,913,831 | 4,044 | ggservice007 | @den-crane @den-crane
https://github.com/Vertamedia/chproxy
The chproxy is bad.
Any better solution for it? | 2019-01-14T06:48:45 | 2019-01-14T06:48:45 | {} | NONE |
ClickHouse | ClickHouse | 451,982,491 | 3,996 | den-crane | 1. PARTITION BY toHour(at) --- SUPER EXTRA MEGA HUGEEEEEE Mistake.
Initial Ch design suggests monthly partitions
2. execute ONE query
select sum(cpuload1), dep, dep1, ... from met204
group by dep, dep1, ...
partition the result by dep... at Application side
3. max_threads -- number of threads for every on... | 2019-01-07T15:58:25 | 2019-01-07T16:01:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,288,484 | 3,996 | ghost | @den-crane Thank you so much! IT WORKS, REALLY! 500 QPS NOW! | 2019-01-08T12:55:58 | 2019-01-08T12:55:58 | {} | NONE |
ClickHouse | ClickHouse | 453,066,665 | 4,023 | alexey-milovidov | We can implement other week numbers for your choice. | 2019-01-10T11:40:31 | 2019-01-10T11:40:31 | {} | MEMBER |
ClickHouse | ClickHouse | 453,632,651 | 4,032 | chipitsine | I guess guy who opened https://github.com/yandex/ClickHouse/issues/3991 followed same steps | 2019-01-11T19:35:51 | 2019-01-11T19:35:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,918,038 | 4,044 | blinkov | > The WeChat group is full. My WeChat number is zhaoshanhe007.
There are few of them and only one is full, I've sent a request to add you to not yet full one. | 2019-01-14T07:20:45 | 2019-01-14T07:20:52 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,219,138 | 4,002 | filimonov | Can you provide some samples when Native 'beats' HTTP? With Native the client need to convert columns to rows by it's own, and it's hard to do that faster than Clickhouse itself. At the same time overhead of HTTP itself is minimal. Native gives better protocol features, i.e. you can exchange some extra metainformation ... | 2019-01-08T08:46:45 | 2019-01-08T08:48:23 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,835,544 | 3,209 | den-crane | так это все тоже самое что и #2827 и это исправлено давно. | 2019-01-13T14:46:16 | 2019-01-13T14:46:16 | {
"confused": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,914,209 | 4,050 | blinkov | How frequently do you insert? | 2019-01-14T06:51:40 | 2019-01-14T06:51:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,915,614 | 4,044 | ggservice007 | The WeChat group is full. My WeChat number is zhaoshanhe007.
@den-crane
How to do ?
| 2019-01-14T07:02:23 | 2019-01-14T07:05:15 | {} | NONE |
ClickHouse | ClickHouse | 452,351,083 | 4,004 | LeoErcolanelli | @filimonov Thanks a lot for the quick answer!
I will have a look at all the resources you linked.
In the meantime, regarding the use of a user level setting, how do you go on passing the value of the setting down to the implementation of the function ? It looks like today none of the functions do that yet. | 2019-01-08T15:59:36 | 2019-01-08T15:59:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,611,979 | 4,002 | filimonov | @ggservice007 What exactly is the problem?
Do you have any real (performance) issues with official https://github.com/yandex/clickhouse-jdbc driver? Otherwise, it sounds like attempts to fix the things that are not broken / make some premature optimizations.
In some usage scenarios, connection pools can be very ... | 2019-01-09T08:28:15 | 2019-01-09T08:29:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,708,420 | 1,403 | YuriyNasretdinov | > @filimonov , try using [chproxy](https://github.com/Vertamedia/chproxy). It must kill the query immediately after the client closes http connection.
Using proxy is of course an option but it seems that much more users would benefit from the feature if it was implemented in the server itself. | 2019-01-09T14:08:28 | 2019-01-09T14:08:28 | {
"+1": 3
} | NONE |
ClickHouse | ClickHouse | 453,038,562 | 4,021 | filimonov | > it cause my server crash down.
Most probably OOM killer is killing server due to high memory usage.
> How Do the sql run well?
You need to enable ondisk group by and order by. It can be done by setting up those 2 settings:
* `max_bytes_before_external_sort`
* `max_bytes_before_external_group_by`
Values ... | 2019-01-10T10:01:06 | 2019-01-10T10:02:13 | {
"+1": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,153,082 | 3,976 | snvad | Disabling this functionality solved my problem with OOM on versions 18.14.9 and 18.16.1
(my graphics with RAM are similar) | 2019-01-10T16:12:07 | 2019-01-10T16:12:07 | {} | NONE |
ClickHouse | ClickHouse | 453,300,069 | 4,026 | den-crane | >WHERE timestamp > now()-300
Your MV missing everything with timestamp older than 5 min. during insert. | 2019-01-10T23:28:48 | 2019-01-10T23:29:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,496,749 | 4,021 | lzy305 | Thank you. It work well | 2019-01-11T12:04:30 | 2019-01-11T12:04:30 | {} | NONE |
ClickHouse | ClickHouse | 453,916,338 | 4,044 | ggservice007 | @den-crane
Can not auto copy from old server to new cluster?
| 2019-01-14T07:07:49 | 2019-01-14T07:07:49 | {} | NONE |
ClickHouse | ClickHouse | 453,248,948 | 4,032 | chipitsine | I hope that I've found why it is failing. will submit PR tomorrow | 2019-01-10T20:51:38 | 2019-01-10T20:51:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,709,914 | 3,276 | qiyongbo | Buid fail on macOS,too.How to fix it?
[2567/3499] /usr/local/bin/g++-8 -DBOOST_SYSTEM_NO_DEPRECATED -DPOCO_STATIC -DPOCO_UNBUNDLED_ZLIB -DUNALIGNED_OK -DWITH_GZFILEOP -DX86_64 -DZLIB_COMPAT -I../dbms/src -Idbms/src -I../libs/libcommon/include -Ilibs/libcommon/include -I../contrib/zlib-ng -Icontrib/zlib-ng -I../cont... | 2019-01-12T01:57:36 | 2019-01-12T01:57:36 | {} | NONE |
ClickHouse | ClickHouse | 452,146,224 | 3,996 | ghost | Thank you @den-crane , I will try again as your advice. | 2019-01-08T01:50:22 | 2019-01-08T01:50:22 | {} | NONE |
ClickHouse | ClickHouse | 452,350,585 | 4,000 | alexey-milovidov | Let's name it `gccMurmurHash` :) | 2019-01-08T15:58:17 | 2019-01-08T15:58:17 | {} | MEMBER |
ClickHouse | ClickHouse | 453,532,593 | 4,032 | proller | /usr/bin/ld: cannot find -lstdc++ | 2019-01-11T14:24:49 | 2019-01-11T14:24:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,759,199 | 3,209 | den-crane | >ALTER TABLE errors_replicated_index ADD COLUMN testIds DEFAULT experiments
и с каким типом поле testIds добавилось? | 2019-01-12T16:08:05 | 2019-01-12T16:08:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,808,357 | 3,209 | orloffv | С таким же, как experiments.
Array(string) | 2019-01-13T07:24:17 | 2019-01-13T07:24:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,913,724 | 4,044 | ggservice007 | @den-crane @blinkov
It is not raw 200TB Data.
Now we have CH with a single server.
My question is how to create the cluster.
| 2019-01-14T06:47:49 | 2019-01-14T06:47:49 | {} | NONE |
ClickHouse | ClickHouse | 453,917,968 | 4,050 | ggservice007 | The MergeTree is ok.
ReplicatedMergeTree can not work even 70 items/s.
| 2019-01-14T07:20:13 | 2019-01-14T07:20:13 | {} | NONE |
ClickHouse | ClickHouse | 453,918,646 | 4,050 | blinkov | Do you insert those items in separate INSERT INTO statements? You are supposed to batch them, issue ~1 INSERT INTO per second with as many rows in it as you need/have. | 2019-01-14T07:25:06 | 2019-01-14T07:25:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 452,213,167 | 4,000 | alexey-milovidov | I'm interested, what is intended use case for it?
Because the hash function that is used in `libstdc++` for `std::unordered_map` is an implementation specific detail that is not exposed in documentation. It may change in future versions, and in fact, it was already changed at least one time (in earlier versions of g... | 2019-01-08T08:24:40 | 2019-01-08T08:24:40 | {} | MEMBER |
ClickHouse | ClickHouse | 452,600,996 | 4,002 | ggservice007 | @den-crane @filimonov
Any idea the HTTP JDBC with HikariCP.
光 HikariCP・A solid, high-performance, JDBC connection pool at last.
https://github.com/brettwooldridge/HikariCP
```xml
maximumPoolSize=100
minimumIdle=50
validationTimeout=5000
idleTimeout=60000
maxLifetime=120000
connectionTestQuery=SELECT 1... | 2019-01-09T07:41:17 | 2019-01-09T07:41:17 | {} | NONE |
ClickHouse | ClickHouse | 452,627,880 | 4,002 | ggservice007 | Why a lot of handlers?

| 2019-01-09T09:23:42 | 2019-01-09T09:23:42 | {} | NONE |
ClickHouse | ClickHouse | 452,917,722 | 3,770 | iameugenejo | I'm having the same issue with 18.5.1 | 2019-01-09T23:56:40 | 2019-01-09T23:56:40 | {} | NONE |
ClickHouse | ClickHouse | 453,032,527 | 3,198 | filimonov | > But still there is problem with netlink file descriptors open
>The number is constantly growing!
#4017 | 2019-01-10T09:42:02 | 2019-01-10T09:42:13 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,488,553 | 3,953 | healiseu | #### UPDATE
From the report above and from recent tests with my code I realized that the main reason for the incomplete state of `mutation update requests` is that **`where` conditions are dependent on resources that have not been available at the time of execution**.
For example (see above) if a new `mutation upd... | 2019-01-11T11:28:34 | 2019-01-11T11:28:34 | {} | NONE |
ClickHouse | ClickHouse | 453,514,876 | 3,852 | bgranvea | yes, we already tried this solution but we were disappointed by performances. I guess it is because we used a view containing the anyLastMerge and enable_optimize_predicate_expression was disabled at this time. So as soon as we queried the view with criteria, it performed badly.
I try to produce some benchmark resul... | 2019-01-11T13:21:55 | 2019-01-11T13:21:55 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,611,310 | 4,032 | proller | Good rule: delete CMakeCache.txt on every build system change | 2019-01-11T18:25:52 | 2019-01-11T18:25:52 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 453,758,456 | 4,044 | den-crane | >We have about 200TB data
200TB raw data in CSV or 200TB in single CH instance?
Do you have CH already?
>How to create the distributed table?
https://www.altinity.com/blog/2017/6/5/clickhouse-data-distribution
https://clickhouse.yandex/docs/en/operations/table_engines/distributed/
>If the one server disk ... | 2019-01-12T15:58:10 | 2019-01-12T15:58:23 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.