Home| Progetto| Web| Faq| Acronimi | ||||||||||||||||||||||||||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
Oracle...
Info:
Database buffer cache
Oracle...
Script:
Esempio schema per analisi sui processi e parametri del db
Unix...
Tip:
How remove a file named -r
PLSQL...
Script:
Inizialiazzazione e stampa variabili
Oracle...
Tip:
TRACE_LEVEL_LISTENER=16
Oracle...
Faq:
Come individuare a quale tablespace appartiene una tabella?
Shell scripting...
Script:
Pulire i file provenienti da ambieti dos/ windoes da caratteri sporchi
La rabbia è creativa, la depressione è senza utilità
Dyson, Freeman J.
Php Funzione mail()
Charles Babbage(1791-1871) nel 1823 ottenne dal governo 100 Sterline per la costruzione del calcolatore Different Engine.
La rabbia è creativa, la depressione è senza utilità
Dyson, Freeman J.
|
Oracle
Home >Oracle > Auditing for wrong sql
Simple and quick example auditing on insert, tested on Oracle 10.2.0.1.0. The context: I have some batch jobs and ETL application cannot insert data on a table. Programmers get Oracle errors such ORA-01722 but unfortunally cannot print out the wrong sql statements and so they have problem debugging. Programmers asked for DBA help. Among various Oracle tools, I pick up auditing tecnique. Auditing can be traced on files (OS) or on tables (DB, DB_EXTENDED). In this case I choose on tables. First, I make sure the Oracle initialisation parameters are properly setted, if not, I need to modify the parameter file and restart the db, in fact these parameter are not dynamic. audit_trail=DB_EXTENDED audit_sys_operations=TRUE audit insert on test.t1 by access whenever not successful; I use the clause access instead of session/font>, I want intercept any single statement on the table, and whenever not successful is precisely what I am looking for. Now that's all set, I try this basic test. Schema TEST got this simple table t1(n number,d date); Logged as TEST I execute the following insert statements: insert into t1 values(90,sysdate); insert into t1 values('aaa',sysdate); insert into t1 values(110,sysdate); insert into t1 values(110,to_date('2006-23-01','yyyy-mm-dd')); Lines 2 and 4 are obiously not correct (string instead a number, incorrect month). Logged as dba, I do aspect to find these incorrect statements on AUD$ table and in the dba_audit_trail view. So I run a query like this: select timestamp, userhost, terminal,owner,obj_name,action_name,returncode,sql_text from dba_audit_trail;
So it works as expected and I am ready for the serious work: incorrect insert actions have been recorded on the audit table. When I am over with audititing, I disable the audit: noaudit insert on test.t1; I disable the init parameters. To delete the sys.Aud$ table records, just delete them. Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Comandi ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Codici errore ![]() ![]() ![]() ![]() ![]() |
Cerca
Oracle...
Info:
Spazio su disco per motore Oracle 10g
Il web è un giovane media: infatti ha solo 10 anni di età.
Si pensi alla televisione o al cinema all'età di 10 anni. A quei tempi questi media erano primitivi, ancora alla ricerca della loro strada.
Venivano esplorati i limiti della nuova tecnologia, ma grandi progressi dovevano ancora essere raggiunti.
Oggi, i professionisti del web si trovano nella stessa fase. Sono pionieri che stanno ancora esplorando i limiti del nuovo media. Senza dubbio, i nostri nipoti, quando vedranno quello che abbiamo fatto pensaranno a qualcosa di elementare.
C'è ancora molto da scopire su quello che il Web può fare e suo come può essere utilizzato.
Jason Foss
Il web è un giovane media: infatti ha solo 10 anni di età.
Si pensi alla televisione o al cinema all'età di 10 anni. A quei tempi questi media erano primitivi, ancora alla ricerca della loro strada.
Venivano esplorati i limiti della nuova tecnologia, ma grandi progressi dovevano ancora essere raggiunti.
Oggi, i professionisti del web si trovano nella stessa fase. Sono pionieri che stanno ancora esplorando i limiti del nuovo media. Senza dubbio, i nostri nipoti, quando vedranno quello che abbiamo fatto pensaranno a qualcosa di elementare.
C'è ancora molto da scopire su quello che il Web può fare e suo come può essere utilizzato.
Jason Foss
Oracle...
Info:
Max table and column length in characters
Oracle...
Citazioni:
Designing an efficient Schema ...
Oracle...
Definizioni:
Schema
Oracle...
Definizioni:
Transazione
Shell scripting...
Script:
Array in do while construct
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |