Oracle数据库启动步骤
Shutdown=>No mount=> Mount=> OpenMOUNT:1. 将一个数据库与一个已启动的实例关联起来 Associating a database with a previous started instance2. 定位并打开所有在参数文件中指定的控制文...
Oracle实例恢复
自动实例或者崩溃恢复: 1. 尝试去打开一个包含了在关闭时没有同步的文件的数据库引起 2. 使用存储在redo log groups当中的信息去同步文件 3. 包括两个独立的操作:  ...
Opening a Database(数据库可以被正常打开的前提)
To open a database: 1. All control files must be present and synchronized 2. All online data files must be present and synchronized 3. At least one memb...
RMAN Hello World
D:\oracle\product\10.2.0\db_1\RDBMS\ADMIN>rman target xeRecovery Manager: Release 10.2.0.1.0 - Production on Wed Jun 5 08:48:01 2013Copyright (c) 1982, 2005, Oracle. All rights reserved.target d...
Flashback Query
闪回查询的步骤: 1. 授权给相应的用户。这里是通过DBA授权给oracle的一个sample schema SQL> grant execute on dbms_flashback to sh; Grant s...
ASM(Automatic Storage Management)
ASM instance: ASM instance is a combination of the process and memory components for ASM. The combination of the background processes and the SGA i...
卸载oracle数据库
卸载一个数据库包含了移除数据文件, redo log文件,控制文件,和初始化参数文件。可以手动执行DROP DATABASE这个SQL语句来手动卸载数据库。 这个语句删除所有的控制文件,以及所有列于控制文件之中的所有的数据库文...
Oracle DBA的职责
为了设计,实现,维护一个Oracle数据库, 包含了以下的任务: 1. 评估数据库服务器的硬件 2. 安装Oracle软件 3. 计划数据库与安全策略 &nbs...
Oracle内存体系结构
SGA(System Global Area) : SGA被所有服务器和后台进程共享, 它包含了可以在用户之间共享的控制信息以及数据。 例如:缓存的数据块和共享SQL区 SGA包含以下内存区域...
Oracle数据存储结构
逻辑上可以分为: Database-> Tablespace-> Segment -> Extent -> Block 数据库->表空间->段->区->块物理上, 位于操作系统的数据文件...
Oracle进程架构
Oracle的体系结构 进程架构: 1. Database Writer Process(DBWn): Writes modified(dirty) buffers in the...
Systematic index design consists of two processes
1. Detect SELECT statements that are too slow due to inadequate indexing Worst input: Variable values leading to the longest elapsed time2. Design indexes that make all SELEC...
HashMap的get方法有可能导致死循环
http://www.baidu.com/s?wd=HashMap%20Infinite%20Loop&pn=10&tn=baiduhome_pg&ie=utf-8&rsv_page=1
警惕SQL中间的NULL
select * from dual where null like '%*%'no record found.在做一个数据处理的应用的时候,因为忽略了这个,导致数据被多多处理了。一下是出问题的SQL: update CR_VIP_BKG_VIEW_LOAD d ...
Relational Database Index Design and the Optimizers
1. Focus on the maor issues It is vital to focus on the few really major issues,not on the relatively unimportant detail under which many people drown. This iskey—to foc...
分析函数中的KEEP
keep可以理解为MIN, MAX的扩展。如果你在GROUP BY的结果里,需要的不是最小、最大值,而是对应最小、最大值的那个行的其他列,就可以用KEEP。比如 MIN(HIRE_DATE) ... GROUP BY DEPARTMENT 这是求每个部门最早的员工...
Oracle Table Function
Table functions Oracle provides equivalents for the following elements of thisfeature:■ <multiset value constructor by query> is supported usingCAST (MULTISET (<query expression>) AS <nestedtable...
工作当中碰到的一个UTL_FILE的问题
附件My accountSign outLogged in as chenro4HomeMy pageProjectsKnowledgebaseHelp Search: CS Hosting ServiceOverviewActivityIssuesNew issueGantt...
UTL_FILE遍历文件
DECLARE v_file_handle utl_file.file_type; v_buffer VARCHAR2(32767);BEGIN v_file_handle := utl_file.fopen('TEST_DIR', 'CR_Create_Jobs.sql', 'r'); dbms_output...
javascript的面向对象的继承实现
<script> function Rectangle(w, h){ this.width = w; this.height = h; } Rectangle.prototype.area = function(){ return this.width * this.height; }&...