Merge pull request #20468 from ClickHouse/speedup-memory

Performance improvement of StorageMemory by Nikolai Kochetov
This commit is contained in:
alexey-milovidov 2021-02-14 06:07:04 +03:00 committed by GitHub
commit d39398baa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,8 @@ public:
/// Smaller blocks (e.g. 64K rows) are better for CPU cache.
bool prefersLargeBlocks() const override { return false; }
bool hasEvenlyDistributedRead() const override { return true; }
BlockOutputStreamPtr write(const ASTPtr & query, const StorageMetadataPtr & metadata_snapshot, const Context & context) override;
void drop() override;