This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../cool-clock/cool-clock.html" rel="import"> | |
<link href="../ace-element/ace-element.html" rel="import"> | |
<link href="../smoothie-chart/smoothie-chart.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../core-drawer-panel/core-drawer-panel.html" rel="import"> | |
<link href="../cool-clock/cool-clock.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../chart-js/chart-js.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Storages/MergeTree/MergeTreeBlockInputStream.h> | |
#include <Storages/MergeTree/MergeTreeBaseBlockInputStream.h> | |
#include <Storages/MergeTree/MergeTreeReader.h> | |
#include <Core/Defines.h> | |
namespace DB | |
{ | |
namespace ErrorCodes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @note you could simply swap `reverse` in if and else branches of MergeTreeDataSelectExecutor, | |
* and remove this reverse. */ | |
MarkRanges remaining_mark_ranges = all_mark_ranges; | |
std::reverse(remaining_mark_ranges.begin(), remaining_mark_ranges.end()); | |
auto size_predictor = (preferred_block_size_bytes == 0) | |
? nullptr | |
: std::make_unique<MergeTreeBlockSizePredictor>(data_part, ordered_names, data_part->storage.getSampleBlock()); | |
task = std::make_unique<MergeTreeReadTask>( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "DictionarySourceFactory.h" | |
#include <Columns/ColumnsNumber.h> | |
#include <Core/Block.h> | |
#include <Core/ColumnWithTypeAndName.h> | |
#include <DataTypes/DataTypeNullable.h> | |
#include <DataTypes/DataTypesNumber.h> | |
#include <Poco/Logger.h> | |
#include <common/logger_useful.h> | |
#include "DictionaryStructure.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- cache layout dictionary from ClickHouse | |
CREATE DICTIONARY cache_dict ( | |
field1 String DEFAULT 'nothing', | |
field2 UInt8 HIERARCHICAL true EXPRESSION 'rand() % 100', | |
KEY key1 UInt64 | |
) | |
SOURCE=ClickHouse(host='example01-01-1', port=9000, user='default', db='default', table='sometable'), | |
LAYOUT=Cache(size_in_cells=10000000), | |
LIFETIME=Lifetime(10, 100); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020.04.01 07:22:44.550808 [ 387 ] {} <Trace> test_o0wjsc.distributed_01099_b.DirectoryMonitor: Started processing `/var/lib/clickhouse/data/test_o0wjsc/distributed_01099_b/default@127%2E0%2E0%2E2:9000/1.bin` | |
2020.04.01 07:22:44.551884 [ 210 ] {} <Trace> BaseDaemon: Received signal 11 | |
2020.04.01 07:22:44.552139 [ 2564 ] {} <Fatal> BaseDaemon: ######################################## | |
2020.04.01 07:22:44.552188 [ 2564 ] {} <Fatal> BaseDaemon: (version 20.4.1.2858 (official build)) (from thread 387) (no query) Received signal Segmentation fault (11). | |
2020.04.01 07:22:44.552227 [ 2564 ] {} <Fatal> BaseDaemon: Address: 0x20 Access: read. Address not mapped to object. | |
2020.04.01 07:22:44.552245 [ 2564 ] {} <Fatal> BaseDaemon: Stack trace: 0xbcba6ec 0xbcbc9f4 0x7aa520a 0xbab5f10 0xbab8969 0xbab8ee0 0xbabc667 0x79f097d 0xc50e8d4 0x7ff22d9b8669 0x7ff22dc50323 | |
2020.04.01 07:22:44.553158 [ 2564 ] {} <Fatal> BaseDaemon: 3. /build/obj-x86_64-linux-gnu/../dbms/src/IO/ReadBuffer.h:59: DB::Connection::ping() @ 0xbcba6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.04.01 06:50:44.747029 [ 193 ] {} <Trace> BaseDaemon: Received signal 11 | |
2020.04.01 06:50:44.747902 [ 629 ] {} <Fatal> BaseDaemon: ######################################## | |
2020.04.01 06:50:44.748236 [ 629 ] {} <Fatal> BaseDaemon: (version 20.4.1.2857 (official build)) (from thread 253) (query_id: 9d62dcac-9f10-45a3-a9a0-7223b4980cf6) Received signal Segmentation fault (11). | |
2020.04.01 06:50:44.748524 [ 629 ] {} <Fatal> BaseDaemon: Address: NULL pointer. Access: read. Unknown si_code. | |
2020.04.01 06:50:44.748671 [ 629 ] {} <Fatal> BaseDaemon: Stack trace: 0x155bce83 0x155bce25 0x248653e8 0x24864d82 0x24864451 0x156d6503 0x1551d4b2 0x15546853 0x15546400 0x1f96032f 0x1f99161d 0x1f9912ec 0x1e01576f 0x1dfee00f 0x1e3fae0e 0x1dfee00f 0x1e03b4e9 0x1e037c92 0x1e03af45 0x1e03ae12 0x1e03ad88 0x1e03ac4e 0x1e03abb3 0x1e03ab33 0x1e03aaf3 0x1e039485 0x1553f552 0x1553d3eb | |
2020.04.01 06:50:44.750472 [ 629 ] {} <Fatal> BaseDaemon: 4. /build/obj-x86_64-linux-gnu/../contrib/poco/Foundation/include/Poco/AtomicCounter.h:302: Poco: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./clickhouse-client --query "SELECT * from system.numbers ORDER BY number" -- --max_memory_usage=1 | |
Received exception from server (version 20.4.1): | |
Code: 241. DB::Exception: Received from localhost:9000. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 4203136 bytes), maximum: 1.00 B. | |
./clickhouse-client --query "SELECT * from system.numbers ORDER BY number SETTINGS max_memory_usage=1" |
OlderNewer