SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Real World ADF Design & Architecture Principles
MDS Infrastructure Decisions
ORACLE
PRODUCT
LOGO
15th Feb 2013 v1.0
3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Learning Objectives
•  At the end of this module you should be able to:
–  Identify the server infrastructure for your application MDS
requirements
–  Understand the MDS runtime architecture
–  Identify the number of MDS repositories to create
Image: imagerymajestic/ FreeDigitalPhotos.net
4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  MDS Repository
•  MDS Runtime Architecture
•  Deployment & Performance
•  How Many MDS Repositories Do You Need?
5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Metadata Service Repository
•  File based or database based
•  Contains metadata (data about data) for Oracle Fusion Middleware
components, like
–  Oracle BPEL Process Manager
–  Oracle WebCenter
–  Oracle Business Activity Monitoring
–  Oracle Event Processing etc.
•  Contains information about your ADF application metadata
6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Metadata Service Repository
•  Use Oracle Fusion Middleware Metadata Repository Creation Utility
(RCU) to create the metadata repository in an existing database
•  A database can have multiple repositories installed
•  A WLS domain can use multiple MDS installations
•  For better performance, install metadata repositories on same site
as customizable components
–  Keep network latency small
Database Repository
7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Database Repository Benefits
•  Better query performance
•  A database-based MDS Repository uses the database transaction
semantics, to roll back any failed import or deployment
•  Maintains versions of the documents in a database-based repository
–  Changes to metadata objects can be stored as separate version
Provides version history and label
8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Structure
•  Independent logical repository within MDS repository
•  MDS repository can have multiple partitions
•  Can be associated with more than one application
–  Recommendation though is to use 1 partition for 1 application for ease of
administration and maintenance
•  Can be deleted, cloned, imported and exported to move metadata
from one environment to another
Partition
9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  MDS Repository
•  MDS Runtime Architecture
•  Deployment & Performance
•  How Many MDS Repositories Do You Need?
10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Runtime Architecture
•  Consists of MDS runtime engine and a set of Mbeans
–  Applied to domain as part of the Java Runtime Files (JRF) template
•  Runtime engine
–  Manages MDS Repository access and the import of Metadata Archive
(MAR) files contained in an EAR file
–  Provides in-built runtime cache for application specific metadata objects
11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Runtime Architecture
•  MBeans are provided for WebLogic Sever Scripting Tool (WLST)
and Enterprise Manager to
–  Clear cache
–  Import and export application specific customizations
–  Manages
• The built-in meta object cache
–  Cache size, purge interval, external change detection
• Repository connection retry
•  WLS MBeans are not the same as JSF Managed Beans
12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Runtime Architecture
WLS Admin Server
Managed WLS Server
Custom ADF Application
MDS Runtime
MDS Repository (RDBMS)
Enterprise Manager
Fusion Middleware Control
MDS Administration
MBean
WLST
MDS App
MBean
Import/
Export
De- / Register
Repositories
Repository Access MAR Import
13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  MDS Repository
•  MDS Runtime Architecture
•  Deployment & Performance
•  How Many MDS Repositories Do You Need?
14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
ADF Application Deployment Considerations
•  MDS personalization and customization for ADF applications is
enabled at development time
–  Configuration in adf-config.xml
•  MDS enabled ADF applications must be explicitly associated with a
specific MDS repository and partition
–  JDeveloper
–  MDS WLST commands
–  Enterprise Manager Deployment Wizard
•  Seeded customization require application EAR file to contain special
MAR file
15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Metadata Cache
•  MDS uses a cache to store metadata objects in memory
•  Shared cache is accessible to all users of the application that are on
the same JVM
•  Metadata object that are requested repeatedly, with the same
customizations, are retrieved more quickly from the cache
•  Initial cache size can be configured in adf-config.xml prior
deployment
16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Performance Tuning Hints
•  Tuning Database Repository
–  For MDS database indexes to work best RDBMS schema statistics are
needed
–  Generally, larger redo log files provide better performance
–  Have database administrators manually rebuild indexes and shrink MDS
tables to increase performance and to reclaim disk space
–  See: Oracle Database Performance Tuning Guide
•  Purging Document Version History
–  Choose a sensible auto purge frequency
–  Setting in adf-config.xml that can be changed at runtime
17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Performance Tuning Hints
•  Using Database Polling Interval for Change Detection
–  MDS poll the database to gauge if the data in the MDS cache is out of
sync with data in the database
–  If it is out of sync, MDS clears any invalid data from the cache for
subsequent operations
–  Default poll interval is 30 seconds. Try to find the best setting for your
deployment
–  Polling interval can be configured or changed post deployment through
Mbeans or, before deployment, in the adf-config.xml file
18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  MDS Repository
•  MDS Runtime Architecture
•  Deployment & Performance
•  How Many MDS Repositories Do You Need?
19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
How many MDS repositories and partitions do we
need and what should they contain?
Image: imagerymajestic/ FreeDigitalPhotos.net
20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
There is no hard rule, but there is a strategy to
share
Image: Ambro/ FreeDigitalPhotos.net
21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Repository Infrastructure Consideration
•  Define a MDS repository infrastructure that guarantees ease of
administration, ease of configuration and best performance
–  Many small repositories vs. one monolithic repository
–  Infrastructure cost vs. cost of administration for large repository
•  Plan for application versioning
–  You may have the requirement to run two versions of an application in
parallel
–  ISVs may sell and maintain different versions of your product
22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Repository Infrastructure Consideration
•  Consider different Fusion Middleware releases and patch sets
–  Application may not be able to migrate to a new FMW patch set or
release with all FMW components at once
•  Consider repository version de-commission
–  You should be able to easily get rid of metadata of application and FMW
versions that are no longer in use
•  Ensure the production environment is secure
23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Repository Recommendation
•  Use database repositories
–  Exception: When developing seeded customization in JDeveloper,
development uses a file based repository
•  Use different repositories for Dev, QA and Prod
•  Use partitions for application versions
–  fod-v1-dev, fod-v1-test, fod-v1-prod
–  fod-v2-dev, fod-v2-test, fod-v2-prod
•  Create distinct repositories for FMW components
24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MDS Repository Strategy and Blueprint
•  "APPLICATION MDS REPOSITORIES"
- SOA
- WebCenter
- Application
- etc.
•  "APPLICATION MDS INFRASTRUCTURE"
–  Instances of " APPLICATION MDS REPOSITORIES " for Dev, Test,
Production
•  Duplicate APPLICATION MDS INFRASTRUCTURE for each FMW
version or patch set
25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Conclusion
•  Customization and Personalization should be
considered as part of the application design to avoid
unnecessary coding
•  Consider performance aspects when applying
customizations and personalization features
•  Customization may be used to enforce security. If you
do so
–  Ensure application is save when MDS repository content is missing
–  Implement defense in depth in that you backup MDS security
definitions in the application
•  Consider a deployment strategy that allows you to
upgrade applications and FMW components
26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Further Reading
•  Oracle Fusion Middleware WebLogic Scripting Tool Command Reference
–  http://docs.oracle.com/cd/E12839_01/web.1111/e13813/custom_mds.htm
•  Oracle Fusion Middleware Administrator's Guide
–  http://docs.oracle.com/cd/E17904_01/core.1111/e10105/repos.htm
27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle ADF Architecture TV - Design - ADF BC Application Module Design
Oracle ADF Architecture TV - Design - ADF BC Application Module DesignOracle ADF Architecture TV - Design - ADF BC Application Module Design
Oracle ADF Architecture TV - Design - ADF BC Application Module DesignChris Muir
 
