DB2 中的数据对象
以下内容摘选自http://www.ibm.com/developerworks/cn/data/books/db2dba1/3/index.html,记下来以备忘!3.3.6 实例级别的常用命令实例级别的常用命令如表 3.1 所示。表 3.1 实例级别常用命令命令名称描...
DB2 的硬伤 数据一致性读
*****************data consistency *****************session IC:\Program Files\IBM\SQLLIB\BIN>db2 +c(c) Copyright IBM Corporation 1993,2007Command Line Processor for DB2 Client 9.5.0You can issue da...
DB2 ,新的起点,从零开始
.
职业规划
1. 职业规划是自己的事,如果自己都不关心,那么别人又怎么会关心?因此,首先自己要设定初步的职业规划,然后与与你的经理进行正式的沟通并进行修正,最终确定后,还需要自己定期回顾,并获得上司适当的帮助。如果...
ptree
man ptreeReformatting page. Please Wait... doneUser Commands &...
fuser
man fuserReformatting page. Please Wait... doneSystem Administration Commands &n...
X$ 视图
X$数据结构是Oracle数据库管理系统(DBMS)的核心。在数据库管理系统的内核中,他们是处于不断变化中的内存结构,保存着实例(Instance)运行期间的各种统计信息。所以,如果你的实例已经运行了好几个月,某些统计值可能...
oracle chr 特殊字符表
Oracle 表最多1000列
《Oracle® Database SQL Reference》column_definitionThe column_definition lets you define the characteristics of the column.columnSpecify the name of a column of the table.If you also specify AS s...
select count(*), select count(0), select count(1)
在统计表的行数时候,经常用到 select count(*),然而对于行数很多的大表,这样的查询速度将会很慢。因为这样的查询对表的每一行都会进行每个列的扫描。比较快的办法是 select count(0), 这样每一行就只是扫描行头...
glogin.sql 修改sqlplus 提示符
vi $ORACLE_HOME/sqlplus/admin/glogin.sql 最简单明了的提示符就是 USER@INSTANCE_NAME -- Used by prompt set termout off define gname=idle // 定义instanc...
物化视图 MATERIALIZED VIEW
物化视图是包括一个查询结果的数据库对像,它是远程数据的的本地副本,或者用来生成基于数据表求和的汇总表。物化视图存储基于远程表的数据,也可以称为快照。 物化视图可以...
ALL_ , USER_ , DBA_ 视图
官方文档的描述 ■An ALL_ view displays all the information accessible to the current user, includinginformation from the current user's schema as well as information from objects inother schema...
内连接,左外连接,右外连接
今天发现一张用来解释内连接,左外连接,右外连接结果集的图片:1.内连接:典型的联接运算,使用像 = 或 <> 之类的比较运算符。利用内连接可获取两表的公共部分的记录,即图...
dbms_redefinition 表的在线重定义
1, DDL 2, Call dbms_redefinition.can_redef_table(),check out INCIDENTSM1 can be redefined onlineexec dbms_redefinition.can_redef_table('SC','INCIDENTSM1',dbms_redefinition.c...
动态SQL以及SQL的解析过程
一个过程:set time on spool lob_length.txt DECLARE v_name VARCHAR2(50); v_sum number(20,10):=0; v_avg number(20,10):=0; v_max number(20,10):=0;cursor col_name IS select column_name from db...
SUPPLEMENTAL LOG
事实上,目前最有可能用到Supplemental Logging的也只有逻辑standby和streams这两项特性。我们都知道,这两项特性的数据应用都属于逻辑应用,类似source database执行update语句之类,结果也要反映到target database...
ORA-03136
ORA-03136: inbound connection timed outCause: Inbound connection was timed out by the server because userauthentication was not completed within the given time specified bySQLNET.INBOUND_CONNECT_TIME...
ORA-01555
ORA-01555: snapshot too old: rollback segment number string with name "string"too smallCause: rollback records needed by a reader for consistent read are overwritten byother writersAction: If in Autom...
ORA-12514
ORA-12514: TNS:listener does not currently know of service requested in connectdescriptorCause: The listener received a request to establish a connection to a database orother service. The connect des...