Valeu pela dica, isso vai me ajudar.

  ----- Original Message ----- 
  From: [EMAIL PROTECTED] 
  To: oracle_br@yahoogrupos.com.br 
  Sent: Tuesday, May 08, 2007 5:54 PM
  Subject: Re: [oracle_br] Tamanho em bytes de uma tabela



  SQL> desc dba_segments
  Name Null? Type
  ----------------------------------------- --------
  ----------------------------
  OWNER VARCHAR2(30)
  SEGMENT_NAME VARCHAR2(81)
  PARTITION_NAME VARCHAR2(30)
  SEGMENT_TYPE VARCHAR2(18)
  TABLESPACE_NAME VARCHAR2(30)
  HEADER_FILE NUMBER
  HEADER_BLOCK NUMBER
  BYTES NUMBER
  BLOCKS NUMBER
  EXTENTS NUMBER
  INITIAL_EXTENT NUMBER
  NEXT_EXTENT NUMBER
  MIN_EXTENTS NUMBER
  MAX_EXTENTS NUMBER
  PCT_INCREASE NUMBER
  FREELISTS NUMBER
  FREELIST_GROUPS NUMBER
  RELATIVE_FNO NUMBER
  BUFFER_POOL VARCHAR2(7)

  select segment_name, sum(bytes/1024/1024) from dba_segments where 
segment_name='tabela'
  group by segment_name;

  "Aleksandro" <[EMAIL PROTECTED]>@yahoogrupos.com.br em
  08/05/2007 17:25:47

  Favor responder a oracle_br@yahoogrupos.com.br

  Enviado Por: oracle_br@yahoogrupos.com.br

  Para: oracle_br@yahoogrupos.com.br
  cc: (bcc: priscila pacheco viana BULL/LIGHT)
  Assunto: [oracle_br] Tamanho em bytes de uma tabela

  Boa tarde,

  Estou necessitando de um Select que contenha o nome das tabelas e o
  tamanho em bytes de cada tabela listada.
  Procurei no forum e não encontrei nada. Alguem sabe se existe algo
  parecido com isso.

  ----------

  O conteúdo desta mensagem e seus anexos constitui informação confidencial. O 
seu uso, 
  divulgação, reprodução e/ou cópia são proibidos. Caso não seja o destinatário 
da mesma, 
  favor devolvê-la para o remetente e apagá-la em seguida.
  ----------------------------------------------------------
  This message is intended only for the individual organization to which it is 
addressed and 
  contains confidential or privileged information. Any retransmission, 
dissemination or other 
  use of this information by anyone other than the intended recipient is 
prohibited. If you are 
  not the intended recipient please reply to or forward a copy of this message 
to the sender 
  and delete the message.

  [As partes desta mensagem que não continham texto foram removidas]



   

[As partes desta mensagem que não continham texto foram removidas]

Responder a