Oracle ADF Architecture TV - Design - Project Dependencies
Oracle ADF Architecture TV - Design - Project DependenciesOracle ADF Architecture TV - Design - Project Dependencies
Oracle ADF Architecture TV - Design - Project DependenciesChris Muir
 
Oracle ADF Architecture TV - Design - Designing for Internationalization
Oracle ADF Architecture TV - Design - Designing for InternationalizationOracle ADF Architecture TV - Design - Designing for Internationalization
Oracle ADF Architecture TV - Design - Designing for InternationalizationChris Muir
 
Oracle REST Data Services
Oracle REST Data ServicesOracle REST Data Services
Oracle REST Data ServicesChris Muir
 
Oracle ADF Architecture TV - Design - Task Flow Navigation Options
Oracle ADF Architecture TV - Design - Task Flow Navigation OptionsOracle ADF Architecture TV - Design - Task Flow Navigation Options
Oracle ADF Architecture TV - Design - Task Flow Navigation OptionsChris Muir
 
Oracle ADF Architecture TV - Development - Programming Best Practices
Oracle ADF Architecture TV - Development - Programming Best PracticesOracle ADF Architecture TV - Development - Programming Best Practices
Oracle ADF Architecture TV - Development - Programming Best PracticesChris Muir
 
Oracle ADF Architecture TV - Design - Service Integration Architectures
Oracle ADF Architecture TV - Design - Service Integration ArchitecturesOracle ADF Architecture TV - Design - Service Integration Architectures
Oracle ADF Architecture TV - Design - Service Integration ArchitecturesChris Muir
 
