SlideShare une entreprise Scribd logo
1  sur  32
BÂLE BERNE BRUGG DUSSELDORF FRANCFORT S.M. FRIBOURG E.BR. GENÈVE
HAMBOURG COPENHAGUE LAUSANNE MUNICH STUTTGART VIENNE ZURICH
#SDF16
Oracle Multitenant
Retour d'une première expérience en production
Jacques Kostic
Principal Consultant IMS Lausanne
#SDF16
Experience
• Oracle DBA since 1990 (from Oracle 4)
• High Availability and Backup & Recovery Architect
• SQL and Instance Performance & Tuning
• License Audit and Consolidation
Certifications
• Oracle Certified Master 11g & 12c
• Oracle 11g Performance Tuning Certified Expert
• Oracle RAC 11g and Grid Infrastructure Administration
• Oracle Certified SQL Expert 11g
• ITIL Foundation
Teaching Courses at Trivadis
• Oracle 11g & 12c Grid Infrastructure & RAC
• Oracle 11g & 12c Data Guard
• Oracle 11g & 12c Performance & Tuning
• Oracle 11g & 12c Administration
• SQL – PL-SQL
About me
#SDF16
Agenda
1. Customer context
2. Backgrounds
3. Why considering Multitenant?
4. Project execution
5. What’s new in 12.2
6. Conclusion
7. Q/A
#SDF16
Constomer Context
#SDF16
Constomer Context
The name will not be disclosed but the most relevant
characteristics to the project are reported below.
Customer
Environment
 Medium size customer from financial sector
 Few databases with different workload types
 Virtual Private Databases
 High level of automation
 Consolidation opportunities with the Multitenant Option
#SDF16
Backgrounds
#SDF16
Backgrounds
2013 : Initial setup
 Oracle 11.2.0.3
dNFS
6 Cores per nodes
2 Production RAC databases
DataGuard
4 Cores per nodes
2 Standby RAC databases ADG
Up to 5 test databases
ODA V1
• 96 GB of RAM per nodes
• 24 cores (12 per nodes)
• 6 TB in Normal Redundancy
#SDF16
Backgrounds
2015 : Upgrade
 Oracle 12.1.0.2 with Singletenant
6 Cores per nodes
2 Production RAC databases
4 Cores per nodes
2 Standby RAC databases ADG
Up to 5 test databases
ODA V1
• 96 GB of RAM per nodes
• 24 cores (12 per nodes)
• 6 TB in Normal Redundancy
dNFS
DataGuard
#SDF16
Backgrounds
Performance challenges after migration to 12c
 Execution plan changes
 Data model
 Stale statistics
 Some queries with huge performance deviations
 New 12c features
• SQL Plan directives due to miss estimates
• Adaptive dynamic sampling triggered automatically when parallelism is
in the game
• Some bugs…
#SDF16
Backgrounds
SQL > Alter system set optimizer_adaptive_features=FALSE;
System altered.
SQL>
Et voila!
#SDF16
Why considering Multitenant?
#SDF16
Why considering Multitenant
 New customer to absorb
 Double the size of all databases
 Have the same performance in test environments
 Same automation procedures
 Keep eyes to the cost!
#SDF16
Why considering Multitenant
2016 : Second Upgrade
 Oracle 12.1.0.2 with Multitenant
6 Cores per nodes
2 Production RAC databases
DataGuard
 6 Cores per nodes
2 Standby RAC databases ADG
Up to 5 test databases
ODA X5-V2
• 256 GB of RAM per nodes
• 72 cores (36 per nodes)
• 64 TB in Normal Redundancy
#SDF16
Project execution
#SDF16
Project execution
Production databases
 One small OLTP database
 One mix OLTP-DWH medium database
 VPD!
 Financial consolidation can be scheduled at any time by end
users
 Average execution time is within one hour
 Parallel executions are used for certain steps
#SDF16
Project execution
Test databases
 Can be refreshed on demand
 Directly from production
 From any backup
 Performance tests before pushing changes into production
 Has to be closest to production in term of resource allocation
#SDF16
Project execution
What have we done?
 Use more SGA as the ODA X5-2 (256 GB per nodes versus 96 GB)
 Remove instance caging and introduce a CDB Resource Plan
 Limit the PGA by setting pga_aggregate_limit parameter
#SDF16
Project execution
 Adjust statistics collection methods
 Relocate some tablespaces
 Optimize Undo for temporary tables by setting
