{"id":105,"date":"2009-10-01T14:09:00","date_gmt":"2009-10-01T12:09:00","guid":{"rendered":"http:\/\/antynet.pl\/index.php\/2009\/10\/01\/oracle-scripts\/"},"modified":"2010-08-24T22:38:28","modified_gmt":"2010-08-24T20:38:28","slug":"oracle-scripts","status":"publish","type":"post","link":"https:\/\/www.antynet.pl\/index.php\/2009\/10\/01\/oracle-scripts\/","title":{"rendered":"ORACLE SCRIPTS"},"content":{"rendered":"<p>podane za <a href=\"http:\/\/download.oracle.com\/docs\/cd\/B19306_01\/server.102\/b14237\/toc.htm\" target=\"_blank\" rel=\"nofollow noopener\"><b>Oracle\u00ae Database Reference 10<i>g<\/i> Release 2 (10.2)<\/b><\/a> Part Number B14237-04<\/p>\n<p class=\"titleintable\">Table B-1 Creating the Data Dictionary Scripts<\/p>\n<table class=\"FormalWide\" title=\"Creating the Data Dictionary Scripts\" summary=\"This table is described in the preceding text\" dir=\"ltr\" frame=\"hsides\" rules=\"groups\" width=\"100%\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\">\n<col width=\"22%\"> <\/col>\n<col width=\"33%\"> <\/col>\n<col width=\"*\"> <\/col>\n<thead>\n<tr valign=\"top\" align=\"left\">\n<th id=\"r1c1-t3\" valign=\"bottom\" align=\"left\">Script Name<\/th>\n<th id=\"r1c2-t3\" valign=\"bottom\" align=\"left\">Needed For<\/th>\n<th id=\"r1c3-t3\" valign=\"bottom\" align=\"left\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r2c1-t3\" headers=\"r1c1-t3\" align=\"left\">\n<p><a id=\"sthref2840\" name=\"sthref2840\"><\/a><a id=\"sthref2841\" name=\"sthref2841\"><\/a><code>catalog.sql<\/code><\/p>\n<\/td>\n<td headers=\"r2c1-t3 r1c2-t3\" align=\"left\">\n<p>All databases<\/p>\n<\/td>\n<td headers=\"r2c1-t3 r1c3-t3\" align=\"left\">\n<p>Creates the data dictionary and public synonyms for many of its views<\/p>\n<p>Grants <code>PUBLIC<\/code> access to the synonyms<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r3c1-t3\" headers=\"r1c1-t3\" align=\"left\">\n<p><a id=\"sthref2842\" name=\"sthref2842\"><\/a><a id=\"sthref2843\" name=\"sthref2843\"><\/a><code>catproc.sql<\/code><\/p>\n<\/td>\n<td headers=\"r3c1-t3 r1c2-t3\" align=\"left\">\n<p>All databases<\/p>\n<\/td>\n<td headers=\"r3c1-t3 r1c3-t3\" align=\"left\">\n<p>Runs all scripts required for, or used with PL\/SQL<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r4c1-t3\" headers=\"r1c1-t3\" align=\"left\">\n<p><a id=\"sthref2844\" name=\"sthref2844\"><\/a><a id=\"sthref2845\" name=\"sthref2845\"><\/a><code>catclust.sql<\/code><\/p>\n<\/td>\n<td headers=\"r4c1-t3 r1c2-t3\" align=\"left\">\n<p>Real Application Clusters<\/p>\n<\/td>\n<td headers=\"r4c1-t3 r1c3-t3\" align=\"left\">\n<p>Creates Real Application Clusters data dictionary views<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<p class=\"titleintable\">Table B-2 Creating Additional Data Dictionary Structures<\/p>\n<table class=\"FormalWide\" title=\"Creating Additional Data Dictionary Structures\" summary=\"This table is described in the preceding text\" dir=\"ltr\" frame=\"hsides\" rules=\"groups\" width=\"100%\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\">\n<col width=\"21%\"> <\/col>\n<col width=\"21%\"> <\/col>\n<col width=\"19%\"> <\/col>\n<col width=\"*\"> <\/col>\n<thead>\n<tr valign=\"top\" align=\"left\">\n<th id=\"r1c1-t6\" valign=\"bottom\" align=\"left\">Script Name<\/th>\n<th id=\"r1c2-t6\" valign=\"bottom\" align=\"left\">Needed For<\/th>\n<th id=\"r1c3-t6\" valign=\"bottom\" align=\"left\">Run By<\/th>\n<th id=\"r1c4-t6\" valign=\"bottom\" align=\"left\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r2c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2850\" name=\"sthref2850\"><\/a><a id=\"sthref2851\" name=\"sthref2851\"><\/a><code>catblock.sql<\/code><\/p>\n<\/td>\n<td headers=\"r2c1-t6 r1c2-t6\" align=\"left\">\n<p>Performance management<\/p>\n<\/td>\n<td headers=\"r2c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r2c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates views that can dynamically display lock dependency graphs<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r3c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2852\" name=\"sthref2852\"><\/a><a id=\"sthref2853\" name=\"sthref2853\"><\/a><code>catexp7.sql<\/code><\/p>\n<\/td>\n<td headers=\"r3c1-t6 r1c2-t6\" align=\"left\">\n<p>Exporting data to Oracle7<\/p>\n<\/td>\n<td headers=\"r3c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r3c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates the dictionary views needed for the Oracle7 Export utility to export data from the Oracle Database in Oracle7 Export file format<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r4c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2854\" name=\"sthref2854\"><\/a><a id=\"sthref2855\" name=\"sthref2855\"><\/a><code>caths.sql<\/code><\/p>\n<\/td>\n<td headers=\"r4c1-t6 r1c2-t6\" align=\"left\">\n<p>Heterogeneous Services<\/p>\n<\/td>\n<td headers=\"r4c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r4c1-t6 r1c4-t6\" align=\"left\">\n<p>Installs packages for administering heterogeneous services<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r5c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2856\" name=\"sthref2856\"><\/a><a id=\"sthref2857\" name=\"sthref2857\"><\/a><code>catio.sql<\/code><\/p>\n<\/td>\n<td headers=\"r5c1-t6 r1c2-t6\" align=\"left\">\n<p>Performance management<\/p>\n<\/td>\n<td headers=\"r5c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r5c1-t6 r1c4-t6\" align=\"left\">\n<p>Allows I\/O to be traced on a table-by-table basis<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r6c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2858\" name=\"sthref2858\"><\/a><a id=\"sthref2859\" name=\"sthref2859\"><\/a><code>catoctk.sql<\/code><\/p>\n<\/td>\n<td headers=\"r6c1-t6 r1c2-t6\" align=\"left\">\n<p>Security<\/p>\n<\/td>\n<td headers=\"r6c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r6c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates the Oracle Cryptographic Toolkit package<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r7c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2860\" name=\"sthref2860\"><\/a><a id=\"sthref2861\" name=\"sthref2861\"><\/a><code>catqueue.sql<\/code><\/p>\n<\/td>\n<td headers=\"r7c1-t6 r1c2-t6\" align=\"left\">\n<p>Advanced Queuing<\/p>\n<\/td>\n<td headers=\"r7c1-t6 r1c3-t6\" align=\"left\"><\/td>\n<td headers=\"r7c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates the dictionary objects required for Advanced Queuing<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r8c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2862\" name=\"sthref2862\"><\/a><a id=\"sthref2863\" name=\"sthref2863\"><\/a><code>catrep.sql<\/code><\/p>\n<\/td>\n<td headers=\"r8c1-t6 r1c2-t6\" align=\"left\">\n<p>Oracle Replication<\/p>\n<\/td>\n<td headers=\"r8c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r8c1-t6 r1c4-t6\" align=\"left\">\n<p>Runs all SQL scripts for enabling database replication<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r9c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2864\" name=\"sthref2864\"><\/a><a id=\"sthref2865\" name=\"sthref2865\"><\/a><code>catrman.sql<\/code><\/p>\n<\/td>\n<td headers=\"r9c1-t6 r1c2-t6\" align=\"left\">\n<p>Recovery Manager<\/p>\n<\/td>\n<td headers=\"r9c1-t6 r1c3-t6\" align=\"left\">\n<p><code>RMAN<\/code> or any user with <code>GRANT_RECOVERY_CATALOG_OWNER<\/code> role<\/p>\n<\/td>\n<td headers=\"r9c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates recovery manager tables and views (schema) to establish an external recovery catalog for the backup, restore, and recovery functionality provided by the Recovery Manager (RMAN) utility<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r10c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2866\" name=\"sthref2866\"><\/a><a id=\"sthref2867\" name=\"sthref2867\"><\/a><code>dbmsiotc.sql<\/code><\/p>\n<\/td>\n<td headers=\"r10c1-t6 r1c2-t6\" align=\"left\">\n<p>Storage management<\/p>\n<\/td>\n<td headers=\"r10c1-t6 r1c3-t6\" align=\"left\">\n<p>Any user<\/p>\n<\/td>\n<td headers=\"r10c1-t6 r1c4-t6\" align=\"left\">\n<p>Analyzes chained rows in index-organized tables<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r11c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2868\" name=\"sthref2868\"><\/a><a id=\"sthref2869\" name=\"sthref2869\"><\/a><code>dbmspool.sql<\/code><\/p>\n<\/td>\n<td headers=\"r11c1-t6 r1c2-t6\" align=\"left\">\n<p>Performance management<\/p>\n<\/td>\n<td headers=\"r11c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code> or <code>SYSDBA<\/code><\/p>\n<\/td>\n<td headers=\"r11c1-t6 r1c4-t6\" align=\"left\">\n<p>Enables DBA to lock PL\/SQL packages, SQL statements, and triggers into the shared pool<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r12c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2870\" name=\"sthref2870\"><\/a><a id=\"sthref2871\" name=\"sthref2871\"><\/a><code>userlock.sql<\/code><\/p>\n<\/td>\n<td headers=\"r12c1-t6 r1c2-t6\" align=\"left\">\n<p>Concurrency control<\/p>\n<\/td>\n<td headers=\"r12c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code> or <code>SYSDBA<\/code><\/p>\n<\/td>\n<td headers=\"r12c1-t6 r1c4-t6\"\nalign=\"left\"> <\/p>\n<p>Provides a facility for user-named locks that can be used in a local or clustered environment to aid in sequencing application actions<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r13c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2872\" name=\"sthref2872\"><\/a><a id=\"sthref2873\" name=\"sthref2873\"><\/a><a id=\"sthref2874\" name=\"sthref2874\"><\/a><a id=\"sthref2875\" name=\"sthref2875\"><\/a><code>utlbstat.sql<\/code> and <code>utlestat.sql<\/code><\/p>\n<\/td>\n<td headers=\"r13c1-t6 r1c2-t6\" align=\"left\">\n<p>Performance monitoring<\/p>\n<\/td>\n<td headers=\"r13c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r13c1-t6 r1c4-t6\" align=\"left\">\n<p>Respectively start and stop collecting performance tuning statistics<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r14c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2876\" name=\"sthref2876\"><\/a><a id=\"sthref2877\" name=\"sthref2877\"><\/a><code>utlchn1.sql<\/code><\/p>\n<\/td>\n<td headers=\"r14c1-t6 r1c2-t6\" align=\"left\">\n<p>Storage management<\/p>\n<\/td>\n<td headers=\"r14c1-t6 r1c3-t6\" align=\"left\">\n<p>Any user<\/p>\n<\/td>\n<td headers=\"r14c1-t6 r1c4-t6\" align=\"left\">\n<p>For use with the Oracle Database. Creates tables for storing the output of the <code>ANALYZE<\/code> command with the <code>CHAINED ROWS<\/code> option. Can handle both physical and logical rowids.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r15c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2878\" name=\"sthref2878\"><\/a><a id=\"sthref2879\" name=\"sthref2879\"><\/a><code>utlconst.sql<\/code><\/p>\n<\/td>\n<td headers=\"r15c1-t6 r1c2-t6\" align=\"left\">\n<p>Year 2000 compliance<\/p>\n<\/td>\n<td headers=\"r15c1-t6 r1c3-t6\" align=\"left\">\n<p>Any user<\/p>\n<\/td>\n<td headers=\"r15c1-t6 r1c4-t6\" align=\"left\">\n<p>Provides functions to validate that <code>CHECK<\/code> constraints on date columns are year 2000 compliant<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r16c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2880\" name=\"sthref2880\"><\/a><a id=\"sthref2881\" name=\"sthref2881\"><\/a><code>utldtree.sql<\/code><\/p>\n<\/td>\n<td headers=\"r16c1-t6 r1c2-t6\" align=\"left\">\n<p>Metadata management<\/p>\n<\/td>\n<td headers=\"r16c1-t6 r1c3-t6\" align=\"left\">\n<p>Any user<\/p>\n<\/td>\n<td headers=\"r16c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates tables and views that show dependencies between objects<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r17c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2882\" name=\"sthref2882\"><\/a><a id=\"sthref2883\" name=\"sthref2883\"><\/a><code>utlexpt1.sql<\/code><\/p>\n<\/td>\n<td headers=\"r17c1-t6 r1c2-t6\" align=\"left\">\n<p>Constraints<\/p>\n<\/td>\n<td headers=\"r17c1-t6 r1c3-t6\" align=\"left\">\n<p>Any user<\/p>\n<\/td>\n<td headers=\"r17c1-t6 r1c4-t6\" align=\"left\">\n<p>For use with the Oracle Database. Creates the default table (<code>EXCEPTIONS<\/code>) for storing exceptions from enabling constraints. Can handle both physical and logical rowids.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r18c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2884\" name=\"sthref2884\"><\/a><a id=\"sthref2885\" name=\"sthref2885\"><\/a><code>utlip.sql<\/code><\/p>\n<\/td>\n<td headers=\"r18c1-t6 r1c2-t6\" align=\"left\">\n<p>PL\/SQL<\/p>\n<\/td>\n<td headers=\"r18c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r18c1-t6 r1c4-t6\" align=\"left\">\n<p>Used primarily for upgrade and downgrade operations. It invalidates all existing PL\/SQL modules by altering certain dictionary tables so that subsequent recompilations will occur in the format required by the database. It also reloads the packages <code>STANDARD<\/code> and <code>DBMS_STANDARD<\/code>, which are necessary for any PL\/SQL compilations.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r19c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2886\" name=\"sthref2886\"><\/a><a id=\"sthref2887\" name=\"sthref2887\"><\/a><code>utlirp.sql<\/code><\/p>\n<\/td>\n<td headers=\"r19c1-t6 r1c2-t6\" align=\"left\">\n<p>PL\/SQL<\/p>\n<\/td>\n<td headers=\"r19c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r19c1-t6 r1c4-t6\" align=\"left\">\n<p>Used to change from 32-bit to 64-bit word size or vice versa. This script recompiles existing PL\/SQL modules in the format required by the new database. It first alters some data dictionary tables. Then it reloads the packages <code>STANDARD<\/code> and <code>DBMS_STANDARD<\/code>, which are necessary for using PL\/SQL. Finally, it triggers a recompilation of all PL\/SQL modules, such as packages, procedures, and types.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r20c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2888\" name=\"sthref2888\"><\/a><a id=\"sthref2889\" name=\"sthref2889\"><\/a><code>utllockt.sql<\/code><\/p>\n<\/td>\n<td headers=\"r20c1-t6 r1c2-t6\" align=\"left\">\n<p>Performance monitoring<\/p>\n<\/td>\n<td headers=\"r20c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code> or <code>SYSDBA<\/code><\/p>\n<\/td>\n<td headers=\"r20c1-t6 r1c4-t6\" align=\"left\">\n<p>Displays a lock wait-for graph, in tree structure format<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r21c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2890\" name=\"sthref2890\"><\/a><a id=\"sthref2891\" name=\"sthref2891\"><\/a><code>utlpwdmg.sql<\/code><\/p>\n<\/td>\n<td headers=\"r21c1-t6 r1c2-t6\" align=\"left\">\n<p>Security<\/p>\n<\/td>\n<td headers=\"r21c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code> or <code>SYSDBA<\/code><\/p>\n<\/td>\n<td headers=\"r21c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates PL\/SQL functions for default password complexity verification. Sets the default password profile parameters and enables password management features.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r22c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2892\" name=\"sthref2892\"><\/a><a id=\"sthref2893\" name=\"sthref2893\"><\/a><code>utlrp.sql<\/code><\/p>\n<\/td>\n<td headers=\"r22c1-t6 r1c2-t6\" align=\"left\">\n<p>PL\/SQL<\/p>\n<\/td>\n<td headers=\"r22c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r22c1-t6 r1c4-t6\" align=\"left\">\n<p>Recompiles all existing PL\/SQL modules that were previously in an <code>INVALID<\/code> state, such as packages, procedures, and types.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r23c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2894\" name=\"sthref2894\"><\/a><a id=\"sthref2895\" name=\"sthref2895\"><\/a><code>utlsampl.sql<\/code><\/p>\n<\/td>\n<td headers=\"r23c1-t6 r1c2-t6\" align=\"left\">\n<p>Examples<\/p>\n<\/td>\n<td headers=\"r23c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code> or any user with DBA role<\/p>\n<\/td>\n<td headers=\"r23c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates sample tables, such as <code>emp<\/code> and <code>dept<\/code>, and users, such as <code>scott<\/code><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r24c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2896\" name=\"sthref2896\"><\/a><a id=\"sthref2897\" name=\"sthref2897\"><\/a><code>utlscln.sql<\/code><\/p>\n<\/td>\n<td headers=\"r24c1-t6 r1c2-t6\" align=\"left\">\n<p>Oracle Replication<\/p>\n<\/td>\n<td headers=\"r24c1-t6 r1c3-t6\" align=\"left\">\n<p>Any user<\/p>\n<\/td>\n<td headers=\"r24c1-t6 r1c4-t6\" align=\"left\">\n<p>Copies a snapshot schema from another snapshot site<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r25c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2898\" name=\"sthref2898\"><\/a><a id=\"sthref2899\" name=\"sthref2899\"><\/a><code>utltkprf.sql<\/code><\/p>\n<\/td>\n<td headers=\"r25c1-t6 r1c2-t6\" align=\"left\">\n<p>Performance management<\/p>\n<\/td>\n<td headers=\"r25c1-t6 r1c3-t6\" align=\"left\">\n<p><code>SYS<\/code><\/p>\n<\/td>\n<td headers=\"r25c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates the TKPROFER role to allow the TKPROF profiling utility to be run by non-DBA users<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r26c1-t6\" headers=\"r1c1-t6\" align=\"left\">\n<p><a id=\"sthref2900\" name=\"sthref2900\"><\/a><a id=\"sthref2901\" name=\"sthref2901\"><\/a><code>utlvalid.sql<\/code><\/p>\n<\/td>\n<td headers=\"r26c1-t6 r1c2-t6\" align=\"left\">\n<p>Partitioned tables<\/p>\n<\/td>\n<td headers=\"r26c1-t6 r1c3-t6\" align=\"left\">\n<p>Any user<\/p>\n<\/td>\n<td headers=\"r26c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates tables required for storing output of <code>ANALYZE TABLE ...VALIDATE STRUCTURE<\/code> of a partitioned table<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r27c1-t6\" headers=\n\"r1c1-t6\" align=\"left\"> <\/p>\n<p><a id=\"sthref2902\" name=\"sthref2902\"><\/a><a id=\"sthref2903\" name=\"sthref2903\"><\/a><code>utlxplan.sql<\/code><\/p>\n<\/td>\n<td headers=\"r27c1-t6 r1c2-t6\" align=\"left\">\n<p>Performance management<\/p>\n<\/td>\n<td headers=\"r27c1-t6 r1c3-t6\" align=\"left\">\n<p>Any user<\/p>\n<\/td>\n<td headers=\"r27c1-t6 r1c4-t6\" align=\"left\">\n<p>Creates the table <code>PLAN_TABLE<\/code>, which holds output from the <code>EXPLAIN PLAN<\/code> statement<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<p class=\"titleintable\">Table B-4 Upgrade and Downgrade Scripts<\/p>\n<table class=\"FormalWide\" title=\"Upgrade and Downgrade Scripts\" summary=\"This table is described in the preceding text\" dir=\"ltr\" frame=\"hsides\" rules=\"groups\" width=\"100%\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\">\n<col width=\"21%\"> <\/col>\n<col width=\"32%\"> <\/col>\n<col width=\"*\"> <\/col>\n<thead>\n<tr valign=\"top\" align=\"left\">\n<th id=\"r1c1-t9\" valign=\"bottom\" align=\"left\">Script Name<\/th>\n<th id=\"r1c2-t9\" valign=\"bottom\" align=\"left\">Needed For<\/th>\n<th id=\"r1c3-t9\" valign=\"bottom\" align=\"left\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r2c1-t9\" headers=\"r1c1-t9\" align=\"left\">\n<p><a id=\"sthref2926\" name=\"sthref2926\"><\/a><a id=\"sthref2927\" name=\"sthref2927\"><\/a><code>catdwgrd.sql<\/code><\/p>\n<\/td>\n<td headers=\"r2c1-t9 r1c2-t9\" align=\"left\">\n<p>Downgrading<\/p>\n<\/td>\n<td headers=\"r2c1-t9 r1c3-t9\" align=\"left\">\n<p>Provides a direct downgrade path from the new Oracle Database 10<span class=\"italic\">g<\/span> release<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r3c1-t9\" headers=\"r1c1-t9\" align=\"left\">\n<p><a id=\"sthref2928\" name=\"sthref2928\"><\/a><a id=\"sthref2929\" name=\"sthref2929\"><\/a><code>catupgrd.sql<\/code><\/p>\n<\/td>\n<td headers=\"r3c1-t9 r1c2-t9\" align=\"left\">\n<p>Upgrading<\/p>\n<\/td>\n<td headers=\"r3c1-t9 r1c3-t9\" align=\"left\">\n<p>Provides a direct upgrade path to the new Oracle Database 10<span class=\"italic\">g<\/span> release<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r4c1-t9\" headers=\"r1c1-t9\" align=\"left\">\n<p><a id=\"sthref2930\" name=\"sthref2930\"><\/a><a id=\"sthref2931\" name=\"sthref2931\"><\/a><code>utlu102i.SQL<\/code><\/p>\n<\/td>\n<td headers=\"r4c1-t9 r1c2-t9\" align=\"left\">\n<p>Pre-Upgrade Information<\/p>\n<\/td>\n<td headers=\"r4c1-t9 r1c3-t9\" align=\"left\">\n<p>Analyzes the database to be upgraded, detailing requirements and issues for the upgrade to release 10.2<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r5c1-t9\" headers=\"r1c1-t9\" align=\"left\">\n<p><a id=\"sthref2932\" name=\"sthref2932\"><\/a><a id=\"sthref2933\" name=\"sthref2933\"><\/a><code>utlu102s.SQL<\/code><\/p>\n<\/td>\n<td headers=\"r5c1-t9 r1c2-t9\" align=\"left\">\n<p>Post-Upgrade Status<\/p>\n<\/td>\n<td headers=\"r5c1-t9 r1c3-t9\" align=\"left\">\n<p>Displays the component upgrade status after an upgrade to release 10.2<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<p class=\"titleintable\">Table B-5 Java Scripts<\/p>\n<table class=\"Formal\" title=\"Java Scripts\" summary=\"This table is described in the preceding text\" dir=\"ltr\" frame=\"hsides\" rules=\"groups\" width=\"100%\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\">\n<col width=\"25%\"> <\/col>\n<col width=\"*\"> <\/col>\n<thead>\n<tr valign=\"top\" align=\"left\">\n<th id=\"r1c1-t11\" valign=\"bottom\" align=\"left\">Script Name<\/th>\n<th id=\"r1c2-t11\" valign=\"bottom\" align=\"left\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r2c1-t11\" headers=\"r1c1-t11\" align=\"left\">\n<p><a id=\"sthref2937\" name=\"sthref2937\"><\/a><a id=\"sthref2938\" name=\"sthref2938\"><\/a><code>initjvm.sql<\/code><\/p>\n<\/td>\n<td headers=\"r2c1-t11 r1c2-t11\" align=\"left\">\n<p>Initializes JServer by installing core Java class libraries and Oracle-specific Java classes<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r3c1-t11\" headers=\"r1c1-t11\" align=\"left\">\n<p><a id=\"sthref2939\" name=\"sthref2939\"><\/a><a id=\"sthref2940\" name=\"sthref2940\"><\/a><code>rmjvm.sql<\/code><\/p>\n<\/td>\n<td headers=\"r3c1-t11 r1c2-t11\" align=\"left\">\n<p>Removes all elements of the JServer<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td id=\"r4c1-t11\" headers=\"r1c1-t11\" align=\"left\">\n<p><a id=\"sthref2941\" name=\"sthref2941\"><\/a><a id=\"sthref2942\" name=\"sthref2942\"><\/a><code>catjava.sql<\/code><\/p>\n<\/td>\n<td headers=\"r4c1-t11 r1c2-t11\" align=\"left\">\n<p>Installs Java-related packages and classes<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>podane za Oracle\u00ae Database Reference 10g Release 2 (10.2) Part Number B14237-04 Table B-1 Creating the Data Dictionary Scripts Script Name Needed For Description catalog.sql All databases Creates the data dictionary and public synonyms for many of its views Grants PUBLIC access to the synonyms catproc.sql All databases Runs all scripts required for, or used [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[80],"tags":[22],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-oracle-scripts"],"_links":{"self":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":1,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":180,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/105\/revisions\/180"}],"wp:attachment":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}