dist_tran_fail.sql connect rem reenable distributed recovery to clean up rem any in-doubt distributed transactions pause

Size: px
Start display at page:

Download "dist_tran_fail.sql connect rem reenable distributed recovery to clean up rem any in-doubt distributed transactions pause"

Transcription

1 connect reenable distributed recovery to clean up any in-doubt distributed transactions alter system enable distributed recovery; alter session advise nothing; clean up drop public database link angel; undefine tranid undefine scn create a link create public database link angel connect to system identified by oracle using 'ANGEL'; see the link col owner for a8 col db_link for a25 col username for a8 col host for a20 select * from dba_db_links order by db_link; see the commit point strengths on both sides this parameter determines which site is the commit point site col name for a30 col value for a30 col location for a8 Page 1

2 select 'LOCAL' as location,name,value from v$parameter where name = 'commit_point_strength' select 'REMOTE',name,value from v$parameter@angel where name like 'commit_point_strength'; see the transaction created by the ote query of the view col state for a30 select 'LOCAL' as location,branches,refcount,preparecount,state from v$global_transaction select 'REMOTE', branches,refcount,preparecount,state from v$global_transaction@angel; commit the transaction created by the ote query of the V$view commit; do a local update update scott.emp set sal=sal+0; now set advice to commit at this point if failure occurs alter session advise commit; now do a ote update thereby creating a distributed transaction Page 2

3 update set sal=sal+1; see the global transaction caused by the update select 'LOCAL' as location,branches,refcount,preparecount,state from v$global_transaction select 'REMOTE', branches,refcount,preparecount,state from set the default session advice to rollback note this will appear in the advice column for use in in-doubt resolution exec dbms_transaction.advise_rollback now disable automatic distributed recovery to help simulate what happens when errors occur during two-phase commit processing this does not ove the RECO process but prevents it from automatically resolving any in-doubt 2-phase commits alter system disable distributed recovery; see that the reco process is still alive col name for a4 col description for a40 select name,description from v$bgprocess where name = 'RECO'; now that RECO is disabled we can simulate failure Page 3

4 using the Distributed Transaction Crash Test feature There are 10 possible crash simulations listed below which may be used by adding a formatted comment to the commit statement as follows 'ORA-2PC-CRASH-TEST-<num>' failure 1 - Crash commit point site after collect failure 2 - Crash non-commit point site after collect failure 3 - Crash non-commit point site before prepare failure 4 - Crash non-commit point site after prepare failure 5 - Crash commit point site before commit failure 6 - Crash commit point site after commit failure 7 - Crash non-commit point site before commit failure 8 - Crash non-commit point site after commit failure 9 - Crash commit point site before forget failure 10 - Crash non-commit point site before forget now commit with a crash test commit comment 'ORA-2PC-CRASH-TEST-&testno'; commit comment 'ORA-2PC-CRASH-TEST-7'; see the error message produced by the crash test now try to access the the local emp table select * from scott.emp; it is not even readable! now lets see how to investigate this first we will look at pending two phase commit transactions desc dba_2pc_pending lets trap the local tranid for use later Page 4

5 col ltranid new_value ltranid select local_tran_id as ltranid from dba_2pc_pending; see it def LTRANID now lets see the pending transactions on both sides of the link col local_tran_id for a12 col global_tran_id for a26 col state for a9 col tran_comment for a20 col os_user for a8 col os_terminal for a8 col host for a8 col db_user for a8 col commit# for a10 if the global tranid and the local are the same then this site is the Global Coordinator of the transaction the mixed column shows if there are any mixed outcome situations where a commit was done in one place but a rollback in the other. the tran_comment has the comment from the commit or rollback statement which in this case is the special "Crash Test" comment. select 'LOCAL' as location,state,global_tran_id, local_tran_id,tran_comment,commit#,mixed,advice,fail_time from dba_2pc_pending where local_tran_id = (select local_tran_id from dba_2pc_pending) select 'REMOTE' as location,state,global_tran_id, local_tran_id,tran_comment,commit#,mixed,advice,fail_time Page 5

6 from see who the neighboring database is on both sides desc dba_2pc_neighbors the database column has the db link name for outbound and the client database name for inbound interface has "C" for request commit or "N" for prepare or read only transaction commit if IN_OUT=OUT and INTERFACE=C then the ote DB is the commit point site and knows whether to commit or not if IN_OUT=OUT and INTERFACE=N then the local node has informed the ote node that the local is prepared if IN_OUT=IN and INTERFACE=C then the local node or another node further down a daisy chain is the commit point site. if IN_OUT=IN and INTERFACE=N then the ote node has informed the local node that it is prepared Branch is the transaction branch identifier at this Database col local_tran_id for a13 col database for a10 col DBID for a10 col dbuser_owner for a8 col branch for a46 select 'LOCAL' as location,local_tran_id,in_out,interface, database,dbuser_owner,branch from dba_2pc_neighbors where local_tran_id = (select local_tran_id from dba_2pc_pending) select 'REMOTE',local_tran_id,in_out,interface, database,dbuser_owner,branch from dba_2pc_neighbors@angel; Page 6

