- 浏览: 88545 次
- 性别:
- 来自: 北京
-
最新评论
Question 1:
Hi,
I am partitioning few huge tables,
regarding The feature of Enable Row movement i need some clarifications :
First Question
Does partitioning column should not be ever updated or what ? if normal updates with in that partition is it an extra overhead or have some performance impact..
Second doubt is :-
If update causes row movement from 1 partition to other will it have performance impact.
These question has been raised by one of my senior DBA since when i started partitioning on DATE column (range ) and the application was updating the date column and in some cases it falls out of partition and error came so , I enabled row movement it is resolved, but he says it's an extra over head..
Usually in our environment once at month end there are chances that this partitioning column might get updated and the new value might fall in new partition..
Do you people say that partitioning column should never be updated or what ?
Some experience tips on this please.
Thanks.
Question 2:
Hello,
Flashback table requires that enable row movement is activated for the
table. By default, this is disabled. Are there any disadvantages by enabling
this for all tables (except that the ROWIDs might change) ? Couldn't find
much about this in the docs or with Google.
Oracle 10.2.0.3.
Matthias
Answer 1:
I would say that 99% of partitioned tables would use a non-updateable column.
Factors to consider:
- Overhead of moving between partitions
- Overhead of Oracle checking to make sure that a row doesn't move partitions.
- Effect of empty space left in locally partitioned indexes
- Effect of empty space left in table partitions.
The effect will depend on how many partitions are in the table, the number of LOCALLY partitioned indexes, the number of rows your move, and the proportion of rows in a partition that move.
If you want to make your partition key updateable, then why don't you benchmark it using your table, and time the results:
- Update 100K rows - a column that is not the partition key
- Update 100K rows on the partition column, but not so that the rows will move partitions
- Update 100K rows on the partition column so that they move partition.
Answer 2:
The only disadvantage is logical. ROWID used to be fixed value and I've
seen some examples where ROWID has been used as a key to retrieve data,
much like it's used in the EXCEPTIONS table. With row movement enabled,
that stops making sense. Another situation in which row movement comes
into play is partitioning. Row movement must be enabled if you need rows
to move between partitions.
Answer 3:
To my knowledge for all practical purposes there is no performance
impact to enabling row movement. This is not to say that an activity
that actually caused mass movement of rows will not have a noticable
impact on your system but generally speaking this is probably not an
issue.
HTH -- Mark D Powell --
Hi,
I am partitioning few huge tables,
regarding The feature of Enable Row movement i need some clarifications :
First Question
Does partitioning column should not be ever updated or what ? if normal updates with in that partition is it an extra overhead or have some performance impact..
Second doubt is :-
If update causes row movement from 1 partition to other will it have performance impact.
These question has been raised by one of my senior DBA since when i started partitioning on DATE column (range ) and the application was updating the date column and in some cases it falls out of partition and error came so , I enabled row movement it is resolved, but he says it's an extra over head..
Usually in our environment once at month end there are chances that this partitioning column might get updated and the new value might fall in new partition..
Do you people say that partitioning column should never be updated or what ?
Some experience tips on this please.
Thanks.
Question 2:
Hello,
Flashback table requires that enable row movement is activated for the
table. By default, this is disabled. Are there any disadvantages by enabling
this for all tables (except that the ROWIDs might change) ? Couldn't find
much about this in the docs or with Google.
Oracle 10.2.0.3.
Matthias
Answer 1:
I would say that 99% of partitioned tables would use a non-updateable column.
Factors to consider:
- Overhead of moving between partitions
- Overhead of Oracle checking to make sure that a row doesn't move partitions.
- Effect of empty space left in locally partitioned indexes
- Effect of empty space left in table partitions.
The effect will depend on how many partitions are in the table, the number of LOCALLY partitioned indexes, the number of rows your move, and the proportion of rows in a partition that move.
If you want to make your partition key updateable, then why don't you benchmark it using your table, and time the results:
- Update 100K rows - a column that is not the partition key
- Update 100K rows on the partition column, but not so that the rows will move partitions
- Update 100K rows on the partition column so that they move partition.
Answer 2:
The only disadvantage is logical. ROWID used to be fixed value and I've
seen some examples where ROWID has been used as a key to retrieve data,
much like it's used in the EXCEPTIONS table. With row movement enabled,
that stops making sense. Another situation in which row movement comes
into play is partitioning. Row movement must be enabled if you need rows
to move between partitions.
Answer 3:
To my knowledge for all practical purposes there is no performance
impact to enabling row movement. This is not to say that an activity
that actually caused mass movement of rows will not have a noticable
impact on your system but generally speaking this is probably not an
issue.
HTH -- Mark D Powell --
发表评论
-
dbms_output can not put the zero
2011-08-25 09:29 832DECLARE V_INTA NUMBER ... -
what is the difference between object_id and data_object_id?
2011-08-24 09:17 1006The object_id is the primary k ... -
oracle EXECUTE IMMEDIATE ora-00911
2011-08-14 10:15 1571I get an error when I try to ex ... -
Will the valid status of index impact dml operation?
2011-08-05 10:34 914DROP TABLE tab01; SELECT * FRO ... -
where can i find the job number of those jobs defined in dba_scheduler_jobs?
2011-08-01 10:41 905Question: Hello, could anybody ... -
Listener HPUX Error: 242: No route to host
2011-05-17 14:55 1049现象: 引用LSNRCTL> status Conne ... -
一进程阻塞问题解决
2011-05-12 16:38 4176同事反映,删除一条数据总是没有反应,请求协助解决. 问题非常 ... -
open database with ORA-00704 and ORA-39700
2011-05-06 16:13 29861,Error 1)alter.log Fri May ... -
oracle text index create and use
2011-05-06 13:41 2012一、Install Text Index 1,The ste ... -
offline datafile and offline tablespace
2011-05-04 11:43 25891)offline datafile OFFLINE Spe ... -
oracle three type of block size
2011-04-28 17:35 832Tools: 引用[oracle@node oracle]$ ... -
bbed一(安装)
2011-04-26 14:54 1569bbed ----------------------- bl ... -
Strategies for RAC inter-instance parallelized queries
2011-04-25 14:14 1234I recently had to sit down and ... -
Row Movement in Oracle
2011-04-23 22:23 2081One of the relatively newer fea ... -
ORA-14402 updating partition key column
2011-04-23 19:48 6498做DBA几年来,经常遇到项目到了维护期总是修改表的结构,原因很 ... -
ORACLE DSI 介绍
2011-04-19 18:33 981DSI是Data Server Internals的缩写,是O ... -
Oracle / Buffer cache
2011-04-19 17:18 843引用8.7 Tuning the Operating Syst ...
相关推荐
在《Database Partitioning, Table Partitioning, and MDC for DB2 9》一书中,作者们深入探讨了数据库分区技术的各个方面,包括数据库分区、表分区以及多维聚类(MDC)等技术。 ##### 1.1.1 数据库概念 在讨论...
Approximate Hypergraph Partitioning and Applications∗Eldar Fischer† Arie Matsliah‡ Asaf Shapira§AbstractSzemerédi’s regularity lemma is a corner-stone result in extremal combinatorics....
Set Partitioning in Hierarchical Trees 英文文档,多级树集合分裂(SPIHT)算法
A Comprehensive Study of Main-Memory Partitioning and its Application to Large-Scale Comparison- and Radix-SortOrestis Polychroniou Columbia Universityorestis@cs.columbia.eduKenneth A. Ross∗ Columbia...
嵌入式编码算法,如标题所述的"Set Partitioning in Hierarchical Trees (SPIHT)",是一种高效的图像压缩方法,尤其适用于医学成像和遥感等领域。SPIHT是基于小波变换的无损和有损压缩技术,由Amir Said和William A....
### 通过轨迹分割确保位置服务中的隐私与安全 #### 摘要 本文探讨了如何通过轨迹分割技术来提升位置服务(LBS)中的隐私保护和安全性。在位置k匿名的概念下,攻击者只能知道LBS请求来自一个至少包含k个人的区域,...
The joint development of the upcoming High Efficiency Video Coding (HEVC) standard by ITU-T ...Experts Group and ISO/IEC Moving Picture Experts Group marks a new step in video compression capability.
### 分布式信任在网络实验平台中的应用 #### 摘要 本文主要探讨了在网络测试床(即用于网络和系统研究的实验环境)中实施分布式信任机制的重要性与具体设计方法。传统的测试床往往采用单一的信任根,即所有的资源...
Next, you will learn about data partitioning and consistent hashing in Cassandra through examples and also see high availability features and replication in Cassandra. Finally, you'll learn about ...
《Oracle Database VLDB and Partitioning Guide》是Oracle官方发布的关于处理大型数据库(Very Large Database, VLDB)和分区技术的详细指南,该文档提供了深入的技术细节和最佳实践建议。 #### 二、Oracle ...
and the material is in minimum energy state Simulated Annealing Algorithm • Components: Solution space (e.g., slicing floorplans) Cost function (e.g., the area of a floorplan) o Determines how...
在VVC标准中,Geometric Partitioning Mode(GPM)是一个重要的创新点,它通过引入更灵活的图像分割方式,提升了视频内容的编码效率和质量。 GPM的核心思想在于对视频帧进行更细致和多样化的分割,以适应不同内容的...
Next, you will learn about data partitioning and consistent hashing in Cassandra through examples and also see high availability features and replication in Cassandra. Finally, you'll learn about ...
### Oracle 分区Partitioning培训知识点详解 #### 一、分区概念简介 - **定义与目的:** Oracle 分区(Partitioning)是一种将大型表或索引分割成更小、更易于管理的部分的技术。通过分区,可以提高数据可用性、...
工作流partitioning算法,可以应用在网格计算或者云计算
"Set Partitioning in Hierarchical Trees"(层次树中的集合划分)是SPIHT算法的核心部分,它用于优化编码过程,提高压缩效率。 SPIHT算法主要由以下几个步骤组成: 1. **初始图像分析**:首先,原始图像通过离散...
4. **复合分区(Composite Partitioning)**:结合两种或多种分区方法,例如首先按日期范围分区,然后再按部门列表进行二级分区。 #### 分区扩展 除了基础的分区策略之外,11gR2还引入了一些分区扩展特性: 1. **...
VLDB and Partitioning Guide11g Release 2 (11.2)E16541-05August 2010Oracle Database VLDB and Partitioning Guide, 11g Release 2 (11.2)E16541-05Copyright :copyright: 2008, 2010, Oracle and/or its ...