Last commands

DBA Geral (instalação, configuração do banco, scripts do Sql*Plus, shell scripts, batch scripts, etc...)
Post Reply
Doutorjava
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 3
Joined: Wed, 04 Apr 2007 3:06 pm
Location: Goiania

Guys, I'vê seen something about it, but I do not remember, it's the following Oracle keeps all the commands he performs on some table, what's this table?

Thanks
User avatar
dr_gori
Moderador
Moderador
Posts: 5026
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

It is not quite a "table"
Oracle can record everything being changing in Archives.
With this it is possible to retrieve the bank information to the moment of the "crash".
Doutorjava
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 3
Joined: Wed, 04 Apr 2007 3:06 pm
Location: Goiania

I'm not sure if it's a table! But my need is not to recover the data. I just performed some commands and would like to run them again, I know some tools (ex: TOAD) keeps the last scripts, but I did not do it for it, so I lost the commands.
User avatar
dr_gori
Moderador
Moderador
Posts: 5026
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

I do not think it will be possible to recover this.
You see: These are thousands of Selects / Updates / Deletes that are made every minute. Where did Oracle store these scripts?

This type of "log" of the executed commands is very common only in development tools (like you said toad, pl / sqldeveloper, etc.).
pzuchelli
Rank: Programador Júnior
Rank: Programador Júnior
Posts: 27
Joined: Wed, 10 Jan 2007 8:29 pm
Location: SP

Expensive,


Oracle stores the DML commands in the Red Log Files for database recovery in case of failure. If the database is in Archive Log Mode these logs are archived on a device.

I hope I could have helped.


Hugs
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest