摘要: 1、查看当前容器的分布,并确定如何调整 db2look -d sample -l -cor -dp -o dd.sql 2、给表空间添加容器 db2 "alter tablespace tbname add (FILE '/data/db2inst1/NODE000/TEST/TEST_01' 1G 阅读全文
posted @ 2016-10-31 14:47 hufangrui 阅读(4820) 评论(1) 推荐(0) 编辑
摘要: 一、导入导出 ixf: db2 export to /tmp/xxx.csv of ixf lobs to . xml to . modified by codepage=1208 "select * from sysibm.dual" db2 import from tablename of ix 阅读全文
posted @ 2016-10-31 14:40 hufangrui 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: 一、mutt命令 1、安装 yum -y install mutt 2、使用 echo "mail content"|mutt -s "mail title" test@test.com -a /tmp/test1.txt /tmp/test2.txt 二、uuencode命令 1、安装 uuenc 阅读全文
posted @ 2016-10-31 14:01 hufangrui 阅读(3174) 评论(0) 推荐(0) 编辑
摘要: db2set配置: db2set DB2_ENABLE_LDAP=NO db2set DB2_ALTERNATE_GROUP_LOOKUP=GETGROUPLIST db2set DB2_RESTORE_GRANT_ADMIN_AUTHORITIES=ON db2set DB2_SKIPINSERT 阅读全文
posted @ 2016-10-31 11:46 hufangrui 阅读(4632) 评论(0) 推荐(0) 编辑