当前位置:网站首页>Operations related to Oracle partition
Operations related to Oracle partition
2022-04-23 13:40:00 【Wangcai 2】
View the data in the partition
select count(1) from Table name partition( Section name );
View the data in the sub partition
select count(1) from Table name subpartition( Section name );
Delete partition ( After the operation , The partition and the data in the partition are gone )
ALTER TABLE Table name DROP PARTITION Section name update global indexes;
Delete subpartition ( After the operation , There is no data in the sub partition and the sub partition )
ALTER TABLE Table name DROP SUBPARTITION Sub partition name update global indexes;
truncate Partition ( After the operation , The data in the partition is gone , But the partition is still )
ALTER TABLE Table name TRUNCATE PARTITION Section name update global indexes;
truncate Subarea ( After the operation , There is no data in the sub partition , But the sub partition is still )
ALTER TABLE Table name TRUNCATE SUBPARTITION Sub partition name update global indexes;
版权声明
本文为[Wangcai 2]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230604301520.html
边栏推荐
- 2020最新Android大厂高频面试题解析大全(BAT TMD JD 小米)
- LeetCode_ DFS_ Medium_ 695. Maximum area of the island
- TIA博途中基于高速计数器触发中断OB40实现定点加工动作的具体方法示例
- "Xiangjian" Technology Salon | programmer & CSDN's advanced road
- TCP 复位gongji原理和实战复现
- ./gradlew: Permission denied
- 顶级元宇宙游戏Plato Farm,近期动作不断利好频频
- Analysis of the latest Android high frequency interview questions in 2020 (BAT TMD JD Xiaomi)
- Isparta is a tool that generates webp, GIF and apng from PNG and supports the transformation of webp, GIF and apng
- How do ordinary college students get offers from big factories? Ao Bing teaches you one move to win!
猜你喜欢
Common interview questions and detailed analysis of the latest Android developers in 2020
Cross carbon market and Web3 to achieve renewable transformation
零拷贝技术
你和42W奖金池,就差一次“长沙银行杯”腾讯云启创新大赛!
Stack protector under armcc / GCC
SHA512 / 384 principle and C language implementation (with source code)
Set Jianyun x Feishu Shennuo to help the enterprise operation Department realize office automation
叮~ 你的奖学金已到账!C认证企业奖学金名单出炉
[Video] Bayesian inference in linear regression and R language prediction of workers' wage data | data sharing
[quick platoon] 215 The kth largest element in the array
随机推荐
Lpddr4 notes
TIA博途中基於高速計數器觸發中斷OB40實現定點加工動作的具體方法示例
Data warehouse - what is OLAP
FatFs FAT32 learning notes
Android clear app cache
Example of specific method for TIA to trigger interrupt ob40 based on high-speed counter to realize fixed-point machining action
[point cloud series] summary of papers related to implicit expression of point cloud
浅谈js正则之test方法bug篇
[barycentric coordinate interpolation, perspective correction interpolation] principle and usage opinions
Tersus notes employee information 516 MySQL query (time period uniqueness judgment of 2 fields)
Scons build embedded ARM compiler
The interviewer dug a hole for me: how many concurrent TCP connections can a single server have?
SAP UI5 应用开发教程之七十二 - SAP UI5 页面路由的动画效果设置
校园外卖系统 - 「农职邦」微信原生云开发小程序
9419页最新一线互联网Android面试题解析大全
9419 page analysis of the latest first-line Internet Android interview questions
EMMC / SD learning notes
[point cloud series] so net: self organizing network for point cloud analysis
顶级元宇宙游戏Plato Farm,近期动作不断利好频频
playwright控制本地谷歌浏览打开,并下载文件