English 中文(简体)
页: 1 彩色伐木
原标题:Oracle SQL Query logging

I m 采用Oracle 11g 标准版。

我要把所有由用户正在布署的Kall查询记录在一张桌上。

如何做到这一点?

最佳回答

如果你重新使用数据库的现代版本(9i或以后),并且你拥有企业版许可证,你可使用美分审计。 它使我们能够通过确定的政策,以非常低的微量度对用户查询进行审计。

为了掌握内容和约束变量,你需要制定审计准则。 TRAIL para amount appropriate when Additional an FGA Policy. 摘录更多


(一) 采用11g标准,因此审计职能不支持......

并非确切。 内部审计师指挥部是标准Oracle建筑的一部分,但只有在某个用户对某个表格发表“选举考试”时,才允许我们捕获。 但是,如果能确切地发现what,它们正在选择要求企业版许可证。

此外,没有国家选举倡议,因此我们不能自行推出。


"So can i use AUDIT command in the standard edition? ... But then a consultant told me, that i cannot use it without paying enterprise license? "

作为一名顾问,我确实必须说,这些谎言并不总是知道他们谈论什么。

So let s be clear:

  • the AUDIT command is part of Oracle SQL. It is usable with the Standard Edition. In fact since 11g it is enabled by default. It audits general activity. Find out more.
  • Fine Grained Auditing is a PL/SQL package with is only usable if you have the Enterprise Edition. It allows us to audit user activity at a very low level. Find out more.
问题回答




相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

Connecting to Oracle 10g with ODBC from Excel VBA

The following code works. the connection opens fine but recordset.recordCount always returns -1 when there is data in the table. ANd If I try to call any methods/properties on recordset it crashes ...

How to make a one to one left outer join?

I was wondering, is there a way to make a kind of one to one left outer join: I need a join that matches say table A with table B, for each record on table A it must search for its pair on table B, ...

Insert if not exists Oracle

I need to be able to run an Oracle query which goes to insert a number of rows, but it also checks to see if a primary key exists and if it does, then it skips that insert. Something like: INSERT ALL ...

How can I store NULLs in NOT NULL field?

I just came across NULL values in NOT-NULL fields in our test database. How could they get there? I know that NOT-NULL constraints can be altered with NOVALIDATE clause, but that would change table s ...

Type reference scope

I m studying databases and am currently working on a object-relational DB project and I ve encountered a small problem with the number of possible constraints in an object table. I m using "Database ...

OracleParameter and DBNull.Value

we have a table in an Oracle Database which contains a column with the type Char(3 Byte). Now we use a parameterized sql to select some rows with a DBNull.Value and it doesn t work: OracleCommand ...

热门标签