---
title: "ORACLE的分区"
author: "dingtao"
date: "2008-06-24T16:06:34Z"
tags: ["Oracle"]
slug: "oracle"
draft: false
lastmod: "2008-06-24T16:06:34Z"
id: 207556
url: "https://dingtao.iteye.com/blog/207556"
---

通过以下表表查询ORACLE里表的分区：

 

查看主分区

select * from dba\_tab\_partitions t where t.table\_name = 'MKT\_CHAN\_RES\_NUM\_STATUS\_DAY';

查看子分区  
select * from dba\_tab\_subpartitions t where t.table\_name = 'MKT\_CHAN\_RES\_NUM\_STATUS\_DAY';