This is the presentation on ASH that I did with Graham Wood at RMOUG 2014 and that represents the final best effort to capture essential and advanced ASH content as started in a presentation Uri Shaft and I gave at a small conference in Denmark sometime in 2012 perhaps. The presentation is also available publicly through the RMOUG website, so I felt at liberty to post it myself here. If it disappears it would likely be because I have been asked to remove it by Oracle.
Any DBA from beginner to advanced level, who wants to fill in some gaps in his/her knowledge about Performance Tuning on an Oracle Database, will benefit from this workshop.
About the course:
This Oracle performance tuning online course is designed for the audience who want to learn basics and core concepts of Oracle PT. You will be learning about Introduction, basic tuning diagnostics, how to use automatic workload repository, defining of problems, how to create AWR baselines, monitoring of applications Etc. All Oracle performance tuning classes will be live and interactive.
Course Target:
Oracle performance tuning online training is designed to teach you fundamentals of PT.
Understand basic tuning diagnostics.
Learn how to use Automatic workload repository.
Obtain knowledge of using metrics and alerts.
Clear understanding of how to monitor applications.
Need to identify problem SQL statements
Learn how to influence the optimizer.
Understand SQL performance management.
Tuning the shared pool, I/0, Buffer cache, PGA and temporary space.
Course Targeted Audience:
Any candidate can join our Oracle performance tuning online course.
People who are from professional background can join.
Researches can also participate in this course.
Prerequisites:
Candidates with basic knowledge of computer.
Basics of database are recommended.
Training Format:
Kernel Training provides Oracle performance tuning online course led by real time expert.
Registered Candidates can interact with instructor in live interactive sessions.
Candidates will have life time access to learning material.
Companies Using Oracle PT:
Major international IT companies perform Oracle performance tuning for their operations.
Poliittisen viestinnän sisäpiirit TwitterissäJukka Huhtamäki
Poliittisen viestinnän sisäpiirit Twitterissä
FM Eliisa Vainikka (Tampereen yliopisto) @evainikka
DI Jukka Huhtamäki (Tampereen teknillinen yliopisto) @jnkka
The student began by researching conventions of horror and comedy film posters. They noticed different genres use conventions in different ways. For their own poster, the student included standard elements like the release date and tagline linked to the psychological horror genre. However, they subverted conventions by inverting the colors of the central girl figure, making her appear inhuman and suggesting something supernatural will attack her. The streaks on the walls and the girl's vulnerable positioning imply she will die at the hands of something abnormal. The student was pleased with how the streaks stood out and contributed to the supernatural connotation, and how the old, scratched floor reinforced the run-down, lonely setting.
The document describes the assembly instructions for a Styrocontrol 1.8 system. It includes a bill of materials and step-by-step instructions to construct the main components: a silo to hold pellets made of MDF sheets with a cloth cover, a PP valve at the bottom, a support structure made of welded metal profiles, a venturi system connected to pneumatic tubes, a pressure regulator, and straps to secure the tubes. Diagrams illustrate the pneumatic circuit that powers the system using a venturi and pedals to control a pneumatic cylinder and suction speed. Contact details are provided for the design team.
03. a. salinan permendikbud no. 65 th 2013 ttg standar prosesIrma Muthiara Sari
Peraturan ini menetapkan standar proses pendidikan dasar dan menengah yang merupakan kriteria pelaksanaan pembelajaran untuk mencapai kompetensi lulusan. Standar proses tercantum dalam lampiran yang menjadi bagian tak terpisahkan dari peraturan ini. Peraturan sebelumnya dicabut dan peraturan ini mulai berlaku setelah diundangkan.
Presentacion coleccion GUAU RE MIAU BY MARIA TRAPOSMARIA TRAPOS
Guau Re miau, es una marca desarrollada por MARIA TRAPOS, en donde diseñamos y elaboramos accesorios para guaus y miaus, además encontrarás muchos productos para los amantes de los animalitos
Twitter is a microblogging service that allows users to post short text updates of up to 140 characters called tweets. The document discusses why Twitter is important for educators, including sharing resources, participating in professional development, and communicating with parents. It provides guidance on setting up an account, posting tweets, and using hashtags, mentions, and retweets. The document also offers tips for attracting followers and making connections with other educators on Twitter.
This is the presentation on ASH that I did with Graham Wood at RMOUG 2014 and that represents the final best effort to capture essential and advanced ASH content as started in a presentation Uri Shaft and I gave at a small conference in Denmark sometime in 2012 perhaps. The presentation is also available publicly through the RMOUG website, so I felt at liberty to post it myself here. If it disappears it would likely be because I have been asked to remove it by Oracle.
Any DBA from beginner to advanced level, who wants to fill in some gaps in his/her knowledge about Performance Tuning on an Oracle Database, will benefit from this workshop.
About the course:
This Oracle performance tuning online course is designed for the audience who want to learn basics and core concepts of Oracle PT. You will be learning about Introduction, basic tuning diagnostics, how to use automatic workload repository, defining of problems, how to create AWR baselines, monitoring of applications Etc. All Oracle performance tuning classes will be live and interactive.
Course Target:
Oracle performance tuning online training is designed to teach you fundamentals of PT.
Understand basic tuning diagnostics.
Learn how to use Automatic workload repository.
Obtain knowledge of using metrics and alerts.
Clear understanding of how to monitor applications.
Need to identify problem SQL statements
Learn how to influence the optimizer.
Understand SQL performance management.
Tuning the shared pool, I/0, Buffer cache, PGA and temporary space.
Course Targeted Audience:
Any candidate can join our Oracle performance tuning online course.
People who are from professional background can join.
Researches can also participate in this course.
Prerequisites:
Candidates with basic knowledge of computer.
Basics of database are recommended.
Training Format:
Kernel Training provides Oracle performance tuning online course led by real time expert.
Registered Candidates can interact with instructor in live interactive sessions.
Candidates will have life time access to learning material.
Companies Using Oracle PT:
Major international IT companies perform Oracle performance tuning for their operations.
Poliittisen viestinnän sisäpiirit TwitterissäJukka Huhtamäki
Poliittisen viestinnän sisäpiirit Twitterissä
FM Eliisa Vainikka (Tampereen yliopisto) @evainikka
DI Jukka Huhtamäki (Tampereen teknillinen yliopisto) @jnkka
The student began by researching conventions of horror and comedy film posters. They noticed different genres use conventions in different ways. For their own poster, the student included standard elements like the release date and tagline linked to the psychological horror genre. However, they subverted conventions by inverting the colors of the central girl figure, making her appear inhuman and suggesting something supernatural will attack her. The streaks on the walls and the girl's vulnerable positioning imply she will die at the hands of something abnormal. The student was pleased with how the streaks stood out and contributed to the supernatural connotation, and how the old, scratched floor reinforced the run-down, lonely setting.
The document describes the assembly instructions for a Styrocontrol 1.8 system. It includes a bill of materials and step-by-step instructions to construct the main components: a silo to hold pellets made of MDF sheets with a cloth cover, a PP valve at the bottom, a support structure made of welded metal profiles, a venturi system connected to pneumatic tubes, a pressure regulator, and straps to secure the tubes. Diagrams illustrate the pneumatic circuit that powers the system using a venturi and pedals to control a pneumatic cylinder and suction speed. Contact details are provided for the design team.
03. a. salinan permendikbud no. 65 th 2013 ttg standar prosesIrma Muthiara Sari
Peraturan ini menetapkan standar proses pendidikan dasar dan menengah yang merupakan kriteria pelaksanaan pembelajaran untuk mencapai kompetensi lulusan. Standar proses tercantum dalam lampiran yang menjadi bagian tak terpisahkan dari peraturan ini. Peraturan sebelumnya dicabut dan peraturan ini mulai berlaku setelah diundangkan.
Presentacion coleccion GUAU RE MIAU BY MARIA TRAPOSMARIA TRAPOS
Guau Re miau, es una marca desarrollada por MARIA TRAPOS, en donde diseñamos y elaboramos accesorios para guaus y miaus, además encontrarás muchos productos para los amantes de los animalitos
Twitter is a microblogging service that allows users to post short text updates of up to 140 characters called tweets. The document discusses why Twitter is important for educators, including sharing resources, participating in professional development, and communicating with parents. It provides guidance on setting up an account, posting tweets, and using hashtags, mentions, and retweets. The document also offers tips for attracting followers and making connections with other educators on Twitter.
Case 2012 crowdfunding session to shareJason Potts
This document discusses crowdfunding and contains information about crowdfunding campaigns. It provides examples of successful crowdfunding projects like Amanda Palmer raising $1 million on Kickstarter from 25,000 fans. It also discusses what crowdfunding is, how it has grown from $1.6 billion in 2009 to $6.2 billion in 2013, and some of the key ingredients to a successful crowdfunding campaign like using a quiz or video to engage supporters and giving donors choice and a social experience. The document is authored by Jason Potts from THINK and provides his contact information.
This document discusses different types of diabetes mellitus. It describes the three main types: type 1 diabetes which results from failure to produce insulin; type 2 diabetes which results from insulin resistance; and gestational diabetes which occurs during pregnancy. It provides details on symptoms, causes, treatment and prevalence of each type. Other less common forms are also mentioned. The document emphasizes the importance of proper treatment and control of diabetes to prevent complications.
Creating Relevant Innovation within Changing ExpectationsEleanor Davies
This document discusses creating relevant innovation within changing expectations. It notes that markets are changing due to demographics, regions, economies, and technology. Expectations are also changing regarding education, religion, experience, attitudes, safety, regulation, politics, and privacy. There have been shifts from consumer electronics to the public realm and personal devices to professional spaces. The approach is to balance user, business, and technology considerations to make innovation relevant by understanding fundamental user needs and behaviors in context. Examples provided include coffee machines, digital fabrication interfaces, and smart home applications.
Franchisors and service providers in New Zealand remain optimistic about general business conditions and franchisor growth prospects for 2017 according to a quarterly survey. While franchisors were positive about franchisee profitability and sales, they expressed concern about rising operating costs and access to financing. The greatest challenges to franchise development in 2017 were identified as finding suitable franchisees, staff, and containing ongoing franchisee costs.
This document discusses various methods for checking the health of Oracle database storage structures. It describes tools from Oracle like Hcheck scripts, Health Monitor Checks, and Log Scanner that check data dictionary integrity and consistency. It also discusses third party tools like ParnassusData recovery manager and hcmon. Specific checks covered include dictionary integrity checks, data block integrity checks, and ASM health checks. The document provides technical details on how many of these checks operate.
Vbox virtual box在oracle linux 5 - shoug 梁洪响maclean liu
The document describes setting up an Oracle 11g Release 2 RAC environment using VirtualBox virtual machines on Oracle Linux 5.7. It outlines planning the RAC logical architecture and installation requirements. It then details steps to create two virtual machines, install Oracle Linux on them, configure user accounts and directories for the Grid and Oracle software installations, and prepare the systems for the Oracle software installations.
Shoug at apouc2015 4min pitch_biotwang_v2maclean liu
Biot Wang introduces the Shanghai Oracle User Group (SHOUG), which he has been a member of for one year. SHOUG holds Oracle-related meetings and activities a few times a year to share knowledge. While some meetings have been more successful than others due to factors like scheduling, SHOUG is still learning and aims to make meetings better over time. The group has grown from a few members to over 400 currently. SHOUG's goal is to help members improve their Oracle skills and knowledge through sharing.
Biot Wang introduces the Shanghai Oracle User Group (SHOUG), which he has been a member of for one year. SHOUG holds Oracle-related meetings and activities a few times a year to share knowledge. While some meetings have been more successful than others due to factors like scheduling, SHOUG is still learning and aims to make meetings better over time. The group has grown from a few members to over 400 currently. SHOUG's goal is to help members improve their Oracle skills and knowledge through sharing.
This document discusses various techniques for optimizing JDBC performance when accessing an Oracle database. It provides examples of common issues like repeatedly opening and closing database connections, failing to close result sets and statements, and not using prepared statements with bind variables. The solutions outlined include using connection, statement and result set pools, try-finally blocks to ensure proper closing, and leveraging features like prepared statements, bind variables, batching, and prefetching to reduce round trips.
Parnassus data recovery manager for oracle database user guide v0.3maclean liu
ParnassusData Recovery Manager (PRM) is an enterprise Oracle database recovery tool, which can extract database datafile from Oracle 9i, 10g, 11g, 12c directly without any SQL execution on database. ParnassusData Recovery Manager was developed by Java, which can be used cross platforms. It can be run without any installation. Download it, and click to run
PRM has full rich GUI for any command. It is not necessary to learn script or master any skill in Oracle data structure. Recovery Wizard is integrated in the tool.
43. 数据类型的隐式转换 NUMBER VARCHAR2 or CHAR DATE VARCHAR2 or CHAR To From VARCHAR2 or CHAR NUMBER VARCHAR2 or CHAR DATE To From … where hire_date > '01-JAN-90' … where name_varchar > 2345 不建议使用隐式转换,可能导致 SQL 的性能下降
63. 使用 ON 进行 join SELECT employee_id, city, department_name FROM employees e JOIN departments d ON d.department_id = e.department_id JOIN locations l ON d.location_id = l.location_id; …
64.
65.
66. 非对等连接 Nonequijoins SELECT e.last_name, e.salary, j.grade_level FROM employees e JOIN job_grades j ON e.salary BETWEEN j.lowest_sal AND j.highest_sal; …
67. 外连接 Outer Joins EMPLOYEES DEPARTMENTS There are no employees in department 190. …
68.
69. 左外连接 Left Outer Join SELECT e.last_name, e.department_id, d.department_name FROM employees e LEFT OUTER JOIN departments d ON (e.department_id = d.department_id) ; …
70. 全外连接 Left Outer Join SELECT e.last_name, d.department_id, d.department_name FROM employees e FULL OUTER JOIN departments d ON (e.department_id = d.department_id) ; …
80. UNION SELECT employee_id, job_id FROM employees UNION SELECT employee_id, job_id FROM job_history; … …
81. UNION ALL SELECT employee_id, job_id, department_id FROM employees UNION ALL SELECT employee_id, job_id, department_id FROM job_history ORDER BY employee_id; … …
88. 成对比较子查询 返回与名字为 John 的员工在同一个部门,且同一个领导的员工 SELECT employee_id, manager_id, department_id FROM empl_demo WHERE (manager_id, department_id) IN (SELECT manager_id, department_id FROM empl_demo WHERE first_name = 'John') AND first_name <> 'John';
89. 不成对比较子查询 返回与名字为 John 的员工中任意一个领导相符和任意一个部门相符的员工 当名字为 John 多于一人时,与成对比较子查询的返回结果不同。 SELECT employee_id, manager_id, department_id FROM empl_demo WHERE manager_id IN (SELECT manager_id FROM empl_demo WHERE first_name = 'John') AND department_id IN (SELECT department_id FROM empl_demo WHERE first_name = 'John') AND first_name <> 'John';
92. 使用关联子查询 SELECT column1 , column2 , ... FROM table1 WHERE column1 operator (SELECT column1, column2 FROM table2 WHERE expr1 = .expr2 ); outer outer SELECT e.employee_id, last_name,e.job_id FROM employees e WHERE 2 <= (SELECT COUNT(*) FROM job_history WHERE employee_id = e.employee_id );
93.
94. WITH 示例 WITH dept_costs AS ( SELECT d.department_name, SUM(e.salary) AS dept_total FROM employees e JOIN departments d ON e.department_id = d.department_id GROUP BY d.department_name), avg_cost AS ( SELECT SUM(dept_total)/COUNT(*) AS dept_avg FROM dept_costs ) SELECT * FROM dept_costs WHERE dept_total > (SELECT dept_avg FROM avg_cost ) ORDER BY department_name;
97. INSERT INSERT INTO departments VALUES (100, 'Finance', NULL, NULL); INSERT INTO departments (department_id, department_name) VALUES (30, 'Purchasing'); INSERT INTO sales_reps(id, name, salary, commission_pct) SELECT employee_id, last_name, salary, commission_pct FROM employees INSERT INTO employees (employee_id,hire_date) VALUES (113,SYSDATE);
98.
99. Unconditional INSERT ALL INSERT ALL INTO sal_history VALUES(EMPID,HIREDATE,SAL) INTO mgr_history VALUES(EMPID,MGR,SAL) SELECT employee_id EMPID, hire_date HIREDATE, salary SAL, manager_id MGR FROM employees WHERE employee_id > 200;
100. Unconditional INSERT ALL INSERT ALL INTO sal_history VALUES(EMPID,HIREDATE,SAL) INTO mgr_history VALUES(EMPID,MGR,SAL) SELECT employee_id EMPID, hire_date HIREDATE, salary SAL, manager_id MGR FROM employees WHERE employee_id > 200;
101. Conditional INSERT ALL INSERT ALL WHEN HIREDATE < ' 01-JAN-95 ' THEN INTO emp_history VALUES(EMPID,HIREDATE,SAL) WHEN COMM IS NOT NULL THEN INTO emp_sales VALUES(EMPID,COMM,SAL) SELECT employee_id EMPID, hire_date HIREDATE, salary SAL, commission_pct COMM FROM employees
102. Conditional INSERT FIRST INSERT FIRST WHEN salary < 5000 THEN INTO sal_low VALUES (employee_id, last_name, salary) WHEN salary between 5000 and 10000 THEN INTO sal_mid VALUES (employee_id, last_name, salary) ELSE INTO sal_high VALUES (employee_id, last_name, salary) SELECT employee_id, last_name, salary FROM employees
103.
104. Pivoting INSERT INSERT ALL INTO sales_info VALUES (employee_id,week_id,sales_MON) INTO sales_info VALUES (employee_id,week_id,sales_TUE) INTO sales_info VALUES (employee_id,week_id,sales_WED) INTO sales_info VALUES (employee_id,week_id,sales_THUR) INTO sales_info VALUES (employee_id,week_id, sales_FRI) SELECT EMPLOYEE_ID, week_id, sales_MON, sales_TUE, sales_WED, sales_THUR,sales_FRI FROM sales_source_data;
105. UPDATE UPDATE employees SET department_id = 50 WHERE employee_id = 113; UPDATE copy_emp SET department_id = 110; UPDATE employees SET department_id = 50 WHERE employee_id = null; UPDATE employees SET job_id = (SELECT job_id FROM employees WHERE employee_id = 205) WHERE employee_id = 113;
106. UPDATE 中的关联子查询 UPDATE table1 alias1 SET column = (SELECT expression FROM table2 alias2 WHERE alias1.column = alias2.column );
107. DELETE DELETE FROM departments WHERE department_name = ‘Finance'; DELETE FROM copy_emp; DELETE FROM employees WHERE department_id = (SELECT department_id FROM departments WHERE department_name LIKE '%Public%');
108. DELETE 中的关联子查询 DELETE FROM table1 alias1 WHERE column operator (SELECT expression FROM table2 alias2 WHERE alias1.column = alias2.column);
109.
110.
111.
112. 事务的显式控制 SAVEPOINT B SAVEPOINT A DELETE INSERT UPDATE INSERT COMMIT 时间轴 Transaction ROLLBACK to SAVEPOINT B ROLLBACK to SAVEPOINT A ROLLBACK
113.
114.
115.
116.
117.
118. 读一致性的实现 SELECT * FROM userA.employees; UPDATE employees SET salary = 7000 WHERE last_name = 'Grant'; Data blocks Undo segments Changed and unchanged data Before change (“old” data) 用户 A 用户 B Read- consistent image
124. CREATE TABLE DESCRIBE dept CREATE TABLE dept (deptno NUMBER(2), dname VARCHAR2(14), loc VARCHAR2(13), create_date DATE DEFAULT SYSDATE );
125. 引用其他用户的表 USERB USERA SELECT * FROM userB.employees; SELECT * FROM userA.employees;
126. CTAS (Create Table As Select) CREATE TABLE dept80 AS SELECT employee_id, last_name, salary*12 ANNSAL, hire_date FROM employees WHERE department_id = 80; DESCRIBE dept80
127. 数据类型 未经处理的类型 RAW and LONG RAW 二进制数据类型 (up to 4 GB) BLOB 存储在外部文件的二进制数据类型 (up to 4 GB) BFILE 日期类型 DATE 变长的字符类型 (up to 2 GB) LONG 字符类型 (up to 4 GB) CLOB 代表表中数据行的唯一地址 ROWID 定长的字符数据 CHAR( size ) 变长的数值类型 NUMBER( p , s) 变长的字符类型 VARCHAR2( size ) 描述 Data Type
128. 数据类型 存储时间间隔的类型 INTERVAL YEAR TO MONTH 存储时间间隔的类型 INTERVAL DAY TO SECOND 较精细的日期类型 TIMESTAMP 描述 Data Type
141. 创建视图 CREATE [OR REPLACE] [FORCE| NOFORCE ] VIEW view [( alias [, alias ]...)] AS subquery [WITH CHECK OPTION [CONSTRAINT constraint ]] [WITH READ ONLY [CONSTRAINT constraint ]]; CREATE OR REPLACE VIEW empvu80 (id_number, name, sal, department_id) AS SELECT employee_id, first_name || ' ' || last_name, salary, department_id FROM employees WHERE department_id = 80;
142.
143.
144.
145.
146.
147.
148.
149. 创建序列 CREATE SEQUENCE sequence [INCREMENT BY n ] [START WITH n ] [{MAXVALUE n | NOMAXVALUE }] [{MINVALUE n | NOMINVALUE }] [{CYCLE | NOCYCLE }] [{CACHE n | NOCACHE}];