TEMP_UNDO_ENABLED parameter
 Setup Result Cache for some queries
 Fine tune some queries
#SDF16
Project execution
Result after few days
 Customer was happy, jobs are running 55% faster
 Refreshes from production are completed 40% faster
 Performance in test environment is becoming comparable to
production
 General end user perception was good!
#SDF16
Project execution
Quiz 1
 Production Instance was very slow
 Several jobs were running into the two PDBs
Massive database waits: free buffer waits!!
#SDF16
Project execution
Possible causes:
 The I/O system is slow.
 Waiting for resources, such latches.
 The buffer cache is so small and DBWR spends most of it's
time cleaning out buffers for server processes.
 The buffer cache is so big and they are not enough DBWR
processes to free enough buffers in the cache to satisfy
requests.
#SDF16
Project execution
Quiz 2
 Production Instance was very slow
 Many small transactions were running into one PDB
Massive database waits: latch free!!
 Result_cache latch
#SDF16
Project execution
Possible causes:
 Some tables have the result_cache property to force.
 To many queries with Result_Cache hint.
 To many concurrent sql plan directives running.
 There is not enough shared pool to handle all
result_cache requests.
 The result_cache_mode parameter was set to FORCE
#SDF16
Project execution
Limitations of the 12.1 version
 Cannot clone a PDB online
 Cannot flashback or point in time at PDB level
 SGA per PDB
 IO management per PDB
#SDF16
What’s new in 12.2
#SDF16
What’s new in 12.2
 Shared pool
 Buffer cache
 I/O activity
SGA_MIN_SIZE
MAX_IOPS
MAX_MBPS
#SDF16
What’s new in 12.2
 Online PDB Clone
 Refreshable Clone PDB
 Flashback at PDB level
 New Snapshot capabilities
#SDF16
What’s new in 12.2
 4K PDBs per CDB
 Per-PDB Character sets
 AWR per PDB
 Heat Map per PDB
#SDF16
Conclusion
#SDF16
Conclusion
 Multitenant is becoming and will be a key player
 It’s just consolidation topic that you have to address
trivadis is your key helper!
#SDF16
trivadis Oracle Multitenant Workshop
This workshop will give you a complete and comprehensive overview to manage and
take profit of the Multitenant option.
Content
 Concepts and Architecture Overview
 What is Consolidation
 About provisioning and cloning
 Manage your resources efficiently
 Patching in Multitenant Environment
Language
 French
 English
Organization
 2 days
 Theory - Mornings
 Practice - Afternoons
 Participants: Minimum 1, Maximum 6
Materials
You will be given Workshop PDF, two virtual
machines under Linux and scripts of exercises
covering all topics.
#SDF16
Questions/Réponses
Jacques Kostic
Principal Consultant IMS Lausanne
Tél. +41 79 909 72 63
Jacques.kostic@trivadis.com
Confirmez votre présence et évaluez la session avec ce QRC.
Un vol en montgolfière à gagner !

Contenu connexe

Tendances

Tendances (20)

How we switched to columnar at SpendHQ
How we switched to columnar at SpendHQHow we switched to columnar at SpendHQ
How we switched to columnar at SpendHQ
 
How Pixid dropped Oracle and went hybrid with MariaDB
How Pixid dropped Oracle and went hybrid with MariaDBHow Pixid dropped Oracle and went hybrid with MariaDB
How Pixid dropped Oracle and went hybrid with MariaDB
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWS
 
Kafka to the Maxka - (Kafka Performance Tuning)
Kafka to the Maxka - (Kafka Performance Tuning)Kafka to the Maxka - (Kafka Performance Tuning)
Kafka to the Maxka - (Kafka Performance Tuning)
 
Introducing the ultimate MariaDB cloud, SkySQL
Introducing the ultimate MariaDB cloud, SkySQLIntroducing the ultimate MariaDB cloud, SkySQL
Introducing the ultimate MariaDB cloud, SkySQL
 
The Need For Speed - Strategies to Modernize Your Data Center
The Need For Speed - Strategies to Modernize Your Data CenterThe Need For Speed - Strategies to Modernize Your Data Center
The Need For Speed - Strategies to Modernize Your Data Center
 
HBaseConEast2016: Splice machine open source rdbms
HBaseConEast2016: Splice machine open source rdbmsHBaseConEast2016: Splice machine open source rdbms
HBaseConEast2016: Splice machine open source rdbms
 
