db2 10.5 使用列式存储
环境: SUSE11 SP2, DB2 10.5 设置db2set DB2_WORKLOAD=ANALYTIC创建表t1create table t1( empno char(6), firstnme varchar(12)) organize by column;导入数据(使用数据库sample内的表vemp), insert into t1 select empno, firstnme from vemp;查询数据select * from t1; 直接报错 ...
使用infosphere warehouse的federation server
环境:windows server 2003, infosphere warehouse 10.1 在安装infosphere warehouse的时候有个federation server选项,选中后会安装db2 和oracle的包装器。由于从db2 v10开始后图形界面control central已经...
DB2 交易日志满
环境: redhat 5, DB2 V9.7今天在导tpch的数据时 db2 "import from 'customer.tbl' of del modified by coldel| insert into customer"发现无法导入数据并报错:SQL0964C The transaction log fo...
DB2查询数据库大小
1. 查询表函数snaphot_tbs_cfg db2 "select (SUM(total_pages)*4)/1024.0/1024 TOTAL_ALLOCATED_SPACE_IN_GB from table (snapshot_tbs_cfg('dbname',-1)) TBS_SPCE"2. 调用存储过程get_dbsize_...
DB2 Event Monitor使用与查询
环境: db2v9.7, RedHat 5首先创建一个目录用于存放事件监控,例:[db2inst1@esi-202 ~]$ mkdir emondir创建一个sql语句的事件监控[db2inst1@esi-202 ~]$ db2 "create event monitor emon1 for statements writ...
Oracle和DB2刷新缓冲池和数据字典池
Oralce : 缓冲池 alter system flush buffer_cache; 数据字典池 alter system flush shared_pool; DB2 : 缓冲池 db2pdcfg -db sample -flushbp (V >= 9.5)或db2 flush b...
SQL-based Administrative Task Scheduler in DB2 9.5
DB2 command script for scheduling a job (sysproc.admin_task_add)
solidDB 后台启动程序
环境: WinXP, solidDB 6.5在"all programs" -> "IBM solidDB 6.5" --> "start IBM solidDB Server" 来启动solidDB服务, 另外有方式可以在后台启动此服务,在命令行中输入:solid -x hide -c work_dir即可,其中wor...
solidDB Universal Cache
环境: windows XP, solidDB, Datastore Replication Engine( InfoSphere CDC for solidDB, InfoSphere CDC for DB2), InfoSphere CDC Access Control, InfoSphere CDC Management Console. DB2 V9.7 Ex...
solidDB 创建用户问题
环境:WinXP, solidDB 6.5最近一段时间在接触内存数据库solidDB, 却一直无法使用创建的用户登录,提示如下:C:\Documents and Settings\rand>solsql "tcp 2315" user2 user123IBM solidDB SQL Editor (teletype) - ...
DB2创建catalog编目
环境: RHEL 5, DB2 V9.7 Enterprise使用db2inst1用户登入,创建一个数据库,在命令行中输入 db2 create database toolsdb automatic storage yes, 成功后输入db2 create tools catalog systools use ex...
DB2 启动数据挖掘功能
环境:RedHat, InfoSphere Warehouse命令行方式 ---- 使用db2inst1用户登录, 在命令行中输入 idmenabledb [dbname]即可。图形方式 ----- 进入InfoSphere Warehouse --> Design Studio ...
DB2数据库管理器配置参数SRVCON_AUTH
环境:winXP, DB2 9.7C:\Documents and Settings\rand>db2 get dbm cfg | findstr /i "authentication" Server Connection Authentication (SRVCON_A...
IBM WAS Service--Could not determine the process id of the javaprocess.
环境: Windows Server 2003 , InfoSphere Warehouse 9.7 不知怎么回事无法启动WebSphere Application Server, 查看事件查看器发现提示"Could not determine the process id o...
DB2分割镜像来备份数据库
分割镜像是对那些含有数据库数据的镜像磁盘里面数据库的“瞬时”拷贝,当需要数据库的备份拷贝的时候,将镜像分割。进行镜像是一个将数据库中的所有数据同时写入两个独...
DB2设置语句终止字符
环境: Windows XP, DB2 V9.7 启动db2cmd, 输入db2set db2options=-td@ , 查询db2 list command options可以看到“命令选项 &nb...
DB2删除模式下对象
环境: Windows XP, DB2 V9.7DB2有删除模式的语句drop schema xxx restrict, 但只能在该模式没有对象的情况下才能执行。因此就有一个存储过程ADMIN_DROP_SCHEMA用于删除模式下的对象和模式本身。...
SQL1219N 因为未能分配专用虚拟内存,所以请求失败。 SQLSTATE=57011
环境: db2 v9.7 , windows xp今天不知怎得,连接DB2数据库一直报这个错误“SQL1219N 因为未能分配专用虚拟内存,所以请求失败。 SQLSTATE=57011”,开始一直以为是内存不够用,于是重启电脑,并将其它...
使用cognos 8.3碰到的几个问题
环境: windows server 2003 , cognos 8.3问题1 : 安装完cognos 8 BI Server后,使用cognos configuration配置,创建服务并启动时出现错误提示:'com.cognos.pogo.contentmanager.coordinator.ActiveCMControl', '...
db2 语句终止符
在db2环境下写存储过程,函数和触发器时,由于这些语句中;为语句终止符,所以需要重新设置语句终止符。方法如下:在语句开始前输入 --#SET TERMINATOR @,这样将这些单元的终止符设置为@。语句结束后输入 --#SET T...