Transaction logs

DBA Geral (instalação, configuração do banco, scripts do Sql*Plus, shell scripts, batch scripts, etc...)
Post Reply
DBA_LUCAS
Rank: Programador Sênior
Rank: Programador Sênior
Posts: 55
Joined: Wed, 27 Oct 2010 1:49 pm
Location: Belo Horizonte - MG

Environment information:
* Oracle version: 11g
* Operating system: Windowns

Expensive friends,
Do you know if you have any form of Oracle to get logs log (inserts, deletes, updates, etc ...) made by the application ??

ex: a sale that is made by a box ...

Thanks;
victorhugomuniz
Moderador
Moderador
Posts: 1396
Joined: Fri, 01 Feb 2008 2:06 pm
Location: Rio de Janeiro - RJ
Contact:
:D

I think it's just a trace but ..


for real time you can pick up v$session filtering through the application and v$sql picking up the instruction
elidias7
Rank: Analista Sênior
Rank: Analista Sênior
Posts: 153
Joined: Thu, 01 Nov 2007 2:53 pm
Location: Osasco
Eli Dias
Oracle Certified Professional

Oops!

to connect the session trace or in a more unusual way it is to use LogMiner.

Hugs,
DBA_LUCAS
Rank: Programador Sênior
Rank: Programador Sênior
Posts: 55
Joined: Wed, 27 Oct 2010 1:49 pm
Location: Belo Horizonte - MG

Explain the operation of log_miner please ...
elidias7
Rank: Analista Sênior
Rank: Analista Sênior
Posts: 153
Joined: Thu, 01 Nov 2007 2:53 pm
Location: Osasco
Eli Dias
Oracle Certified Professional

Oops!

It is a package in Oracle that makes you see the content of the Archive logs.

Hugs,
tiago.steil
Rank: Programador Júnior
Rank: Programador Júnior
Posts: 17
Joined: Thu, 01 Jul 2010 3:22 pm
Location: RS
Oracle Developer

What do you need is a record of all transactions made in a determine table?

Would it be a log trigger?
DBA_LUCAS
Rank: Programador Sênior
Rank: Programador Sênior
Posts: 55
Joined: Wed, 27 Oct 2010 1:49 pm
Location: Belo Horizonte - MG

In fact it would not be in a table only, it would be all transactions.
Ex: You have a front of a box and want to know everything that was sold, who sold, or who connected in the bank, what time, porque gave that insert in such a place that left my stock different of what was ...

Without such a log any person who has access to my bank for some user who has permissions can change a sale or purchase without anyone noticing ... I'm reading about The log mines but I still can not run ...
adambarao
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 7
Joined: Thu, 10 Jul 2008 2:12 pm
Location: curitiba -PR

Good afternoon friend, in my opinion the best way to do this would be through the bank audit.

Activating the database audit, you can choose which commands either audit as <create user> drop_user Select, Insert, Update, Delete, between several others. Even choose which users will be audited, or activate for all users.
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest