易截截图软件、单文件、免安装、纯绿色、仅160KB

oracle的逻辑结构和物理结构

1、数据库的逻辑结构和物理结构:
   Oracle logically divides the database into a smaller units to manage ,store,and retreive
data efficently.
  Tablespace\Blocks\Extents\segment\
有四种segment:
data segment、Index segment、Temporay segment、Rollback Segment
temporary segment:
Are created when Oracle needs a temporary work area,such as for sorting,during a query,
to complete execution of a SQL statement.These segments are freed when the execution completes.
Rollback segment:Used to store undo information.When you roll back the changes madde to the
database,the information in the rollback segment is used to undo the changes.
 
   The physical daabase structure consists of three types of physcial files
   data files
   control files
   redo log files
The control file contains the database name and timestamp of database creation as well as the name and location of every data file and redo log file.


相关文档:

Oracle内存分配建议


关于SGA设置的一点总结
本总结不针对特例,仅对服务器只存在OS + ORACLE 为例,如果存在其他应用请酌情考虑
写这个也是因为近来这种重复性的问题发生的太多所导致的
首先不要迷信STS,SG,OCP,EXPERT 等给出的任何建议、内存百分比的说法
基本掌握的原则是, data buffer 通常可以尽可能的大,shared_pool_size 要适度 ......

Oracle 索引组织表(IOT)

     索引组织表(IOT)有一种类B树的存储组织方法。普通的堆组织表是以一种无序的集合存储。而IOT中的数据是按主键有序的存储在B树索引结构中。与一般B树索引不同的的是,在IOT中每个叶结点即有每行的主键列值,又有那些非主键列值。
     在IOT所对应的B树结构中,每个索引项包 ......

Oracle 内存结构和进程结构

Oracle 内存结构如下图:
1:实例(Instance)        
  在一个中,每一个运行的Oracle数据库都与一个数据库实例相联系,实例是我们
 访问数据库的手段。
  实例在操作系统中用ORACLE_SID来标识,在Oracle中用参数INSTANCE_NAME来标识,
 它 ......

oracle 字段注释 数据字典显示

select  lower( column_name) ||','||'--'||comments
from user_col_comments    c
where c.table_name  = upper('acc_fundcap')
SELECT * from USER_TAB_COMMENTS WHERE TABLE_NAME='T_META';
INSERT INTO 表名(字段名1, 字段名2) SELECT 字段名1, 字段名2 from 另外的表名; ......

oracle exists and not exist


先看下面的例子:oracle中两个系统表.emp,dept.
example:
1:not exists(not in)
not exists:
   这条语句返回select * from scott.dept d where e.deptno=d.deptno and d.deptno=10条件满足的结果集.也就是说,
返回的结果集中不存在d.deptno=10结果集的记录,即emp表中没有dept表中d.deptno=10的记录.
SQL& ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号