当前位置:网站首页>使用分区的优点
使用分区的优点
2022-07-24 08:43:00 【青木与风】
使用分区表有以下优点:
1) 均衡系统 I/O:可通过把表的不同分区建在不同的物理磁盘空间以平衡 I/O,改善系统 I/O
性能;
2) 改善应用查询性能:对表进行查询时,只对关注的相关分区进行检索,以提高检索性能;
3) 可用性和维护性较强:若表的某些分区有问题而导致不可用,则其它分区数据不受影响;以分区方式进行删除、迁移、导出/导入、分析等操作时比较方便、灵活,可节约大量的时间和系统资源,提高应用性能。
当表大于 2G 或表包含使用较明显的历史数据和新数据等情况时,可考虑使用分区表。其实在当前很多大型 IT 系统中,尤其是一些电信运营商的 IT 系统中,分区表多用在以地区、月份进行区分的场景,或者为了性能考虑,使用 HASH 方式进行分区。
边栏推荐
- Chinese brands in the historical process
- In the next bull market, can platofarm, the leading project in the Web3 world, set foot on the top of the mountain
- Wargames NATAS (16-19) problem solving essays
- How difficult is it to build a digital collection platform?
- Basic use of Nacos (2) -- Nacos configuration center
- Hack the box - Introduction to networking module detailed Chinese tutorial
- Treap
- Arrays and linked lists
- SQL learning
- Precautions for using kettle excel input
猜你喜欢

JMX console unauthorized access vulnerability

【一起上水硕系列】June总结+no 焦虑+July计划+如何考试+如何提升

Cyclic multiple scatter

阻塞队列BlockingQueue 源码解析(ArrayBQ和LinkedBQ)

Route interceptor

Shanghai issued a document to support the entry of NFT cultural exchange: the trend of digital collections has arrived!

MySQL counts the total sales data of each month

2022.7.11 overall solution
![[Sheung Shui Shuo series] EE feedback details](/img/19/5a80d5ef80d75be74b7ce08d6df058.png)
[Sheung Shui Shuo series] EE feedback details

Musk responded that the brain has been uploaded to the cloud: already did it!
随机推荐
Valentine's Day
Typora提示【This beta version of Typora is expired, please download and install a newer version】的解决方案
Aquanee: the true meaning of "p2e"
On the relationship between C language function name and function pointer
redis学习一redis介绍及NIO原理介绍
Notify consumers after provider information changes in RPC
Meta tags let search engines search your website
MySQL index filesort
[wechat applet development] (IV) uni app from getting started to giving up
After two days of tossing and turning, I finally wrote my first fluent app, which almost tortured me into a nervous breakdown
mysql SUBSTRING_ Application of index in business scenarios
情人节
Read and understand move2earn project - move
Play to earn: a new and more promising game paradigm in the future
T-SQL query statement
Sed add content after a line
Mysql database advanced
Limited and unlimited Games: crypto
1、 Midwey addition, deletion, modification and query
Route interceptor