mybatisXMLsql: 查询: <select id="selectQiMoInfo" resultMap="BaseResultMap"> select * from qimow; </select> 批量插入: <insert id ="insertBatch" parameterType ...
分类:
其他好文 时间:
2021-01-30 11:47:39
阅读次数:
0
1 写完SQL先explain 查看执行计划 写完SQL,用explain分析一下,尤其注意走不走索引 explain select userid,name,age from user where userid=10086 or age=18; 2操作delete或者update语句,加个limit ...
分类:
数据库 时间:
2021-01-28 11:55:05
阅读次数:
0
1.父域页面(a.html):act/msg/evalStr 为自定义属性 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> </head> <body> <input type ...
分类:
其他好文 时间:
2021-01-25 11:20:46
阅读次数:
0
1、基本命令 select bar(number,0,4) from numbers(4); select now(); 数据导入:cat t.tsv| clickhouse-client --query "insert into t from tsv" 数据导出:clickhouse-client ...
分类:
其他好文 时间:
2021-01-25 10:52:34
阅读次数:
0
一、复制表中数据 INSERT INTO agent(`agent_id`, `agent_type_id`, `product_no`, `yaml`, `is_anysc`, `status`, `create_time`, `update_time`) SELECT (SELECT UUID( ...
分类:
数据库 时间:
2021-01-25 10:37:33
阅读次数:
0
es集群写性能压测几个影响点1、插入方式:es支持单条和批量bulk,bulk在测试工具中用的比较多,需要注意bulk的size,以及bulk client的数量比如esrally中以http_logs的日志类型为例 2、doc的数据类型mapping中包含的数据类型、单条doc的长度比如esral ...
分类:
其他好文 时间:
2021-01-21 10:49:17
阅读次数:
0
常用dos命令 #盘符切换 #查看当前目录下的所有文件 dir #切换目录 cd (change directory) cd ..#退到上一层目录 cls #清理屏幕 (clear screen) exit #退出终端 ipconfig #查看电脑的ip #打开应用 calc 计算器 mspaint ...
分类:
编程语言 时间:
2021-01-19 12:29:22
阅读次数:
0
D. Divide and Summarize 题意 给你n个数,q次询问,问你能否具有满足和为s的序列。 思路 再求其有多少种和时需要使用$mid = max + min >> 1$来寻找有多少种和。 然后dfs,但是需要判断一下左面或者右面全部相等情况,否则会爆栈 #include<bits/s ...
分类:
其他好文 时间:
2021-01-19 12:24:43
阅读次数:
0
数据准备 数据表 CREATE TABLE `teacher`( id INT(10) NOT NULL, `name` VARCHAR(30) DEFAULT NULL, PRIMARY KEY (id) ) ENGINE=INNODB DEFAULT CHARSET=utf8; INSERT I ...
分类:
其他好文 时间:
2021-01-19 12:04:22
阅读次数:
0
INSERT IGNORE 与INSERT INTO的区别就是INSERT IGNORE会忽略数据库中已经存在 的数据,如果数据库没有数据,就插入新的数据,如果有数据的话就跳过这条数据。这样就可以保留数据库中已经存在数据,达到在间隙中插入数据的目的。 eg: insert ignore into t ...
分类:
其他好文 时间:
2021-01-19 11:46:25
阅读次数:
0