v views are for performance monitoring

Tài liệu ORACLE8i- P10 pptx

Tài liệu ORACLE8i- P10 pptx

... Maintaining a VARRAY with PL/SQL DECLARE V_ address_varray address_varray; BEGIN SELECT parent_address INTO v_ address_varray FROM parent WHERE parent_id=1; Add to the VARRAY v_ address_varray.EXTEND; ... Method Instance in PL/SQL DECLARE V_ output VARCHAR2(60); V_ parent parent_type := parent_type (‘Robert’,’Freeman’,’G’,’904.200.2020’,to_date(‘01-JAN-01’)); BEGIN V_ output =v_ parent.name_and_phone(); ... t_parent_1 FORCE; CREATE OR REPLACE TYPE t_parent_1 AS OBJECT ( parent_id NUMBER, parent_last_name VARCHAR2(30), parent_first_name VARCHAR2(30), street_address VARCHAR2(50), city VARCHAR2(30), state VARCHAR2(2),...

Ngày tải lên: 22/01/2014, 00:20

40 372 0
Tài liệu ORACLE8i- P11 pptx

Tài liệu ORACLE8i- P11 pptx

... V$ MTS, V$ SGA, and V$ SGASTAT views provide information that may be useful for tuning MTS Table 9.4 describes the MTS views TABLE 9.4: MTS VIEWS View Description V$ DISPATCHER Provides information on ... NETWORKING Viewing MTS Information Oracle provides some V$ views that offer useful information about MTS For example, the V$ DISPATCHER view shows information about dispatcher processes The V$ MTS, V$ SGA, ... information on the shared server processes V$ CIRCUIT Contains information about virtual circuits, which are user connections to the database through dispatchers and servers V$ MTS Contains information...

Ngày tải lên: 22/01/2014, 00:20

40 233 0
Tài liệu ORACLE8i- P12 pptx

Tài liệu ORACLE8i- P12 pptx

... TABLE 10.3: V$ VIEWS FOR BACKUP AND RECOVERY View Name Description V$ DATAFILE Provides datafile information from the control file V$ ARCHIVE_DEST Provides various information on the archive log destinations ... d:\oracle\oradata\recover\archive\RECOVERT001S00216.ARC d:\oracle\oradata\recover\archive\RECOVERT001S00217.ARC d:\oracle\oradata\recover\archive\RECOVERT001S00218.ARC d:\oracle\oradata\recover\archive\RECOVERT001S00219.ARC ... destinations V$ ARCHIVED_LOG Provides information on archived redo logs V$ ARCHIVE_PROCESSES Provides information on the ARCH processes currently running on the database V$ BACKUP Provides status information...

Ngày tải lên: 22/01/2014, 00:20

40 221 0
Tài liệu ORACLE8i- P13 ppt

Tài liệu ORACLE8i- P13 ppt

... based recovery or change-based recovery Let’s cancel-based What log sequences we have available? SQL> ARCHIVE LOG LIST Database log mode Archive Mode Automatic archival Enabled Archive destination ... D:\ORACLE\ORADATA\RECOVER\ARCHIVE\RECOVERT001S00002.ARC ORA-00280: change 56047 for thread is in sequence #2 ORA-00278: log file ‘D:\ORACLE\ORADATA\RECOVER\ARCHIVE\RECOVERT001S00001.ARC’ no longer needed for this ... \D:\ORACLE\ORADATA\RECOVER\ARCHIVE\RECOVERT001S00004.ARC ORA-00280: change 56065 for thread is in sequence #4 ORA-00278: log file ‘D:\ORACLE\ORADATA\RECOVER\ARCHIVE\RECOVERT001S00003.ARC’ no longer needed for this...

Ngày tải lên: 22/01/2014, 00:20

40 210 0
Tài liệu ORACLE8i- P14 ppt

Tài liệu ORACLE8i- P14 ppt

... Control Files NOTE Several dynamic V$ views are provided by Oracle to allow you to view the control file’s information pertaining to RMAN backup and recovery operations These views are described in ... set offline If you need to recover a lot of datafiles, execute the ALTER TABLESPACE tablespace_name_to_recover OFFLINE FOR RECOVER command to improve the recovery performance Creating the Clone ... finds any violations in the specified set, it will populate the TRANSPORT_ SET_VIOLATIONS data dictionary view If there are no violations, the view will be empty Use this query to check for violations:...

Ngày tải lên: 22/01/2014, 00:20

40 225 0
Tài liệu ORACLE8i- P15 doc

Tài liệu ORACLE8i- P15 doc

... can perform a backup because it requires access to several of the V$ views that provide control file information This type of backup is supported if the database is in ARCHIVELOG or NOARCHIVELOG ... sets are recovered, based on time, SCN, or log sequence number This is particularly useful for point-in-time recovery The values you use with the UNTIL clause are high-limit values All values ... object to be restored Valid values for this parameter are listed in Table 13.8 restoreSpecOperand Allows you to override the RESTORE command level parameter for each individually restored object...

Ngày tải lên: 22/01/2014, 00:20

40 241 0
Tài liệu ORACLE8i- P16 doc

Tài liệu ORACLE8i- P16 doc

... file These views have the same name except for their prefixes: RC_ for the recovery catalog views and V$ for the control file views For example, if you want to find the view in the recovery catalog ... RECOVERY CATALOG VIEWS View Description Corollary Control File View RC_ARCHIVED_LOG Provides historical information on archived redo logs V$ ARCHIVED_LOG RC_BACKUP_CONTROLFILE Provides information ... levels that define the depth of information that is provided by that event Many events have just one level; others have many levels For example, the 10046 event code has four levels One level...

Ngày tải lên: 22/01/2014, 00:20

40 249 0
Tài liệu ORACLE8i- P17 doc

Tài liệu ORACLE8i- P17 doc

... Dynamic Performance Views Dynamic performance views generally start with a V$ prefix, and they are also referred to as V$ views Dynamic performance views give a snapshot of the database’s various performance ... how the V$ views are constructed Then you’ll learn about the V$ views that are useful for performance monitoring NOTE One mistake DBAs commonly make is to expect dynamic performance views to ... used to create the V$ views If you look at the view definitions in V$ FIXED_VIEW_DEFINITION, you’ll find that the V_ $ views are further based on a series of GV$ views These views are, in turn, based...

Ngày tải lên: 22/01/2014, 00:20

40 304 0
Tài liệu ORACLE8i- P18 docx

Tài liệu ORACLE8i- P18 docx

... process There are three levels of detail you can collect: level 0, level 5, and level 10 At level 0, general performance statistics are collected These include wait statistics, system event statistics, ... be $ORACLE_SID’ from v\ $database; DECLARE V_ Db_name varchar2(30); V_ Open_mode varchar2(20); BEGIN SELECT name, open_mode INTO v_ db_name, v_ open_mode FROM v\ $database; We are going to make sure ... this situation in the form of bind variables Bind variables are fixed variable names The values of these variables are defined before the SQL code is executed, and the values can be modified...

Ngày tải lên: 22/01/2014, 00:20

40 264 0
Tài liệu ORACLE8i- P19 docx

Tài liệu ORACLE8i- P19 docx

... the database’s performance Perhaps you’re really on the ball and you even store past SQL activity statistics from the various V$ VIEWS available Of course, you have to weigh the need for statistics ... dictionary views and find information on the histograms you’ve created for the EMPLOYEE table Table 16.3 lists the primary views that contain histogram information TABLE 16.3: DATA DICTIONARY VIEWS ... output are the total overall statistics for the entire session These are in the same format as the earlier individual statement statistics, but here they’re divided into statistics for recursive...

Ngày tải lên: 22/01/2014, 01:20

40 727 0
Tài liệu ORACLE8i- P20 ppt

Tài liệu ORACLE8i- P20 ppt

... Finding Problematic Code: Using V$ SQL The V$ SQL view is invaluable for monitoring SQL and looking for statements that aren’t working well V$ SQL gets cleared every time the database is shut down ... wonder why we use V$ SQL instead of V$ SQLAREA Both views report the same information, except that V$ SQLAREA also does a GROUP BY, which makes querying V$ SQLAREA a more expensive operation Thanks ... default behavior is that shared SQL areas may be released, even if there are current cursors (inactive) using that shared SQL area This approach saves time because Oracle doesn’t need to verify that...

Ngày tải lên: 26/01/2014, 19:20

40 252 0
Tài liệu ORACLE8i- P21 pdf

Tài liệu ORACLE8i- P21 pdf

... SLEEP11 in V$ LATCH are not used in Oracle8i V$ LATCH_PARENT and V$ LATCH_CHILDREN These views provide a more detailed look at the statistics for parent and child latches V$ LATCH_ PARENT includes parent ... latches are V$ LATCH, V$ LATCH_PARENT, and V$ LATCH_CHILDREN V$ LATCH This view contains statistics for every type of latch used in Oracle and is critical to latch monitoring We will use the V$ LATCH view ... Oracle-supplied views that provide wait statistics for events These views record a wide range and multiple classes of events, and you’ll see them used throughout this chapter • V$ SYSTEM_EVENT • V$ SESSION_EVENT...

Ngày tải lên: 26/01/2014, 19:20

40 366 0
Tài liệu ORACLE8i- P22 docx

Tài liệu ORACLE8i- P22 docx

... affecting the SGA and how it is allocated Viewing Parallel Query Information Several dynamic performance views (V$ views) can help you evaluate the runtime performance of parallel queries Armed with ... PARALLEL PERFORMANCE MONITORING View Name Description V$ PQ_SYSSTAT Shows system-level statistics for parallel queries V$ PQ_SESSTAT Shows session-level statistics for parallel queries V$ PQ_SLAVE Displays ... monitoring tools, you should be able to identify parallel performance problem areas Table 18.2 lists the V$ tables of interest for monitoring parallel processing TABLE 18.2: ORACLE V$ VIEWS FOR...

Ngày tải lên: 26/01/2014, 19:20

40 334 0
Tài liệu ORACLE8i- P23 ppt

Tài liệu ORACLE8i- P23 ppt

... Dictionary Views for Mviews Several data dictionary views are provided for use with Mviews They’re listed in Table 19.3 TABLE 19.3: MVIEW DATA DICTIONARY VIEWS View Name Description DBA_MVIEWS General ... conditions within Mviews DBA_MVIEW_KEYS Various information on Mview relationships For use with DBA_MVIEW_DETAIL_RELATIONS to get more details on Mview relationships Refreshing Mviews When you create ... ORACLE8i DATA WAREHOUSING FEATURES TABLE 19.3: MVIEW DATA DICTIONARY VIEWS (CONTINUED) View Name Description ALL_REFRESH_DEPENDENCIES The last refresh information for objects on which Mviews are dependent...

Ngày tải lên: 26/01/2014, 19:20

40 262 0
Tài liệu ORACLE8i- P24 docx

Tài liệu ORACLE8i- P24 docx

... Information These are several data dictionary views that are useful for managing both system-level and object-level grants These views are listed in Table 21.3 TABLE 21.3: VIEWS FOR GRANTS View ... Viewing Role Information Several data dictionary views provide information about roles These views are listed in Table 21.4 You will probably want to use these views in combination with the views that ... cover Oracle’s features for providing row-level and column-level security Managing Oracle User Accounts In Oracle, you can set up various forms of authentication for your users After you have...

Ngày tải lên: 26/01/2014, 19:20

40 330 0
Tài liệu ORACLE8i- P25 doc

Tài liệu ORACLE8i- P25 doc

... SECURITY FOR EACH ROW DECLARE v_ stuff varchar2(2048); v_ temp varchar2(2048); Must be at least bytes! v_ keystring varchar2(8):=’locked00’; BEGIN This string must be a multiple of bytes v_ temp:=rpad(:new.information, ... retrieving encrypted data from the database and displaying its contents Listing 21.13: Retrieving Encrypted Data SET SERVEROUTPUT ON DECLARE v_ key VARCHAR2(8):=’locked00’; v_ outpu VARCHAR2(2048); v_ stuff ... fu_spy_check(p_schema VARCHAR2, p_name VARCHAR2) RETURN VARCHAR2; END; / CREATE OR REPLACE PACKAGE body pkg_spy_auth AS FUNCTION fu_spy_check(p_schema VARCHAR2, p_name VARCHAR2) RETURN VARCHAR2 AS V_ predicate VARCHAR2(2000);...

Ngày tải lên: 26/01/2014, 19:20

40 235 0
Tài liệu ORACLE8i- P26 pptx

Tài liệu ORACLE8i- P26 pptx

... SYS.LINK$ views are the primary data dictionary objects for acquiring database link information The DBA_DB_LINKS View The DBA_DB_LINKS view (and its related ALL_DB_LINKS and USER_DB_LINKS views) provides ... tracking all information for its particular region We have databases named NW_DIV, SW_DIV, NE_DIV, and SE_DIV You’re working at corporate headquarters (the database named CORP_DIV) and you have the responsibility ... that are on the PROD (Production) database on any of the four divisions (NW_DIV, NE_DIV, SW_DIV, and SE_DIV), depending on how links are established Please purchase PDF Split-Merge on www.verypdf.com...

Ngày tải lên: 26/01/2014, 19:20

40 305 0
Tài liệu ORACLE8i- P27 docx

Tài liệu ORACLE8i- P27 docx

... lists data dictionary views at your disposal for viewing partitioning statistics for any given object Notice that all are available for ALL_, DBA_, and USER_ areas The USER_ views display only items ... learned about Mviews as a data warehousing feature That chapter covered the basics of creating, refreshing, and managing Mviews and Mview logs Mviews can also serve as a tool for performing simple ... Replication Views Oracle has supplied a wide variety of views to assist with day-to-day operations Table 25.7 lists the data dictionary views that assist with the management of replication TABLE 25.7: VIEWS...

Ngày tải lên: 26/01/2014, 19:20

40 265 0
Tài liệu ORACLE8i- P28 docx

Tài liệu ORACLE8i- P28 docx

... resource availability and usability versus performance and load balancing Also, since both nodes are active, failovers are not as responsive as they are in active/passive mode Typically, most of the ... ORACLE PARALLEL SERVER ‘/dev/vx/rdsk2/TEST/redo01_log02.dbf’, ‘/dev/vx/rdsk3/TEST/redo01_log03.dbf’) SIZE 10M REUSE, GROUP (‘/dev/vx/rdsk1/TEST/redo02_log01.dbf’, 1103 PA R T IV ‘/dev/vx/rdsk3/TEST/redo02_log03.dbf’) ... USING JAVA IN ORACLE8i for robust clients and server-to-server connections, JDBC Thin drivers for Java applets in web browsers, and JDBC KPRB for Java stored procedures 1113 PA R T IV This suite...

Ngày tải lên: 26/01/2014, 19:20

40 326 0
mastering oracle 8i

mastering oracle 8i

... Conditions Shareware Distribution This Software may contain various programs that are distributed as shareware Copyright laws apply to both shareware and ordinary commercial software, and the ... support for the Software is provided for your information only SYBEX is not the agent or principal of the Owner(s), and SYBEX is in no way responsible for providing any support for the Software, ... loss of performance In fact, normalization can improve performance because, overall, less data is processed Typically, we start with a normalized database Often, however, the cost of performing...

Ngày tải lên: 07/04/2014, 15:48

1.1K 3.1K 0
w