Size: a a a

ClickHouse не тормозит

2020 June 09

NN

Nick Nizovtsev in ClickHouse не тормозит
спасибо!
источник

NN

Nick Nizovtsev in ClickHouse не тормозит
To start recovery, create the ZooKeeper node /path_to_table/replica_name/flags/force_restore_data with any content
источник

NN

Nick Nizovtsev in ClickHouse не тормозит
создал файл в контейнере кликхауса touch /var/lib/clickhouse/flags/force_restore_data
источник

NN

Nick Nizovtsev in ClickHouse не тормозит
но чтото ничего не происходит
источник

S

Shazo in ClickHouse не тормозит
Вы потеряли данные зукипера, вы не можете восстановить из него
источник

S

Shazo in ClickHouse не тормозит
Смотрите варианты без зукипера
источник

SD

Stanislav Dimitriev in ClickHouse не тормозит
привет
источник

SD

Stanislav Dimitriev in ClickHouse не тормозит
а какие функции можно использовать для того, чтобы максимально быстро понять если строки в указанном условии?
источник

l

lnuynxa in ClickHouse не тормозит
Stanislav Dimitriev
а какие функции можно использовать для того, чтобы максимально быстро понять если строки в указанном условии?
проверить существует ли строки удовлетворяющие WHERE ?
источник

NN

Nick Nizovtsev in ClickHouse не тормозит
как удалить ReplicatedMergeTree когда она не вяжется с ZooKeeper?
источник

NN

Nick Nizovtsev in ClickHouse не тормозит
пишет DB::Exception: Received from localhost:9000. DB::Exception: Can't drop readonly replicated table (need to drop data in ZooKeeper as well).
источник

TM

Tim Mustafin in ClickHouse не тормозит
Nick Nizovtsev
как удалить ReplicatedMergeTree когда она не вяжется с ZooKeeper?
В доке есть инструкция как переделать в mergetree
либо можно снести в директории с данными кликхауса
источник

TM

Tim Mustafin in ClickHouse не тормозит
(надеюсь не вредные советы раздаю)
источник

NN

Nick Nizovtsev in ClickHouse не тормозит
я сделал таблицу с другим именем MergeTree но Replicated удалить же надо
источник

NN

Nick Nizovtsev in ClickHouse не тормозит
чтобы затем старое имя можно было использовать
источник

OM

Oleksii Mylotskyi in ClickHouse не тормозит
А подскажите плизз, почему может вылетать ExternalDictionaryLoader в последней версии КХ ?

0. Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x104191d0 in /usr/bin/clickhouse
1. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x8fff8ad in /usr/bin/clickhouse
2. ? @ 0x916cef4 in /usr/bin/clickhouse
3. DB::ComplexKeyHashedDictionary::loadData() @ 0xace857e in /usr/bin/clickhouse
4. DB::ComplexKeyHashedDictionary::ComplexKeyHashedDictionary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::DictionaryStructure const&, std::__1::unique_ptr<DB::IDictionarySource, std::__1::default_delete<DB::IDictionarySource> >, DB::ExternalLoadableLifetime, bool, std::__1::shared_ptr<DB::Block>) @ 0xace8972 in /usr/bin/clickhouse
5. ? @ 0xace8f4e in /usr/bin/clickhouse
6. DB::DictionaryFactory::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Poco::Util::AbstractConfiguration const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context const&, bool) const @ 0xcc2e579 in /usr/bin/clickhouse
7. DB::ExternalDictionariesLoader::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Poco::Util::AbstractConfiguration const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const @ 0xd04bc4e in /usr/bin/clickhouse
8. DB::ExternalLoader::createObject(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::ExternalLoader::ObjectConfig const&, std::__1::shared_ptr<DB::IExternalLoadable const> const&) const @ 0xd04cb50 in /usr/bin/clickhouse
9. DB::ExternalLoader::LoadingDispatcher::doLoading(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool) @ 0xd056a5e in /usr/bin/clickhouse
10. ThreadFromGlobalPool::ThreadFromGlobalPool<void (DB::ExternalLoader::LoadingDispatcher::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool), DB::ExternalLoader::LoadingDispatcher*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, unsigned long&, bool&, unsigned long&, bool>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool), DB::ExternalLoader::LoadingDispatcher*&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, unsigned long&, bool&, unsigned long&, bool&&)::'lambda'()::operator()() const @ 0xd050bac in /usr/bin/clickhouse
11. ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0x902526b in /usr/bin/clickhouse
12. ? @ 0x9023753 in /usr/bin/clickhouse
13. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
14. clone @ 0x12188f in /lib/x86_64-linux-gnu/libc-2.27.so
источник