Active/Active Database Solutions with Log Based Replication in xDB 6.0
Active/Active Database Solutions with Log Based Replication in xDB 6.0Active/Active Database Solutions with Log Based Replication in xDB 6.0
Active/Active Database Solutions with Log Based Replication in xDB 6.0
 
Under the hood: SkySQL monitoring
Under the hood: SkySQL monitoringUnder the hood: SkySQL monitoring
Under the hood: SkySQL monitoring
 
Database Security Threats - MariaDB Security Best Practices
Database Security Threats - MariaDB Security Best PracticesDatabase Security Threats - MariaDB Security Best Practices
Database Security Threats - MariaDB Security Best Practices
 
Integrating data stored in rdbms and hadoop
Integrating data stored in rdbms and hadoopIntegrating data stored in rdbms and hadoop
Integrating data stored in rdbms and hadoop
 
Hello World with EDB Postgres
Hello World with EDB PostgresHello World with EDB Postgres
Hello World with EDB Postgres
 
Demystifying Benchmarks: How to Use Them To Better Evaluate Databases
Demystifying Benchmarks: How to Use Them To Better Evaluate DatabasesDemystifying Benchmarks: How to Use Them To Better Evaluate Databases
Demystifying Benchmarks: How to Use Them To Better Evaluate Databases
 
JDG 7 & Spark Integration
JDG 7 & Spark IntegrationJDG 7 & Spark Integration
JDG 7 & Spark Integration
 
Installing Postgres on Linux
Installing Postgres on LinuxInstalling Postgres on Linux
Installing Postgres on Linux
 
Apache Kafka at LinkedIn
Apache Kafka at LinkedInApache Kafka at LinkedIn
Apache Kafka at LinkedIn
 
Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2
 
Which Postgres is Right for You?
Which Postgres is Right for You? Which Postgres is Right for You?
Which Postgres is Right for You?
 
How to Monitor Postgres Like a Pro!
How to Monitor Postgres Like a Pro!How to Monitor Postgres Like a Pro!
How to Monitor Postgres Like a Pro!
 
Migrating from Oracle to Postgres
Migrating from Oracle to PostgresMigrating from Oracle to Postgres
Migrating from Oracle to Postgres
 

En vedette

En vedette (11)

Gouvernance de données
Gouvernance de donnéesGouvernance de données
Gouvernance de données
 
Intelligence & Gouvernance
Intelligence & GouvernanceIntelligence & Gouvernance
Intelligence & Gouvernance
 
Le monde NOSQL pour les spécialistes du relationnel,
Le monde NOSQL pour les spécialistes du relationnel, Le monde NOSQL pour les spécialistes du relationnel,
Le monde NOSQL pour les spécialistes du relationnel,
 
IoT Portal with PowerBI and SharePoint
IoT Portal with PowerBI and SharePointIoT Portal with PowerBI and SharePoint
IoT Portal with PowerBI and SharePoint
 
Augmentez votre efficacité dans votre planification budgétaire
Augmentez votre efficacité dans votre planification budgétaireAugmentez votre efficacité dans votre planification budgétaire
Augmentez votre efficacité dans votre planification budgétaire
 
Digitalisation de la donnée Client
Digitalisation de la donnée ClientDigitalisation de la donnée Client
Digitalisation de la donnée Client
 
Big Data and Fast Data combined – is it possible?
Big Data and Fast Data combined – is it possible?Big Data and Fast Data combined – is it possible?
Big Data and Fast Data combined – is it possible?
 
Building High-scalable Enterprise Solutions,
Building High-scalable Enterprise Solutions, Building High-scalable Enterprise Solutions,
Building High-scalable Enterprise Solutions,
 
Bigdata et datamining au service de la transition énergétique
Bigdata et datamining au service de la transition énergétiqueBigdata et datamining au service de la transition énergétique
Bigdata et datamining au service de la transition énergétique
 
Cloud transition - The Trivadis approach
Cloud transition - The Trivadis approachCloud transition - The Trivadis approach
Cloud transition - The Trivadis approach
 
Customer Event Hub - the modern Customer 360° view
Customer Event Hub - the modern Customer 360° viewCustomer Event Hub - the modern Customer 360° view
Customer Event Hub - the modern Customer 360° view
 

Similaire à Retour d'expérience d'un environnement base de données multitenant

VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
Alfredo Abate
 
MySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics ImprovementsMySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics Improvements
Morgan Tocker
 
Guob consolidation implementation11gr2
Guob consolidation implementation11gr2Guob consolidation implementation11gr2
Guob consolidation implementation11gr2
Rodrigo Almeida
 

Similaire à Retour d'expérience d'un environnement base de données multitenant (20)

Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph
 
The state of Hive and Spark in the Cloud (July 2017)
The state of Hive and Spark in the Cloud (July 2017)The state of Hive and Spark in the Cloud (July 2017)
The state of Hive and Spark in the Cloud (July 2017)
 
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Our Multi-Year Journey to a 10x Faster Confluent Cloud
Our Multi-Year Journey to a 10x Faster Confluent CloudOur Multi-Year Journey to a 10x Faster Confluent Cloud
Our Multi-Year Journey to a 10x Faster Confluent Cloud
 
MySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics ImprovementsMySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics Improvements
 
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
 
700 Updatable Queries Per Second: Spark as a Real-Time Web Service
700 Updatable Queries Per Second: Spark as a Real-Time Web Service700 Updatable Queries Per Second: Spark as a Real-Time Web Service
700 Updatable Queries Per Second: Spark as a Real-Time Web Service
 
700 Queries Per Second with Updates: Spark As A Real-Time Web Service
700 Queries Per Second with Updates: Spark As A Real-Time Web Service700 Queries Per Second with Updates: Spark As A Real-Time Web Service
700 Queries Per Second with Updates: Spark As A Real-Time Web Service
 
Guob consolidation implementation11gr2
Guob consolidation implementation11gr2Guob consolidation implementation11gr2
Guob consolidation implementation11gr2
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Healthcare Claim Reimbursement using Apache Spark
Healthcare Claim Reimbursement using Apache SparkHealthcare Claim Reimbursement using Apache Spark
Healthcare Claim Reimbursement using Apache Spark
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 edition
 
Linux Kernel vs DPDK: HTTP Performance Showdown
Linux Kernel vs DPDK: HTTP Performance ShowdownLinux Kernel vs DPDK: HTTP Performance Showdown
Linux Kernel vs DPDK: HTTP Performance Showdown
 
Gruter TECHDAY 2014 Realtime Processing in Telco
Gruter TECHDAY 2014 Realtime Processing in TelcoGruter TECHDAY 2014 Realtime Processing in Telco
Gruter TECHDAY 2014 Realtime Processing in Telco
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
.NET Core Summer event 2019 in Brno, CZ - .NET Core Networking stack and perf...
.NET Core Summer event 2019 in Brno, CZ - .NET Core Networking stack and perf....NET Core Summer event 2019 in Brno, CZ - .NET Core Networking stack and perf...
.NET Core Summer event 2019 in Brno, CZ - .NET Core Networking stack and perf...
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
 

Plus de Swiss Data Forum Swiss Data Forum

Plus de Swiss Data Forum Swiss Data Forum (14)

Internet of Things and Big Data
Internet of Things and Big DataInternet of Things and Big Data
Internet of Things and Big Data
 
Optimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec AzureOptimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec Azure
 
Cas pratique de la science de la donnée dans le domaine universitaire - Data ...
Cas pratique de la science de la donnée dans le domaine universitaire - Data ...Cas pratique de la science de la donnée dans le domaine universitaire - Data ...
Cas pratique de la science de la donnée dans le domaine universitaire - Data ...
 
Avec biGenius® sur Azure, oubliez la technique, concentrez vos efforts sur le...
Avec biGenius® sur Azure, oubliez la technique, concentrez vos efforts sur le...Avec biGenius® sur Azure, oubliez la technique, concentrez vos efforts sur le...
Avec biGenius® sur Azure, oubliez la technique, concentrez vos efforts sur le...
 
Le Swiss Data Cloud, vu par l’opérateur UPC Cablecom Business
Le Swiss Data Cloud, vu par l’opérateur UPC Cablecom BusinessLe Swiss Data Cloud, vu par l’opérateur UPC Cablecom Business
Le Swiss Data Cloud, vu par l’opérateur UPC Cablecom Business
 
IoT – The reality of real world solutions
IoT – The reality of real world solutions IoT – The reality of real world solutions
IoT – The reality of real world solutions
 