7 dist_tran_fail.sql we can see that the ote database is the commit point site IN_OUT=OUT to DATABASE ANGEL and INTERFACE=C has been reported from the LOCAL location (TUTOR5C) and IN_OUT=IN to DATABASE TUTOR5C and INTERFACE=C has been reported from the REMOTE location (ANGEL) IN_OUT=IN to a NULL Database represents the local client connection now try to commit the txn for the dist query commit; trap the current scn for later col scn new_value scn select to_char(current_scn) as scn from v$database; see it def scn now force commit or force rollback using the local transid and scn exec dbms_transaction.commit_force('&ltranid','&scn') one may aslo use "commit force '&ltranid' '&scn';" Page 7

8 dist_tran_fail.sql now try again to access the table select * from scott.emp; now lets look at the pending txns on both sides select 'LOCAL' as location,state,global_tran_id, local_tran_id,tran_comment,commit#,mixed,advice,force_time from dba_2pc_pending where local_tran_id = (select local_tran_id from dba_2pc_pending) select 'REMOTE' as location,state,global_tran_id, local_tran_id,tran_comment,commit#,mixed,advice,force_time from dba_2pc_pending@angel; and look at the neighbors on both sides select 'LOCAL' as location, l.* from dba_2pc_neighbors l where local_tran_id = (select local_tran_id from dba_2pc_pending) select 'REMOTE', r.* from dba_2pc_neighbors@angel r; if there were mixed outcome results we would need to purge them as follows exec dbms_transaction.purge_mixed('&ltranid') if the ote database has gone for good and one or more rows ain in the local dictionary then they may be oved as follows Page 8

9 exec dbms_transaction.purge_lost_db_entry('&ltranid') reenable distributed recovery alter system enable distributed recovery; check to see if RECO has done the business select 'REMOTE',state,global_tran_id, local_tran_id,tran_comment,commit#,fail_time,force_time from select 'LOCAL' as location,state,global_tran_id, local_tran_id,tran_comment,commit#,fail_time,force_time from dba_2pc_pending where local_tran_id like '%&&ltranid%'; end the txn for the distributed query commit; Page 9

Configuring JDBC data-sources

Configuring JDBC data-sources Configuring JDBC data-sources Author: Jacco H. Landlust Date: 05 november 2012 Introduction Within multiple layered Oracle Middleware products different types of JDBC data-sources are configured out of

More information

1-2 Copyright Ó Oracle Corporation, All rights reserved.

1-2 Copyright Ó Oracle Corporation, All rights reserved. 1-1 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any

More information

How Oracle Does It. No Read Locks

How Oracle Does It. No Read Locks How Oracle Does It Oracle Locking Policy No Read Locks Normal operation: no read locks Readers do not inhibit writers Writers do not inhibit readers Only contention is Write-Write Method: multiversion

More information

Oracle 11g Invisible Indexes Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.

Oracle 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 information

Monitoring and Resolving Lock Conflicts. Copyright 2004, Oracle. All rights reserved.

Monitoring and Resolving Lock Conflicts. Copyright 2004, Oracle. All rights reserved. Monitoring and Resolving Lock Conflicts Objectives After completing this lesson you should be able to do the following: Detect and resolve lock conflicts Manage deadlocks Locks Prevent multiple sessions

More information

Oracle Performance Tuning. Overview of performance tuning strategies

Oracle 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 information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE

More information

Oracle 1Z Oracle Database 11g- Administrator I. Download Full Version :

Oracle 1Z Oracle Database 11g- Administrator I. Download Full Version : Oracle 1Z1-052 Oracle Database 11g- Administrator I Download Full Version : https://killexams.com/pass4sure/exam-detail/1z1-052 QUESTION: 153 User SCOTT executes the following command on the EMP table

More information

Part VII Data Protection

Part VII Data Protection Part VII Data Protection Part VII describes how Oracle protects the data in a database and explains what the database administrator can do to provide additional protection for data. Part VII contains the

More information

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version :

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version : Oracle 1Z0-043 Oracle Database 10g: Administration II Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-043 QUESTION: 172 You lost the index tablespace in your database. You decided

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!  We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 1Z0-235 Title : Oracle 11i applications DBA:Fundamentals I Vendors : Oracle

More information

ACCURATE STUDY GUIDES, HIGH PASSING RATE! Question & Answer. Dump Step. provides update free of charge in one year!

ACCURATE STUDY GUIDES, HIGH PASSING RATE! Question & Answer. Dump Step. provides update free of charge in one year! DUMP STEP Question & Answer ACCURATE STUDY GUIDES, HIGH PASSING RATE! Dump Step provides update free of charge in one year! http://www.dumpstep.com Exam : 1Z0-071 Title : Oracle Database 12c SQL Version

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 - Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

