SlideShare une entreprise Scribd logo
1  sur  18
Télécharger pour lire hors ligne
Road To Success
MAKING MAGIC WITH ORACLE – SOME MORE TIPS & TRICKS FOR DBA’s.
SUCCESS
Next Exit

Road To Success

MAKING MAGIC WITH ORACLE – SOME TIPS & TRICKS FOR DBA’s.
Making Magic With Oracle
Francisco Munoz Alvarez
Oracle ACE Director
8/9/10g/11g OCP, RAC OCE, AS OCA, E-Business OCP,
SQL/PLSQL OCA, Oracle 7 OCM
Oracle 7, 11GR2 and OVM 3.1 Beta Tester
IOUC LA Spokesperson
ITIL Certified
2010 Oracle ACE Director of the year by Oracle Magazine

Blog: oraclenz.wordpress.com - Email: mbatec@hotmail.com
Twitter : fcomunoz

Revera
Oracle Professional Services Manager
www.revera.co.nz
Born here

Grow up
here

Got Married Here

DBIS - Copyright 2010

Mature
here

Now Living here

4
A Cool Trick
Who never had a problem with a SQL that is killing your
Database Performance and you can’t fix it because it’s
running from an external closed application that you or
your developers can’t touch?
Since Oracle version 10 this is a problem of the past, now
you can easy solve this kind of problem using the
DBMS_ADVANCED_REWRITE package, which allow you to
transform/customize queries on the fly, changing for
example one query with bad explain plan for another one
with a good explain plan.
DBMS_ADVANCED_REWRITE
Before you become too excited, please remember the
following restrictions:

• It does not work with bind variables.(Alternative solution
at Metalink Doc ID. 392214.1)
• Only works for the SELECT statement.
• Does not work when the base table is modified through
DML.
Data Masking with Oracle
• Important to protect your sensible data in
Dev/QA/Test Environments
• Protect your data when sending it to outside
your company.
Normal Product s used for Data Masking?

OEM / Grid Control
Data Pump
http://www.oracle.com/technetwork/database/datapump11g2009-transform-133936.pdf
What is Data Masking
Data Repository and Version Control
As a DBA, I’m always looking for proactive ways to allow
me to be prepared in case of a disaster strike or if
an emergency release rollback is required (I love to use
always the “What if” methodology), and due to
these reasons, have a metadata repository and version
control of it is always useful .
Creating Smaller Copies of Production
That is a very common task for a DBA, you are always
having a task to create a copy of your Database
( for development or test purpose ) but your
destination server don’t have enough space to create
a full copy of it! This can be easily solved with Data
Pump, for this example, let say that you only have
space for 70% of your production database, now to
know how to proceed, we need to decide if the copy
will contain metadata only (no data/rows) or if it will
include the data also.
More Data Pump Stuff

•
•
•
•

Clone a User
Change Tablespaces
Change Datafile Structure
Flashback Consistent Backups
More Data Pump Stuff
• Flashback Consistent Backups
By default expdp is consistent only for the table that
is currently being exported.
You can use: FLASHBACK_TIME or FLASHBACK_SN

Note: On 11g the CONSISTENT parameter was
deprecated , At 11g you can use the
FLASHBACK_TIME=systimestamp to get data pump
export to be consistent to a single point in time.
Since 11.2 you can also use the legacy mode option
to use the old parameter CONSISTENCY=y
Data Recovery Advisor

RMAN> LIST FAILURE;
RMAN> ADVISE FAILURE;
RMAN> REPAIR FAILURE PREVIEW;
RMAN> REPAIR FAILURE;
RMAN> REPAIR FAILURE NOPROMPT;
PROGRAM
The Oracle ACE Program is designed to recognize and reward
members of the Oracle Technology and Applications communities
for their contributions to those communities. These individuals
are technically proficient (when applicable) and willingly share
their knowledge and experiences.
The program comprises two levels:
Director.

Oracle ACE and Oracle ACE