TM

Tim Mustafin in ClickHouse не тормозит
Nick Nizovtsev
чтобы затем старое имя можно было использовать
в /var/lib/clickhouse/data можно найти метаданные и данные (соответствующие директории) и удалить
источник

OM

Oleksii Mylotskyi in ClickHouse не тормозит
Oleksii Mylotskyi
А подскажите плизз, почему может вылетать ExternalDictionaryLoader в последней версии КХ ?

0. Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x104191d0 in /usr/bin/clickhouse
1. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x8fff8ad in /usr/bin/clickhouse
2. ? @ 0x916cef4 in /usr/bin/clickhouse
3. DB::ComplexKeyHashedDictionary::loadData() @ 0xace857e in /usr/bin/clickhouse
4. DB::ComplexKeyHashedDictionary::ComplexKeyHashedDictionary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::DictionaryStructure const&, std::__1::unique_ptr<DB::IDictionarySource, std::__1::default_delete<DB::IDictionarySource> >, DB::ExternalLoadableLifetime, bool, std::__1::shared_ptr<DB::Block>) @ 0xace8972 in /usr/bin/clickhouse
5. ? @ 0xace8f4e in /usr/bin/clickhouse
6. DB::DictionaryFactory::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Poco::Util::AbstractConfiguration const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context const&, bool) const @ 0xcc2e579 in /usr/bin/clickhouse
7. DB::ExternalDictionariesLoader::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Poco::Util::AbstractConfiguration const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const @ 0xd04bc4e in /usr/bin/clickhouse
8. DB::ExternalLoader::createObject(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::ExternalLoader::ObjectConfig const&, std::__1::shared_ptr<DB::IExternalLoadable const> const&) const @ 0xd04cb50 in /usr/bin/clickhouse
9. DB::ExternalLoader::LoadingDispatcher::doLoading(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool) @ 0xd056a5e in /usr/bin/clickhouse
10. ThreadFromGlobalPool::ThreadFromGlobalPool<void (DB::ExternalLoader::LoadingDispatcher::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool), DB::ExternalLoader::LoadingDispatcher*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, unsigned long&, bool&, unsigned long&, bool>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool), DB::ExternalLoader::LoadingDispatcher*&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, unsigned long&, bool&, unsigned long&, bool&&)::'lambda'()::operator()() const @ 0xd050bac in /usr/bin/clickhouse
11. ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0x902526b in /usr/bin/clickhouse
12. ? @ 0x9023753 in /usr/bin/clickhouse
13. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
14. clone @ 0x12188f in /lib/x86_64-linux-gnu/libc-2.27.so
Может ли быть такое что на загрузку словаря, нужно больше памяти чем где-то выделено ?
источник
2020 June 10

ДГ

Дима Гуманов... in ClickHouse не тормозит
Парни, почему может быть такое, что когда делаешь dictGet ругается на DEFAULT: Authentication failed, при этом все остальные запросы робят нормально
источник

ДГ

Дима Гуманов... in ClickHouse не тормозит
Собственно использую дефолтного пользователя без явок и паролей, все словари на clickhouse(не внешние)
источник