Oracle ADF Architecture TV - Development - Version Control
Oracle ADF Architecture TV - Development - Version ControlOracle ADF Architecture TV - Development - Version Control
Oracle ADF Architecture TV - Development - Version ControlChris Muir
 
Oracle ADF Architecture TV - Deployment - Deployment Options
Oracle ADF Architecture TV - Deployment - Deployment OptionsOracle ADF Architecture TV - Deployment - Deployment Options
Oracle ADF Architecture TV - Deployment - Deployment OptionsChris Muir
 
Oracle ADF Architecture TV - Design - Application Customization and MDS
Oracle ADF Architecture TV - Design - Application Customization and MDSOracle ADF Architecture TV - Design - Application Customization and MDS
Oracle ADF Architecture TV - Design - Application Customization and MDSChris Muir
 
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with OracleMobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with OracleChris Muir
 
Oracle ADF Architecture TV - Design - Task Flow Transaction Options
Oracle ADF Architecture TV - Design - Task Flow Transaction OptionsOracle ADF Architecture TV - Design - Task Flow Transaction Options
Oracle ADF Architecture TV - Design - Task Flow Transaction OptionsChris Muir
 
Oracle ADF Architecture TV - Design - Designing for Security
Oracle ADF Architecture TV - Design - Designing for SecurityOracle ADF Architecture TV - Design - Designing for Security
Oracle ADF Architecture TV - Design - Designing for SecurityChris Muir
 
Oracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesOracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesChris Muir
 
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...Chris Muir
 
Oracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignOracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignChris Muir
 
Oracle ADF Architecture TV - Design - Task Flow Data Control Scope Options
Oracle ADF Architecture TV - Design - Task Flow Data Control Scope OptionsOracle ADF Architecture TV - Design - Task Flow Data Control Scope Options
Oracle ADF Architecture TV - Design - Task Flow Data Control Scope OptionsChris Muir
 
Oracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow OverviewOracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow OverviewChris Muir
 
Oracle ADF Architecture TV - Design - ADF Architectural Patterns
Oracle ADF Architecture TV - Design - ADF Architectural PatternsOracle ADF Architecture TV - Design - ADF Architectural Patterns
Oracle ADF Architecture TV - Design - ADF Architectural PatternsChris Muir
 
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project LayoutsOracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project LayoutsChris Muir
 

Was ist angesagt? (20)