Transaction Isolation Level in ODI

Transaction Isolation Level in ODI In this post I will be explaining the behaviour in Oracle 11g and regarding the ODI versions, there is not much difference between ODI 11g and 12c. If you see the drop down in 11g (11.1.1.9) procedure,

More information

Flashback. A quest for zero data loss. Tommie Grove. MyDBA. January P a g e F l a s h b a c k A q u e s t f o r z e r o d a t a l o s s

Flashback. A quest for zero data loss. Tommie Grove. MyDBA. January P a g e F l a s h b a c k A q u e s t f o r z e r o d a t a l o s s 1 P a g e F l a s h b a c k A q u e s t f o r z e r o d a t a l o s s Flashback A quest for zero data loss. Tommie Grove MyDBA January 2010 2 P a g e F l a s h b a c k A q u e s t f o r z e r o d a t a

More information

Data Guard: Setup and Administration. By Ashok Kapur Hawkeye Technology, Inc.

Data Guard: Setup and Administration. By Ashok Kapur Hawkeye Technology, Inc. Data Guard: Setup and Administration By Ashok Kapur. Agenda Introduction New Features Logical and Physical Standby Databases Setup Physical and Logical Standby Databases Administration including Switchover

More information

Oracle 1Z0-053 Exam Questions & Answers

Oracle 1Z0-053 Exam Questions & Answers Oracle 1Z0-053 Exam Questions & Answers Number: 1Z0-053 Passing Score: 660 Time Limit: 120 min File Version: 38.8 http://www.gratisexam.com/ Oracle 1Z0-053 Exam Questions & Answers Exam Name: Oracle Database

More information

Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.)

Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.) Volume: 183 Questions Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.) A. The user cannot set privileges on persistent lightweight jobs. B. The use

More information

Insanity: doing the same thing over and over again and expecting different results. Nice Proverb

Insanity: doing the same thing over and over again and expecting different results. Nice Proverb Insanity: doing the same thing over and over again and expecting different results. Nice Proverb No back up was taken after reset logs. How to recover the database? Solution It s possible, I have tried

More information

April 22-26, 2012 Mandalay Bay Convention Center Las Vegas, Nevada, USA. How Oracle Locking Works Session 889 Arup Nanda Longtime Oracle DBA

April 22-26, 2012 Mandalay Bay Convention Center Las Vegas, Nevada, USA. How Oracle Locking Works Session 889 Arup Nanda Longtime Oracle DBA April 22-26, 2012 Mandalay Bay Convention Center Las Vegas, Nevada, USA Session 889 Arup Nanda Longtime Oracle DBA Agenda What this is about? Learning Understanding locking behavior Tuning locking operations

More information

Kyle Brown Knowledge Systems Corporation by Kyle Brown and Knowledge Systems Corporation

Kyle Brown Knowledge Systems Corporation by Kyle Brown and Knowledge Systems Corporation Kyle Brown Knowledge Systems Corporation 1 What is the JDBC? What other persistence mechanisms are available? What facilities does it offer? How is it used? 2 JDBC is the Java DataBase Connectivity specification

More information

Omega DB Scanner Standalone Free Edition For Oracle Database

Omega DB Scanner Standalone Free Edition For Oracle Database Omega DB Scanner Standalone for Oracle Database - User s Guide 1.7.0 Omega DB Scanner Standalone Free Edition For Oracle Database January, 2017 OMEGA DB Scanner Standalone Free Edition For Oracle Database

More information

Oracle8i. Release Distributed Database Systems. February 1999 A

Oracle8i. Release Distributed Database Systems. February 1999 A Oracle8i Distributed Database Systems Release 8.1.5 February 1999 A67784-01 Oracle8i Distributed Database Systems, Release 8.1.5 A67784-01 Copyright 1996, 1999, Oracle Corporation. All rights reserved.

More information

Trafodion Distributed Transaction Management

Trafodion Distributed Transaction Management Trafodion Distributed Transaction Management November, 014 Scalable Architecture Node 1 Node Node n SQL Process SQL Process Transaction SQL Process Resource Manager Transaction Library Manager Resource

More information

G64DBS Database Systems. Lecture 7 SQL SELECT. The Data Dictionary. Data Dictionaries. Different Sections of SQL (DDL) Different Sections of SQL (DCL)

G64DBS Database Systems. Lecture 7 SQL SELECT. The Data Dictionary. Data Dictionaries. Different Sections of SQL (DDL) Different Sections of SQL (DCL) G64DBS Database Systems Lecture 7 SQL SELECT Tim Brailsford Different Sections of SQL (DDL) The Data Definition Language (DDL): CREATE TABLE - creates a new database table ALTER TABLE - alters (changes)

More information

Online Operations in Oracle 12.2

Online Operations in Oracle 12.2 Online Operations in Oracle 12.2 New Features and Enhancements Christian Gohmann BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner @markusdba doag2017 Our company. Trivadis is a market leader in IT consulting, system

