pcial 发表于 2013-1-14 23:28:57

informix一些基础用法

--导出数据的格式
unload to FILE名 select * from table where *
--导入数据的格式
load from FILE名 insert into table
 
<div class="t_msgfont">1数据库表总数
select count(*) from systables where tabid>99;
2逻辑日志文件总数(sysmaster库)
select count(*) from sysmaster:syslogs;
3逻辑文件空间(sysmaster库)
select sum(size) from sysmaster:syslogs;
4块总数(sysmaster)
select count(*) from sysmaster:syschunks;
6死锁数(sysmaster)
select deadlks from sysmaster:sysprofile;
页: [1]
查看完整版本: informix一些基础用法