摘要: 1,获取锁方法:1.1管理视图:SELECT * FROM SYSIBMADM.SNAPLOCK with ur;select * from SYSIBMADM.LOCKS_HELD with ur; --拿到上述的agent_id,查询具体锁表的IP和应用程序 db2 list applicati 阅读全文
posted @ 2021-08-30 10:45 疾风泣影 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 1. 分区表相关的系统对象视图syscat.tables -- 表信息sysibm.systables 表信息syscat.datapartitions --分区表信息syscat.datapartitionexpression --分区表分区字段字段信息 2.分区表特性 支持MINVALUE、MA 阅读全文
posted @ 2021-08-26 10:38 疾风泣影 阅读(3170) 评论(0) 推荐(0) 编辑
摘要: 1.sanpshot方式 db2 get monitor switches db2 "values application_id()" db2 get snapshot for application applid *LOCAL.DB2INST1.160426050147 2.db2pd 方式 db 阅读全文
posted @ 2021-08-19 15:24 疾风泣影 阅读(1351) 评论(0) 推荐(0) 编辑
摘要: 一.windows平台下:1.开启归档1.1.logretain方式 win -》开始 -》所有程序 -》 IBM DB2 -》BD2copy -》一般管理工具 -》 控制中心 -》 右键库名“TDB” -》 数据库配置找到 “日志” -》 logarchmeth1 -》左键点击“值” -》 -》更 阅读全文
posted @ 2021-08-11 14:34 疾风泣影 阅读(1518) 评论(0) 推荐(0) 编辑
摘要: 1.dbeaver 数据库通用连接工具,可以连接多种数据库。 2.geany 轻量级的代码编辑\文本编辑器,兼容linux和win。 4.vs2010 win软件开发工具,一般配合vassistX(小番茄)更好用。 5.pl/sqldeveloper oracle的客户端连接工具。 6.beyond 阅读全文
posted @ 2021-08-11 10:25 疾风泣影 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 1.pg配置连接,pg_hba.confhost all all 223.254..7.111/32 md5 2.配置归档,postgres.confwal_level logicalarchive_mode = onarchive_command = 'copy "%p" D:\\pg\\arch 阅读全文
posted @ 2021-08-10 10:14 疾风泣影 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 1.注意事项 在DB2COPY上执行,需要设置语句终止符号:"@"或者";"或者"/". 2.while 语句块 begin declare count int default 1; while (count<=100) do insert into test values(count, 'aaa' 阅读全文
posted @ 2021-07-02 11:47 疾风泣影 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1.概念 字母A:采用的是Unix的一个变种OS——AIX,字母S:系统,SYSTEM;AS400是IBM早期推出的商用小型机。操作系统与Windos、Unix等都不一样,不过正逐步靠近Unix。原配操作系统是OS400,数据库DB2/400,编程语言为RPG、CL。 因为DB2/400是内嵌在OS 阅读全文
posted @ 2021-07-02 11:32 疾风泣影 阅读(1280) 评论(0) 推荐(0) 编辑
摘要: 1.DM1.1 查询sql1.1.1 方式一: 右键manager工具-》管理服务器-》字符集编码1.1.2 方式二: select * from 2.oracle2.1 查询oracle server端的字符集--》 select userenv('language') from dual;--》 阅读全文
posted @ 2021-07-02 11:24 疾风泣影 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 1.下载:-->v9以上版本下载-> http://blog.sina.com.cn/s/blog_66adac500101hc0e.html-> ftp://public.dhe.ibm.com/software/hk/cobra -->v9以上文档https://www.ibm.com/docs 阅读全文
posted @ 2021-07-02 11:18 疾风泣影 阅读(675) 评论(0) 推荐(0) 编辑