More information

Oracle Exam 1z0-062 Oracle Database 12c: Installation and Administration Version: 6.0 [ Total Questions: 166 ]

Oracle Exam 1z0-062 Oracle Database 12c: Installation and Administration Version: 6.0 [ Total Questions: 166 ] s@lm@n Oracle Exam 1z0-062 Oracle Database 12c: Installation and Administration Version: 6.0 [ Total Questions: 166 ] Question No : 1 Examine the parameters for your database instance: NAMETYPE VALUE --------------------------

More information

The Encryption Wizard for Oracle. API Library Reference

The Encryption Wizard for Oracle. API Library Reference The Encryption Wizard for Oracle For Oracle 9i, 10g and 11g Databases Version 7 Copyright 2003-2008 All Rights Reserved. Copyright 2008-2010 The Encryption Wizard for Oracle RDC) 12021 Wilshire Blvd Suite

More information

ORACLE VIEWS ORACLE VIEWS. Techgoeasy.com

ORACLE VIEWS ORACLE VIEWS. Techgoeasy.com ORACLE VIEWS ORACLE VIEWS Techgoeasy.com 1 Oracle VIEWS WHAT IS ORACLE VIEWS? -A view is a representation of data from one or more tables or views. -A view is a named and validated SQL query which is stored

More information

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER Higher Quality Better Service! Exam Actual QUESTION & ANSWER Accurate study guides, High passing rate! Exam Actual provides update free of charge in one year! http://www.examactual.com Exam : 1Z0-047 Title

More information

LOGGING OR NOLOGGING THAT IS THE QUESTION. By: Francisco Munoz Alvarez

LOGGING OR NOLOGGING THAT IS THE QUESTION. By: Francisco Munoz Alvarez LOGGING OR NOLOGGING THAT IS THE QUESTION By: Francisco Munoz Alvarez LOGGING OR NOLOGGING : THAT IS THE QUESTION Francisco Munoz Alvarez Oracle ACE Director CLOUG (Chilean Oracle Users Group) President

More information

Exam Questions 1z0-882

Exam Questions 1z0-882 Exam Questions 1z0-882 Oracle Certified Professional, MySQL 5.6 Developer https://www.2passeasy.com/dumps/1z0-882/ 1.Which statement describes the process of normalizing databases? A. All text is trimmed

More information

Now, we can refer to a sequence without having to use any SELECT command as follows:

Now, we can refer to a sequence without having to use any SELECT command as follows: Enhancement in 11g Database PL/SQL Sequence: Oracle Database 11g has now provided support for Sequence in PL/SQL. Earlier to get a number from a sequence in PL/SQL we had to use SELECT command with DUAL

More information

Chapter 8: Working With Databases & Tables

Chapter 8: Working With Databases & Tables Chapter 8: Working With Databases & Tables o Working with Databases & Tables DDL Component of SQL Databases CREATE DATABASE class; o Represented as directories in MySQL s data storage area o Can t have

More information

Module 9: Managing Schema Objects

Module 9: Managing Schema Objects Module 9: Managing Schema Objects Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing data integrity using constraints Implementing

More information

Maintenance Guide.

Maintenance Guide. Maintenance Guide www.12dsynergy.com Table of Contents Overview 3 SQL Server Maintenance Tasks 3 Index Fragmentation 3 Index Fragmentation with less than 30 users... 3 Index Fragmentation with more than

More information

Oracle MOOC: SQL Fundamentals

Oracle MOOC: SQL Fundamentals Week 4 Homework for Lesson 4 Homework is your chance to put what you've learned in this lesson into practice. This homework is not "graded" and you are encouraged to write additional code beyond what is

More information

5. Single-row function

5. Single-row function 1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing

More information

Oracle 1Z Upgrade Oracle9i/10g OCA to Oracle Database 11g OCP. Download Full Version :

Oracle 1Z Upgrade Oracle9i/10g OCA to Oracle Database 11g OCP. Download Full Version : Oracle 1Z0-034 Upgrade Oracle9i/10g OCA to Oracle Database 11g OCP Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-034 QUESTION: 142 You executed the following query: SELECT oldest_flashback_scn,

More information

In This Lecture. SQL Data Definition SQL SQL. Non-Procedural Programming. Notes. Database Systems Lecture 5 Natasha Alechina

In This Lecture. SQL Data Definition SQL SQL. Non-Procedural Programming. Notes. Database Systems Lecture 5 Natasha Alechina This Lecture Database Systems Lecture 5 Natasha Alechina The language, the relational model, and E/R diagrams CREATE TABLE Columns Primary Keys Foreign Keys For more information Connolly and Begg chapter

More information

Create A Private Database Link In Another Schema In Oracle 11g Drop >>>CLICK HERE<<<

