Loading

随笔分类 -  databases

摘要:Pymysql https://pymysql.readthedocs.io/en/latest/user/examples.html 官方文档 INSTALL $ python3 -m pip install PyMySQL #Requirements Python – one of the fo 阅读全文
posted @ 2020-07-18 20:06 Lust4Life
摘要:https://dev.mysql.com/doc/index-other.html https://github.com/datacharmer/test_db 阅读全文
posted @ 2020-07-18 17:12 Lust4Life
摘要:wget https://mirror.bit.edu.cn/apache/kafka/2.5.0/kafka_2.12-2.5.0.tgz tar xvf kafka_2.12-2.5.0.tgz ln -sv `pwd`/kafka_2.12-2.5.0 `pwd`/kafka cd kafak 阅读全文
posted @ 2020-07-16 10:37 Lust4Life
摘要:Neo4j数据库导入导出 Neo4j数据进行备份、还原、迁移的操作时,首先要关闭neo4j; neo4j status neo4j stop 如果仍旧运行,可以使用kill 杀死,关闭后确认无法从网页登录 执行导入导出操作: # 导出 neo4j-admin dump --database=grap 阅读全文
posted @ 2020-07-10 11:43 Lust4Life
摘要:##yum https://www.postgresql.org/download/linux/redhat/ https://wiki.postgresql.org/wiki/YUM_Installation # Install the repository RPM: yum install ht 阅读全文
posted @ 2020-06-15 19:41 Lust4Life
摘要:##1 #命令行模式下动态修改 select curtime(); #或select now()也可以 show variables like "%time_zone%"; #time_zone说明mysql使用system的时区,system_time_zone说明system使用CST时区 #修 阅读全文
posted @ 2020-05-29 19:24 Lust4Life 阅读(1022) 评论(0) 推荐(0)
摘要:ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this st 阅读全文
posted @ 2020-04-02 10:41 Lust4Life 阅读(343) 评论(1) 推荐(0)
摘要:安装 实验成功的aof方式 redis集群搭建 https://blog.csdn.net/qq_42815754/article/details/82912130 阅读全文
posted @ 2020-03-16 10:39 Lust4Life 阅读(433) 评论(0) 推荐(0)
摘要:2个kafka群托管4个分区(P0 p3),2个消费者组,a 消费实例2个 Kafka的使用场景 阅读全文
posted @ 2020-03-14 17:29 Lust4Life 阅读(170) 评论(0) 推荐(0)
摘要:apt方式安装 官网参考: https://dev.mysql.com/doc/mysql apt repo quick guide/en/ 执行命令: 出现图形话界面 选择第一个然后修改数据库版本为5.7 ok 确定 卸载 阅读全文
posted @ 2020-02-27 16:42 Lust4Life 阅读(154) 评论(0) 推荐(0)
摘要:```python #!/bin/env python3 #import os #os.system("mysql -uai -pai -e 'use ipd_db; desc m_method_type ' > ipd_db.tables") import os with open('data_in') as f: for line in f.readlines(): # print(line. 阅读全文
posted @ 2020-02-27 16:15 Lust4Life 阅读(494) 评论(0) 推荐(0)
摘要:mongodb 面向文档的数据库,不是关系型数据库 横向扩展:通过分区将数据数据分散到更多的机器上 (纵向扩展:使用计算能力更强的机器) 优势 MongoDB 相比 RDBMS 的优势 模式较少:MongoDB 是一种文档数据库,一个集合可以包含各种不同的文档。每个文档的字段数、内容以及文档大小都可 阅读全文
posted @ 2020-01-16 17:57 Lust4Life
该文被密码保护。
posted @ 2020-01-06 09:17 Lust4Life 阅读(0) 评论(0) 推荐(0)
摘要:##安装 https://neo4j.com/download-center/#community 配置最大打开文件数 vim /etc/security/limits.conf * soft nofile 204800 * hard nofile 204800 * soft nproc 20480 阅读全文
posted @ 2019-12-16 18:12 Lust4Life 阅读(166) 评论(0) 推荐(0)
摘要:https://github.com/sumitchawla/docker vertica You can either pull the image from Docker Registry using following command: docker pull sumitchawla/vert 阅读全文
posted @ 2019-10-18 18:25 Lust4Life 阅读(420) 评论(0) 推荐(0)
摘要:安装redis redis desktop manager远程连接redis https://snapcraft.io/redis desktop manager redis 主从哨兵 https://www.cnblogs.com/jaycekon/p/6237562.html 哨兵集群 基于Do 阅读全文
posted @ 2019-10-18 16:35 Lust4Life 阅读(311) 评论(0) 推荐(0)
摘要:http2.4 http2.2 数据库 !/bin/bash ifubuntu=$(cat /proc/version | grep ubuntu) if14=$(cat /etc/issue | grep 14) if [ == "x86_64" ];then machine=x86_64 els 阅读全文
posted @ 2019-10-05 09:53 Lust4Life
摘要:一,vertica 来源: https://github.com/sumitchawla/docker vertica 二,greenplum 单机安装的记录:z重要 阅读全文
posted @ 2019-09-17 16:58 Lust4Life 阅读(709) 评论(0) 推荐(0)
摘要:一,下载 步骤1 从链接下载所需的VM版本,http://downloads.teradata.com/download/database/teradata express for vmware player 步骤2 提取文件并指定目标文件夹。使用7z 解压下载的压缩文件到指定目录 步骤3 从链接h 阅读全文
posted @ 2019-09-16 16:15 Lust4Life 阅读(1536) 评论(0) 推荐(0)
摘要:一 ,mysql下载 需要注册,可以通过组合url越过注册下载需要的包。 下载地址: https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz 或 wget https://dev. 阅读全文
posted @ 2019-09-13 16:29 Lust4Life 阅读(6401) 评论(0) 推荐(0)