Oracle ADF Architecture TV - Design - ADF BC Application Module Design
Oracle ADF Architecture TV - Design - ADF BC Application Module DesignOracle ADF Architecture TV - Design - ADF BC Application Module Design
Oracle ADF Architecture TV - Design - ADF BC Application Module Design
 
Oracle ADF Architecture TV - Design - Project Dependencies
Oracle ADF Architecture TV - Design - Project DependenciesOracle ADF Architecture TV - Design - Project Dependencies
Oracle ADF Architecture TV - Design - Project Dependencies
 
Oracle ADF Architecture TV - Design - Designing for Internationalization
Oracle ADF Architecture TV - Design - Designing for InternationalizationOracle ADF Architecture TV - Design - Designing for Internationalization
Oracle ADF Architecture TV - Design - Designing for Internationalization
 
Oracle REST Data Services
Oracle REST Data ServicesOracle REST Data Services
Oracle REST Data Services
 
Oracle ADF Architecture TV - Design - Task Flow Navigation Options
Oracle ADF Architecture TV - Design - Task Flow Navigation OptionsOracle ADF Architecture TV - Design - Task Flow Navigation Options
Oracle ADF Architecture TV - Design - Task Flow Navigation Options
 
Oracle ADF Architecture TV - Development - Programming Best Practices
Oracle ADF Architecture TV - Development - Programming Best PracticesOracle ADF Architecture TV - Development - Programming Best Practices
Oracle ADF Architecture TV - Development - Programming Best Practices
 
Oracle ADF Architecture TV - Design - Service Integration Architectures
Oracle ADF Architecture TV - Design - Service Integration ArchitecturesOracle ADF Architecture TV - Design - Service Integration Architectures
Oracle ADF Architecture TV - Design - Service Integration Architectures
 
Oracle ADF Architecture TV - Development - Version Control
Oracle ADF Architecture TV - Development - Version ControlOracle ADF Architecture TV - Development - Version Control
Oracle ADF Architecture TV - Development - Version Control
 
Oracle ADF Architecture TV - Deployment - Deployment Options
Oracle ADF Architecture TV - Deployment - Deployment OptionsOracle ADF Architecture TV - Deployment - Deployment Options
Oracle ADF Architecture TV - Deployment - Deployment Options
 
Oracle ADF Architecture TV - Design - Application Customization and MDS
Oracle ADF Architecture TV - Design - Application Customization and MDSOracle ADF Architecture TV - Design - Application Customization and MDS
Oracle ADF Architecture TV - Design - Application Customization and MDS
 
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with OracleMobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
 
Oracle ADF Architecture TV - Design - Task Flow Transaction Options
Oracle ADF Architecture TV - Design - Task Flow Transaction OptionsOracle ADF Architecture TV - Design - Task Flow Transaction Options
Oracle ADF Architecture TV - Design - Task Flow Transaction Options
 
Oracle ADF Architecture TV - Design - Designing for Security
Oracle ADF Architecture TV - Design - Designing for SecurityOracle ADF Architecture TV - Design - Designing for Security
Oracle ADF Architecture TV - Design - Designing for Security
 
Oracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesOracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service Architectures
 
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
 
Oracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignOracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout Design
 
Oracle ADF Architecture TV - Design - Task Flow Data Control Scope Options
Oracle ADF Architecture TV - Design - Task Flow Data Control Scope OptionsOracle ADF Architecture TV - Design - Task Flow Data Control Scope Options
Oracle ADF Architecture TV - Design - Task Flow Data Control Scope Options
 
Oracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow OverviewOracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow Overview
 
Oracle ADF Architecture TV - Design - ADF Architectural Patterns
Oracle ADF Architecture TV - Design - ADF Architectural PatternsOracle ADF Architecture TV - Design - ADF Architectural Patterns
Oracle ADF Architecture TV - Design - ADF Architectural Patterns
 
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project LayoutsOracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
 

Ähnlich wie Oracle ADF Architecture TV - Design - MDS Infrastructure Decisions

Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsOracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsGeneXus
 