Create A Private Database Link In Another Schema In Oracle 11g Drop >>>CLICK HERE<<< Create A Private Database Link In Another Schema In Oracle 11g Drop Posts about create database link in another schema written by John Hallas. 11g new features 12c new features addm ASM Blogroll Grid control

More information

Recovering from User Errors

Recovering from User Errors CHAPTER 29 Recovering from User Errors In this chapter you will learn how to Recover a dropped table using Flashback technology Manage the recycle bin Perform a Flashback Table operation Recover from user

More information

Oracle Database 12c Release 2

Oracle Database 12c Release 2 Oracle Database 12c Release 2 New Features (OVERVIEW) Rhoda Sarmiento-Pereira Oracle Support Safe Harbor Statement The following is intended to outline our general product direction. It is intended for

More information

Multitenant Databases. Arup Nanda Longtime Oracle DBA

Multitenant Databases. Arup Nanda Longtime Oracle DBA Multitenant Databases Arup Nanda Longtime Oracle DBA One App: One DB User SIEBEL User SIEBEL User SIEBEL 2 Database User Issue Application 1 Application 2 Application 3 Application 1 Application 2 Application

More information

You'll even like your Data Guard more with Flashback

You'll even like your Data Guard more with Flashback You'll even like your Data Guard more with Flashback Hervé Schweitzer Mathias Zarick München, 26.01.2010 Baden Basel Bern Brugg Lausanne Zürich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg München Stuttgart

More information

The Encryption Wizard for Oracle. API Library Reference

The Encryption Wizard for Oracle. API Library Reference The Encryption Wizard for Oracle For Oracle 10g, 11g and 12c Databases Version 8 All Rights Reserved. The Encryption Wizard for Oracle RDC) 12021 Wilshire Blvd Suite 108 Los Angeles, CA. 90025 310-281-1915

More information

mongodb a structured document