The Power of Mobile & Cloud: Building a Homesecurity-System with Microsoft Az...
The Power of Mobile & Cloud: Building a Homesecurity-System with Microsoft Az...The Power of Mobile & Cloud: Building a Homesecurity-System with Microsoft Az...
The Power of Mobile & Cloud: Building a Homesecurity-System with Microsoft Az...
 
Real-Time Analytics with Apache Cassandra and Apache Spark,
Real-Time Analytics with Apache Cassandra and Apache Spark,Real-Time Analytics with Apache Cassandra and Apache Spark,
Real-Time Analytics with Apache Cassandra and Apache Spark,
 
IT-Analytics: Screen your IT processes with BI Technology
IT-Analytics: Screen your IT processes with BI TechnologyIT-Analytics: Screen your IT processes with BI Technology
IT-Analytics: Screen your IT processes with BI Technology
 
PoC Oracle Exadata - Retour d'expérience
PoC Oracle Exadata - Retour d'expériencePoC Oracle Exadata - Retour d'expérience
PoC Oracle Exadata - Retour d'expérience
 
A gentle introduction to Oracle R Enterprise
A gentle introduction to Oracle R EnterpriseA gentle introduction to Oracle R Enterprise
A gentle introduction to Oracle R Enterprise
 
Mobilité dans l'entreprise - Facts & Figures
Mobilité dans l'entreprise - Facts & FiguresMobilité dans l'entreprise - Facts & Figures
Mobilité dans l'entreprise - Facts & Figures
 
Information Life Cycle Management avec Oracle 12c
Information Life Cycle Management avec Oracle 12cInformation Life Cycle Management avec Oracle 12c
Information Life Cycle Management avec Oracle 12c
 
