---
title: "查询oracle表容量，查看字段存储方式"
author: "jerry_chen"
date: "2012-11-07T18:16:05Z"
tags: []
categories: ["数据库"]
slug: "oracle"
draft: false
lastmod: "2012-11-08T16:40:23Z"
id: 1718636
url: "https://jerry-chen.iteye.com/blog/1718636"
---

查询标容量：

select segment\_name, bytes, bytes/1024/1024/1024 as GB from user\_segments where segment\_name = '大写的表名'

 

查看字段存储方式：

select a.id, dump(a.id)  from table a