当前位置:网站首页>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
边栏推荐
- Stack protector under armcc / GCC
- Set Jianyun x Feishu Shennuo to help the enterprise operation Department realize office automation
- 5 tricky activity life cycle interview questions. After learning, go and hang the interviewer!
- [Journal Conference Series] IEEE series template download guide
- You and the 42W bonus pool are one short of the "Changsha bank Cup" Tencent yunqi innovation competition!
- Solution: you have 18 unapplied migration (s) Your project may not work properly until you apply
- ./gradlew: Permission denied
- vscode小技巧
- [point cloud series] pointfilter: point cloud filtering via encoder decoder modeling
- “湘见”技术沙龙 | 程序员&CSDN的进阶之路
猜你喜欢
超40W奖金池等你来战!第二届“长沙银行杯”腾讯云启创新大赛火热来袭!
LeetCode_ DFS_ Medium_ 695. Maximum area of the island
Detailed explanation of ADB shell top command
Plato farm, a top-level metauniverse game, has made frequent positive moves recently
交叉碳市场和 Web3 以实现再生变革
Tersus notes employee information 516 MySQL query (time period uniqueness judgment of 2 fields)
Ai21 labs | standing on the shoulders of giant frozen language models
Riscv MMU overview
[Journal Conference Series] IEEE series template download guide
Lenovo Savior y9000x 2020
随机推荐
Bottomsheetdialogfragment + viewpager + fragment + recyclerview sliding problem
MySQL5. 5 installation tutorial
Short name of common UI control
Error 403 in most cases, you or one of your dependencies are requesting
According to the salary statistics of programmers in June 2021, the average salary is 15052 yuan. Are you holding back?
[point cloud series] full revolutionary geometric features
NPM err code 500 solution
面试官给我挖坑:单台服务器并发TCP连接数到底可以有多少 ?
Is Hongmeng system plagiarism? Or the future? Professional explanation that can be understood after listening in 3 minutes
Set Jianyun x Feishu Shennuo to help the enterprise operation Department realize office automation
Exemple de méthode de réalisation de l'action d'usinage à point fixe basée sur l'interruption de déclenchement du compteur à grande vitesse ob40 pendant le voyage de tia Expo
XML
Usereducer basic usage
Innobackupex incremental backup
Example of specific method for TIA to trigger interrupt ob40 based on high-speed counter to realize fixed-point machining action
What do the raddr and rport in webrtc ice candidate mean?
浅谈js正则之test方法bug篇
[point cloud series] so net: self organizing network for point cloud analysis
JS compares different elements in two arrays
Common commands of ADB shell