易截截图软件、单文件、免安装、纯绿色、仅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数据库中重复数据的方法

在对数据库进行操作过程中我们可能会遇到这种情况,表中的数据可能重复出现,使我们对数据库的操作过程中带来很多的不便,那么怎么删除这些重复没有用的数据呢?
  重复数据删除技术可以提供更大的备份容量,实现更长时间的数据保留,还能实现备份数据的持续验证,提高数据恢复服务水平,方便实现数据容灾等。 重复的数据 ......

Oracle 開發筆記

Oracle 物件的命名限制
任何物件的名稱不得超過 30 位元(Bytes)
Oracle 的 dummy query 寫法
SELECT SYSDATE from dual
Oracle 選取部分資料的方法
SELECT * from table WHERE ROWNUM<10; /* 取出前 10 筆 */
實現 Oracle 上的分頁顯示 [精華] ......

LINUX下Oracle库备份脚本

vi /opt/back.sh(oracle用户)
#!/bin/ksh
tim=`date +%Y%m%d`
unset USERNAME
#export DISPLAY=0.0.0.0:0.0
#export ORACLE_BASE=/home/oraprod3
#export ORACLE_HOME=/prod/oracle/prod3db/9.2.0
#export ORACLE_SID=PROD3_db
#export LD_LIBRARY_PATH=/prod/oracle/prod3db/9.2.0/lib
#export ORACLE_TERM=vt100 ......

oracle 10g下载地址

记录一下ORACLE 10gR2的软件下载地址,备用。
下载OTN上的这些软件,你需要一个OTN免费帐号,不过如果通过迅雷进行下载,就不用登陆OTN了:
Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database ......

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号