Giter Site home page Giter Site logo

clickhouse's Introduction

clickhouse

Springboot clickhouse

avatar

[文章地址 :https://blog.csdn.net/qq_15371293/article/details/117090780]

[ClickHouse安装使用Centos7环境 :https://blog.csdn.net/qq_15371293/article/details/117018036]

注意的是只有MergeTree系列的表引擎才支持主键索引,数据分区,数据副本,数据采样这样的特性,只有此系列的表引擎才支持ALTER操作。

MergeTree表引擎在写入一批数据的时候,数据总会以数据片段的形式写入磁盘,并且数据片段不可修改。为了避免片段过多,clickhouse会通过后台的的线程,定期合并这些数据片段,属于不同分区的数据片段会被合并成一个新的片段,这就是MergeTree的基本特点。

MergeTree家族中还有其他表引擎是在它的基础上进行扩展,例如ReplacingMergeTree表引擎具有删除重复数据的特性;SummingMergeTree表引擎则会按照排序键自动聚合数据。加上Replicated前缀,又会得到一组支持数据副本的表引擎,例如ReplicatedMergeTree、ReplicatedReplacingMergeTRee、ReplicatedSummingMergeTree等。可以看出MergeTree是根基,只有吃透了MergeTree表引擎的原理,就能掌握该系列引擎的精髓

SpringBoot + Mybatis-puls + ClickHouse (分页查询、添加、修改、删除)

clickhouse's People

Contributors

cn-byte avatar

Stargazers

李森林 avatar  avatar 有梦想的咸鱼 avatar huwei001 avatar yuanmomo avatar CroceIt avatar  avatar  avatar  avatar  avatar d4c avatar  avatar Tony avatar yuk avatar Chan avatar  avatar  avatar  avatar  avatar orichisonic avatar xiaoyu avatar Gary avatar  avatar  avatar Jack Xu avatar LiuXiongKang avatar  avatar leon avatar  avatar  avatar 红桃k avatar James avatar  avatar

Watchers

 avatar

clickhouse's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.