How to Handle DEV&TEST&PROD for Oracle Data IntegratorGurcan OrhanMost of us have development teams apart from test and operation teams using the different repository environments. And there are generally 3 different ODI installations and repositories which each of the teams use separately. Chaos is usually expected and happened who will test which development and what to deploy into production.
In this session hear how ODI can handle your development hierarchy with ease of usage and in simplified/synchronized way for successful deployments.
A simple project will be built up and will be enlarged to enterprise level step by step.
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Osama MustafaThe document provides step-by-step instructions to install Oracle Grid Infrastructure 11g Release 2 (11.2.0.3) on Solaris 11.1. It describes preparing the OS by creating users, groups and directories. It also covers configuring networking, disks and memory parameters. The main steps are: installing Grid software and configuring ASM, followed by installing the Oracle Database and configuring it on the RAC nodes using dbca. Setting up SSH access between nodes and troubleshooting installation errors are also addressed. The goal is to build a fully configured two-node Oracle RAC environment with ASM and single sign-on capabilities.
Improve PostgreSQL replication with Oracle GoldenGateBobby CurtisThis document discusses using Oracle GoldenGate 19c to improve PostgreSQL replication. It provides an overview of RheoData, a global systems integrator, and then details the steps to configure GoldenGate for PostgreSQL replication, including prerequisites, installation, registering an extract, adding transaction data, adding an extract and replicat, and monitoring replication slots and statistics. It also covers using GoldenGate for on-premises to cloud replication with a remote apply to an AWS RDS PostgreSQL database.
Identity management and single sign on - how much flexibilityRyan Dawsonhttps://skillsmatter.com/skillscasts/13120-identity-management-and-single-sign-on-how-much-flexibility
Oracle RAD stack REST, APEX, DatabaseMichael HichwaThe document introduces Oracle's RAD (Rapid Application Development) Stack, which provides a full-stack solution for developing data-driven business applications. The RAD Stack consists of Oracle REST Data Services (ORDS) for building REST APIs, APEX for low-code application development, and Oracle Database for data storage and SQL. It notes the benefits of the stack being easy to use, robust, fully supported by Oracle, and allowing both simple and sophisticated applications to be built.
Data guard architectureVimlendu Kumar- Oracle Data Guard is a data protection and disaster recovery solution that maintains up to 9 synchronized standby databases to protect enterprise data from failures, disasters, errors, and corruptions.
- Data Guard uses redo apply and SQL apply technologies to synchronize primary and standby databases by transmitting redo logs from the primary and applying the redo logs on the standby databases.
- Data Guard allows role transitions like switchovers and failovers between primary and standby databases to minimize downtime during planned and unplanned outages.
Oracle LOB Internals and Performance TuningTanel PoderThe document discusses a presentation on tuning Oracle LOBs (Large Objects). It covers LOB architecture including inline vs out-of-line storage, LOB locators, inodes, indexes and segments. The presentation agenda includes introduction, storing large content, LOB internals, physical storage planning, caching tuning, loading LOBs, development strategies and temporary LOBs. Examples are provided to illustrate LOB structures like locators, inodes and indexes.
WebLogic Stability; Detect and Analyse Stuck ThreadsMaarten SmeetsStuck threads are a major cause for stability issues of WebLogic Server environments. Often people in operations and development who are confronted with stuck threads, are at a loss what to do. In this presentation we will talk about what stuck threads actually are and how you can detect them. We will elaborate on how you can get to the root cause of a stuck thread and which tools can help you with that. In order to reduce the impact of having stuck threads in an application, we will talk about using workmanagers. In order to prevent stuck threads we will illustrate several patterns which can be implemented in infrastructure and applications. Next time you see a stuck thread, you will know what to do!
HA Deployment Architecture with HAProxy and KeepalivedGanapathi KandaswamyHappy to share the presentation that I gave to my staff. This presentation covers configuration of Keepalived and HAProxy.
Presentasi VirtualBoxIlyas JaelaniDokumen tersebut membahas tentang presentasi mengenai virtualisasi menggunakan Oracle VM VirtualBox, meliputi pengertian, sejarah, spesifikasi minimum, sistem operasi yang didukung, cara instalasi, dan cara membuat virtual machine.
Building a Data Pipeline using Apache Airflow (on AWS / GCP)Yohei OnishiThis is the slide I presented at PyCon SG 2019. I talked about overview of Airflow and how we can use Airflow and the other data engineering services on AWS and GCP to build data pipelines.
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTanel PoderFrom Tanel Poder's Troubleshooting Complex Performance Issues series - an example of Oracle SEG$ internal segment contention due to some direct path insert activity.
A Hands-On Introduction To Docker Containers.pdfEdith PucllaThis document provides a hands-on introduction to Docker containers. It discusses what Docker is, how it solves the "it works on my machine" problem by allowing applications to run the same in any Docker environment. It then covers how to install Docker, basic Docker components like Dockerfile, image and container. It demonstrates basic Docker commands and discusses what's new with Docker like extensions and WebAssembly support. Finally it promotes getting involved in the Docker community.
Oracle DB 19c: SQL Tuning Using SPMArturo ArandaThis presentation discusses SQL plan management (SPM) and SQL quarantine features in Oracle Database 19c. SPM allows the cost-based optimizer to use optimal execution plans and prevent performance regression. SQL quarantine complements SPM by preventing SQL statements from repeatedly using bad execution plans. The presentation covers how SPM and SQL quarantine work, how to configure them, and reasons why SPM may not be used for a SQL statement. It also discusses other plan stability methods like stored outlines, optimizer hints, and SQL profiles.
What is Puppet | Puppet Tutorial for Beginners | Puppet Configuration Managem...Edureka!This document discusses configuration management and the Puppet configuration management tool. It begins by explaining the problems that arise without configuration management, such as difficulty rolling back software changes and inconsistencies between environments. It then defines configuration management as systematically handling changes to maintain system integrity over time. The document introduces Puppet, describing its master-slave architecture where configurations are pulled from the master node by agent nodes. It provides an example of using Puppet to deploy MySQL and PHP across multiple servers. Key Puppet concepts discussed include resources, classes, manifests, and modules used to define and apply configurations.
How to migrate from Alfresco Search Services to Alfresco SearchEnterpriseAngel Borroy LópezPresentation on how to move from the Alfresco Search Services product based in Apache Solr to the new Alfresco Search Enterprise integrated with Elasticsearch and Amazon Opensearch.
Securefile LOBsMartin BergerSecureFile LOBs provide efficient, secure storage of large objects like multimedia files in Oracle databases. They allow features like deduplication, encryption, and compression. A SecureFile LOB stores data in chunks within a LOB segment. The database manages read consistency using persistent undo instead of transaction rollback. DBAs can use the DBMS_SPACE and DBMS_LOBUTIL packages to view SecureFile LOB space usage and chunk mappings.
AirflowJitheeshaThankachanAirflow is an open-source workflow management platform that uses Python scripts to schedule and run jobs based on business requirements. It uses a directed acyclic graph (DAG) to design workflows, where tasks can be completed independently. Each DAG runs on a schedule and jobs run from left to right in the workflow. Airflow has various built-in operators like TimeDeltaSensor, EmailOperator, and PythonOperator that allow tasks to perform specific operations.
Docker Best Practices WorkshopAhmed AbouZaidA hands-on workshop that covers 18 best practices in 4 categories or in other words ✅️ Dos & Don'ts.
After a general introduction, we will have a look at the essential practices (aka must do), then move to the image practices, then we will go through the security practices, and finally, some general practices.
Please note, this workshop assumes that you have a basic knowledge of Docker.
Hands-on repo:
https://github.com/aabouzaid/docker-best-practices-workshop
Getting the most out of your Oracle 12.2 Optimizer (i.e. The Brain)SolarWindsThe Oracle Optimizer is the main brain behind an Oracle database, especially since it’s required in processing every SQL statement. The optimizer determines the most efficient execution plan based on the structure of the given query, the statistics available on the underlying objects as well as using all pertinent optimizer features available. In this presentation, we will introduce all of the new optimizer / statistics-related features in Oracle 12.2 release.
Reporting with Oracle Application Express (APEX)Dimitri GielisThis presentation covers the different options you have to produce reports in Oracle Application Express (APEX). I cover Classic Reports, Interactive Reports and Grids, PL/SQL and exporting and printing your data with APEX Office Print (AOP).
Oracle database 12c intropasalapudiOracle Database 12c introduces several new features including pluggable databases (PDB) that allow multiple isolated databases to be consolidated within a single container database (CDB). It also introduces new administrative privileges (SYSBACKUP, SYSDG, SYSKM) and features such as transparent data encryption, invisible columns, object tables, and enhancements to RMAN and SQL.
Oracle Application Express 20.2 New FeaturesmsewtzThis document provides a summary of new features in Oracle APEX 20.2, including:
- Enhancements to Faceted Search such as conditional facets, compact count displays, and visualization of facet values.
- Improved report printing capabilities including built-in PDF printing support for additional languages and export data functionality.
- New automation capabilities to trigger conditional actions based on database or remote data source changes.
- A new Cards region for presenting varied information in small blocks, enhanced REST data source functionality, and updated developer tools.
Performance Stability, Tips and Tricks and UnderscoresJitendra SinghThis document provides an overview of upgrading to Oracle Database 19c and ensuring performance stability after the upgrade. It discusses gathering statistics before the upgrade to speed up the process, using AutoUpgrade for upgrades, and various testing tools like AWR Diff Reports and SQL Performance Analyzer to check for performance regressions after the upgrade. Maintaining good statistics and thoroughly testing upgrades are emphasized as best practices for a successful upgrade.
GoldenGate and ODI - A Perfect Match for Real-Time Data WarehousingMichael RaineyOracle Data Integrator and Oracle GoldenGate excel as standalone products, but paired together they are the perfect match for real-time data warehousing. Following Oracle’s Next Generation Reference Data Warehouse Architecture, this discussion will provide best practices on how to configure, implement, and process data in real-time using ODI and GoldenGate. Attendees will see common real-time challenges solved, including parent-child relationships within micro-batch ETL.
Presented at RMOUG Training Days 2013 & KScope13.
Whats new in Autonomous Database in 2022Sandesh RaoThis session covers the new features and happenings in the autonomous database world and will help answer more questions DBAs and Developers will have on the Autonomous Database, from provisioning to backups, troubleshooting, tips and tricks, security and HA. This is a good introduction for on-prem DBAs who want to learn how this works quickly without spending too much time on it. Questions like what does the free tier cover, how do I do backup or if it's automated, how do I manage it, how to scale up and down, how to secure their environment, how to use mtls, how to use tools like SQLDeveloper and SQLModeler, performance tuning all in a quick 45-minute session which might take weeks to pick up reading documentation or spanning several presentations
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionMarkus MichalewiczWith the Oracle Multitenant option of Oracle Database 12c, the services of individual pluggable databases (PDBs) can be opened selectively on specified nodes of an Oracle Real Application Clusters (Oracle RAC) cluster. A true symbiotic relationship: the Oracle Multitenant option makes Oracle RAC better, and Oracle RAC makes the Oracle Multitenant option better! UPDATE for IOUG 2014.
HA Deployment Architecture with HAProxy and KeepalivedGanapathi KandaswamyHappy to share the presentation that I gave to my staff. This presentation covers configuration of Keepalived and HAProxy.
Presentasi VirtualBoxIlyas JaelaniDokumen tersebut membahas tentang presentasi mengenai virtualisasi menggunakan Oracle VM VirtualBox, meliputi pengertian, sejarah, spesifikasi minimum, sistem operasi yang didukung, cara instalasi, dan cara membuat virtual machine.
Building a Data Pipeline using Apache Airflow (on AWS / GCP)Yohei OnishiThis is the slide I presented at PyCon SG 2019. I talked about overview of Airflow and how we can use Airflow and the other data engineering services on AWS and GCP to build data pipelines.
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTanel PoderFrom Tanel Poder's Troubleshooting Complex Performance Issues series - an example of Oracle SEG$ internal segment contention due to some direct path insert activity.
A Hands-On Introduction To Docker Containers.pdfEdith PucllaThis document provides a hands-on introduction to Docker containers. It discusses what Docker is, how it solves the "it works on my machine" problem by allowing applications to run the same in any Docker environment. It then covers how to install Docker, basic Docker components like Dockerfile, image and container. It demonstrates basic Docker commands and discusses what's new with Docker like extensions and WebAssembly support. Finally it promotes getting involved in the Docker community.
Oracle DB 19c: SQL Tuning Using SPMArturo ArandaThis presentation discusses SQL plan management (SPM) and SQL quarantine features in Oracle Database 19c. SPM allows the cost-based optimizer to use optimal execution plans and prevent performance regression. SQL quarantine complements SPM by preventing SQL statements from repeatedly using bad execution plans. The presentation covers how SPM and SQL quarantine work, how to configure them, and reasons why SPM may not be used for a SQL statement. It also discusses other plan stability methods like stored outlines, optimizer hints, and SQL profiles.
What is Puppet | Puppet Tutorial for Beginners | Puppet Configuration Managem...Edureka!This document discusses configuration management and the Puppet configuration management tool. It begins by explaining the problems that arise without configuration management, such as difficulty rolling back software changes and inconsistencies between environments. It then defines configuration management as systematically handling changes to maintain system integrity over time. The document introduces Puppet, describing its master-slave architecture where configurations are pulled from the master node by agent nodes. It provides an example of using Puppet to deploy MySQL and PHP across multiple servers. Key Puppet concepts discussed include resources, classes, manifests, and modules used to define and apply configurations.
How to migrate from Alfresco Search Services to Alfresco SearchEnterpriseAngel Borroy LópezPresentation on how to move from the Alfresco Search Services product based in Apache Solr to the new Alfresco Search Enterprise integrated with Elasticsearch and Amazon Opensearch.
Securefile LOBsMartin BergerSecureFile LOBs provide efficient, secure storage of large objects like multimedia files in Oracle databases. They allow features like deduplication, encryption, and compression. A SecureFile LOB stores data in chunks within a LOB segment. The database manages read consistency using persistent undo instead of transaction rollback. DBAs can use the DBMS_SPACE and DBMS_LOBUTIL packages to view SecureFile LOB space usage and chunk mappings.
AirflowJitheeshaThankachanAirflow is an open-source workflow management platform that uses Python scripts to schedule and run jobs based on business requirements. It uses a directed acyclic graph (DAG) to design workflows, where tasks can be completed independently. Each DAG runs on a schedule and jobs run from left to right in the workflow. Airflow has various built-in operators like TimeDeltaSensor, EmailOperator, and PythonOperator that allow tasks to perform specific operations.
Docker Best Practices WorkshopAhmed AbouZaidA hands-on workshop that covers 18 best practices in 4 categories or in other words ✅️ Dos & Don'ts.
After a general introduction, we will have a look at the essential practices (aka must do), then move to the image practices, then we will go through the security practices, and finally, some general practices.
Please note, this workshop assumes that you have a basic knowledge of Docker.
Hands-on repo:
https://github.com/aabouzaid/docker-best-practices-workshop
Getting the most out of your Oracle 12.2 Optimizer (i.e. The Brain)SolarWindsThe Oracle Optimizer is the main brain behind an Oracle database, especially since it’s required in processing every SQL statement. The optimizer determines the most efficient execution plan based on the structure of the given query, the statistics available on the underlying objects as well as using all pertinent optimizer features available. In this presentation, we will introduce all of the new optimizer / statistics-related features in Oracle 12.2 release.
Reporting with Oracle Application Express (APEX)Dimitri GielisThis presentation covers the different options you have to produce reports in Oracle Application Express (APEX). I cover Classic Reports, Interactive Reports and Grids, PL/SQL and exporting and printing your data with APEX Office Print (AOP).
Oracle database 12c intropasalapudiOracle Database 12c introduces several new features including pluggable databases (PDB) that allow multiple isolated databases to be consolidated within a single container database (CDB). It also introduces new administrative privileges (SYSBACKUP, SYSDG, SYSKM) and features such as transparent data encryption, invisible columns, object tables, and enhancements to RMAN and SQL.
Oracle Application Express 20.2 New FeaturesmsewtzThis document provides a summary of new features in Oracle APEX 20.2, including:
- Enhancements to Faceted Search such as conditional facets, compact count displays, and visualization of facet values.
- Improved report printing capabilities including built-in PDF printing support for additional languages and export data functionality.
- New automation capabilities to trigger conditional actions based on database or remote data source changes.
- A new Cards region for presenting varied information in small blocks, enhanced REST data source functionality, and updated developer tools.
Performance Stability, Tips and Tricks and UnderscoresJitendra SinghThis document provides an overview of upgrading to Oracle Database 19c and ensuring performance stability after the upgrade. It discusses gathering statistics before the upgrade to speed up the process, using AutoUpgrade for upgrades, and various testing tools like AWR Diff Reports and SQL Performance Analyzer to check for performance regressions after the upgrade. Maintaining good statistics and thoroughly testing upgrades are emphasized as best practices for a successful upgrade.
GoldenGate and ODI - A Perfect Match for Real-Time Data WarehousingMichael RaineyOracle Data Integrator and Oracle GoldenGate excel as standalone products, but paired together they are the perfect match for real-time data warehousing. Following Oracle’s Next Generation Reference Data Warehouse Architecture, this discussion will provide best practices on how to configure, implement, and process data in real-time using ODI and GoldenGate. Attendees will see common real-time challenges solved, including parent-child relationships within micro-batch ETL.
Presented at RMOUG Training Days 2013 & KScope13.
Whats new in Autonomous Database in 2022Sandesh RaoThis session covers the new features and happenings in the autonomous database world and will help answer more questions DBAs and Developers will have on the Autonomous Database, from provisioning to backups, troubleshooting, tips and tricks, security and HA. This is a good introduction for on-prem DBAs who want to learn how this works quickly without spending too much time on it. Questions like what does the free tier cover, how do I do backup or if it's automated, how do I manage it, how to scale up and down, how to secure their environment, how to use mtls, how to use tools like SQLDeveloper and SQLModeler, performance tuning all in a quick 45-minute session which might take weeks to pick up reading documentation or spanning several presentations
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionMarkus MichalewiczWith the Oracle Multitenant option of Oracle Database 12c, the services of individual pluggable databases (PDBs) can be opened selectively on specified nodes of an Oracle Real Application Clusters (Oracle RAC) cluster. A true symbiotic relationship: the Oracle Multitenant option makes Oracle RAC better, and Oracle RAC makes the Oracle Multitenant option better! UPDATE for IOUG 2014.
Expert one-on-one Oracle / Redo ve RollbackCansu ArslanTom Kyte tarafından yazılan kitabın Chapter5 Redo and Rollback bölümünün Türkçe sunumunu hazırlayarak, stajyer arkadaşlarımın anlamalarına destek oldum.
Uploading certificate with oracle wallet manager and orapki utilitiesÖzgür Umut VurgunThis document provides step-by-step instructions for uploading SSL certificates to an Oracle wallet using Oracle Wallet Manager (OWM) and orapki utilities. It explains how to create and manage wallets, import certificates, define access control lists (ACLs) to grant users access to web services, and call web services securely using UTL_HTTP and stored procedures. The goal is to help database administrators connect to web services over HTTPS and retrieve data from Oracle databases.
Oracle Cloud As ServicesÖzgür Umut VurgunThe document summarizes Oracle Cloud services including Platform as a Service (PaaS), Infrastructure as a Service (IaaS), and Software as a Service (SaaS). It provides an overview of Oracle database, middleware, and engineered systems available on Oracle Cloud. It also discusses how to create a database on Oracle Cloud using REST APIs and cURL, and how to perform RMAN backups to Oracle Cloud Storage. Finally, it covers connecting to databases on Oracle Cloud using Enterprise Manager and SQL Developer.
Oracle12c Pluggable Database Hands On - TROUG 2014Özgür Umut VurgunThe document provides an agenda and overview for a hands-on workshop on Oracle 12c pluggable databases. The agenda includes topics on Oracle history, container databases, pluggable databases, new users and privileges in Oracle 12c, and several hands-on labs for activities like dropping/unplugging pluggable databases, plugging/cloning pluggable databases from remote container databases using database links, and moving a non-container database to a container database using Data Pump transportable export/import. ݺߣs accompany the topics and provide additional technical details on concepts like container databases, pluggable databases, and the new user and role architecture in Oracle 12c.
1. Yeni Başlayanlar İçin Oracle 12c
Her ne kadar yayınlanma süresi üzerinden epey bir zaman geçmiş olsa da Oracle 12c olarak
kullanımında olan sistem sayısı pek fazla değildir. Bunun sebebi olarak alışkanlıklar, işleyen sistemde
yeni bir yapıya geçmeme isteği, mali konular vb… sebepler olsa da Oracle12c biz veritabanı yöneticileri
için gelen yeni özellikler ile kullanıma hazır bir şekilde bizleri beklemektedir.
Bu yazıda yeni başlayanlar için Oracle 12c hakkında temel bilgiler ve ufak örneklerle kafalarındaki soru
işaretlerine ışık tutmaya çalışacağım.
Oracle 12c Nedir ?
Oracle’ın bu zamana kadar olan gelişim hikayesinide Oracle 9i ile gelen RAC özelliğini kendimize
başlangıç noktası olarak alabiliriz. Sonrasın 10g ile gelen Grid Computing ile bize farklı noktalardaki
hardware ve storage’leri kullanarak düşük maliyet hedeflenmesi ve 11g ile bu özelliklerin yönetim
kısmında yapılan değişiklikleriyle veritabanı yöneticilerinin elinibiraz daha rahatladı. Ancak Oracle 12c
ile Cloud yapısına geçerek hem mimari hem de mantıksal olarak yeni bir ürün olarak karşımıza çıktı.
Artık karşımızda tek instance üzerinde birden fazla veritabanı yönetebildiğimiz ve bunları rahatlıkla
taşıyabildiğimiz bir yapı sunuldu.
Bu yapının içinde bize yabancı farklı kavramlarda yer aldı. Bunları inceleyecek olursak ;
CDB : Container Veritabanı (Super Database). Sistemin çalışmasında en altta yer alan ana veri tabanı
olarak nitelendirebiliriz.
PDB : Pluggable Veritabanı (Sub Database). Sistemde üzerinde günlük OLTP olarak canlı veya standby
olarak kullandığımız veritabanları. Taşınabilir özelliğine sahiptir.
Oracle white paperlarda bu kavramları anlatırken birden fazla veritabanının tek bir super database
(multitenant container database) içinde yer alması olarak tanımlamakta.
NON-PDB : Oracle 12c içinde taşınabilir özellikte olmayan veri tabanlarıdır.
PDB$SEED : Container Veritabanı üzerinde Pluggable Veritabanlarının kurulum aşamasında şablon
olarak kullanılan yapıdır.
Container Database :
Super Database olarak adlandırdığımız ve içinde farklı veritabanlarını barındıran sistemdir. İlk bakışta
bakacağımız temel farklılıklar aşağıdaki gibidir.
• ROOT yapısı altında ‘Oracle System Metada’ ve işlemlerinin yapıldığı alandır.
• ‘Common Users’ yani kullnıcı yönetiminin yapıldığı alandır.
• Instance mantığında memory ve proses yönetiminin yapıldığı alandır.
• 1’den 255’ e kadar olan PDB’leri tutabileceğimiz Ana veritabanımızdır.
• PDB’ler üzerinde yönetimi sağlayacak ve hakları verebileceğimiz alandır.
2. CDB$ROOT / Root Dosyaları
Oracle Container yapının altında CDB$ROOT olarak adlandırılan ve içinde veritabanı dosyalarının yer
aldığı bir yapı mevcuttur.
Buradaki en büyük yenilikler ise ;
- Oracle 12c’de mevcut PDB’lerin ortak CF ve REDOLOGları kullanmasıdır.
- Bu alan içinde Flashback Logs , Archive Log yer almaktadır.
- Pluggable veritabanlarına ait System, SYSAUX, Users, Tempfiles, Undo yer almaktadır.
Pluggable Database (PDB)
Oracle 12c ile gelen yapı değişikliğinin en temel taşıdır diyebiliriz. Artık veri tabanlarımızı başka bir
yapıya rahatlıkla taşıyabilir, isteğimiz gibi sayısını arttırabiliriz. Bu yapıya ait olan ve yönetiminde olan
bileşenler şöyledir.
- Uygulamaya ait ve TEMP (sadece kendi içinde kullanmak için) Tablespaceleri
- PDB kullanıcılar ve hakları
- PDB Sistem Metadatası
- Çalışan uygulamanın verileri
- Resource Plan
Kullanıcılar ve Roller
SYSTEM SYSAUX
Users
Temp
OBJ$
Resource
PlanLocal
Privilege
Common
Local
Common
Users
Local
Users
3. Oracle 12c’ye ait olan kullanıcıları ve bu kullanıcılara ait hakları Container veritabanı ve Pluggable
veritabanı olarak ayrı ayrı incelemeliyiz.
- Container Veritabanı :
Yazının başında da yer aldığı üzere sistemin temelinde yer alan bu yapı diğer veri tabanlarındaki
kullanıcı ve haklarını düzenlemekle de yetkilidir. Bu yapıdaki kullanıcılar “Common Users” olarak
geçmektedir. Bu kullanıcıların özelliklerini inceleyecek olursak ;
Kullanıcılar Root Container’dan yönetilir
Her kullanıcı C## ön adıyla başlamak zorundadır.
Container üzerindeki her kullanıcı Pluggable içinde geçerlidir.
Tekil kullanıcılardır.
Komut satırında kullanıcı oluştururken CONTAINER=ALL parametresi ile yetkilendirme
yapabiliriz.
Container veri tabanı üzerinde bulunan roller ise “Common Role” olarak adlandırılmaktadır. Bu yapıyı
incelersek;
Root Container’dan yönetilir
CREATE ROLE – SET CONTAINER parameteleri kullanılır
C## ön adıyla başlamak zorundadır.
- Pluggable Veritabanı :
Bu yapıyı Oracle 12c öncesinde yer alan veritabanı mantığı olarak düşünebiliriz. Kullanıcılarımız da bu
mantıkda sadece kullanıldığı veritabanı üzerinde yetkilendirilip oluşturulabilir. Temel olarak
özelliklerini inceleyecek olursak;
Pre – Oracle 12c
Pluggable kullanıcısıdır
Aynı isimde farklı Pluggable veri tabanları üzerinde olabilir.
Pluggable veri tabanı üzerinde bulunan roller ise “Local Role” olarak adlandırılmaktadır. Bu yapıyı
incelersek;
Pluggable veri tabanından yönetilir.
CREATE ROLE syntax’ı kullanırız
Oluşturulduğu Pluggable veri tabanı üzerinde geçerlidir.
4. Yukarıdaki akışı izleyecek olursak kullanıcılar konusu hakkında bizlere açıklayıcı olacaktır. Şeklin sol
tarafında yer alan SYS ve C##DBA kullanıcılarımız CDB$ROOT üzerinden yönetilmekte olup Container
yapı üzerinde yer alan bütün Pluggable veritabanlarında işlem yapabilmektedir. Diğer taraftan
Container üzerinde bulunan pdbtst1 ve pdbts2 Pluggable veritabanları kendi içerisinde HR ve NAT
kullanıcıları bulundurmaktadır. Ancak aynı isimde olan kullanıcılar sadece kendi veri tabanlarında işlem
yapabilmektedir.
Komut satırında kullanıcı oluşturma ve haklarını inceleyecek olursak ;
Create user c##dba identified by test1 container=ALL;
Grant create session to c##dba container=ALL;
Grant select any table to c##dba container=ALL;
Pluggable veri tabanlarına bağlanırken kullanım aşağıdaki gibidir;
sqlplus sys/**@pdbtst1 as sysdba;
sqlplus sys/**@pdbtst2 as sysdba;
Pluggable Veritabanı Oluşturma
Sistemde kullanacağımız Pluggable veritabnalarını Container yapısı üzerinde oluşturalım. Bu oluşturma
işleminde farklı yöntemlerle Pluggable veri tabanı oluşturabiliriz. İşlemlerin öncesinde ;
- CBD$ROOT’da olmamız gerektiğinden nerede olduğumuzu kontrol edelim
SQL> show con_name
CON_NAME
CDB$ROOT
- v$database’i de sorgulayarak açılış modumuzu görelim.
NOT: CDB her zaman READ-WRITE modda olur PDB$SEED her zaman READ ONLY modda yer alır.
1. FILE_NAME_CONVERT olmadan PDB oluşturma
Bu yöntemde mevcuttaki şablona ait olarak Container veri tabanının kendi içinde oluşturacağı dizin
yapısı kullanılarak gerekli oluşturma yapılır.
CREATE PLUGGABLE DATABASE PDBTST1 ADMIN USER PDBTST1_ADMIN IDENTIFIED BY
oracle ROLES = (connect,resource);
*** Bu konutun öncesinde bağlandığımız session için pdb_file_name_convert parametresini set
ederiz.
alter session set pdb_file_name_convert='pdb',' PDBTST1';
NOT: Create komutu sonrasında alert.log’da şöyle bir bilgi görünecektir. Unusable ve NEW modunda
oluşturulmuştur.
5. 2. FILE_NAME_CONVERT ile PDB oluşturma
Oluşturacağımız veritabanını FILE_NAME_CONVERT parametresini kullanarak kendi belirleyeceğimiz
dizin içinde oluşturma imkanı sağlayacaktır.
CREATE PLUGGABLE DATABASE PDBTST1
ADMIN USER PDBTST1_ADMIN IDENTIFIED BY oracle
FILE_NAME_CONVERT = ('/disk2/app/oracle/oradata/orcl/pdbseed','/disk2/dbf');
Son olarak Container veri tabanı üzerinde bulunan Pluggable veri tabanlarının durumuna bakalım.
SQL> SELECT name,open_mode FROM v$pdbs;
NAME OPEN_MODE
PDB$SEED READ ONLY
PDBTST1 NEW
Veritabanı Açılış – Kapanış Modları
Oracle 12c ile veri tabanlarının yönetimsel olarak farklılıklarından da bir tanesi de veri tabanı açma
kapama işlemlerindedir. Temel olarak Container veri tabanında diğer Pluggable veri tabanlarına ait
açma kapama işlemlerini de yapabiliriz. Bu modları inceleyecek olursak ;
- Veri Tabanı Açma İşlemleri
Container Veri tabanı üzerinde aşağıdaki komutlarla bir veya birden fazla veri tabanını açabiliriz.
ALTER PLUGGABLE DATABASE pdbtst1 OPEN;
ALTER PLUGGABLE DATABASE ALL OPEN;
Açılan veri tabanlarının kontrolü için ;
SQL> SELECT name,open_mode FROM v$pdbs;
NAME OPEN_MODE
PDB$SEED READ ONLY
PDBORCL READ WRITE
PDBTST1 READ WRITE
6. Container veri tabanını açmak istediğimizde ise normal bir veri tabanında yaptığımız komutlar yeterli
olacaktır;
SQL> ALTER DATABASE OPEN;
SQL> STARTUP
- MOUNT – SHUTDOWN İşlemleri
Açma işlemlerinin mantığı kapatma işlemlerinde de geçerlidir. Container veri tabanları için ise normal
bir veri tabanında yaptığımız komutlar kullanılabilir.
SQL> ALTER DATABASE MOUNT;
SQL> STARTUP MOUNT
Kapatma işleminde açma işleminde olduğu gibi Container veri tabanında da aynı mantık geçerlidir.
Kısacası Container üzerinde işlemler yapabiliriz.
ALTER PLUGGABLE DATABASE pdb1 CLOSE IMMEDIATE;
ALTER PLUGGABLE DATABASE ALL EXCEPT pdb1 CLOSE;
ALTER PLUGGABLE DATABASE ALL CLOSE;
ALTER PLUGGABLE DATABASE CLOSE;
SHUTDOWN IMMEDIATE ;
Son olarak yine Container üzerinde Pluggable veri tabanlarını sorgulayabiliriz.
SQL> SELECT name,open_mode FROM v$pdbs;
NAME OPEN_MODE
PDB$SEED READ ONLY
PDBORCL READ WRITE
PDBTST1 MOUNTED
Özgür Umut VURGUN
Ocak,2014