Olá Pessoal,
Alguém poderia me ajudar?
Estou aqui no serviço tentando rodando uma subquery no Oracle que retorna aproximadamente 80.000 linhas... mas quando faço um INSERT nessa Subquery aparece a seguinte mensagem de erro: " ORA-01157 '
O que poderia ser? Alguém, tem uma idéia?
HELP " ERRO ORA-01157 "
- dr_gori
- Moderador
- Mensagens: 5024
- Registrado em: Seg, 03 Mai 2004 3:08 pm
- Localização: Portland, OR USA
- Contato:
Thomas F. G
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
Não entendi isso:
Dá erro no select ou no insert?
De acordo com o erro, parece que o datafile não está disponível a nível de Sistema Operacional. O que o manual sugere é dar um ALTER SYSTEM CHECK DATAFILES. Veja abaixo:
Você está fazendo Insert numa tabela? é isso?faço um INSERT nessa Subquery
Dá erro no select ou no insert?
De acordo com o erro, parece que o datafile não está disponível a nível de Sistema Operacional. O que o manual sugere é dar um ALTER SYSTEM CHECK DATAFILES. Veja abaixo:
ORA-01157: cannot identify/lock data file string - see DBWR trace file
Cause: The background process was either unable to find one of the data files or failed to lock it because the file was already in use. The database will prohibit access to this file but other files will be unaffected. However, the first instance to open the database will need to access all online data files. The accompanying error from the operating system describes why the file could not be identified.
Action: At the operating system level, make the file available to the database. Then either open the database or do an ALTER SYSTEM CHECK DATAFILES.
-
- Informação
-
Quem está online
Usuários navegando neste fórum: Nenhum usuário registrado e 11 visitantes