Presentation cloud management
Presentation   cloud managementPresentation   cloud management
Presentation cloud managementxKinAnx
 
MySQL Web Reference Architecture
MySQL Web Reference Architecture MySQL Web Reference Architecture
MySQL Web Reference Architecture Ricky Setyawan
 
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...Trivadis
 
Oracle ADF Architecture TV - Design - ADF Reusable Artifacts
Oracle ADF Architecture TV - Design - ADF Reusable ArtifactsOracle ADF Architecture TV - Design - ADF Reusable Artifacts
Oracle ADF Architecture TV - Design - ADF Reusable ArtifactsChris Muir
 
Multi-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao MiddlewareMulti-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao MiddlewareBruno Borges
 
2013 05 Oracle big_dataapplianceoverview
2013 05 Oracle big_dataapplianceoverview2013 05 Oracle big_dataapplianceoverview
2013 05 Oracle big_dataapplianceoverviewjdijcks
 
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014Dave Stokes
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsMario Beck
 
Oracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesOracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesConnor McDonald
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationYudi Herdiana
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLMario Beck
 
Experiences in building a PaaS Platform - Java One SFO 2012
Experiences in building a PaaS Platform - Java One SFO 2012Experiences in building a PaaS Platform - Java One SFO 2012
Experiences in building a PaaS Platform - Java One SFO 2012Jagadish Prasath
 
Webinar: Enterprise Trends for Database-as-a-Service
Webinar: Enterprise Trends for Database-as-a-ServiceWebinar: Enterprise Trends for Database-as-a-Service
Webinar: Enterprise Trends for Database-as-a-ServiceMongoDB
 
Many Clouds, Many Choices (Oracle)
Many Clouds, Many Choices (Oracle) Many Clouds, Many Choices (Oracle)
Many Clouds, Many Choices (Oracle) COMPUTEX TAIPEI
 
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA -   UKOUGEmbracing Database Diversity: The New Oracle / MySQL DBA -   UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUGKeith Hollman
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ssAnil Nair
 

Ähnlich wie Oracle ADF Architecture TV - Design - MDS Infrastructure Decisions (20)

Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsOracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
 
Presentation cloud management
Presentation   cloud managementPresentation   cloud management
Presentation cloud management
 
MySQL Web Reference Architecture
MySQL Web Reference Architecture MySQL Web Reference Architecture
MySQL Web Reference Architecture
 
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
 
Eci sparc
Eci sparcEci sparc
Eci sparc
 
Oracle ADF Architecture TV - Design - ADF Reusable Artifacts
Oracle ADF Architecture TV - Design - ADF Reusable ArtifactsOracle ADF Architecture TV - Design - ADF Reusable Artifacts
Oracle ADF Architecture TV - Design - ADF Reusable Artifacts
 
Multi-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao MiddlewareMulti-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao Middleware
 
2013 05 Oracle big_dataapplianceoverview
2013 05 Oracle big_dataapplianceoverview2013 05 Oracle big_dataapplianceoverview
2013 05 Oracle big_dataapplianceoverview
 
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
Oracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesOracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutes
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQL
 
Experiences in building a PaaS Platform - Java One SFO 2012
Experiences in building a PaaS Platform - Java One SFO 2012Experiences in building a PaaS Platform - Java One SFO 2012
Experiences in building a PaaS Platform - Java One SFO 2012
 
Webinar: Enterprise Trends for Database-as-a-Service
Webinar: Enterprise Trends for Database-as-a-ServiceWebinar: Enterprise Trends for Database-as-a-Service
Webinar: Enterprise Trends for Database-as-a-Service
 
Many Clouds, Many Choices (Oracle)
Many Clouds, Many Choices (Oracle) Many Clouds, Many Choices (Oracle)
Many Clouds, Many Choices (Oracle)
 
