随笔分类 -  数据库

1
数据库学习
摘要:1. canal 2. 数据同步 阅读全文
posted @ 2020-08-18 14:42 lvlin241 阅读(167) 评论(0) 推荐(0) 编辑
摘要:hadoop镜像下载 阅读全文
posted @ 2020-07-13 15:52 lvlin241 阅读(1007) 评论(0) 推荐(0) 编辑
摘要:MyCat Mycat 简介 阅读全文
posted @ 2019-11-24 16:27 lvlin241 阅读(78) 评论(0) 推荐(0) 编辑
摘要:参考 : https://www.cnblogs.com/jins-note/p/9513448.html 阅读全文
posted @ 2019-11-13 17:59 lvlin241 阅读(691) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/JohnsonLiu/p/11465973.html 阅读全文
posted @ 2019-09-26 11:21 lvlin241 阅读(685) 评论(0) 推荐(0) 编辑
摘要:1、常见时序数据库 参考:https://www.influxdata.com/time-series-database/#rankinghttps://db-engines.com/en/ 2、时序数据库 riakTS (分布式 时序数据库) 特点 设置过期类型:http://docs.basho.com/riak/ts/1.5.2/using/delet... 阅读全文
posted @ 2019-02-21 21:00 lvlin241 阅读(680) 评论(0) 推荐(0) 编辑
摘要:参考: es-sql: https://github.com/NLPchina/elasticsearch-sql/releases 执行SQL语句SearchDao org.nlpcn.es4sql.SearchDao.SearchDaosearchDao.explain(sqlStr).expl 阅读全文
posted @ 2019-02-21 20:50 lvlin241 阅读(3626) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.alberton.info/postgresql_meta_info.html https://my.oschina.net/Kenyon/blog/226600 阅读全文
posted @ 2019-02-21 20:48 lvlin241 阅读(1198) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.progress.com/blogs/jdbc-tutorial-extracting-database-metadata-via-jdbc-driver http://blog.itpub.net/30246303/viewspace-2138852/ 阅读全文
posted @ 2019-02-21 20:25 lvlin241 阅读(663) 评论(0) 推荐(0) 编辑
摘要:参考: https://dzone.com/articles/how-use-linkedin-market-your 表空间信息 https://coderanch.com/t/300498/databases/Java-find-List-tablespaces-database getCata 阅读全文
posted @ 2019-02-21 20:06 lvlin241 阅读(1825) 评论(0) 推荐(0) 编辑
摘要:参考: http://youzhixueyuan.com/index-principle-and-slow-query-optimization-of-mysql.html 阅读全文
posted @ 2019-01-28 21:08 lvlin241 阅读(86) 评论(0) 推荐(0) 编辑
摘要:问题: 一个界面有个多个文本框输入值(或下拉框)展示的查询条件,也就是组合条件查询,需要在java里面动态拼接SQL,where条件如何写? 解决思路: 在where关键字后面固定写 1=1, 若还有其他条件,直接拼接 " and 条件 "。 阅读全文
posted @ 2018-09-05 10:20 lvlin241 阅读(4016) 评论(0) 推荐(0) 编辑
摘要:参考:https://docs.pivotal.io/search?q=function 阅读全文
posted @ 2018-08-01 09:47 lvlin241 阅读(3125) 评论(0) 推荐(0) 编辑
摘要:参考: http://francs3.blog.163.com/blog/static/4057672720125231223786/ 阅读全文
posted @ 2018-07-31 15:16 lvlin241 阅读(869) 评论(0) 推荐(0) 编辑
摘要:涉及的索引表 参考:http://blog.nbhao.org/1539.html 获取 某个数据表 所有的索引(主表索引&&分区表索引) 阅读全文
posted @ 2018-07-31 10:54 lvlin241 阅读(345) 评论(0) 推荐(0) 编辑
摘要:drop external table if exists tableName; 阅读全文
posted @ 2018-07-16 17:40 lvlin241 阅读(1169) 评论(0) 推荐(0) 编辑
摘要:参考: https://stackoverflow.com/questions/7389416/postgresql-how-to-pass-parameters-from-command-line https://blog.csdn.net/dazuiba008/article/details/7 阅读全文
posted @ 2018-07-08 16:18 lvlin241 阅读(4885) 评论(0) 推荐(0) 编辑
摘要:mysql, shell脚本中执行sql脚本并传递参数 阅读全文
posted @ 2018-07-08 16:03 lvlin241 阅读(14107) 评论(0) 推荐(0) 编辑
摘要:1、sql脚本(t.sql) 2、shell脚本(a.sh 为方便说明,a.sh与t.sql在同一目录下) 说明:3种执行方式,后两行也可以(已注释,感兴趣可以尝试下) #!/bin/sh mysql -u root < t.sql# mysql -u root -e "source t.sql"# 阅读全文
posted @ 2018-07-08 15:17 lvlin241 阅读(10612) 评论(0) 推荐(0) 编辑
摘要:1、mysql 数据库表信息 2、shell脚本(a.sh)信息 3、执行 ./a.sh 4、 执行结果 阅读全文
posted @ 2018-07-08 15:06 lvlin241 阅读(9278) 评论(0) 推荐(0) 编辑

1
点击右上角即可分享
微信分享提示