mongodb a structured document 1, mongodb a structured document In [624]: db=client.things In [625]: db.things.find_one() Out[625]: {u _id : 0, u value : 0} In [626]: db.things.update({ _id :0},{ struct :{ d1 : value 1, d2 : value 2

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!  We offer free update service for one year PASS4TEST \ We offer free update service for one year Exam : 1z0-071 Title : Oracle Database 12c SQL Vendor : Oracle Version : DEMO Get Latest & Valid 1z0-071 Exam's Question and Answers 1 from Pass4test.

More information

Oracle Database Auditing

Oracle Database Auditing By Craig Moir craig@mydba.co.za http://www.mydba.co.za August 2012 Version 1 WHY AUDIT? Allows organizations to enforce the trust-but-verify security principle. Satisfying compliance regulations. Enables

More information

INDEX SUMMARY...3 RMAN Check List...4 The Hands-On Environment...5 CATALOG...7

INDEX SUMMARY...3 RMAN Check List...4 The Hands-On Environment...5 CATALOG...7 Alejandro Vargas Principal Support Consultant Oracle Israel Support Services INDEX SUMMARY...3 RMAN Check List...4 The Hands-On Environment...5 CATALOG...7 1-set-catalog...8 2-create-catalog...9 3-register-database...10

More information

RAC for Beginners. Arup Nanda Longtime Oracle DBA (and a beginner, always)

RAC for Beginners. Arup Nanda Longtime Oracle DBA (and a beginner, always) Arup Nanda Longtime Oracle DBA (and a beginner, always) This image cannot currently be displayed. Continue Your Education Communities Knowledge April 7-11, 2013 Saring Colorado Convention Center Education

More information

Recovering Oracle Databases

Recovering Oracle Databases CHAPTER 20 Recovering Oracle Databases In this chapter you will learn how to Recover from loss of a controlfile Recover from loss of a redo log file Recover from loss of a system-critical datafile Recover

More information

Oracle8i. Distributed Database Systems. Release 2 (8.1.6) December 1999 A

Oracle8i. Distributed Database Systems. Release 2 (8.1.6) December 1999 A Oracle8i Distributed Database Systems Release 2 (8.1.6) December 1999 A76960-01 Oracle8i Distributed Database Systems, Release 2 (8.1.6) A76960-01 Copyright 1996, 1999, Oracle Corporation. All rights reserved.

More information

JCA Resource Adapter Release 12.0

JCA Resource Adapter Release 12.0 [1]Oracle Communications Billing and Revenue Management JCA Resource Adapter Release 12.0 E51016-01 December 2017 Oracle Communications Billing and Revenue Management JCA Resource Adapter, Release 12.0

More information

UNIT 9 Crash Recovery. Based on: Text: Chapter 18 Skip: Section 18.7 and second half of 18.8

UNIT 9 Crash Recovery. Based on: Text: Chapter 18 Skip: Section 18.7 and second half of 18.8 UNIT 9 Crash Recovery Based on: Text: Chapter 18 Skip: Section 18.7 and second half of 18.8 Learning Goals Describe the steal and force buffer policies and explain how they affect a transaction s properties

More information

MobiLink SQL Passthrough. A whitepaper from Sybase ianywhere Author: Joshua Savill, Product Manager Date: October 17 th, 2008

MobiLink SQL Passthrough. A whitepaper from Sybase ianywhere Author: Joshua Savill, Product Manager Date: October 17 th, 2008 MobiLink SQL Passthrough A whitepaper from Sybase ianywhere Author: Joshua Savill, Product Manager Date: October 17 th, 2008 This whitepaper was written in the context of SQL Anywhere 11. CONTENTS Introduction

More information

Database Management System

Database Management System Database Management System Lecture 10 Recovery * Some materials adapted from R. Ramakrishnan, J. Gehrke and Shawn Bowers Basic Database Architecture Database Management System 2 Recovery Which ACID properties

More information

Bipul Sinha, Amit Ganesh, Lilian Hobbs, Oracle Corp. Dingbo Zhou, Basavaraj Hubli, Manohar Malayanur, Fannie Mae

Bipul Sinha, Amit Ganesh, Lilian Hobbs, Oracle Corp. Dingbo Zhou, Basavaraj Hubli, Manohar Malayanur, Fannie Mae ONE MILLION FINANCIAL TRANSACTIONS PER HOUR USING ORACLE DATABASE 10G AND XA Bipul Sinha, Amit Ganesh, Lilian Hobbs, Oracle Corp. Dingbo Zhou, Basavaraj Hubli, Manohar Malayanur, Fannie Mae INTRODUCTION

More information

RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague

RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague course: Database Applications (NDBI026) WS2015/16 RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague Transactions Transactional

More information

Oracle 11g Virtual Column Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.

Oracle 11g Virtual Column   Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc. ORACLE 11G VIRTUAL COLUMN Inderpal S. Johal, Data Softech Inc. INTRODUCTION In Oracle 11g has allowed database Tables to have virtual columns. These virtual columns can be more specifically called as derived

More information

Basics of SQL Transactions

Basics of SQL Transactions www.dbtechnet.org Basics of SQL Transactions Big Picture for understanding COMMIT and ROLLBACK of SQL transactions Files, Buffers,, Service Threads, and Transactions (Flat) SQL Transaction [BEGIN TRANSACTION]

More information

CS6312 DATABASE MANAGEMENT SYSTEMS LABORATORY L T P C

CS6312 DATABASE MANAGEMENT SYSTEMS LABORATORY L T P C CS6312 DATABASE MANAGEMENT SYSTEMS LABORATORY L T P C 0 0 3 2 LIST OF EXPERIMENTS: 1. Creation of a database and writing SQL queries to retrieve information from the database. 2. Performing Insertion,

More information

Relational Data Structure and Concepts. Structured Query Language (Part 1) The Entity Integrity Rules. Relational Data Structure and Concepts

Relational Data Structure and Concepts. Structured Query Language (Part 1) The Entity Integrity Rules. Relational Data Structure and Concepts Relational Data Structure and Concepts Structured Query Language (Part 1) Two-dimensional tables whose attributes values are atomic. At every row-and-column position within the table, there always exists

More information

Oracle EXAM - 1Z Oracle Database SQL Expert. Buy Full Product.

Oracle EXAM - 1Z Oracle Database SQL Expert. Buy Full Product. Oracle EXAM - 1Z0-047 Oracle Database SQL Expert Buy Full Product http://www.examskey.com/1z0-047.html Examskey Oracle 1Z0-047 exam demo product is here for you to test the quality of the product. This

More information

Transactions and Locking. Rose-Hulman Institute of Technology Curt Clifton

Transactions and Locking. Rose-Hulman Institute of Technology Curt Clifton Transactions and Locking Rose-Hulman Institute of Technology Curt Clifton Outline ACID Transactions COMMIT and ROLLBACK Managing Transactions Locks The Setting Database systems are normally being accessed

More information

Oracle CDC 调研报告 林子雨 北京大学计算机系数据库实验室 2006 年 11 月 10 日

Oracle CDC 调研报告 林子雨 北京大学计算机系数据库实验室 2006 年 11 月 10 日 Oracle CDC 调研报告 林子雨 北京大学计算机系数据库实验室 2006 年 11 月 10 日 The Redo Log and a Capture Process Redo log Every Oracle database has a set of two or more redo log files. The redo log files for a database are collectively

More information

1z0-047 Exam Questions Demo https://www.certifytools.com/1z0-047-exam.html. Oracle. Exam Questions 1z Oracle Database SQL Expert.

1z0-047 Exam Questions Demo https://www.certifytools.com/1z0-047-exam.html. Oracle. Exam Questions 1z Oracle Database SQL Expert. Oracle Exam Questions 1z0-047 Oracle Database SQL Expert Version:Demo 1. Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? (Choose three.) A.

More information

Data Tracking: On the Hunt for Information About Your System

Data Tracking: On the Hunt for Information About Your System Data Tracking: On the Hunt for Information About Your System Michael Rosenblum & Grigoriy Novikov Dulcian, Inc. www.dulcian.com 1 of 44 Who are we? Misha and Grisha Database fire-fighting squad: New feature

More information

ROLLBACK SEGMENTS. In this chapter, you will learn about: Rollback Segment Management Page 272

ROLLBACK SEGMENTS. In this chapter, you will learn about: Rollback Segment Management Page 272 C H A P T E R 1 2 ROLLBACK SEGMENTS CHAPTER OBJECTIVES In this chapter, you will learn about: Rollback Segment Management Page 272 The information in a rollback segment is used for query read consistency,

More information

1z Oracle Database SQL Expert

1z Oracle Database SQL Expert 1z0-047 Oracle Database SQL Expert Version 1.6 QUESTION NO: 1 Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? (Choose three.) E. 'os' local

More information

Oracle 1Z0-042 Oracle Database 10g: Administration I 177 Q&A

Oracle 1Z0-042 Oracle Database 10g: Administration I 177 Q&A Oracle 1Z0-042 Oracle Database 10g: Administration I 177 Q&A Looking for Real Exam Questions for IT Certification Exams! We guarantee you can pass any IT certification exam at your first attempt with just

More information

Troubleshooting Cisco DCNM

Troubleshooting Cisco DCNM 18 CHAPTER This chapter describes some common issues you might experience while using Cisco Data Center Network Manager (DCNM), and provides solutions. Note For troubleshooting Cisco DCNM server installation

More information

Oracle Exam 11gocmu Oracle Database 11g Certified Master Upgrade Exam Version: 4.0 [ Total Questions: 671 ]

Oracle Exam 11gocmu Oracle Database 11g Certified Master Upgrade Exam Version: 4.0 [ Total Questions: 671 ] s@lm@n Oracle Exam 11gocmu Oracle Database 11g Certified Master Upgrade Exam Version: 4.0 [ Total Questions: 671 ] Topic break down Topic No. of Questions Topic 1: Pool 1 112 Topic 2: Pool 2 100 Topic

More information

The Oracle DBMS Architecture: A Technical Introduction

The Oracle DBMS Architecture: A Technical Introduction BY DANIEL D. KITAY The Oracle DBMS Architecture: A Technical Introduction As more and more database and system administrators support multiple DBMSes, it s important to understand the architecture of the

More information

Table of Contents. PDF created with FinePrint pdffactory Pro trial version

Table of Contents. PDF created with FinePrint pdffactory Pro trial version Table of Contents Course Description The SQL Course covers relational database principles and Oracle concepts, writing basic SQL statements, restricting and sorting data, and using single-row functions.

More information

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time SQL Basics & PL-SQL Complete Practical & Real-time Training Sessions A Unit of SequelGate Innovative Technologies Pvt. Ltd. ISO Certified Training Institute Microsoft Certified Partner Training Highlights

More information

Data Organization and Processing I

Data Organization and Processing I Data Organization and Processing I Data Organization in Oracle Server 11g R2 (NDBI007) RNDr. Michal Kopecký, Ph.D. http://www.ms.mff.cuni.cz/~kopecky Database structure o Database structure o Database

More information

Question No : 1 Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? (Choose three.

Question No : 1 Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? (Choose three. Volume: 260 Questions Question No : 1 Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? (Choose three.) A. 'os' B. local C. -8:00' D. dbtimezone

More information

Implementation of Database Systems David Konopnicki Taub 715 Spring Sources

Implementation of Database Systems David Konopnicki Taub 715 Spring Sources Implementation of Database Systems 236510 David Konopnicki Taub 715 Spring 2000 1 2 Sources Oracle 7 Server Concepts - Oracle8i Server Concepts. Oracle Corp. Available on the course Web Site: http://www.cs.technion.ac.il/~cs236510

More information

Under the Hoods of Cache Fusion, GES, GRD and GCS

Under the Hoods of Cache Fusion, GES, GRD and GCS Under the Hoods of Cache Fusion, GES, GRD and GCS Arup Nanda Principal Database Architect Starwood Hotels About Me Oracle Database Admin for 16 years RAC (and OPS) since 1999 Troubleshoot, tune performance

More information

1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL

1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL CertBus.com 1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL Pass Oracle 1Z0-144 Exam with 100% Guarantee Free Download Real Questions & Answers PDF and VCE file from: 100% Passing Guarantee 100%

More information

1z0-043 Oracle Database 10g: Administration II

1z0-043 Oracle Database 10g: Administration II 1z0-043 Oracle Database 10g: Administration II Version 3.1 QUESTION NO: 1 You observe that a database performance has degraded over a period of time. While investigating the reason, you find that the size

More information

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI)

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI) Oracle DBA (10g, 11g) Training Course Content Introduction (Database Architecture) Describe course objectives Explore the Oracle 10g database architecture Installing the Oracle Database Software Explain

More information

Enhancements and New Features in Oracle 12c Summarized

Enhancements and New Features in Oracle 12c Summarized Enhancements and New Features in Oracle 12c Summarized In this blog post I would be highlighting few of the features that are now available on Oracle Database 12cRelease. Here listing below in a summarized

More information

Module 15: Managing Transactions and Locks

Module 15: Managing Transactions and Locks Module 15: Managing Transactions and Locks Overview Introduction to Transactions and Locks Managing Transactions SQL Server Locking Managing Locks Introduction to Transactions and Locks Transactions Ensure

More information

Introduction to Database Systems CSE 444

Introduction to Database Systems CSE 444 Introduction to Database Systems CSE 444 Lectures 11-12 Transactions: Recovery (Aries) 1 Readings Material in today s lecture NOT in the book Instead, read Sections 1, 2.2, and 3.2 of: Michael J. Franklin.

More information

Poor Man s Auditing with. Oracle Log Miner

Poor Man s Auditing with. Oracle Log Miner Poor Man s Auditing with Oracle Log Miner Caleb Small, BSc, ISP www.caleb.com/dba Who is Caleb? Lifelong IT career Oracle DBA since v7.0 Former Instructor for Oracle Corp. Independent consultant Faculty

More information

How to Use Full Pushdown Optimization in PowerCenter

How to Use Full Pushdown Optimization in PowerCenter How to Use Full Pushdown Optimization in PowerCenter 2014 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording

More information

Creating and Managing Tables Schedule: Timing Topic

Creating and Managing Tables Schedule: Timing Topic 9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the

More information

Business Analytics. SQL PL SQL [Oracle 10 g] P r i n c e S e t h i w w w. x l m a c r o. w e b s. c o m

Business Analytics. SQL PL SQL [Oracle 10 g] P r i n c e S e t h i w w w. x l m a c r o. w e b s. c o m Business Analytics Let s Learn SQL-PL SQL (Oracle 10g) SQL PL SQL [Oracle 10 g] RDBMS, DDL, DML, DCL, Clause, Join, Function, Queries, Views, Constraints, Blocks, Cursors, Exception Handling, Trapping,

More information

Version 11 Release 0 May 31, IBM Interact - GDPR IBM

Version 11 Release 0 May 31, IBM Interact - GDPR IBM Version 11 Release 0 May 31, 2018 IBM Interact - GDPR IBM This edition applies to version 11.0 of IBM Interact and to all subsequent releases and modifications until otherwise indicated in new editions.

More information

Oracle 1Z Oracle Database 12c: Advanced PL/SQL.

Oracle 1Z Oracle Database 12c: Advanced PL/SQL. Oracle 1Z0-148 Oracle Database 12c: Advanced PL/SQL https://killexams.com/pass4sure/exam-detail/1z0-148 QUESTION: 67 Examine this Java method in class Employee, loaded into the Oracle database: Public

More information

Under the Hoods of Cache Fusion, GES, GRD and GCS

Under the Hoods of Cache Fusion, GES, GRD and GCS Under the Hoods of Cache Fusion, GES, GRD and GCS Arup Nanda Principal Database Architect Starwood Hotels About Me Oracle Database Admin for 16 years RAC (and OPS) since 1999 Troubleshoot, tune performance

More information

In this Lecture. More SQL Data Definition. Deleting Tables. Creating Tables. ALTERing Columns. Changing Tables. More SQL

In this Lecture. More SQL Data Definition. Deleting Tables. Creating Tables. ALTERing Columns. Changing Tables. More SQL In this Lecture Database Systems Lecture 6 Natasha Alechina More SQL DROP TABLE ALTER TABLE INSERT, UPDATE, and DELETE Data dictionary Sequences For more information Connolly and Begg chapters 5 and 6

More information

Sql Server Syllabus. Overview

Sql Server Syllabus. Overview Sql Server Syllabus Overview This SQL Server training teaches developers all the Transact-SQL skills they need to create database objects like Tables, Views, Stored procedures & Functions and triggers

More information

1. About AP Invoice Wizard

1. About AP Invoice Wizard 1. About AP Invoice Wizard Welcome to AP Invoice Wizard. We have developed this tool in response to demand from Oracle Payables users for a user friendly and robust spreadsheet tool to load AP Invoices

More information

Which of the following is the best way to prevent most users from viewing AVG_SALARY data?

Which of the following is the best way to prevent most users from viewing AVG_SALARY data? Security 22. Which of the following is NOT a valid method of authentication that can be used by DB2 9? A. SERVER B. SERVER_ENCRYPT C. CLIENT D. DCS 23. In a client-server environment, which two of the

More information

Chapter 14 Data Dictionary and Scripting

Chapter 14 Data Dictionary and Scripting Chapter 14 Data Dictionary and Scripting Tables in the Oracle Database User Tables Collection of tables to store data Data Dictionary Tables Collection of tables created and maintained by Oracle server

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-9 7 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training

More information