Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

65

积分

0

好友

31

主题
1#
发表于 2012-4-16 19:48:45 | 查看: 4547| 回复: 1
根据前贴
http://t.askmaclean.com/thread-701-1-1.html

要确认一个表中一条记录在哪个数据文件中
只需要知道表空间名称和相对文件号就可得到结果
数据读取数据的时候应当也是按照这个逻辑

那么绝对文件号看起来就没有什么实际的意义了?
我这样理解对吗?
2#
发表于 2012-4-16 20:53:12
Oracle Database assigns each datafile two associated file numbers, an absolute file number and a relative file number, that are used to uniquely identify it. These numbers are described in the following table:
Type of File Number         Description


Absolute         Uniquely identifies a datafile in the database. This file number can be used in many SQL statements that reference datafiles in place of using the file name. The absolute file number can be found in the FILE# column of the V$DATAFILE or V$TEMPFILE view, or in the FILE_ID column of the DBA_DATA_FILES or DBA_TEMP_FILES view.


Relative         Uniquely identifies a datafile within a tablespace. For small and medium size databases, relative file numbers usually have the same value as the absolute file number. However, when the number of datafiles in a database exceeds a threshold (typically 1023), the relative file number differs from the absolute file number. In a bigfile tablespace, the relative file number is always 1024 (4096 on OS/390 platform).



http://docs.oracle.com/cd/E14072 ... 10595/dfiles001.htm


Absolute File Number is unique across Database where as Relative file number is unique within tablespace but not across database.

There is a limit of 1023 datafiles in a tablespace thus 1023 relative file numbers in a tablespace.

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-24 09:46 , Processed in 0.047606 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569