The former designation is Oracle's way of saying "thank you" to
community contributors for their efforts; we (and the community)
appreciate their enthusiasm. The latter designation is for
community enthusiasts who not only share their knowledge
(usually in extraordinary ways), but also want to increase their
community advocacy and work more proactively with Oracle to
find opportunities for the same. In this sense, Oracle ACE is
"backward looking" and Oracle ACE Director is "forward looking."
PROGRAM
Questions? More Information?

Francisco Munoz Alvarez
franciscoa@dbisonline.com
Thank you! Have a Nice Day
And Remember to participate more with your local User Group

Contenu connexe

Similaire à Magic With Oracle - Presentation

Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksGuatemala User Group
 
200850 oracle primavera p6 eppm performance tuning, testing, and monitoring
200850 oracle primavera p6 eppm performance tuning, testing, and monitoring200850 oracle primavera p6 eppm performance tuning, testing, and monitoring
200850 oracle primavera p6 eppm performance tuning, testing, and monitoringp6academy
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?Markus Michalewicz
 
Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?DLT Solutions
 
Best practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsBest practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsAjith Narayanan
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Revelation Technologies
 
Key to a successful Exadata POC
Key to a successful Exadata POCKey to a successful Exadata POC
Key to a successful Exadata POCUmair Mansoob
 
Migration to Oracle 12c Made Easy Using Replication Technology
Migration to Oracle 12c Made Easy Using Replication TechnologyMigration to Oracle 12c Made Easy Using Replication Technology
Migration to Oracle 12c Made Easy Using Replication TechnologyDonna Guazzaloca-Zehl
 
Dba 3+ exp qus
Dba 3+ exp qusDba 3+ exp qus
Dba 3+ exp quskrreddy21
 
Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Osama Mustafa
 
Raushan_oracle_apps_dba_5.2_Years
Raushan_oracle_apps_dba_5.2_YearsRaushan_oracle_apps_dba_5.2_Years
Raushan_oracle_apps_dba_5.2_YearsRaushan Kumar
 
DBA Tips and Tricks - Presentation
DBA Tips and Tricks - PresentationDBA Tips and Tricks - Presentation
DBA Tips and Tricks - PresentationFrancisco Alvarez
 

Similaire à Magic With Oracle - Presentation (20)

Dba tips and_tricks
Dba tips and_tricksDba tips and_tricks
Dba tips and_tricks
 
MOHAMMED VIKHAR AHMED
MOHAMMED VIKHAR AHMEDMOHAMMED VIKHAR AHMED
MOHAMMED VIKHAR AHMED
 
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
 
200850 oracle primavera p6 eppm performance tuning, testing, and monitoring
200850 oracle primavera p6 eppm performance tuning, testing, and monitoring200850 oracle primavera p6 eppm performance tuning, testing, and monitoring
200850 oracle primavera p6 eppm performance tuning, testing, and monitoring
 
Clontab webpage
Clontab webpageClontab webpage
Clontab webpage
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
 
fresh resume11 (1)
fresh resume11 (1)fresh resume11 (1)
fresh resume11 (1)
 
Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?
 
Best practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsBest practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementations
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!
 
Key to a successful Exadata POC
Key to a successful Exadata POCKey to a successful Exadata POC
Key to a successful Exadata POC
 
Migration to Oracle 12c Made Easy Using Replication Technology
Migration to Oracle 12c Made Easy Using Replication TechnologyMigration to Oracle 12c Made Easy Using Replication Technology
Migration to Oracle 12c Made Easy Using Replication Technology
 
Dba 3+ exp qus
Dba 3+ exp qusDba 3+ exp qus
Dba 3+ exp qus
 
Shankar_C
Shankar_CShankar_C
Shankar_C
 
Shaik Abbas DBA
Shaik Abbas DBAShaik Abbas DBA
Shaik Abbas DBA
 
Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c
 
Raushan_oracle_apps_dba_5.2_Years
Raushan_oracle_apps_dba_5.2_YearsRaushan_oracle_apps_dba_5.2_Years
Raushan_oracle_apps_dba_5.2_Years
 
DBA Tips and Tricks - Presentation
DBA Tips and Tricks - PresentationDBA Tips and Tricks - Presentation
DBA Tips and Tricks - Presentation
 