Data vault modeling et retour d'expérience
Data vault modeling et retour d'expérienceData vault modeling et retour d'expérience
Data vault modeling et retour d'expérience
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Retour d'expérience d'un environnement base de données multitenant

  • 1. BÂLE BERNE BRUGG DUSSELDORF FRANCFORT S.M. FRIBOURG E.BR. GENÈVE HAMBOURG COPENHAGUE LAUSANNE MUNICH STUTTGART VIENNE ZURICH #SDF16 Oracle Multitenant Retour d'une première expérience en production Jacques Kostic Principal Consultant IMS Lausanne
  • 2. #SDF16 Experience • Oracle DBA since 1990 (from Oracle 4) • High Availability and Backup & Recovery Architect • SQL and Instance Performance & Tuning • License Audit and Consolidation Certifications • Oracle Certified Master 11g & 12c • Oracle 11g Performance Tuning Certified Expert • Oracle RAC 11g and Grid Infrastructure Administration • Oracle Certified SQL Expert 11g • ITIL Foundation Teaching Courses at Trivadis • Oracle 11g & 12c Grid Infrastructure & RAC • Oracle 11g & 12c Data Guard • Oracle 11g & 12c Performance & Tuning • Oracle 11g & 12c Administration • SQL – PL-SQL About me
  • 3. #SDF16 Agenda 1. Customer context 2. Backgrounds 3. Why considering Multitenant? 4. Project execution 5. What’s new in 12.2 6. Conclusion 7. Q/A
  • 5. #SDF16 Constomer Context The name will not be disclosed but the most relevant characteristics to the project are reported below. Customer Environment  Medium size customer from financial sector  Few databases with different workload types  Virtual Private Databases  High level of automation  Consolidation opportunities with the Multitenant Option
  • 7. #SDF16 Backgrounds 2013 : Initial setup  Oracle 11.2.0.3 dNFS 6 Cores per nodes 2 Production RAC databases DataGuard 4 Cores per nodes 2 Standby RAC databases ADG Up to 5 test databases ODA V1 • 96 GB of RAM per nodes • 24 cores (12 per nodes) • 6 TB in Normal Redundancy
  • 8. #SDF16 Backgrounds 2015 : Upgrade  Oracle 12.1.0.2 with Singletenant 6 Cores per nodes 2 Production RAC databases 4 Cores per nodes 2 Standby RAC databases ADG Up to 5 test databases ODA V1 • 96 GB of RAM per nodes • 24 cores (12 per nodes) • 6 TB in Normal Redundancy dNFS DataGuard
  • 9. #SDF16 Backgrounds Performance challenges after migration to 12c  Execution plan changes  Data model  Stale statistics  Some queries with huge performance deviations  New 12c features • SQL Plan directives due to miss estimates • Adaptive dynamic sampling triggered automatically when parallelism is in the game • Some bugs…
  • 10. #SDF16 Backgrounds SQL > Alter system set optimizer_adaptive_features=FALSE; System altered. SQL> Et voila!
  • 12. #SDF16 Why considering Multitenant  New customer to absorb  Double the size of all databases  Have the same performance in test environments  Same automation procedures  Keep eyes to the cost!
  • 13. #SDF16 Why considering Multitenant 2016 : Second Upgrade  Oracle 12.1.0.2 with Multitenant 6 Cores per nodes 2 Production RAC databases DataGuard  6 Cores per nodes 2 Standby RAC databases ADG Up to 5 test databases ODA X5-V2 • 256 GB of RAM per nodes • 72 cores (36 per nodes) • 64 TB in Normal Redundancy
  • 15. #SDF16 Project execution Production databases  One small OLTP database  One mix OLTP-DWH medium database  VPD!  Financial consolidation can be scheduled at any time by end users  Average execution time is within one hour  Parallel executions are used for certain steps
  • 16. #SDF16 Project execution Test databases  Can be refreshed on demand  Directly from production  From any backup  Performance tests before pushing changes into production  Has to be closest to production in term of resource allocation
  • 17. #SDF16 Project execution What have we done?  Use more SGA as the ODA X5-2 (256 GB per nodes versus 96 GB)  Remove instance caging and introduce a CDB Resource Plan  Limit the PGA by setting pga_aggregate_limit parameter
  • 18. #SDF16 Project execution  Adjust statistics collection methods  Relocate some tablespaces  Optimize Undo for temporary tables by setting TEMP_UNDO_ENABLED parameter  Setup Result Cache for some queries  Fine tune some queries
  • 19. #SDF16 Project execution Result after few days  Customer was happy, jobs are running 55% faster  Refreshes from production are completed 40% faster  Performance in test environment is becoming comparable to production  General end user perception was good!
  • 20. #SDF16 Project execution Quiz 1  Production Instance was very slow  Several jobs were running into the two PDBs Massive database waits: free buffer waits!!
  • 21. #SDF16 Project execution Possible causes:  The I/O system is slow.  Waiting for resources, such latches.  The buffer cache is so small and DBWR spends most of it's time cleaning out buffers for server processes.  The buffer cache is so big and they are not enough DBWR processes to free enough buffers in the cache to satisfy requests.
  • 22. #SDF16 Project execution Quiz 2  Production Instance was very slow  Many small transactions were running into one PDB Massive database waits: latch free!!  Result_cache latch
  • 23. #SDF16 Project execution Possible causes:  Some tables have the result_cache property to force.  To many queries with Result_Cache hint.  To many concurrent sql plan directives running.  There is not enough shared pool to handle all result_cache requests.  The result_cache_mode parameter was set to FORCE
  • 24. #SDF16 Project execution Limitations of the 12.1 version  Cannot clone a PDB online  Cannot flashback or point in time at PDB level  SGA per PDB  IO management per PDB
  • 26. #SDF16 What’s new in 12.2  Shared pool  Buffer cache  I/O activity SGA_MIN_SIZE MAX_IOPS MAX_MBPS
  • 27. #SDF16 What’s new in 12.2  Online PDB Clone  Refreshable Clone PDB  Flashback at PDB level  New Snapshot capabilities
  • 28. #SDF16 What’s new in 12.2  4K PDBs per CDB  Per-PDB Character sets  AWR per PDB  Heat Map per PDB
  • 30. #SDF16 Conclusion  Multitenant is becoming and will be a key player  It’s just consolidation topic that you have to address trivadis is your key helper!
  • 31. #SDF16 trivadis Oracle Multitenant Workshop This workshop will give you a complete and comprehensive overview to manage and take profit of the Multitenant option. Content  Concepts and Architecture Overview  What is Consolidation  About provisioning and cloning  Manage your resources efficiently  Patching in Multitenant Environment Language  French  English Organization  2 days  Theory - Mornings  Practice - Afternoons  Participants: Minimum 1, Maximum 6 Materials You will be given Workshop PDF, two virtual machines under Linux and scripts of exercises covering all topics.
  • 32. #SDF16 Questions/Réponses Jacques Kostic Principal Consultant IMS Lausanne Tél. +41 79 909 72 63 Jacques.kostic@trivadis.com Confirmez votre présence et évaluez la session avec ce QRC. Un vol en montgolfière à gagner !