Getting More Information about Partitions
We can retrieve the information regarding partitions by accessing user_tables, dba_part_tables,and user_segments. Example queries to these three tables are displayed next with corresponding output for the examples in the preceding section.
select table_name, partitioned
from dba_tables
where table_name in ('DEPT','EMP');
select owner, table_name, partition_count
from dba_part_tables
where table_name = 'DEPT';
select segment_name, partition_name, segment_type, tablespace_name
from user_segments;
select table_name, partitioned
from dba_tables
where table_name in ('DEPT','EMP');
select owner, table_name, partition_count
from dba_part_tables
where table_name = 'DEPT';
select segment_name, partition_name, segment_type, tablespace_name
from user_segments;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12361284/viewspace-594410/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 04 - More about CSS PositionCSS
- The ITer should learn more about ITIL
- Repca: Error -Sqlexception On Getting Sid And Systemname InformationPCAErrorSQLExceptionORM
- Using SQL Script Get Information about ASMSQLORMASM
- Viewing Information About the SGA (115)ViewORM
- Miscellaneous Information about Creating Indexes on Partitioned TablesORMIndex
- virtualbox啟動報“Driver is probably stuck stopping/starting. Try ‘sc.exe query vboxdrv’ to get more information about its state”ORM
- Using Diagwait as a diagnostic to get more information for diagnosing Oracle Clusterware Node evictiAIORMOracle
- Details on individual partitionsAI
- Partitioned Indexes on Composite PartitionsIndex
- ClickHouse 的 Parts 和 Partitions
- Beaglebone - Getting Started
- About HTMLHTML
- About interviewView
- About Personality
- About IndexDBIndex
- about bapiAPI
- about me
- Uncertainy and informationAIORM
- 如何修改table及partitions Table
- MapInfo is no moreAPI
- getting started with transformjsORMJS
- Windows HLK Getting StartedWindows
- about datapump parallelParallel
- About Oracle WITH clauseOracle
- About Oracle LockOracle
- About post and get
- about histogram(2)Histogram
- about histogram(1)Histogram
- PostgreSQL DBA(39) - PG 12 Functions for partitionsSQLFunction
- Do more, fasterAST
- Hive Getting Started補充Hive
- ElasticSearch 2 (1) - Getting StartElasticsearch
- Getting Listeners from JavaBeansTM (轉)JavaBean
- An example about git hookGitHook
- About Oracle HanganalyzeOracle
- All About PythonPython
- os staroge:about stripe