Tibero SQL Operations Plan Guide
|
|
- Carmel Reeves
- 5 years ago
- Views:
Transcription
1 Tuning and Monitoring Tibero SQL Operations Plan Guide
2 Table of Contents 1. Viewing SQL Query Execution Result using SQL Trace and tbprof Using the SQL_TRACE parameter Setting the SQL_TRACE parameters Verifying the Created SQL Trace File Executing the tbprof Command Analyzing the Output File after Executing tbprof Using the SET_SQL_TRACE_IN_SESSION Procedure Using Autotrace in tbsql Using V$SQL_PLAN Others The SQL_TRACE_DEST Parameter Privilege Issues when using AUTOTRACE in TBSQL
3 Tibero SQL Execution Plan Guide 1. Viewing SQL Query Execution Results using SQL Trace and tbprof To collect SQL execution information, SQL trace files can be created statically or dynamically using SQL_TRACE parameters. - SQL statement executions are traced. - A target statement for tuning can be easily found in the execution plan. - Since the contents of a SQL trace are stored in a file, a query process can be slow Using the SQL_TRACE parameter Setting the SQL_TRACE parameters SQL_TRACE determines whether to record SQL trace information. An SQL trace enables profiling of SQL execution information. However, using this function can severely impact performance, so it is recommended not to use this function in the real production environment. Property Description Type Default Value Class Configuration Method Syntax Boolean N Optional, Adjustable, Dynamic, Session Configure the TIP file and restart the server, or change the value using the ALTER statement. TIP File - SQL_TRACE={Y N} ALTER Statement - ALTER SYSTEM SET SQL_TRACE={Y N} - ALTER SESSION SET SQL_TRACE={Y N} Examples -- Query the SQL_TRACE information in V$SESSION. SQL> SELECT SID, SERIAL#, USERNAME, SQL_TRACE, TO_CHAR(LOGON_TIME, 'DD HH24:MI:SS') LOGON_TIME FROM V$SESSION ORDER BY LOGON_TIME; SID SERIAL# USERNAME SQL_TRACE LOGON_TIME SYS ENABLED 18 15:43: SYS ENABLED 18 15:44: SYS DISABLED 18 15:52:50 3 rows selected. -- Use a text editor to modify the %$TB_HOME%/config/%TB_SID%.tip file. -- Set SQL_TRACE=Y and restart Tibero via tbboot. # # # RDBMS initialization parameter # 3
4 # DB_NAME=tibero LISTENER_PORT=8629 CONTROL_FILES="C:/Tibero/tbdata/c1.ctl" CERTIFICATE_FILE="C:/Tibero/tibero5/config/svr_wallet/tibero.crt" #PRIVKEY_FILE="C:/Tibero/tibero5/config/svr_wallet/tibero.key" #WALLET_FILE="C:/Tibero/tibero5/config/svr_wallet/WALLET" DB_CREATE_FILE_DEST=C:/Tibero/tbdata LOG_ARCHIVE_DEST= C:/Tibero/arch MAX_SESSION_COUNT=10 TOTAL_SHM_SIZE=512M UNDO_RETENTION=900 _TSN_TIME_MAP_SIZE=1000 SQL_TRACE=Y Access tbsql. $ tbsql sys/tibero tbsql 5 Copyright (c) 2008, 2009, 2011, 2012 Tibero Corporation. All rights reserved. Connected to Tibero. -- Verify that SQL_TRACE has been set to Y using the V$SESSION view. SQL> SELECT SID, SERIAL#, USERNAME, SQL_TRACE, TO_CHAR(LOGON_TIME, 'DD HH24:MI:SS') LOGON_TIME FROM V$SESSION ORDER BY LOGON_TIME; SID SERIAL# USERNAME SQL_TRACE LOGON_TIME SYS ENABLED 18 15:43: SYS ENABLED 18 15:44: SYS ENABLED 18 15:52:50 3 rows selected. -- Set SQL_TRACE=Y and execute an SQL query. SQL> SELECT e.employee_id, e.first_name ' ' e.last_name emp_name, d.department_id, d.department_name FROM departments d LEFT OUTER JOIN employees e ON(e.department_id=d.department_id); 4
5 Verifying the Created SQL Trace File The trace file is placed in the following directory with the '.trc' extension. File Location: $TB_HOME/instance/$TB_SID/log/sqltrace File Naming Rule - A file name is created using the PID, SID, and serial# of the session. E.g., tb_sqltrc_pid_sid_serial#.trc - The PID, SID, and serial# information can be queried using the v$session view. -- Query the PID, SID, and serial# information using the V$SESSION view. SQL> SELECT PID, SID, SERIAL#, USERNAME, SQL_TRACE, TO_CHAR(LOGON_TIME, 'DD HH24:MI:SS') LOGON_TIME FROM V$SESSION ORDER BY LOGON_TIME; PID SID SERIAL# USERNAME SQL_TRACE LOGON_TIME SYS ENABLED 18 15:43: SYS ENABLED 18 15:44: SYS ENABLED 18 15:52:50 3 rows selected. -- Check the tb_sqltrc_3181_19_567.trc file created in the $TB_HOME/instance/$TB_SID/log/sqltrace directory. $ cd tibero5/instance/tibero/log/sqltrace $ ls tb_sqltrc_3180_1_3.trc tb_sqltrc_3181_20_3524.trc tb_sqltrc_3180_9_4.trc tb_sqltrc_3181_20_83.trc tb_sqltrc_3181_19_2766.trc tb_sqltrc_3181_21_7024.out tb_sqltrc_3181_19_442.trc tb_sqltrc_3181_21_7024.trc tb_sqltrc_3181_19_50.trc tb_sqltrc_3181_21_7829.trc tb_sqltrc_3181_19_567.trc tb_sqltrc_3183_4_0.trc Executing the tbprof Command This command provides the information about the SQL in the parse, execution, and fetch stages. It sorts the result of the user-specified field to display the result. The following is an example of checking the tbprof parameters and executing the tbprof command. Checking the tbprof parameter $ tbprof Usage: tbprof tracefile outputfile [print= ] [sort= ] [aggregate= ] print=integer List only the first 'integer' SQL statements. sys=yes no Filter SQL statements that 'SYS' user executes. aggregate=yes no Aggregate statistics of same SQL statements. sort=option Set of zero or more of the following sort options: prscnt number of times parse was called prscpu cpu time parsing prsela elapsed time parsing prsdsk number of disk reads during parse prsqry number of buffers for consistent read during parse prscu number of buffers for current read during parse execnt number of execute was called 5
6 execpu cpu time spent executing exeela elapsed time executing exedsk number of disk reads during execute exeqry number of buffers for consistent read during execute execu number of buffers for current read during execute exerow number of rows processed during execute fchcnt number of times fetch was called fchcpu cpu time spent fetching fchela elapsed time fetching fchdsk number of disk reads during fetch fchqry number of buffers for consistent read during fetch fchcu number of buffers for current read during fetch fchrow number of rows fetched userid userid of user that parsed the cursor tracefile Item Description Default Name of the file that contains statistical information created by the SQL trace. outputfile Uses tbprof to format the contents of the trace file into a readable text file. - print Prints the trace results of the specified number of SQL statements only. ALL sys Determines whether to list the SQL statements issued by the user SYS. yes aggregate Determines whether to aggregate the information of the same SQL. no sort Determines the result sort method. - Depending on SORT_OPTION, sorts results in descending order. - More than one option can be specified. Fields are separated by a comma ',' and cannot contain whitespace Analyzing the Output File after Executing tbprof Use tbprof to analyze the information of the SQL executed. Check the information about the executed SQL statements including statistical information and execution plans in the output file. Creating an output file using tbprof $tbprof tbprof tb_sqltrc_3181_19_567.trc tb_sqltrc_3181_19_567.out sys=no TBPROF 5 Copyright (c) 2008, 2009, 2011, 2012 Tibero Corporation. All rights reserved. $ Checking the output file $ vi tb_sqltrc_3181_19_567.out TBPROF 5 Copyright (c) 2008, 2009, 2011, 2012 Tibero Corporation. All rights reserved. input file name : tb_sqltrc_3181_21_7024.trc output file name : tb_sqltrc_3181_21_7024.out sort option : default aggregate : no 6
7 sys : no print : all ================================================================= count: number of times the procedure was executed cpu: CPU time(seconds). this is not quite accurate due to threaded architecture elapsed: Total time elapsed (seconds) disk: number of physical reads from disk query: number of blocks for consistent read current: number of blocks in current mode rows: number of rows processed ================================================================= UserID:20 SELECT e.employee_id, e.first_name ' ' e.last_name emp_name, d.department_id, d.department_name FROM departments d LEFT OUTER JOIN employees e ON(e.department_id=d.department_id) stage count cpu elapsed current query disk rows parse exec fetch sum cpu: CPU time. (sec) - elapsed: Total time elapsed. (sec) - current: Number of current blocks retrieved. - query: Number of cr blocks retrieved. - disk: Number of physical reads from disk. - rows: Number of rows processed rows execution plan index join (left outer) (et=93, cr=0, cu=0, co=4, cpu=0, ro=20) 8 table access (rowid) DEPARTMENTS(1749) (et=426, cr=1, cu=0, co=2, cpu=0, ro=8) 8 index (full) DEPT_ID_PK(1750) (et=52, cr=1, cu=0, co=1, cpu=0, ro=8) 19 table access (rowid) EMPLOYEES(1755) (et=354, cr=7, cu=0, co=2, cpu=0, ro=2) 19 index (range scan) EMP_DEPARTMENT_IX(1764) (et=125, cr=1, cu=0, co=1, cpu=0, ro=2) ******************************************************************************* OVERALL TOTAL stage count cpu elapsed current query disk rows parse exec fetch sum ******************************************************************************* 1 SQL statements in trace file. 1 unique SQL statements in trace file. 7
8 16 lines in trace file. tbprof Statistics Information Call Value Parse Execute Fetch Argument Count CPU Elapsed Current Query Disk Rows et cr cu co ro Description - Converts the SQL statement into an execution plan, including checks for tables, columns, and reference objects. - Executes INSERT, UPDATE, and DELETE statements, which modify the data according to the execution plan. - Indicates the number of selected rows during execution of the statement. - Indicates the number of rows returned by a query. - Fetches are performed for SELECT statements. Description - Number of times an SQL statement was parsed, executed, or fetched. - CPU time spent to parse, execute, or fetch calls. (sec) - Total elapsed time, from the start to the end of a process. - Number of dirty blocks accessed. A dirty block is a block that have been modified by a session but not yet written to the database. - Dirty blocks seldom occur during the execution of SELECT statements, but most often occur during the execution of UPDATE, INSERT, and DELETE statements. - Number of unchanged blocks that have not been read, or the number of snapshot locks and copies of uncommitted data that have been read. - This sometimes occurs during the execution of UPDATE, DELETE, and INSERT statements, but often occurs during the execution of SELECT statements. - Number of data blocks read from the disk. - Total number of rows accessed by the SQL statement. - Does not include rows extracted by sub queries. - Time spent on the node. (usec) - Number of cr blocks read from the node. - Number of current blocks read from the node. - Cost of the nodes computed by the optimizer. - Number of rows of the node estimated by the optimizer Using the SET_SQL_TRACE_IN_SESSION Procedure Determining whether to create an SQL TRACE file - Starts/stops the creation of a SQL trace log for a session. The identifier and the serial number of the session can be found using the V$SESSION view. - A target statement for tuning can be easily found in the execution plan. DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION 8
9 Parameter Type Description SID NUMBER Identifier of the session. SERIAL# NUMBER Serial number of the session. SQL_TRACE BOOLEAN Specify as TRUE to create an SQL trace log, or specify false to stop. SQL Syntax - EXEC SYS.DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION(SID, SERIAL#, SQL_TRACE); - BEGIN SYS.DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION (SID, SERIAL#, SQL_TRACE); END Examples -- Access tbsql. $ tbsql sys/tibero tbsql 5 Copyright (c) 2008, 2009, 2011, 2012 Tibero Corporation. All rights reserved. Connected to Tibero. -- Check the SET_SQL_TRACE_IN_SESSION information. SQL> DESC DBMS_SYSTEM PROCEDURE 'SET_SQL_TRACE_IN_SESSION' ARGUMENT_NAME TYPE IN/OUT SID NUMBER IN SERIAL# NUMBER IN SQL_TRACE BOOLEAN IN -- Query the parameter values using the V$SESSION view. SQL> SELECT SID, SERIAL#, USERNAME, SQL_TRACE, TO_CHAR(LOGON_TIME, 'DD HH24:MI:SS') LOGON_TIME FROM V$SESSION ORDER BY LOGON_TIME; SID SERIAL# USERNAME SQL_TRACE LOGON_TIME SYS ENABLED 18 15:43: SYS ENABLED 18 15:44: SYS DISABLED 18 15:52:50 3 rows selected. -- Set SQL_TRACE to Y. SQL> EXEC DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION(19, 567, TRUE); PSM completed. -- Verify that SQL_TRACE has been set to Y. SQL> SELECT SID, SERIAL#, USERNAME, SQL_TRACE, TO_CHAR(LOGON_TIME, 'DD HH24:MI:SS') LOGON_TIME 9
10 FROM V$SESSION ORDER BY LOGON_TIME; SID SERIAL# USERNAME SQL_TRACE LOGON_TIME SYS ENABLED 18 15:43: SYS ENABLED 18 15:44: SYS ENABLED 18 15:52:50 3 rows selected. -- Set SQL_TRACE to Y and execute an SQL query. SQL> SELECT e.employee_id, e.first_name ' ' e.last_name emp_name, d.department_id, d.department_name FROM departments d LEFT OUTER JOIN employees e ON(e.department_id=d.department_id); -- Query the PID, SID, and serial# information using the V$SESSION view. SQL> SELECT PID, SID, SERIAL#, USERNAME, SQL_TRACE, TO_CHAR(LOGON_TIME, 'DD HH24:MI:SS') LOGON_TIME FROM V$SESSION ORDER BY LOGON_TIME; PID SID SERIAL# USERNAME SQL_TRACE LOGON_TIME SYS ENABLED 18 15:43: SYS ENABLED 18 15:44: SYS ENABLED 18 15:52:50 3 rows selected. -- Check the tb_sqltrc_3181_19_567.trc file created in the $TB_HOME/instance/$TB_SID/log/sqltrace directory. $ cd tibero5/instance/tibero/log/sqltrace $ ls tb_sqltrc_3180_1_3.trc tb_sqltrc_3181_20_3524.trc tb_sqltrc_3180_9_4.trc tb_sqltrc_3181_20_83.trc tb_sqltrc_3181_19_2766.trc tb_sqltrc_3181_21_7024.out tb_sqltrc_3181_19_442.trc tb_sqltrc_3181_21_7024.trc tb_sqltrc_3181_19_50.trc tb_sqltrc_3181_21_7829.trc tb_sqltrc_3181_19_567.trc tb_sqltrc_3183_4_0.trc -- Create an output file. $tbprof tbprof tb_sqltrc_3181_19_567.trc tb_sqltrc_3181_19_567.out sys=no TBPROF 5 Copyright (c) 2008, 2009, 2011, 2012 Tibero Corporation. All rights reserved. $ -- Check the contents of the output file. (Statistical information) $ vi tb_sqltrc_3181_19_567.out 10
11 TBPROF 5 Copyright (c) 2008, 2009, 2011, 2012 Tibero Corporation. All rights reserved. input file name : tb_sqltrc_3181_21_7024.trc output file name : tb_sqltrc_3181_21_7024.out sort option : default aggregate : no sys : no print : all ================================================================= count: number of times the procedure was executed cpu: CPU time(seconds) this is not quite accurate due to threaded architecture elapsed: elapsed time(seconds) disk: number of physical reads from disk query: number of blocks for consistent read current: number of blocks in current mode rows: number of rows processed ================================================================= UserID:20 SELECT e.employee_id, e.first_name ' ' e.last_name emp_name, d.department_id, d.department_name FROM departments d LEFT OUTER JOIN employees e ON(e.department_id=d.department_id) stage count cpu elapsed current query disk rows parse exec fetch sum cpu: CPU time. (sec) - elapsed: Total time elapsed. (sec) - current: Number of current blocks retrieved. - query: Number of cr blocks retrieved. - disk: Number of physical reads from the disk. - rows: Number of rows processed. rows execution plan index join (left outer) (et=93, cr=0, cu=0, co=4, cpu=0, ro=20) 8 table access (rowid) DEPARTMENTS(1749) (et=426, cr=1, cu=0, co=2, cpu=0, ro=8) 8 index (full) DEPT_ID_PK(1750) (et=52, cr=1, cu=0, co=1, cpu=0, ro=8) 19 table access (rowid) EMPLOYEES(1755) (et=354, cr=7, cu=0, co=2, cpu=0, ro=2) 19 index (range scan) EMP_DEPARTMENT_IX(1764) (et=125, cr=1, cu=0, co=1, cpu=0, ro=2) ******************************************************************************* OVERALL TOTAL stage count cpu elapsed current query disk rows parse exec fetch
12 sum ******************************************************************************* 1 SQL statements in trace file. 1 unique SQL statements in trace file. 16 lines in trace file. 2. Using Autotrace in tbsql SQL Syntax - SET AUTOT[RACE] {OFF ON TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]] [PLANS[TAT]] Setting SET AUTOTRACE OFF SET AUTOTRACE ON SET AUTOTRACE TRACEONLY SET AUTOTRACE ON EXPLAIN SET AUTOTRACE ON STATISTICS SET AUTOTRACE ON PLANSTAT Description AUTOTRACE is not performed. (Default value) Shows the execution plan, execution results, and execution statistics of the SQL statement. Shows both the execution plan and the execution statistics of the SQL statement. Fast processing. Shows the execution results and the execution plan of the SQL statement. Shows the execution results and the execution statistics of the SQL statement. Shows the execution results of the SQL statement and the query executions per node. (Time spent executing, number of rows processed, number of executions) - When AUTOTRACE is used, OFF, ON, or TRACE[ONLY] must be specified. - [EXP[LAIN]] [STAT[ISTICS]] [PLANS[TAT]] shows the execution plan, execution statistics, and query executions in each node, respectively. Execution information includes execution time, number of rows processed, and number of executions. All, some, or none of the options can be selected. - AUTOTRACE allows users to selectively view execution results, execution plans, or execution statistics according to the option. - Execution results and execution statistics are the results of query executions, and the execution plan contains estimated values. Privilege - DBA privilege or the PLUSTRACE role are required. Shows Execution Result/Execution Plan/Execution Statistics/Execution Information Category Description SQL Query Execution Result SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; AVG row selected. 12
13 SQL ID: 92 Plan Hash Value: Execution Plan Execution Statistics Execution Information Execution Plan GROUP BY (HASH) (Cost: 26, %CPU: 0, Rows: 1) 2 TABLE ACCESS (FULL): EMPLOYEE (Cost: 26, %CPU: 0, Rows: 3) NAME VALUE db block gets 1 consistent gets 14 physical reads 0 redo size 0 sorts (disk) 0 sorts (memory) 0 rows processed 1 - db block gets: Number of times a current block was requested. - consistent gets: Number of logical blocks read in Consistent mode. - physical reads: Total number of data blocks read from disk. - redo size: Size of the redo logs generated. (size) - sorts (disk): Number of sort operations that were performed in disk. - sorts (memory): Number of sort operations that were performed in memory. - rows processed: Number of rows processed during the operation. SQL ID: 92 Plan Hash Value: Execution Stat GROUP BY (HASH) (Time:.83 ms, Rows: 1, Starts: 1) 2 TABLE ACCESS (FULL): EMPLOYEE (Time:.15 ms, Rows: 3, Starts: 1) Examples -- Access TBSQL $ tbsql sys/tibero tbsql 5 Copyright (c) 2008, 2009, 2011, 2012 Tibero Corporation. All rights reserved. Connected to Tibero. -- Enable the SET AUTOTRACE ON option. SQL> SET AUTOTRACE ON; -- Check the execution results, execution plan, and execution statistics of the SQL query that was performed in the session. SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; AVG 13
14 row selected. SQL ID: 92 Plan Hash Value: Execution Plan GROUP BY (HASH) (Cost: 26, %CPU: 0, Rows: 1) 2 TABLE ACCESS (FULL): EMPLOYEE (Cost: 26, %CPU: 0, Rows: 3) NAME VALUE db block gets 1 consistent gets 14 physical reads 0 redo size 0 sorts (disk) 0 sorts (memory) 0 rows processed 1 -- Enable the SET AUTOTRACE TRACEONLY option SQL> SET AUTOTRACE TRACEONLY; -- Check the execution plan and the execution statistics of the SQL query that was performed in the session. SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; SQL ID: 115 Plan Hash Value: Execution Plan GROUP BY (HASH) (Cost: 26, %CPU: 0, Rows: 1) 2 TABLE ACCESS (FULL): EMPLOYEE (Cost: 26, %CPU: 0, Rows: 3) NAME VALUE db block gets 1 consistent gets 14 physical reads 0 redo size 0 sorts (disk) 0 sorts (memory) 0 rows processed 1 -- Enable the SET AUTOTRACE ON EXPLAIN option SQL> SET AUTOTRACE ON EXPLAIN; -- Check the execution results and the execution plan of the SQL query that was performed in the session. SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; AVG 14
15 row selected. SQL ID: 92 Plan Hash Value: Execution Plan GROUP BY (HASH) (Cost:26, %CPU:0, Rows:1) 2 TABLE ACCESS (FULL): EMPLOYEE (Cost:26, %CPU:0, Rows:3) -- Enable the SET AUTOTRACE ON STATISTICS option SQL> SET AUTOTRACE ON STATISTICS; -- Check the execution results and the execution statistics of the SQL query that was performed in the session. SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; AVG row selected. NAME VALUE db block gets 1 consistent gets 14 physical reads 0 redo size 0 sorts (disk) 0 sorts (memory) 0 rows processed 1 -- Enable the SET AUTOTRACE ON PLANSTAT option SQL> SET AUTOTRACE ON PLANSTAT; -- Check the execution results and the execution information of the SQL query performed in the session. SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; AVG row selected. SQL ID: 92 Plan Hash Value: Execution Stat GROUP BY (HASH) (Time:.83 ms, Rows: 1, Starts: 1) 15
16 2 TABLE ACCESS (FULL): EMPLOYEE (Time:.15 ms, Rows: 3, Starts: 1) -- Enable the SET AUTOTRACE OFF option SQL> SET AUTOTRACE OFF; -- Check the execution results of the SQL query performed in the session and the result of enabling the AUTOTRACE OFF option. SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; AVG row selected. 3. Using V$SQL_PLAN Displays information about the physical plan for executing SQL statements. Columns Information Column Name Data Type Description HASH_VALUE NUMBER Hash value of the physical plan SQL_ID NUMBER SQL identifier OPERATION VARCHAR(128) Name of an operation job OBJECT# NUMBER Identifier of an object accessed by the job OBJECT_OWNER VARCHAR(128) Name of the user who owns the object OBJECT_NAME VARCHAR(128) Object name OBJECT_TYPE VARCHAR(20) Object type ID NUMBER Unique number assigned to each task of the physical plan PARENT_ID NUMBER ID of the next execution step that operates on the output of the current step DEPTH NUMBER Tree level of the physical plan POSITION NUMBER Position of all operations with the same PARENT_ID SEARCH_COLUMNS NUMBER Number of keys used for index search COST NUMBER Cost of an operation estimated by the optimizer CPU_COST NUMBER CPU cost of an operation estimated by the optimizer 16
17 IO_COST NUMBER I/O cost of an operation estimated by the optimizer CARDINALITY NUMBER Number of rows to display estimated by the optimizer PSTART VARCHAR(38) First partition to be accessed in the partition table. PEND VARCHAR(38) Last partition to be accessed in the partition table. OTHERS VARCHAR(4000) Execution step related information, which a user can flexibly use. ACCESS_PREDICATES VARCHAR(4000) Predicate information for index accesses or join operations FILTER_PREDICATES VARCHAR(4000) Predicate information for a filter processing Examples -- Execute an SQL query. SQL> SELECT JOB_ID, round(avg(salary)) AVG FROM EMPLOYEES GROUP BY JOB_ID order by 2 desc; JOB_ID AVG AD_PRES AD_VP MK_MAN AC_MGR SA_MAN SA_REP 8867 AC_ACCOUNT 8300 IT_PROG 6400 MK_REP 6000 ST_MAN 5800 AD_ASST 4400 ST_CLERK rows selected. -- Search for an SQL_ID using partial character sets of the SQL query. SQL> select sql_id, sql_text from v$sqltext where sql_text like '%FROM EMPLOYEES%'; SQL_ID SQL_TEXT SELECT JOB_ID, round(avg(salary)) AVG FROM EMPLOYEES GROUP BY JO -- How to view the full-sql text. (When querying v$sqltext, the sql text is broken into pieces.) SQL> select sql_id, aggr_concat(sql_text, '' order by piece) as sql from v$sqltext where sql_id=521 group by sql_id; SQL_ID SQL SELECT JOB_ID, round(avg(salary)) AVG FROM EMPLOYEES GROUP BY JOB_ID 17
18 1 row selected. order by 2 desc -- Identify the SQL query using V$SQL_PLAN. (with the SQL_ID searched.) SQL> SELECT SUBSTRB(TO_CHAR(ID), 1, 3) LPAD(' ', LEVEL * 2) UPPER(OPERATION) DECODE(OBJECT_NAME, NULL, NULL, ': ' OBJECT_NAME) ' (Cost:' COST ', %%CPU:' DECODE(COST, 0, 0, TRUNC((COST-IO_COST)/COST * 100)) ', Rows:' CARDINALITY ') ' DECODE(PSTART, '', '', '(PS:' PSTART ', PE:' PEND ')') AS "Execution Plan" FROM (SELECT * FROM V$SQL_PLAN WHERE SQL_ID = 521) START WITH DEPTH = 1 CONNECT BY PRIOR ID = PARENT_ID AND PRIOR SQL_ID = SQL_ID ORDER SIBLINGS BY POSITION; Execution Plan ORDER BY (SORT) (Cost:26, %%CPU:0, Rows:12) 2 GROUP BY (HASH) (Cost:26, %%CPU:0, Rows:12) 3 TABLE ACCESS (FULL): EMPLOYEES (Cost:26, %%CPU:0, Rows:20) 3 rows selected 4. Others 4.1. The SQL_TRACE_DEST Parameter SQL_TRACE_DEST specifies the directory in which the SQL trace file is stored. It must be specified as an absolute path. SQL trace files are generally stored in the $TB_HOME/instance/$TB_SID/log/sqltrace directory. The directory can be modified using the following parameters. Type Property Default Value "" Class Configuration method Syntax String 4.2. Privilege Issues when using AUTOTRACE in TBSQL Description Optional, Adjustable, Dynamic, System Set in the TIP file and restart the server, or change the directory using the ALTER statement. TIP File - SQL_TRACE_DEST=<Directory> ALTER Statement - ALTER SYSTEM SET SQL_TRACE_DEST=<Directory> Notes The following message appears when an SQL query is performed without the PLUSTRACE role. The PLUSTRACE role must be granted to the user. -- Access TBSQL and apply the Explain option. SQL> set autotrace on explain; 18
19 -- The following message occurs when an SQL query is performed in the session without the PLUSTRACE role. SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; AVG row selected. [B]TBR-8033: Specified schema object was not found. at line 1, column 424: "Execution Plan" FROM (SELECT * FROM V$SQL_PLAN WHERE SQL_ID = 115 AND HASH_V ^ TBS-70035: Unable to display plan: check PLUSTRACE role. [B]TBR-8033: Specified schema object was not found. at line 1, column 98: RS AS "Remote SQL Information" FROM V$SQL_PLAN WHERE SQL_ID = 115 AND ^ TBS-70035: Unable to display plan: check PLUSTRACE role. [B]TBR-8033: Specified schema object was not found. at line 1, column 66: with x as (select id, access_predicates, filter_predicates from v$sql_plan where ^ TBS-70035: Unable to display plan: check PLUSTRACE role. -- Create the PLUSTRACE role. TBR-7070: Specified role 'PLUSTRACE' was not found. Role 'PLUSTRACE' created. Granted. Granted. Granted. Granted. File finished. -- Run an SQL query to check the SQL execution plan of the query. SQL> SELECT AVG(SALARY) AVG FROM employee GROUP BY DEPT_CD; AVG row selected. 19
20 SQL ID: 115 Plan Hash Value: Execution Plan GROUP BY (HASH) (Cost:26, %CPU:0, Rows:1) 2 TABLE ACCESS (FULL): EMPLOYEE (Cost:26, %CPU:0, Rows:3) 20
21 Copyright 2014 TmaxData Co., Ltd. All Rights Reserved. Trademarks Tibero RDBMS is a registered trademark of TmaxData Co., Ltd. Other products, titles or services may be registered trademarks of their respective companies. Brazil TmaxSoft Brazil Avenida Copacabana, andar 18 do Forte Empresarial, Alphaville - Barueri, Sao Paulo, SP- Brasil CEP contato.brasil@tmaxsoft.com Contact Information TmaxData can be contacted at the following addresses to arrange for a consulting team to visit your company and discuss your options. Korea TmaxData Co., Ltd 5, Hwangsaeul-ro 329beon-gil, Bundang-gu, Seongnam-si, Gyeonggi-do. South Korea Tel: Fax: info@tmax.co.kr Web (Korean): Technical Support: USA TmaxSoft, Inc. 560 Sylvan Avenue Englewood Cliffs, NJ U.S.A Tel: Fax: info@tmaxsoft.com Web (English): Russia Tmax Russia L.L.C. Grand Setun Plaza, No A204 Gorbunova st.2, Moscow, Tel: +7(495) info.rus@tmaxsoft.com Web (Russian): Singapore Tmax Singapore Pte. Ltd. 430 Lorong 6, Toa Payoh #10-02, OrangeTee Building. Singapore Tel: info.sg@tmaxsoft.com United Kingdom TmaxSoft UK Ltd. Surrey House, Suite 221, 34 Eden Street, Kingston- Upon-Thames, KT1 1ER United Kingdom Tel: + 44-(0) info.uk@tmaxsoft.com Web (English): Japan TmaxSoft Japan Co., Ltd. 5F Sanko Bldg, Mita, Minato-Ku, Tokyo, Japan Tel: Fax: info.jp@tmaxsoft.com Web (Japanese): China TmaxSoft China Co., Ltd. Beijing Silver Tower, RM 1508, 2 North Rd Dong San Huan, Chaoyang District, Beijing, China, China Tel: ~8 Fax: info.cn@tmaxsoft.com Web (Chinese): TD-TRMO-D
[JEUS 6.0] MBean 을통한 Application 정보확인
기타지식 [JEUS 6.0] MBean 을통한 Application 정보확인 2015. 06. 08 MBean 을이용한 Application 정보확인 1. 개요 외부프로그램을통해 JEUS 서버에접속을하여 Container 별 Application 정보를확인할수있는방법을기술하였습 니다. 2. Mbean 연동방법 2.1 프로그램소스 import java.util.hashtable;
More informationIntegration of Tibero and Python
Development and Operation Integration of Tibero and Python 2014. 05. 12. Table of Contents 1. Checking the Basic Environment... 3 1.1. Python Version... 3 1.2. gcc Version... 3 1.3. Checking Tibero...
More informationIBM Netezza JDBC 연동가이드
개발및운영 IBM Netezza JDBC 연동가이드 2015. 08. 31 IBM Netezza JDBC 연동가이드 1. Netezza 개요 IBM Netezza 데이터웨어하우스어플라이언스는서버, 스토리지및데이터베이스를어플라이언스에통합하여빅데 이터에대한분석을수행합니다. 2. Netezza JDBC 연동방법 2.1 Netezza JDBC Driver nzjdbc3.jar
More informationDevelopment and Operation. Partitioning Guide
Development and Operation Partitioning Guide 2014. 06. 13. Table of Contents 1. What is Partitioning?... 3 1.1. Why Partition?... 3 1.2. Partitioning Strategy... 4 1.3. Points to Consider When Selecting
More informationTibero TSC Installation Guide
Technical Training Tibero TSC Installation Guide 2014. 05. 26. Table of Contents 1. Pre-Installation Tasks... 4 1.1. Configuring the Operating System... 4 1.1.1. Installing Linux... 4 1.1.2. Creating VM
More informationA Mainframe Rehosting Solution
A Rehosting Solution A rehosting solution that automatically migrates mainframe programs to an open system environment without modifications REHOSTING A Rehosting Solution Migrates mainframe programs without
More informationJEUS Webservice 구성 (ant)
JEUS Webservice 구성 (ant) 2015. 07. 15 목차 JEUS Webservice 구성... 3 1. 웹서비스샘플작성... 3 1.1 사전설치프로그램... 3 1.2 Dynamic Web project 생성... 3 1.3 interface 생성... 5 1.4 class 생성... 6 2. Ant를활용한 wsdl 생성... 8 2.1 service-config
More informationThe Art and Science of Tracing
The Art and Science of Tracing Session 971 Arup Nanda Longtime Oracle DBA Blog: arup.blogspot.com Twitter: @ArupNanda Facebook.com/ArupKNanda REMINDER Check in on the COLLABORATE mobile app Agenda My session
More informationBACK TO THE BASICS AN OVERVIEW OF ORACLE TOOLS FOR TUNING Michael R. Ault- Burleson Consulting
BACK TO THE BASICS AN OVERVIEW OF ORACLE TOOLS FOR TUNING Michael R. - Burleson Consulting Introduction Tuning of Oracle is a three-part process. In this three part tuning process the old 80/20 rule applies.
More informationTibero Backup & Recovery Guide
Tibero Backup & Recovery Guide Copyright 2014 TIBERO Co., Ltd. All Rights Reserved. Copyright Notice Copyright 2014 TIBERO Co., Ltd. All Rights Reserved. 5, Hwangsaeul-ro 329beon-gil, Bundang-gu, Seongnam-si,
More informatione BOOK Do you feel trapped by your database vendor? What you can do to take back control of your database (and its associated costs!
e BOOK Do you feel trapped by your database vendor? What you can do to take back control of your database (and its associated costs!) With private and hybrid cloud infrastructures now reaching critical
More informationArt and Craft of Tracing
Art and Craft of Tracing Arup Nanda Longtime Oracle DBA DocID 91201 Date 161022 Agenda My session or application is slow, or not acceptable. Can you find out why? 2 What is Tracing? Execution plan tracing
More informationTibero Migration Utility Guide
Tibero Migration Utility Guide Copyright 2014 TIBERO Co., Ltd. All Rights Reserved. Copyright Notice Copyright 2014 TIBERO Co., Ltd. All Rights Reserved. 5, Hwangsaeul-ro 329beon-gil, Bundang-gu, Seongnam-si,
More informationOracle Performance Tuning. Overview of performance tuning strategies
Oracle Performance Tuning Overview of performance tuning strategies Allan Young June 2008 What is tuning? Group of activities used to optimize and homogenize the performance of a database Maximize use
More informationTIBERO. The RDBMS of choice. A highly compatible relational database management system that s a drop-in replacement for legacy systems
TIBERO The RDBMS of choice A highly compatible relational database management system that s a drop-in replacement for legacy systems TIBERO The RDBMS of choice An innovative architecture geared toward
More informationInstitute of Aga. Network Database LECTURER NIYAZ M. SALIH
2017 Institute of Aga Network Database LECTURER NIYAZ M. SALIH Database: A Database is a collection of related data organized in a way that data can be easily accessed, managed and updated. Any piece of
More informationInstitute of Aga. Microsoft SQL Server LECTURER NIYAZ M. SALIH
Institute of Aga 2018 Microsoft SQL Server LECTURER NIYAZ M. SALIH Database: A Database is a collection of related data organized in a way that data can be easily accessed, managed and updated. Any piece
More informationUsing V$SQL_PLAN to get accurate execution plans
Using V$SQL_PLAN to get accurate execution plans The cost-based optimiser is good (and continues to get better with each Oracle release) but is not yet foolproof. Every system the author has ever worked
More information.. Spring 2008 CSC 468: DBMS Implementation Alexander Dekhtyar..
.. Spring 2008 CSC 468: DBMS Implementation Alexander Dekhtyar.. Tuning Oracle Query Execution Performance The performance of SQL queries in Oracle can be modified in a number of ways: By selecting a specific
More informationTibero Object Usage Guide
Tibero Object Usage Guide Copyright 2014 TIBERO Co., Ltd. All Rights Reserved. Copyright Notice Copyright 2014 TIBERO Co., Ltd. All Rights Reserved. 5, Hwangsaeul-ro 329beon-gil, Bundang-gu, Seongnam-si,
More informatione BOOK Virtualization and the Oracle database Waiting for the knock on the door?
e BOOK Virtualization and the Oracle database Waiting for the knock on the door? Virtualization and the Oracle database waiting for the knock on the door? It will come as a surprise to many Oracle customers
More informationTuna Helper Proven Process for SQL Tuning. Dean Richards Senior DBA, Confio Software
Tuna Helper Proven Process for SQL Tuning Dean Richards Senior DBA, Confio Software 1 Who Am I? Senior DBA for Confio Software DeanRichards@confio.com Current 20+ Years in Oracle, SQL Server Former 15+
More informationOracle Database SQL Basics
Oracle Database SQL Basics Kerepes Tamás, Webváltó Kft. tamas.kerepes@webvalto.hu 2015. február 26. Copyright 2004, Oracle. All rights reserved. SQL a history in brief The relational database stores data
More informationPro*C to Tibero Migration and Tmax Configuration
Development and Operation Pro*C to Tibero Migration and Tmax Configuration 2014. 05. 16. Table of Contents 1. Environment Configuration... 3 1.1. Configuring Environment Variables for each OS... 3 2. Starting
More informationOracle Database 11gR2 Optimizer Insights
Oracle Database 11gR2 Optimizer Insights Marcus Bender Distinguished Sales Consultant Presales Fellow Strategic Technical Support (STU) ORACLE Deutschland GmbH, Geschäftsstelle Hamburg Parallel Execution
More informationData Warehouse Tuning. Without SQL Modification
Data Warehouse Tuning Without SQL Modification Agenda About Me Tuning Objectives Data Access Profile Data Access Analysis Performance Baseline Potential Model Changes Model Change Testing Testing Results
More information20 Essential Oracle SQL and PL/SQL Tuning Tips. John Mullins
20 Essential Oracle SQL and PL/SQL Tuning Tips John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of
More informationTuning SQL without the Tuning Pack. John Larkin JP Morgan Chase
Tuning SQL without the Tuning Pack John Larkin JP Morgan Chase Who am I Originally a mainframe COBOL programmer DBA for the last 23 years, the last 15 with Oracle. UNIX (Solaris, Aix, Windows, Linux) Recently
More informationJoin, Sub queries and set operators
Join, Sub queries and set operators Obtaining Data from Multiple Tables EMPLOYEES DEPARTMENTS Cartesian Products A Cartesian product is formed when: A join condition is omitted A join condition is invalid
More informationOracle 1Z Oracle Database 11g Performance Tuning.
Oracle 1Z0-054 Oracle Database 11g Performance Tuning http://killexams.com/exam-detail/1z0-054 C. Query v$session to gather statistics of the individual sessions for the workload created by the jobs. D.
More informationRMOUG Training Days 2018
RMOUG Training Days 2018 Pini Dibask Product Manager for Database Tools February 22 nd, 2018 Oracle Database Locking Mechanism Demystified About the Speaker Pini Dibask, Product Manager for Database Tools,
More informationRetrieving Data from Multiple Tables
Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Database Lab (ECOM 4113) Lab 5 Retrieving Data from Multiple Tables Eng. Mohammed Alokshiya November 2, 2014 An JOIN clause
More informationToad as a SQL Tuning Tool. With Dan Hotka - Oracle ACE Director
Toad as a SQL Tuning Tool With Dan Hotka - Oracle ACE Director Dan Hotka Oracle ACE Director Training Consultant Published author Training Courses Include: Oracle Advanced PL/SQL Oracle SQL Tuning TOAD
More informationVendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 11g: Program with PL/ SQL. Version: Demo
Vendor: Oracle Exam Code: 1Z0-144 Exam Name: Oracle Database 11g: Program with PL/ SQL Version: Demo QUESTION NO: 1 View the Exhibit to examine the PL/SQL code: SREVROUPUT is on for the session. Which
More informationDBA 9i Performance Tuning There are 2 basic approaches to Performance Tuning: Top Down Tuning Approach Performance Tuning Principals Common Problems
DBA 9i Performance Tuning 1 Performance Tuning Overview There are 2 basic approaches to Performance Tuning: 1. For systems in design and development, Oracle recommends the Top Down Tuning Approach Tune
More informationOracle Database 11g: SQL Tuning Workshop. Student Guide
Oracle Database 11g: SQL Tuning Workshop Student Guide D52163GC10 Edition 1.0 June 2008 Author Jean-François Verrier Technical Contributors and Reviewers Muriel Fry (Special thanks) Joel Goodman Harald
More informationAnswer: Reduce the amount of work Oracle needs to do to return the desired result.
SQL Tuning 101 excerpt: Explain Plan A Logical Approach By mruckdaschel@affiniongroup.com Michael Ruckdaschel Affinion Group International My Qualifications Software Developer for Affinion Group International
More informationTop 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK
Top 7 Plan Stability Pitfalls & How to Avoid Them Neil Chandler Chandler Systems Ltd UK Keywords: SQL Optimizer Plan Change Stability Outlines Baselines Plan Directives Introduction When you write some
More informationEmbarcadero DB Optimizer 1.5 SQL Profiler User Guide
Embarcadero DB Optimizer 1.5 SQL Profiler User Guide Copyright 1994-2009 Embarcadero Technologies, Inc. Embarcadero Technologies, Inc. 100 California Street, 12th Floor San Francisco, CA 94111 U.S.A. All
More informationIT100: Oracle Administration
IT100: Oracle Administration IT100 Rev.001 CMCT COURSE OUTLINE Page 1 of 8 Training Description: Introduction to Oracle Administration and Management is a five-day course designed to provide Oracle professionals
More informationOracle Database Performance Tuning, Benchmarks & Replication
Oracle Database Performance Tuning, Benchmarks & Replication Kapil Malhotra kapil.malhotra@software.dell.com Solutions Architect, Information Management Dell Software 2 11/29/2013 Software Database Tuning
More informationOracle Database 11g: SQL Tuning Workshop
Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release
More informationCommon Performance Monitoring Mistakes
Common Performance Monitoring Mistakes Virag Saksena CEO Auptyma Corporation peakperformance@auptyma.com Tuning Approach BUS X SYS Identify slow business actions Correlate the two Find system bottlenecks
More informationHow to Read and Interpret an Explain Plan
How to Read and Interpret an Explain Plan NZOUG Webinary June 25, 2010 Daniel A. Morgan Oracle ACE Director University of Washington Oracle Instructor for 10 years Morgan of Morgan s Library on the web
More informationOracle 11g Invisible Indexes Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.
ORACLE 11G INVISIBLE INDEXES Inderpal S. Johal, Data Softech Inc. INTRODUCTION In this document we will work on another Oracle 11g interesting feature called Invisible Indexes. This will be very helpful
More informationData about data is database Select correct option: True False Partially True None of the Above
Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another
More informationKORA. RDBMS Concepts II
RDBMS Concepts II Outline Querying Data Source With SQL Star & Snowflake Schemas Reporting Aggregated Data Using the Group Functions What Are Group Functions? Group functions operate on sets of rows to
More informationSQLSaturday Sioux Falls, SD Hosted by (605) SQL
SQLSaturday 2017 Sioux Falls, SD Hosted by (605) SQL Please be sure to visit the sponsors during breaks and enter their end-of-day raffles! Remember to complete session surveys! You will be emailed a link
More informationIntermediate SQL: Aggregated Data, Joins and Set Operators
Intermediate SQL: Aggregated Data, Joins and Set Operators Aggregated Data and Sorting Objectives After completing this lesson, you should be able to do the following: Identify the available group functions
More informationRestricting and Sorting Data. Copyright 2004, Oracle. All rights reserved.
Restricting and Sorting Data Objectives After completing this lesson, you should be able to do the following: Limit the rows that are retrieved by a query Sort the rows that are retrieved by a query Use
More informationITCertMaster. Safe, simple and fast. 100% Pass guarantee! IT Certification Guaranteed, The Easy Way!
ITCertMaster Safe, simple and fast. 100% Pass guarantee! http://www.itcertmaster.com Exam : 1z0-007 Title : Introduction to Oracle9i: SQL Vendor : Oracle Version : DEMO Get Latest & Valid 1Z0-007 Exam's
More informationOracle SQL Tuning for Developers Workshop Student Guide - Volume I
Oracle SQL Tuning for Developers Workshop Student Guide - Volume I D73549GC10 Edition 1.0 October 2012 D78799 Authors Sean Kim Dimpi Rani Sarmah Technical Contributors and Reviewers Nancy Greenberg Swarnapriya
More informationThe Oracle Optimizer Explain the Explain Plan O R A C L E W H I T E P A P E R A P R I L
The Oracle Optimizer Explain the Explain Plan O R A C L E W H I T E P A P E R A P R I L 2 0 1 7 Table of Contents Introduction 1 The Execution Plan 2 Displaying the Execution Plan 3 What is Cost? 7 Understanding
More informationExplaining the Explain Plan:
Explaining the Explain Plan: Interpre'ng Execu'on Plans for SQL Statements Maria Colgan Master Product Manager June 2017 @SQLMaria Safe Harbor Statement The following is intended to outline our general
More informationDeveloping Integrated Engine for Database Administrator and Developer
Developing Integrated Engine for Database Administrator and Developer Alan Seelan, Jeongkyu Lee Department of Computer Science and Engineering University of Bridgeport, CT {aseelan,jelee}@bridgeport.edu
More information<Insert Picture Here> Looking at Performance - What s new in MySQL Workbench 6.2
Looking at Performance - What s new in MySQL Workbench 6.2 Mario Beck MySQL Sales Consulting Manager EMEA The following is intended to outline our general product direction. It is
More informationAnti-Virus Measures for Instruments with Windows Operating System. White Paper
Anti-Virus Measures for Instruments with Windows Operating System White Paper Table of Contents 1 Introduction... 3 2 Anritsu s Effort... 3 3 Anti-Virus Measures by Customer... 3 3.1. CONFIGURING WINDOWS
More informationIT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including:
IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including: 1. IT Cost Containment 84 topics 2. Cloud Computing Readiness 225
More informationMyOra 6.0. SQL Tool for Oracle. User Guide
MyOra 6.0 SQL Tool for Oracle User Guide Last updated January 13, 2017 Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 7 Closing the Connection...
More informationIT-Tage Dezember 2016 Frankfurt am Main Maritim Hotel
www.it-tage.org IT-Tage 2016 12.-15.Dezember 2016 Frankfurt am Main Maritim Hotel The Bad One Into Your Crop - SQL Tuning Analysis for DBAs Die Schlechten ins Kröpfchen - SQL Analyse für DBAs Martin Klier
More informationORACLE TRAINING CURRICULUM. Relational Databases and Relational Database Management Systems
ORACLE TRAINING CURRICULUM Relational Database Fundamentals Overview of Relational Database Concepts Relational Databases and Relational Database Management Systems Normalization Oracle Introduction to
More informationDatabase Programming with SQL
Database Programming with SQL 12-2 Objectives In this lesson, you will learn to: Construct and execute an UPDATE statement Construct and execute a DELETE statement Construct and execute a query that uses
More informationDBPLUS Performance Monitor for Oracle
DBPLUS Performance Monitor for Oracle User s Manual February 2016 UM-ORA-EN-R01 Table of contents 1 Introduction... 4 1.1 DBPLUS Technical Support... 5 1.2 System architecture... 5 1.3 System requirements...
More informationHOLDDATA FOR DB2 9.1 PUT Level ** Please read through all the holddata before acting on any of it. ** GENERAL
HOLDDATA FOR DB2 9.1 PUT Level 0805 ** Please read through all the holddata before acting on any of it. ** GENERAL 1. Rebind all static DB2 application which match criteria. Member REBIND DSN910.SVSC.HOLDCNTL
More informationYASKAWA AC Drive-J1000 Option. RS-232C Interface. Technical Manual Type SI-232/J, SI-232/JC RS-232C SI-232/J, SI-232/JC J1000
YASKAWA AC Drive-J1000 Option RS-232C Interface Technical Manual Type SI-232/J, SI-232/JC To properly use the product, read this manual thoroughly and retain for easy reference, inspection, and maintenance.
More informationÇALIŞMA TEST SORULARI
1. A table has the following definition: EMPLOYEES( EMPLOYEE_ID NUMBER(6) NOT NULL, LAST_NAME VARCHAR2(10) NOT NULL, MANAGER_ID VARCHAR2(6)) and contains the following rows: (1001, 'Bob Bevan', '200')
More informationII B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.
Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Re-accredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated
More informationConfiguring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.
Configuring the Oracle Network Environment Objectives After completing this lesson, you should be able to: Use Enterprise Manager to: Create additional listeners Create Oracle Net Service aliases Configure
More informationUsing Oracle STATSPACK to assist with Application Performance Tuning
Using Oracle STATSPACK to assist with Application Performance Tuning Scenario You are experiencing periodic performance problems with an application that uses a back-end Oracle database. Solution Introduction
More informationMySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015
MySQL Database Administrator Training Day 1: AGENDA Introduction to MySQL MySQL Overview MySQL Database Server Editions MySQL Products MySQL Services and Support MySQL Resources Example Databases MySQL
More informationREPORT ON SQL TUNING USING INDEXING
REPORT ON SQL TUNING USING INDEXING SUBMITTED BY SRUNOKSHI KANIYUR PREMA NEELAKANTAN CIS -798 INDEPENDENT STUDY COURSE PROFESSOR Dr.TORBEN AMTOFT Kansas State University Page 1 of 38 TABLE OF CONTENTS
More informationProjects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES
Corporate Trainer s Profile Corporate Trainers are having the experience of 4 to 12 years in development, working with TOP CMM level 5 comapnies (Project Leader /Project Manager ) qualified from NIT/IIT/IIM
More informatione BOOK Do you feel trapped by your database vendor? What you can do to take back control of your database (and its associated costs!
e BOOK Do you feel trapped by your database vendor? What you can do to take back control of your database (and its associated costs!) With private and hybrid cloud infrastructures now reaching critical
More informationSQL Best Practices. Chandra Sekhar
SQL Best Practices Chandra Sekhar Agenda Application failing with "String too large error" My application is not running fast enough Push your application logic to User Defined Functions Use Scalar Subquery
More informationAMON User's Guide. Author: Andrej Simon Creation date: 11-Mar-2009 Last changed: 11-Aug-2010 AMON Version: 0.32
Author: Andrej Simon Creation date: 11-Mar-2009 Last changed: 11-Aug-2010 AMON Version: 0.32 Contents 1 The monitoring tool AMON...1-1 Some examples of using AMON...1 Starting AMON...1 Wait events monitoring
More informationGet Oracle Schema Ddl Syntax With Dbms_metadata
Get Oracle Schema Ddl Syntax With Dbms_metadata It there an easy way to extract DDLs from an Oracle 10 schema (tables and route, then rather than trying to convert Oracle DDL syntax to H2 you'd be better
More informationInnovative leader of RDBMS
Innovative leader of RDBMS Tibero RDBMS opens a new paradigm for enterprise RDBMS. Architecture Tibero RDBMS is the standard DBMS based on the relational model. It provides consistent and efficient data
More informationOracle DB-Tuning Essentials
Infrastructure at your Service. Oracle DB-Tuning Essentials Agenda 1. The DB server and the tuning environment 2. Objective, Tuning versus Troubleshooting, Cost Based Optimizer 3. Object statistics 4.
More informationSQL Interview Questions
SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic
More informationThis is the forth SAP MaxDB Expert Session and this session covers the topic database performance analysis.
1 This is the forth SAP MaxDB Expert Session and this session covers the topic database performance analysis. Analyzing database performance is a complex subject. This session gives an overview about the
More informationQuery Optimization, part 2: query plans in practice
Query Optimization, part 2: query plans in practice CS634 Lecture 13 Slides by E. O Neil based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Working with the Oracle query optimizer First
More informationL N
R 1 2 3 4 5 6 { 3/8 in. (10 mm) 1 2 A B C 1 2 A B C 1 2 3 4 1 2 A B C 1 2 A B C 1 2 3 4 1 2 3 4 1 2 A B C 1 2 3 4 1 2 3 4 1 2 3 4 5 6 L N 1 2 3 4 5 6 L N 1 2 3 4 5 6 L N 1 2 3 4 5 6 L N 1 2 3 4 1 2 3 4
More informationCommon Pitfalls in Complex Apps Performance Troubleshooting
Common Pitfalls in Complex Apps Performance Troubleshooting RMOUG February 2018 Timur Akhmadeev About Me (Short) DBA who was a Developer About Me (Long) Dev Perf DBA Database Consultant at Pythian 12+
More informationGather Schema Statistics Oracle 10g Examples
Gather Schema Statistics Oracle 10g Examples Document 452011.1 * Restoring table statistics in 10G onwards Document 237901.1 Gathering Schema or Database Statistics Automatically - Examples gathering on
More informationUsing Active Session History for Performance Tuning: Advanced Topics in Performance Diagnostics
Using Active Session History for Performance Tuning: Advanced Topics in Performance Diagnostics Graham Wood Oracle USA Agenda Performance Diagnosis What is ASH? Using ASH data What
More informationMySQL Architecture and Components Guide
Guide This book contains the following, MySQL Physical Architecture MySQL Logical Architecture Storage Engines overview SQL Query execution InnoDB Storage Engine MySQL 5.7 References: MySQL 5.7 Reference
More informationImplementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations. SQL: Structured Query Language
Implementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations Show Only certain columns and rows from the join of Table A with Table B The implementation of table operations
More informationDB2 SQL Tuning Tips for z/os Developers
DB2 SQL Tuning Tips for z/os Developers Tony Andrews IBM Press, Pearson pic Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Cape Town Sydney
More informationExploring Best Practices and Guidelines for Tuning SQL Statements
Exploring Best Practices and Guidelines for Tuning SQL Statements Ami Aharonovich Oracle ACE & OCP Ami@DBAces.co.il Oracle ACE Who am I Oracle Certified Professional DBA (OCP) Founder and CEO, DBAces Oracle
More informationCBO SQL TRANSFORMER Document describes a few examples of transformations made by CBO.
2013 CBO SQL TRANSFORMER Document describes a few examples of transformations made by CBO. Environment description OS - Oracle Linux Server release 6.3 x64 Database Oracle Database 11.2.0.3 EE with sample
More informationManaging an Oracle Instance
Managing an Oracle Instance Date: 07.10.2009 Instructor: SL. Dr. Ing. Ciprian Dobre 1 Objectives After completing this lesson, you should be able to do the following: Create and manage initialization parameter
More informationITExamDownload. Provide the latest exam dumps for you. Download the free reference for study
ITExamDownload Provide the latest exam dumps for you. Download the free reference for study Exam : 1Z0-020 Title : Oracle8l:new features for administrators Vendors : Oracle Version : DEMO Get Latest &
More informationCourse Contents of ORACLE 9i
Overview of Oracle9i Server Architecture Course Contents of ORACLE 9i Responsibilities of a DBA Changing DBA Environments What is an Oracle Server? Oracle Versioning Server Architectural Overview Operating
More informationMANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 6 Professional Program: Data Administration and Management MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) AGENDA
More informationEXISTS NOT EXISTS WITH
Subquery II. Objectives After completing this lesson, you should be able to do the following: Write a multiple-column subquery Use scalar subqueries in SQL Solve problems with correlated subqueries Update
More informationThings to remember when working with Oracle... (for UDB specialists)
TRAINING & CONSULTING Things to remember when working with Oracle... (for UDB specialists) Kris Van Thillo, ABIS ABIS Training & Consulting www.abis.be training@abis.be 2013 Document number: DB2LUWUserMeeting2013Front.fm
More informationFirebird in 2011/2012: Development Review
Firebird in 2011/2012: Development Review Dmitry Yemanov mailto:dimitr@firebirdsql.org Firebird Project http://www.firebirdsql.org/ Packages Released in 2011 Firebird 2.1.4 March 2011 96 bugs fixed 4 improvements,
More informationTeradata. This was compiled in order to describe Teradata and provide a brief overview of common capabilities and queries.
Teradata This was compiled in order to describe Teradata and provide a brief overview of common capabilities and queries. What is it? Teradata is a powerful Big Data tool that can be used in order to quickly
More informationINDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables
INDEX Exercise No Title 1 Basic SQL Statements 2 Restricting and Sorting Data 3 Single Row Functions 4 Displaying data from multiple tables 5 Creating and Managing Tables 6 Including Constraints 7 Manipulating
More informationPRODUCT INTRODUCTION MD8480B. W-CDMA Signalling Tester MX848001A/41A-05. GSM Frequency Hopping ANRITSU CORPORATION
PRODUCT INTRODUCTION MD8480B W-CDMA Signalling Tester MX848001A/41A-05 GSM Frequency Hopping CONFIDENTIAL 1 Copyright 2004 by The contents of this manual shall not be disclosed in any way or reproduced
More information