Veja:
Run this script and it will tell you what the object is that is corrupt.
Hopefully it's an index and you can just drop it and recreate it. If it's a
table then there are a couple of things you can do to fix it.
/* title: Corrupt_blocks
purpose:This script will find what objects are corrup
BRUNO,
Utilize o script abaixo.
set pages 3000
spool select.sql
select
'select ' || COLUMN_NAME || ' FROM ' || owner || '.' || table_name || '
WHERE ' || COLUMN_NAME || ' LIKE ' || || '%JOSE%' ||
from
Depois de fazer o rebuild, eh necessário fazer o analyze.
o rebuild, recria o indice.
o analyze, coleta estatisticas do indice.
Se voce estiver usando RULE, desconsidere o analyze.
Marcelo Graçadio
Em 06/09/05, Wellington Servare Santos<[EMAIL PROTECTED]> escreveu:
> Trabalho com a versão 8.1
Utilize sequence!
Em 01/09/05, eramirtoncrispim<[EMAIL PROTECTED]> escreveu:
> Pessoal de que forma posso substituir o select max por outra coisa
> mais rápido, tenho uma tabela com + de 2.000.000 de registros para
> pegar o maior número.
>
> Obrigado!
>
>
>
>
>
>
>
> ___
Na versão 10g, as estatisticas sao coletadas automaticamente.
Em 24/08/05, Renan da Silveira Medeiros<[EMAIL PROTECTED]> escreveu:
> Meu caro, vc usa oracle10g, e ainda sente necessidade de criar procedure para
> gerar estatistica.
> No OEM tem tudo isto de graçarsrs
>
> Renan Medeiros
> Coo
Pessoal,
A Sumara da empresa HOLD TI me ligou oferecendo uma vaga de DBA ORACLE
para trabalhar com 9ias.
A vaga é para CLT e estao pagando R$4000.
Caso alguem tenha interesse, o telefone dela é: 2141-9000 e o email é:
[EMAIL PROTECTED]
--
Marcelo Moreira Graçadio
DBA ORACLE
9970-5496
O SEU LISTENER ESTA ERRADO:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME= LISTENER)
(ORACLE_HOME= /apl/oraprod/proddb/9.2.0)
(SID_NAME = LISTENER)
)
)
Voce precisa alterar o global_dbname e o sid_name.