老道关于分区表的管理(一) 概念篇

1 what 什么是分区
Partitioning enhances the performance, manageability, and availability of a wide variety of applications and helps reduce the total cost of ownership for storing large amounts of data.
Partitioning allows tables, indexes, and index-organized tables to be subdivided into smaller pieces, enabling these database objects to be managed and accessed at a finer level of granularity.
Oracle provides a rich variety of partitioning strategies and extensions to address every business requirement. Because it is entirely transparent, partitioning can be applied to almost any application without the need for potentially expensive and time consuming application changes. 
 
2 why 为什么要分区

数据库随着数据量的增加,一个表越来越庞大。带来了很多问题。
主要表现为
1 执行sql 语句没有索引,扫描过多无用数据
2 需要一部分数据,由于索引单块读特性,优化器选择全表扫描,读入大量不需要的数据
3 维护数据时,话费大量时间
使用分区表可以避免以上问题
使用分区表还可以
1 均衡IO 分区表每个分区都是一个独立的段,可以放到不同的表空间去
2 增加可用性,一个分区数据出问题不影响其他分区的使用

3 when 什么时候采用分区
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值