Satyam Kapadnis
Satyam KapadnisSatyam Kapadnis
Satyam Kapadnis
 
Performance Tuning intro
Performance Tuning introPerformance Tuning intro
Performance Tuning intro
 

Plus de Francisco Alvarez

11g New Features and Enhancements for Backup and Recovery
11g New Features and Enhancements for Backup and Recovery11g New Features and Enhancements for Backup and Recovery
11g New Features and Enhancements for Backup and RecoveryFrancisco Alvarez
 
Don't be afraid of auditors - Presentation
Don't be afraid of auditors - PresentationDon't be afraid of auditors - Presentation
Don't be afraid of auditors - PresentationFrancisco Alvarez
 
White Paper - What is new at 11g for Backup and Recovery
White Paper - What is new at 11g for Backup and RecoveryWhite Paper - What is new at 11g for Backup and Recovery
White Paper - What is new at 11g for Backup and RecoveryFrancisco Alvarez
 
White Paper, How to improve your Oracle career
White Paper, How to improve your Oracle careerWhite Paper, How to improve your Oracle career
White Paper, How to improve your Oracle careerFrancisco Alvarez
 
White Paper - Why Use Oracle VM for Oracle Databases
White Paper - Why Use Oracle VM for Oracle DatabasesWhite Paper - Why Use Oracle VM for Oracle Databases
White Paper - Why Use Oracle VM for Oracle DatabasesFrancisco Alvarez
 
Why Use Oracle VM for Oracle Databases? Revera Presentation
Why Use Oracle VM for Oracle Databases? Revera PresentationWhy Use Oracle VM for Oracle Databases? Revera Presentation
Why Use Oracle VM for Oracle Databases? Revera PresentationFrancisco Alvarez
 
Oracle Security Presentation
Oracle Security PresentationOracle Security Presentation
Oracle Security PresentationFrancisco Alvarez
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationFrancisco Alvarez
 
Why everyone speaks about DR but only few use it?
Why everyone speaks about DR but only few use it?Why everyone speaks about DR but only few use it?
Why everyone speaks about DR but only few use it?Francisco Alvarez
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
 

Plus de Francisco Alvarez (10)

11g New Features and Enhancements for Backup and Recovery
11g New Features and Enhancements for Backup and Recovery11g New Features and Enhancements for Backup and Recovery
11g New Features and Enhancements for Backup and Recovery
 
Don't be afraid of auditors - Presentation
Don't be afraid of auditors - PresentationDon't be afraid of auditors - Presentation
Don't be afraid of auditors - Presentation
 
White Paper - What is new at 11g for Backup and Recovery
White Paper - What is new at 11g for Backup and RecoveryWhite Paper - What is new at 11g for Backup and Recovery
White Paper - What is new at 11g for Backup and Recovery
 
White Paper, How to improve your Oracle career
White Paper, How to improve your Oracle careerWhite Paper, How to improve your Oracle career
White Paper, How to improve your Oracle career
 
White Paper - Why Use Oracle VM for Oracle Databases
White Paper - Why Use Oracle VM for Oracle DatabasesWhite Paper - Why Use Oracle VM for Oracle Databases
White Paper - Why Use Oracle VM for Oracle Databases
 
Why Use Oracle VM for Oracle Databases? Revera Presentation
Why Use Oracle VM for Oracle Databases? Revera PresentationWhy Use Oracle VM for Oracle Databases? Revera Presentation
Why Use Oracle VM for Oracle Databases? Revera Presentation
 
Oracle Security Presentation
Oracle Security PresentationOracle Security Presentation
Oracle Security Presentation
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
Why everyone speaks about DR but only few use it?
Why everyone speaks about DR but only few use it?Why everyone speaks about DR but only few use it?
Why everyone speaks about DR but only few use it?
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 

