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:
Se non viene definite tablespace permanente e temporanea
Oracle...
Script:
dbms_output.put_line
Unix...
Tip:
Rimuovere un file in Unix / Delete a file
PLSQL...
Script:
Gestione errori
Oracle...
Tip:
V$RECOVER_FILE vista dinamica sullo stato dei datafile
Oracle...
Faq:
Come individuare a quale tablespace appartiene una tabella?
Shell scripting...
Script:
Shell script automating oracle data pump schema export
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
Php Funzione mail()
XPath is a language for addressing parts of an XML document.
It is designed to be used by XSLT and XPointer.
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
|
Oracle
Home >Oracle > Enabling ddl logging
The parameter enable_ddl_logging let us trace on file ddl operations. The log files are located on diagnostic_dest directory log and in its subfolder ddl Example, let's enable ddl logging: $ sqlplus sys as sysdba SQL*Plus: Release 12.1.0.2.0 Production on Fri Nov 6 16:09:21 2015 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production SQL> show parameter enable_ddl_logging NAME TYPE VALUE ------------------------------------ ----------- ------------ enable_ddl_logging boolean FALSE SQL> alter system set enable_ddl_logging=true; System altered. And now, let's generate some quick ddl: SQL> create table t1 (n number) tablespace users; Table created. SQL> create index ind_t1_n on t1(n) tablespace users; Index created. SQL> -- some dml too just to put on some rows SQL> insert into t1 values (1); 1 row created. SQL> commit; Commit complete. SQL> create materialized view mv_t1 as select * from t1; Materialized view created. SQL> insert into t1 values (2); 1 row created. SQL> commit; SQL> -- now let's create a materialized view SQL> exec dbms_mview.refresh('mv_t1'); PL/SQL procedure successfully completed. SQL> select * from mv_t1; N ---------- 1 2 SQL> create view v_t1 as select * from t1; Let’s see what we traced, first locate the log directory on diagnostic_dest (same level of the trace directory where resides the alert log file) $ pwd /oracle/db_12C/diag/rdbms/DB01/log $ ls -latr total 20 drwxr-xr-x 2 oracle oinstall 3 Nov 6 16:36 ddl -rw-r----- 1 oracle oinstall 181 Nov 6 16:41 ddl_DB01.log $ cat ddl_DB01.log Fri Nov 06 16:36:31 2015 diag_adl:create table t1 (n number) tablespace users diag_adl:create index ind_t1_n on t1(n) tablespace users diag_adl:create view v_t1 as select * from t1 Fri Nov 06 17:00:45 2015 diag_adl:truncate table wri$_adv_addm_pdbs 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:
Conversioni implicita tipi
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
Oracle...
Info:
Conversioni implicita tipi
Oracle...
Citazioni:
Designing an efficient Schema ...
Oracle...
Definizioni:
Schema
Oracle...
Definizioni:
Variabile bind
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 |