Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1450170
  • 博文数量: 239
  • 博客积分: 5909
  • 博客等级: 大校
  • 技术积分: 2715
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-24 20:19
文章分类

全部博文(239)

文章存档

2014年(4)

2013年(22)

2012年(140)

2011年(14)

2010年(59)

我的朋友

分类: Oracle

2012-08-03 18:21:41

Question:
According to Database Concepts at one place it says: Partitioning is useful for many different types of applications, particularly applications that manage large volumes of data. OLTP systems often benefit from improvements in manageability and availability, while data warehousing systems benefit from performance and manageability. Then at other place it says: Partitioning offers these advantages: Partitioning improves query performance. In many cases, the results of a query can be achieved by accessing a subset of partitions, rather than the entire table. For some queries, this technique (called partition pruning) can provide order-of-magnitude gains in performance. According to Expert one on one Oracle your suggestion is : Reduces contention on high insert OLTP systems (such as an audit trail table) by spreading the inserts out across many separate partitions (spreads the hot spots around). We have one table on OLTP with records aroud 10978888. Should we implement Pratitioning on it?

you tell me. Honestly - you are the only one that can answer this. (and by the way, 11 million rows is meaningless - that gives NO clue as to the size, we could be taking 100mb or 100gb or a terabyte - but we don't know.... everyone needs to stop saying "X rows" and start saying "Y bytes")


You know now the physics behind partitioning.


You know now what you can hope to achieve:


o increased availability - by spreading the data out over many partitions - if you suffer a media failure, only a small subset of the data might become unavailable.
is this relevant to you, does this apply in your case, do you need this, is this something you need to design into your system, is this your major number one goal?

if not, move onto the next point


o ease of administration - by making the things you manage smaller.
is this relevant to you, do you purge data by date, would a range partition on date make sense, do you need to reorganize data/indexes for whatever reason, would the fact the big table is now a series of small tables be relevant to you, would it make your life better?

if not, move onto the next point


o improved DML performance. For warehouse - partition pruning. For OLTP - possible reduced contention.
are you a warehouse that could make use of this? are you a transactional system suffering from contention on a single segment - be that an hot right hand side of an index populated by a DATE or a SEQUENCE or a table with massive concurrent inserts

阅读(658) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~