ck数据导出到csv文件 clickhouse-client -h 127.0.0.1 --database="db" --query="select * from db.test_table FORMAT CSV" > test.csv csv文件导入到ck数据库 clickhouse-clien ...
分类:
其他好文 时间:
2021-01-13 11:25:56
阅读次数:
0
错误: In aggregated query without GROUP BY, expression #3 of SELECT list contains nonaggregated column 'emsdb_pro.mainspareparts.CreationTime'; this is ...
分类:
数据库 时间:
2021-01-13 11:05:20
阅读次数:
0
一、手动安装 1、安装wine $ sudo add-apt-repository ppa:wine/wine-builds $ sudo apt-get update $ sudo apt-get install winehq-devel 或下载稳定版本 $ sudo apt-get instal ...
分类:
系统相关 时间:
2021-01-12 11:23:52
阅读次数:
0
参考官网文档: https://github.com/redisson/redisson 查看配置详细信息: https://github.com/redisson/redisson/wiki/Table-of-Content #step1 redisson知识: 一,可重用锁(Reentrant ...
分类:
其他好文 时间:
2021-01-12 10:58:48
阅读次数:
0
大纲 1. 多表查询 2. 事务 3. DCL 多表查询: * 查询语法: select 列名列表 from 表名列表 where.... * 准备sql # 创建部门表 CREATE TABLE dept( id INT PRIMARY KEY AUTO_INCREMENT, NAME VARCH ...
分类:
数据库 时间:
2021-01-12 10:49:54
阅读次数:
0
0.场景说明 centos7 mysql5.7 InnoDB引擎 0.1创建表 DROP TABLE IF EXISTS tbl_article_content; CREATE TABLE tbl_article_content ( id bigint(40) NOT NULL AUTO_INCRE ...
分类:
数据库 时间:
2021-01-11 11:20:40
阅读次数:
0
判断数据库字段不为空的语句: 判断 数据库字段 :不为空、 不为null 、不为" " ——使用语句: trim(columnA ) != '' select * from table where module='XX' and trim(columnA ) != '' (columnA is no ...
分类:
数据库 时间:
2021-01-11 11:16:56
阅读次数:
0
show processlist和show full processlist processlist命令的输出结果显示了有哪些线程在运行,不仅可以查看当前所有的连接数,还可以查看当前的连接状态帮助识别出有问题的查询语句等。( processlist 返回的结果是实时变化的,是对mysql链接执行的现 ...
分类:
数据库 时间:
2021-01-11 11:13:40
阅读次数:
0
实战2:使用selenium爬取淘宝数据,保存在mongodb 配置文件 MONGO_URL = 'localhost' MONGO_DB = 'taobao' MONGO_TABLE = 'yintiao' 爬虫文件 from selenium import webdriver from sele ...
分类:
数据库 时间:
2021-01-11 10:47:01
阅读次数:
0
1.检查配置文件 my.cnf 如果存在修改为如下值,没有则添加 innodb_large_prefix = 1 innodb_file_per_table = 1 innodb_file_format = Barracuda 2.修改建表语句,添加 row_format=dynamic drop ...
分类:
数据库 时间:
2021-01-11 10:41:29
阅读次数:
0