The Oracle Cloud for Newbies
The Oracle Cloud for NewbiesThe Oracle Cloud for Newbies
The Oracle Cloud for Newbies
 
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA -   UKOUGEmbracing Database Diversity: The New Oracle / MySQL DBA -   UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
Cloud based database
Cloud based databaseCloud based database
Cloud based database
 

Kürzlich hochgeladen

Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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 MenDelhi Call girls
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Kürzlich hochgeladen (20)

Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

Oracle ADF Architecture TV - Design - MDS Infrastructure Decisions

  • 1. 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 2. 2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Real World ADF Design & Architecture Principles MDS Infrastructure Decisions ORACLE PRODUCT LOGO 15th Feb 2013 v1.0
  • 3. 3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Learning Objectives •  At the end of this module you should be able to: –  Identify the server infrastructure for your application MDS requirements –  Understand the MDS runtime architecture –  Identify the number of MDS repositories to create Image: imagerymajestic/ FreeDigitalPhotos.net
  • 4. 4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Program Agenda •  MDS Repository •  MDS Runtime Architecture •  Deployment & Performance •  How Many MDS Repositories Do You Need?
  • 5. 5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Oracle Metadata Service Repository •  File based or database based •  Contains metadata (data about data) for Oracle Fusion Middleware components, like –  Oracle BPEL Process Manager –  Oracle WebCenter –  Oracle Business Activity Monitoring –  Oracle Event Processing etc. •  Contains information about your ADF application metadata
  • 6. 6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Oracle Metadata Service Repository •  Use Oracle Fusion Middleware Metadata Repository Creation Utility (RCU) to create the metadata repository in an existing database •  A database can have multiple repositories installed •  A WLS domain can use multiple MDS installations •  For better performance, install metadata repositories on same site as customizable components –  Keep network latency small Database Repository
  • 7. 7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Database Repository Benefits •  Better query performance •  A database-based MDS Repository uses the database transaction semantics, to roll back any failed import or deployment •  Maintains versions of the documents in a database-based repository –  Changes to metadata objects can be stored as separate version Provides version history and label
  • 8. 8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Structure •  Independent logical repository within MDS repository •  MDS repository can have multiple partitions •  Can be associated with more than one application –  Recommendation though is to use 1 partition for 1 application for ease of administration and maintenance •  Can be deleted, cloned, imported and exported to move metadata from one environment to another Partition
  • 9. 9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Program Agenda •  MDS Repository •  MDS Runtime Architecture •  Deployment & Performance •  How Many MDS Repositories Do You Need?
  • 10. 10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Runtime Architecture •  Consists of MDS runtime engine and a set of Mbeans –  Applied to domain as part of the Java Runtime Files (JRF) template •  Runtime engine –  Manages MDS Repository access and the import of Metadata Archive (MAR) files contained in an EAR file –  Provides in-built runtime cache for application specific metadata objects
  • 11. 11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Runtime Architecture •  MBeans are provided for WebLogic Sever Scripting Tool (WLST) and Enterprise Manager to –  Clear cache –  Import and export application specific customizations –  Manages • The built-in meta object cache –  Cache size, purge interval, external change detection • Repository connection retry •  WLS MBeans are not the same as JSF Managed Beans
  • 12. 12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Runtime Architecture WLS Admin Server Managed WLS Server Custom ADF Application MDS Runtime MDS Repository (RDBMS) Enterprise Manager Fusion Middleware Control MDS Administration MBean WLST MDS App MBean Import/ Export De- / Register Repositories Repository Access MAR Import
  • 13. 13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Program Agenda •  MDS Repository •  MDS Runtime Architecture •  Deployment & Performance •  How Many MDS Repositories Do You Need?
  • 14. 14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ADF Application Deployment Considerations •  MDS personalization and customization for ADF applications is enabled at development time –  Configuration in adf-config.xml •  MDS enabled ADF applications must be explicitly associated with a specific MDS repository and partition –  JDeveloper –  MDS WLST commands –  Enterprise Manager Deployment Wizard •  Seeded customization require application EAR file to contain special MAR file
  • 15. 15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Metadata Cache •  MDS uses a cache to store metadata objects in memory •  Shared cache is accessible to all users of the application that are on the same JVM •  Metadata object that are requested repeatedly, with the same customizations, are retrieved more quickly from the cache •  Initial cache size can be configured in adf-config.xml prior deployment
  • 16. 16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Performance Tuning Hints •  Tuning Database Repository –  For MDS database indexes to work best RDBMS schema statistics are needed –  Generally, larger redo log files provide better performance –  Have database administrators manually rebuild indexes and shrink MDS tables to increase performance and to reclaim disk space –  See: Oracle Database Performance Tuning Guide •  Purging Document Version History –  Choose a sensible auto purge frequency –  Setting in adf-config.xml that can be changed at runtime
  • 17. 17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Performance Tuning Hints •  Using Database Polling Interval for Change Detection –  MDS poll the database to gauge if the data in the MDS cache is out of sync with data in the database –  If it is out of sync, MDS clears any invalid data from the cache for subsequent operations –  Default poll interval is 30 seconds. Try to find the best setting for your deployment –  Polling interval can be configured or changed post deployment through Mbeans or, before deployment, in the adf-config.xml file
  • 18. 18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Program Agenda •  MDS Repository •  MDS Runtime Architecture •  Deployment & Performance •  How Many MDS Repositories Do You Need?
  • 19. 19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. How many MDS repositories and partitions do we need and what should they contain? Image: imagerymajestic/ FreeDigitalPhotos.net
  • 20. 20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. There is no hard rule, but there is a strategy to share Image: Ambro/ FreeDigitalPhotos.net
  • 21. 21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Repository Infrastructure Consideration •  Define a MDS repository infrastructure that guarantees ease of administration, ease of configuration and best performance –  Many small repositories vs. one monolithic repository –  Infrastructure cost vs. cost of administration for large repository •  Plan for application versioning –  You may have the requirement to run two versions of an application in parallel –  ISVs may sell and maintain different versions of your product
  • 22. 22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Repository Infrastructure Consideration •  Consider different Fusion Middleware releases and patch sets –  Application may not be able to migrate to a new FMW patch set or release with all FMW components at once •  Consider repository version de-commission –  You should be able to easily get rid of metadata of application and FMW versions that are no longer in use •  Ensure the production environment is secure
  • 23. 23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Repository Recommendation •  Use database repositories –  Exception: When developing seeded customization in JDeveloper, development uses a file based repository •  Use different repositories for Dev, QA and Prod •  Use partitions for application versions –  fod-v1-dev, fod-v1-test, fod-v1-prod –  fod-v2-dev, fod-v2-test, fod-v2-prod •  Create distinct repositories for FMW components
  • 24. 24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MDS Repository Strategy and Blueprint •  "APPLICATION MDS REPOSITORIES" - SOA - WebCenter - Application - etc. •  "APPLICATION MDS INFRASTRUCTURE" –  Instances of " APPLICATION MDS REPOSITORIES " for Dev, Test, Production •  Duplicate APPLICATION MDS INFRASTRUCTURE for each FMW version or patch set
  • 25. 25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Conclusion •  Customization and Personalization should be considered as part of the application design to avoid unnecessary coding •  Consider performance aspects when applying customizations and personalization features •  Customization may be used to enforce security. If you do so –  Ensure application is save when MDS repository content is missing –  Implement defense in depth in that you backup MDS security definitions in the application •  Consider a deployment strategy that allows you to upgrade applications and FMW components
  • 26. 26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Further Reading •  Oracle Fusion Middleware WebLogic Scripting Tool Command Reference –  http://docs.oracle.com/cd/E12839_01/web.1111/e13813/custom_mds.htm •  Oracle Fusion Middleware Administrator's Guide –  http://docs.oracle.com/cd/E17904_01/core.1111/e10105/repos.htm
  • 27. 27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.