当前位置:网站首页>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
边栏推荐
- kettle庖丁解牛第16篇之输入组件周边讲解
- POM of SSM integration xml
- playwright控制本地穀歌瀏覽打開,並下載文件
- MySQL5. 5 installation tutorial
- TCP 复位gongji原理和实战复现
- 集简云 x 飞书深诺,助力企业运营部实现自动化办公
- 爱可可AI前沿推介 (4.23)
- [point cloud series] deepmapping: unsupervised map estimation from multiple point clouds
- 2021年6月程序员工资统计,平均15052元,你拖后腿了吗?
- 浅谈js正则之test方法bug篇
猜你喜欢

Tangent space

9419页最新一线互联网Android面试题解析大全
![[point cloud series] Introduction to scene recognition](/img/1f/c64712b03ae5b235b5dd3347c3e86a.png)
[point cloud series] Introduction to scene recognition

MySQL5. 5 installation tutorial

The difference between string and character array in C language

联想拯救者Y9000X 2020

【视频】线性回归中的贝叶斯推断与R语言预测工人工资数据|数据分享

Logstash数据处理服务的输入插件Input常见类型以及基本使用

vscode小技巧

How to build a line of code with M4 qprotex
随机推荐
Software test system integration project management engineer full truth simulation question (including answer and analysis)
TCP 复位gongji原理和实战复现
9419 page analysis of the latest first-line Internet Android interview questions
torch. Where can transfer gradient
顶级元宇宙游戏Plato Farm,近期动作不断利好频频
[Journal Conference Series] IEEE series template download guide
TIA博途中基于高速计数器触发中断OB40实现定点加工动作的具体方法示例
解决tp6下载报错Could not find package topthink/think with stability stable.
Summary of request and response and their ServletContext
Esp32 vhci architecture sets scan mode for traditional Bluetooth, so that the device can be searched
[point cloud series] neural opportunity point cloud (NOPC)
./gradlew: Permission denied
【行走的笔记】
JS time to get this Monday and Sunday, judge the time is today, before and after today
Explanation of input components in Chapter 16
Short name of common UI control
100000 college students have become ape powder. What are you waiting for?
Solve tp6 download error course not find package topthink / think with stability stable
POM of SSM integration xml
Campus takeout system - "nongzhibang" wechat native cloud development applet