Catégorie : Oracle12C,19C

Adjusting the optimizer_index_cost_adj Parameter

https://xcoolwinds.wordpress.com/2013/08/23/adjusting-the-optimizer-index-cost-adj-parameter/   Issue the following query to view the average wait times for both of the wait events: SQL> select event, average_wait from v$system_event       where event like ‘db file s%read’;EVENT                                                            AVERAGE_WAIT———————————                            ——————————-db file. read more…

Suppression des objets pour un schéma

beginfor f in (select table_name from user_tables) loopexecute immediate ‘drop table « ‘||f.table_name||’ » cascade constraints’;end loop;for f in (select object_type, object_name from user_objects where object_type in (‘SEQUENCE’,’VIEW’,’FUNCTION’,’PROCEDURE’,’PACKAGE’,’SYNONYM’,’DATABASE LINK’)) loopexecute immediate ‘drop. read more…

Translate »