bug_x

导航

 
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 43 下一页

2020年8月3日

摘要: 1、文件夹/tmp/001 /tmp/002 问题:、 1、查看2个文件夹不同的文件; tree -C directory1 directory2 ## -C 标记有颜色 ls directory1 directory2 2、 diff的使用: diff -r directory1 director 阅读全文
posted @ 2020-08-03 09:19 bug_x 阅读(3976) 评论(0) 推荐(0) 编辑
 

2020年7月30日

摘要: 1、环境:docker-desktop 2、docker已安装 3、安装Portainer : 1、docker pull portainer/portainer2、docker run -d -p 19000:9000 -v //var/run/docker.sock:/var/run/docke 阅读全文
posted @ 2020-07-30 11:51 bug_x 阅读(291) 评论(0) 推荐(0) 编辑
 

2020年7月29日

摘要: 原文链接: https://anjia0532.github.io/2019/07/22/sdc-jdbc-full-mode/ 实际上在官方文档有讲 Full and Incremental Mode 主要看提示(Tip)部分,如果只想执行一次查询后就停止 pipeline,应该配置 origin 阅读全文
posted @ 2020-07-29 00:20 bug_x 阅读(1209) 评论(0) 推荐(0) 编辑
 

2020年7月28日

摘要: 相关函数请参考官方网站:https://clickhouse.tech/docs/zh/sql-reference/functions/date-time-functions/行列转置一般由由行转为列,或者由列转为行。 CREATE TABLE datasets.t_city ( `province 阅读全文
posted @ 2020-07-28 23:04 bug_x 阅读(9021) 评论(0) 推荐(0) 编辑
 
摘要: 客户端链接工具clickhouse-client -m -u root -p root --大小写敏感的CREATE TEMPORARY TABLE IF NOT EXISTS test.member_new_simple2 ENGINE = Memory AS SELECT ID,user_id, 阅读全文
posted @ 2020-07-28 23:01 bug_x 阅读(7009) 评论(0) 推荐(0) 编辑
 

2020年7月27日

摘要: mysqldump可以选择使用多值插入打开或关闭。您可以根据自己的喜好执行以下任一操作: 每个值单独插入语句: mysqldump -t -h192.168.212.128 -P3306 --default-character-set=utf8 --skip-extended-insert -uro 阅读全文
posted @ 2020-07-27 22:58 bug_x 阅读(295) 评论(0) 推荐(0) 编辑
 
摘要: 原文链接:http://www.520mwx.com/view/90469 45亿数据迁移记录 背景 数据库数据量日益增加,逐渐开始显得很是臃肿,日常查询统计的时候,仅仅是count(1) 查询下总数,耗费的时间也在500s左右,而且之前的orcle数据库,前期建立的时候,也未考虑太多,未进行索引, 阅读全文
posted @ 2020-07-27 22:55 bug_x 阅读(4203) 评论(0) 推荐(0) 编辑
 
摘要: 1、 --导入数据: CREATE TABLE FactSaleOrders ENGINE = MergeTree ORDER BY OrderID AS SELECT * FROM mysql('10.42.134.136:4000', 'dbname', 'tableName', 'root', 阅读全文
posted @ 2020-07-27 22:51 bug_x 阅读(8451) 评论(0) 推荐(1) 编辑
 
摘要: ClickHouse MySQL Comment UInt8, UInt16, UInt32, UInt64 TINYINT UNSIGNED, SMALLINT UNSIGNED, INT UNSIGNED, BIGINT UNSIGNED Int8, Int16, Int32, Int64 TI 阅读全文
posted @ 2020-07-27 22:39 bug_x 阅读(3899) 评论(0) 推荐(0) 编辑
 

2020年7月22日

摘要: 1、下载maven 包windows 并配置全局路径 http://maven.apache.org/download.cgi 2、在当前目录下创建pom.xml 执行命令: mvn dependency:copy-dependencies -DoutputDirectory=lib -Dinclu 阅读全文
posted @ 2020-07-22 22:16 bug_x 阅读(106) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 43 下一页