摘要: 当今的数据处理大致分为两类:联机事务处理OLTP(on-line transaction processing)、联机分析处理OLAP(on-line Analytical Processing).OLTP是传统的关系型数据库的主要应用,主要是基本的、日常的事务处理,例如银行交易。OLAP是数据仓库系统的主要应用,支持负责的分析操作,侧重决策支持,并且提供直观易懂的查询结果。下面看OLTP和OLAP之间的比较OLTPOLAP用户操作人员,底层管理人员决策人员,高级管理人员功能日常事务处理分析决策DB设计面向应用面向主题数据当前的、最新的细节的、二维的分立的历史的、聚集的、多维的、集成的、统一的 阅读全文
posted @ 2013-04-02 13:43 ArcerZhang 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Objectivesshared pool tune(shared pool 调优)After completing this lesson,you should be able to do the following:Determine the size of an object and pin it in the shared poolTune the shared pool reserved spaceDescribe the user global area (UGA) and session memory considerationsMeasure the library cache 阅读全文
posted @ 2013-04-02 13:29 ArcerZhang 阅读(697) 评论(30) 推荐(0) 编辑
摘要: Thread 1 cannot allocate new log,sequence 1466checkpoint not completecurrent log# 3 seq# 1465 mem#0:/home/ora10g/oradata/ora10g/redo03.log一般情况下,出现上述错误,基本上是由与日志被写满了,所造成的;解决方案:Provide enough groups to prevent waiting. 扩大联机重做日志文件组。 设置联机重做日志的大小. 阅读全文
posted @ 2013-04-02 11:54 ArcerZhang 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1、清空数据库alert_sid.log文件内容cat /dev/null > alter_sid.log2、set timing on在命令行窗口,可以打开计时器通过上述命令;能够实时跟踪到oracle对每一条语句的执行时间;3、如何开启回收站的功能[oracle@arcerzhang ~]$ sqlplus /nologSQL*Plus: Release 11.2.0.1.0 Production on Mon May 27 10:08:43 2013Copyright (c) 1982, 2009, Oracle. All rights reserved.SQL> conn 阅读全文
posted @ 2013-04-02 11:50 ArcerZhang 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1、输出命令echoView Code #!/bin/bash#echo命令可以显示文本行或变量,或者把字符串输入到文件#-e 解析转义#\c 不换行#\t 跳格#\n 换行echo -e "enter your name:\c"read nameecho "$name"echo -n "welco... 阅读全文
posted @ 2013-04-02 11:49 ArcerZhang 阅读(494) 评论(0) 推荐(0) 编辑
摘要: Trace file分为 |-background trace file |-user trace file1、trace files是和进程相关的。2、在Oracle 中,Background Process Trace files是与server process严格区分的.3、如何查看oracle的background process trace files?View Code SQL> show parameter background_dump_destNAME TYPE VALUE-----------... 阅读全文
posted @ 2013-04-02 11:49 ArcerZhang 阅读(235) 评论(0) 推荐(0) 编辑