随笔分类 - 数据库
数据库学习
摘要: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...
阅读全文
摘要:参考: es-sql: https://github.com/NLPchina/elasticsearch-sql/releases 执行SQL语句SearchDao org.nlpcn.es4sql.SearchDao.SearchDaosearchDao.explain(sqlStr).expl
阅读全文
摘要:参考: https://www.progress.com/blogs/jdbc-tutorial-extracting-database-metadata-via-jdbc-driver http://blog.itpub.net/30246303/viewspace-2138852/
阅读全文
摘要:参考: https://dzone.com/articles/how-use-linkedin-market-your 表空间信息 https://coderanch.com/t/300498/databases/Java-find-List-tablespaces-database getCata
阅读全文
摘要:问题: 一个界面有个多个文本框输入值(或下拉框)展示的查询条件,也就是组合条件查询,需要在java里面动态拼接SQL,where条件如何写? 解决思路: 在where关键字后面固定写 1=1, 若还有其他条件,直接拼接 " and 条件 "。
阅读全文
摘要:参考:https://docs.pivotal.io/search?q=function
阅读全文
摘要:涉及的索引表 参考:http://blog.nbhao.org/1539.html 获取 某个数据表 所有的索引(主表索引&&分区表索引)
阅读全文
摘要:raise notice 'just a simple output msg';
阅读全文
摘要:drop external table if exists tableName;
阅读全文
摘要:参考: https://stackoverflow.com/questions/7389416/postgresql-how-to-pass-parameters-from-command-line https://blog.csdn.net/dazuiba008/article/details/7
阅读全文
摘要:mysql, shell脚本中执行sql脚本并传递参数
阅读全文
摘要: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"#
阅读全文

浙公网安备 33010602011771号