sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
create table
CREATE TABLE demo.replacemt (
key UInt32,
value UInt32
)
ENGINE = ReplacingMergeTree
ORDER BY keycreate database and table
CREATE DATABASE demo
CREATE TABLE demo.summt
(
key UInt32,
value UInt32
)
ENGINE = SummingMergeTree()| select concat(database, '.', table) as table, | |
| formatReadableSize(sum(bytes)) as size, | |
| sum(rows) as rows, | |
| max(modification_time) as latest_modification, | |
| sum(bytes) as bytes_size, | |
| any(engine) as engine, | |
| formatReadableSize(sum(primary_key_bytes_in_memory)) as primary_keys_size | |
| from system.parts | |
| where active | |
| group by database, table |
your docker network occupy the address of shared folder
| #!/bin/bash | |
| robo3t_path=https://download.robomongo.org/1.1.1/linux/robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz | |
| wget $robo3t_path | |
| sudo mv robo3t-*.tar.gz /opt | |
| cd /opt | |
| sudo tar -xf robo3t-*.tar.gz | |
| sudo rm robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* | |
| sudo ln -s /opt/robo3t-*/bin/robo3t /usr/local/bin/robo3t |
I was trying to install a new package vue-lazy-render (low star number I know...) to our TaaS front end project.
However, after I run npm install vue-lazy-render and waiting for several seconds, the package-lock.json is **CHANGED in many places **
I was wondering why this happens? AFAIK, the package-lock.json should lock my npm package version and should not change that frequently when I run npm install
docker ps -a | grep "cfb329be3a91" | awk '{ print $1 }' | xargs docker rm`
cfb329be3a91 : the image id
可能的原因