`
MicroJoey
  • 浏览: 88545 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Enable Row Movement in Partitioning and Overhead

阅读更多
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 --
分享到:
评论

相关推荐

    Database Partitioning-Table Partitioning and MDC for DB2 9

    在《Database Partitioning, Table Partitioning, and MDC for DB2 9》一书中,作者们深入探讨了数据库分区技术的各个方面,包括数据库分区、表分区以及多维聚类(MDC)等技术。 ##### 1.1.1 数据库概念 在讨论...

    Approximate Hypergraph Partitioning and Applications (2007)-计算机科学

    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

    Set Partitioning in Hierarchical Trees 英文文档,多级树集合分裂(SPIHT)算法

    A Comprehensive Study of Main-Memory Partitioning and its Application to Large-Scale Comparison- and Radix-Sort (sigmod14I)-计算机科学

    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)

    嵌入式编码算法,如标题所述的"Set Partitioning in Hierarchical Trees (SPIHT)",是一种高效的图像压缩方法,尤其适用于医学成像和遥感等领域。SPIHT是基于小波变换的无损和有损压缩技术,由Amir Said和William A....

    Ensuring Privacy and Security for LBS through Trajectory Partitioning

    ### 通过轨迹分割确保位置服务中的隐私与安全 #### 摘要 本文探讨了如何通过轨迹分割技术来提升位置服务(LBS)中的隐私保护和安全性。在位置k匿名的概念下,攻击者只能知道LBS请求来自一个至少包含k个人的区域,...

    Block Merging for Quadtree-Based Partitioning in HEVC

    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.

    Partitioning Trust in Network Testbeds

    ### 分布式信任在网络实验平台中的应用 #### 摘要 本文主要探讨了在网络测试床(即用于网络和系统研究的实验环境)中实施分布式信任机制的重要性与具体设计方法。传统的测试床往往采用单一的信任根,即所有的资源...

    Real-time.Analytics.with.Storm.and.Cassandra.1784395498

    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 11g partitioning

    《Oracle Database VLDB and Partitioning Guide》是Oracle官方发布的关于处理大型数据库(Very Large Database, VLDB)和分区技术的详细指南,该文档提供了深入的技术细节和最佳实践建议。 #### 二、Oracle ...

    模拟退火bi-partitioning

    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...

    Geometric Partitioning Mode in Versatile Video Coding: Algorithm Review and Analysis

    在VVC标准中,Geometric Partitioning Mode(GPM)是一个重要的创新点,它通过引入更灵活的图像分割方式,提升了视频内容的编码效率和质量。 GPM的核心思想在于对视频帧进行更细致和多样化的分割,以适应不同内容的...

    Real-time Analytics with Storm and Cassandra(PACKT,2015)

    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培训知识点详解 #### 一、分区概念简介 - **定义与目的:** Oracle 分区(Partitioning)是一种将大型表或索引分割成更小、更易于管理的部分的技术。通过分区,可以提高数据可用性、...

    workflow partitioning algorithm

    工作流partitioning算法,可以应用在网格计算或者云计算

    spiht.rar_SPIHT_in_set partitioning

    "Set Partitioning in Hierarchical Trees"(层次树中的集合划分)是SPIHT算法的核心部分,它用于优化编码过程,提高压缩效率。 SPIHT算法主要由以下几个步骤组成: 1. **初始图像分析**:首先,原始图像通过离散...

    partitioning-11gr2

    4. **复合分区(Composite Partitioning)**:结合两种或多种分区方法,例如首先按日期范围分区,然后再按部门列表进行二级分区。 #### 分区扩展 除了基础的分区策略之外,11gR2还引入了一些分区扩展特性: 1. **...

    Oracle 11gr2 VLDB and Partitioning Guide (e16541)-计算机科学

    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 ...

Global site tag (gtag.js) - Google Analytics