摘要: 1.安装virtualenv:pip install virtualenv 或者 yum install python-virtualenv或者pip --default-timeout=100 install -U virtualenv2.创建python虚拟环境: virtualenv [虚拟环 阅读全文
posted @ 2020-04-14 19:07 欧阳少璟 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-07-23 08:00 欧阳少璟 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 在执行 sh xxxx.sh的时候报错:DB21005E An error occurred while accessing the file "xxxxxx" 解决: xxxx.sh脚本的编码格式错误,需要将编码格式Dos转换成UNIX编码格式。 然后重新执行脚本即可。 阅读全文
posted @ 2021-03-25 20:05 欧阳少璟 阅读(1316) 评论(0) 推荐(0) 编辑
摘要: 1 问题: 2 一次在用db2 -v "load from ${filepath}/table.ixf of ixf replace into xx.table partitioned db config mode load_only_verify_part part_file_location $ 阅读全文
posted @ 2020-12-10 16:49 欧阳少璟 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 在db2数据库中,如果在执行call load_big_data('select * from A ','AA'),报错如下: SQL3107W 在load处理期间至少遇到一条警告消息。 原因:这是因为在select执行中,有字段超长的,导致该条数据load失败,所以会报此错。 解决:对比A表和AA 阅读全文
posted @ 2020-12-07 14:40 欧阳少璟 阅读(2687) 评论(0) 推荐(0) 编辑
摘要: 原因是:字符集的问题。 处理:在执行脚本中加入:-Dfile.encoding=gb18030 -Ddb2.jcc.charsetDecoderEncoder=3 例如:$JAVA_HOME/bin/java -Dfile.encoding=gb18030 -Ddb2.jcc.charsetDeco 阅读全文
posted @ 2020-11-16 18:55 欧阳少璟 阅读(7533) 评论(0) 推荐(0) 编辑
摘要: 1.添加插件:pom.xml-->build-->plugins 中添加 <!-- mybatis generator 自动生成代码插件 --> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generat 阅读全文
posted @ 2020-04-25 16:41 欧阳少璟 阅读(304) 评论(0) 推荐(0) 编辑
摘要: db2 "backup db 数据库名 tablespace (表空间名字) online to /dev/null without prompting" 阅读全文
posted @ 2020-04-24 19:18 欧阳少璟 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 基础篇 1、db2 connect to <数据库名> --连接到本地数据库名 db2 connect to <数据库名> user <用户名> using <密码> --连接到远端数据库 2、db2 force application all --强迫所有应用断开数据库连接 3、db2 backu 阅读全文
posted @ 2020-04-19 10:24 欧阳少璟 阅读(1452) 评论(0) 推荐(0) 编辑
摘要: ## 概述: redis是一种nosql数据库,他的数据是保存在内存中,同时redis可以定时把内存数据同步到磁盘,即可以将数据持久化, 并且他比memcached支持更多的数据结构(string,list列表[队列和栈],set[集合],sorted set[有序集合],hash(hash表))。 阅读全文
posted @ 2020-04-18 14:34 欧阳少璟 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1.先下载:redis-4.0.0.tar.gz,通过ftp传输到服务器中 2.tar -zxvf redis-4.0.0.tar.gz:解压 3.make:编译 4.make install:生成相应的可执行文件 5.cd redis-4.0.0,进入文件夹,找到redis.conf 6.vi r 阅读全文
posted @ 2020-04-18 13:59 欧阳少璟 阅读(180) 评论(0) 推荐(0) 编辑