Dernier

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Dernier (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

Magic With Oracle - Presentation

  • 1. Road To Success MAKING MAGIC WITH ORACLE – SOME MORE TIPS & TRICKS FOR DBA’s.
  • 2. SUCCESS Next Exit Road To Success MAKING MAGIC WITH ORACLE – SOME TIPS & TRICKS FOR DBA’s.
  • 3. Making Magic With Oracle Francisco Munoz Alvarez Oracle ACE Director 8/9/10g/11g OCP, RAC OCE, AS OCA, E-Business OCP, SQL/PLSQL OCA, Oracle 7 OCM Oracle 7, 11GR2 and OVM 3.1 Beta Tester IOUC LA Spokesperson ITIL Certified 2010 Oracle ACE Director of the year by Oracle Magazine Blog: oraclenz.wordpress.com - Email: mbatec@hotmail.com Twitter : fcomunoz Revera Oracle Professional Services Manager www.revera.co.nz
  • 4. Born here Grow up here Got Married Here DBIS - Copyright 2010 Mature here Now Living here 4
  • 5. A Cool Trick Who never had a problem with a SQL that is killing your Database Performance and you can’t fix it because it’s running from an external closed application that you or your developers can’t touch? Since Oracle version 10 this is a problem of the past, now you can easy solve this kind of problem using the DBMS_ADVANCED_REWRITE package, which allow you to transform/customize queries on the fly, changing for example one query with bad explain plan for another one with a good explain plan.
  • 6. DBMS_ADVANCED_REWRITE Before you become too excited, please remember the following restrictions: • It does not work with bind variables.(Alternative solution at Metalink Doc ID. 392214.1) • Only works for the SELECT statement. • Does not work when the base table is modified through DML.
  • 7. Data Masking with Oracle • Important to protect your sensible data in Dev/QA/Test Environments • Protect your data when sending it to outside your company. Normal Product s used for Data Masking? OEM / Grid Control Data Pump http://www.oracle.com/technetwork/database/datapump11g2009-transform-133936.pdf
  • 8. What is Data Masking
  • 9. Data Repository and Version Control As a DBA, I’m always looking for proactive ways to allow me to be prepared in case of a disaster strike or if an emergency release rollback is required (I love to use always the “What if” methodology), and due to these reasons, have a metadata repository and version control of it is always useful .
  • 10. Creating Smaller Copies of Production That is a very common task for a DBA, you are always having a task to create a copy of your Database ( for development or test purpose ) but your destination server don’t have enough space to create a full copy of it! This can be easily solved with Data Pump, for this example, let say that you only have space for 70% of your production database, now to know how to proceed, we need to decide if the copy will contain metadata only (no data/rows) or if it will include the data also.
  • 11. More Data Pump Stuff • • • • Clone a User Change Tablespaces Change Datafile Structure Flashback Consistent Backups
  • 12. More Data Pump Stuff • Flashback Consistent Backups By default expdp is consistent only for the table that is currently being exported. You can use: FLASHBACK_TIME or FLASHBACK_SN Note: On 11g the CONSISTENT parameter was deprecated , At 11g you can use the FLASHBACK_TIME=systimestamp to get data pump export to be consistent to a single point in time. Since 11.2 you can also use the legacy mode option to use the old parameter CONSISTENCY=y
  • 13. Data Recovery Advisor RMAN> LIST FAILURE; RMAN> ADVISE FAILURE; RMAN> REPAIR FAILURE PREVIEW; RMAN> REPAIR FAILURE; RMAN> REPAIR FAILURE NOPROMPT;
  • 14. PROGRAM The Oracle ACE Program is designed to recognize and reward members of the Oracle Technology and Applications communities for their contributions to those communities. These individuals are technically proficient (when applicable) and willingly share their knowledge and experiences. The program comprises two levels: Director. Oracle ACE and Oracle ACE The former designation is Oracle's way of saying "thank you" to community contributors for their efforts; we (and the community) appreciate their enthusiasm. The latter designation is for community enthusiasts who not only share their knowledge (usually in extraordinary ways), but also want to increase their community advocacy and work more proactively with Oracle to find opportunities for the same. In this sense, Oracle ACE is "backward looking" and Oracle ACE Director is "forward looking."
  • 16.
  • 17. Questions? More Information? Francisco Munoz Alvarez franciscoa@dbisonline.com
  • 18. Thank you! Have a Nice Day And Remember to participate more with your local User Group