The document discusses using Oracle ACFS (ASM Cluster File System) as a storage option for Oracle Database datafiles. It provides steps for creating an ACFS volume within an ASM disk group, formatting it, mounting it and confirming the mount. This allows configuring an Oracle database to use the ACFS volume for datafiles, enabling high-availability shared storage across nodes.
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
Oracle Data Guard and Oracle Active Data Guard have long been the answer for the real-time protection, availability, and usability of Oracle data. This presentation provides an in-depth look at several key new features that will make your life easier and protect your data in new and more flexible ways. Learn how Oracle Active Data Guard 19c has been integrated with Oracle Database In-Memory and offers a faster application response after a role transition. See how DML can now be redirected from an Oracle Active Data Guard standby to its primary for more flexible data protection in today’s data centers or your data clouds. This technical deep dive on Active Data Guard is designed to give you a glimpse into upcoming new features brought to you by Oracle Development.
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
Oracle Data Guard and Oracle Active Data Guard have long been the answer for the real-time protection, availability, and usability of Oracle data. This presentation provides an in-depth look at several key new features that will make your life easier and protect your data in new and more flexible ways. Learn how Oracle Active Data Guard 19c has been integrated with Oracle Database In-Memory and offers a faster application response after a role transition. See how DML can now be redirected from an Oracle Active Data Guard standby to its primary for more flexible data protection in today’s data centers or your data clouds. This technical deep dive on Active Data Guard is designed to give you a glimpse into upcoming new features brought to you by Oracle Development.
Oracle RAC is an option to the Oracle Database Enterprise Edition. At least, this is what it is known for. This presentation shows the many ways in which the stack, which is known as Oracle RAC can be used in the most efficient way for various use cases.
Starting with 12c Release 1, Oracle introduced a completely new architecture concept for its database - the Container Database.
With this new architecture, new challenges came up but with the same breath a wide branch of new opportunities.
The presentation will address the capabilities to create fast and easy new (test) databases or clones for a running production database. Five different ways will be discussed.
- Using Local and Remote Cloning
- Using an Unplugged PDB (predefined master)
- Using Refreshable PDBs as a master for new (test) databases
- Snapshot Carousel
Another point of the agenda is the usage of the Snapshot features of ACFS and Direct NFS to speed up the creation process.
Oracle 12cR2 Installation On Linux With ASMArun Sharma
Oracle 12c release 2 installation on Oracle Linux 7.6 with ASM. If you already know, Oracle ASM binaries comes with Grid Software!
Here is the full link of article: https://www.support.dbagenesis.com/post/oracle-12c-installation-on-linux-with-asm
This presentation discusses the top 5 reasons as well as various technology updates to provide a reasonable answer to the rather common question: "Why should one use an Oracle Database?". This "2020 "C-Edition" was first presented during the IOUG / Quest Forum Digital Event: Database & tech Week in June 2020 and subsequently updated based on feedback received.
Oracle RAC on Extended Distance Clusters - Customer ExamplesMarkus Michalewicz
This presentation show cases some Extended RAC customers and provides some background on their motivation. It is best consumed together with the more technical presentation http://www.slideshare.net/MarkusMichalewicz/oracle-rac-on-extended-distance-clusters and the the respective white paper http://www.slideshare.net/MarkusMichalewicz/extended-oracle-racclusters
Oracle Enterprise Manager (EM) provides complete lifecycle management for the cloud - from automated cloud setup to self-service delivery to cloud operations. In this session you’ll learn how to take control of your cloud infrastructure with EM features including Consolidation Planning and Self-Service provisioning with Metering and Chargeback. Come hear how Oracle is expanding its management capabilities into the cloud!
(As presented by Adeesh Fulay at Oracle Technology Network Architect Day in Chicago, October 24, 2011.)
Oracle RAC is an option to the Oracle Database Enterprise Edition. At least, this is what it is known for. This presentation shows the many ways in which the stack, which is known as Oracle RAC can be used in the most efficient way for various use cases.
Starting with 12c Release 1, Oracle introduced a completely new architecture concept for its database - the Container Database.
With this new architecture, new challenges came up but with the same breath a wide branch of new opportunities.
The presentation will address the capabilities to create fast and easy new (test) databases or clones for a running production database. Five different ways will be discussed.
- Using Local and Remote Cloning
- Using an Unplugged PDB (predefined master)
- Using Refreshable PDBs as a master for new (test) databases
- Snapshot Carousel
Another point of the agenda is the usage of the Snapshot features of ACFS and Direct NFS to speed up the creation process.
Oracle 12cR2 Installation On Linux With ASMArun Sharma
Oracle 12c release 2 installation on Oracle Linux 7.6 with ASM. If you already know, Oracle ASM binaries comes with Grid Software!
Here is the full link of article: https://www.support.dbagenesis.com/post/oracle-12c-installation-on-linux-with-asm
This presentation discusses the top 5 reasons as well as various technology updates to provide a reasonable answer to the rather common question: "Why should one use an Oracle Database?". This "2020 "C-Edition" was first presented during the IOUG / Quest Forum Digital Event: Database & tech Week in June 2020 and subsequently updated based on feedback received.
Oracle RAC on Extended Distance Clusters - Customer ExamplesMarkus Michalewicz
This presentation show cases some Extended RAC customers and provides some background on their motivation. It is best consumed together with the more technical presentation http://www.slideshare.net/MarkusMichalewicz/oracle-rac-on-extended-distance-clusters and the the respective white paper http://www.slideshare.net/MarkusMichalewicz/extended-oracle-racclusters
Oracle Enterprise Manager (EM) provides complete lifecycle management for the cloud - from automated cloud setup to self-service delivery to cloud operations. In this session you’ll learn how to take control of your cloud infrastructure with EM features including Consolidation Planning and Self-Service provisioning with Metering and Chargeback. Come hear how Oracle is expanding its management capabilities into the cloud!
(As presented by Adeesh Fulay at Oracle Technology Network Architect Day in Chicago, October 24, 2011.)
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databasesLudovico Caldara
RACAttack 12c pre-conference workshop at IOUG Collaborate 14 will have a few advanced labs for people already confident with a simple RAC installation. This advanced lab handbook introduces server pools and policy managed databases to your Oracle RAC 12c implementation!
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewLudovico Caldara
Oracle RAC Policy-Managed Database (PMD) is a powerful but so far rarely used feature introduced in Oracle Database 11g
Release 2 to automate the instance administration in a dynamic, multi-node cluster.
The aim of this presentation is to review how PMD works, how to implement and administer it successfully, and how to
benefit from this technology compared to the traditional administrator-managed deployment. During the session, the new
features of the 12c Grid Infrastructure related to PMD are highlighted.
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
The new release of Oracle Database has come with many new exciting enhancements for the High Availability.
This whitepaper introduces some new Data Guard features. Among various enhancements, special attention will be given to
the new Far Sync Instance and the Real-Time Cascade Standby.
Oracle ACFS is a general purpose portable cluster file system build on the enhanced ASM available since Oracle 11.2 and benefiting from the existing ASM mirroring and striping leading to performance and fault tolerance. In the presentation you will look at the concept and the architecture of ACFS. You will see how to use familiar tools such as sqlplus, asmca, asmcmd and OEM DC to configure, implement and manage ACFS. The presentation will provide an idea for deployment of ACFS for Snapshots and replications. Being fully integrated with ASM, ASM views can be used to monitor performance and usage.
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Ludovico Caldara
Slides used for my Oracle Open World 2014 #OOW14 session.
The new release of Oracle Database has come with many new exciting enhancements for high availability. The aim of this presentation is to introduce some new Oracle Active Data Guard features through practical examples and live demos. Among the various enhancements, the new Far Sync Instance and Real-Time Cascade Standby features receive special attention in the session.
Boost your Oracle RAC manageability with Policy-Managed DatabasesLudovico Caldara
Oracle RAC Policy-Managed Database (PMD) is a powerful but so far rarely used feature introduced in Oracle Database 11g
Release 2 to automate the instance administration in a dynamic, multi-node cluster.
The aim of this presentation is to review how PMD works, how to implement and administer it successfully, and how to
benefit from this technology compared to the traditional administrator-managed deployment.
These slides are from the session I've done at Collaborate14, but re-branded with my company's template.
Oracle Automatic Storage Management has proven to be one of the most widely adopted new features in Oracle Database 10g and it has been dramatically improved in the later 11g releases. This presentation will explain what changes are solved by ASM, how these challenges are solved, what barriers there are to ASM adoptions, and how 11g Release 2 addresses these barriers.
Understanding Oracle RAC 12c Internals as presented during Oracle Open World 2013 with Mark Scardina.
This is part two of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
Oracle RAC 12c Best Practices with Customer Example (Sanger) as presented during Oracle Open World 2013 (OOW13).
This is part one of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
A duplicate (clone or snapshot) database is useful for a variety of purposes, most of which involve testing &
upgrade
• You can perform the following tasks in a duplicate database:
• Test backup and recovery procedures
• Test an upgrade to a new release of Oracle Database
• Test the effect of applications on database performance
• Create a standby database (Dataguard) with DG Broker
• Leverage on Transient Logical Standby to perform an upgrade
• Generate reports
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias ZarickTrivadis
A replication for the ASM cluster file system was introduced already with version 11.2.0.2. Oracle database version 12.2 comes along with fundamental alteration in architecture of ACFS replication. The talk brings in some light into this change, and explains setup and operating aspects. Possible use cases for application are discussed.
Get the most out of Oracle Data Guard - POUG versionLudovico Caldara
If you use Oracle Data Guard feature just for data protection, you are using less than half of its potential. You already pay for it, so why not getting the most out of it? In this session I will show how you can use Oracle Data Guard capabilities for common tasks such as database cloning, database migration and reporting, with the help of other features included in Oracle Database Enterprise Edition
Oracle Drivers configuration for High Availability, is it a developer's job?Ludovico Caldara
UCP, GridLink, TAF, AC, TAC, FAN… The configuration of Oracle Drivers for application high availability is not an easy job. The developers often care about the minimal working configuration, while the DBAs are busy with the operations. In this session I will try to demystify application server’s connectivity to the database and give a direction toward the highest availability, using Real Application Clusters and new Oracle features like TAC and CMAN TDM.
Oracle Drivers configuration for High AvailabilityLudovico Caldara
... is it a developer's job?
UCP, GridLink, TAF, AC, TAC, FAN… The configuration of Oracle Drivers for application high availability is not an easy job. The developers often care about the minimal working configuration, while the DBAs are busy with the operations. In this session I will try to demystify application server’s connectivity to the database and give a direction toward the highest availability, using Real Application Clusters and new Oracle features like TAC and CMAN TDM.
... or why Oracle still cares about CMAN and why you should do it too
The Oracle Connection Manager (CMAN) is the Swiss-army knife for database connections. It can be used for security, routing, high availability, single-point of contact... Starting with Oracle 18c, it has been extended with the new Traffic Director Mode (CMAN TDM), that allows transparent failover for applications that do not implement it natively.
In this session I will introduce briefly what CMAN is capable of, how to configure it in a high availability environment, and how the new release achieves a higher protection level.
In a DEV world where everything is built automatically (with Jenkins, Gitlab, Maven...), the developers still struggle to integrate some operational tasks in their build pipelines.
Despite tools like Ansible, Puppet and Rundeck are being used by more and more companies, some DBAs need (or want) to keep control over their legacy scripts. How can the developers convince the DBAs to implement some useful REST endpoints without much development effort?
In this session I will introduce some ideas for integration between applications, ORDS and operational scripts that will help cooperation between developers and DBAs.
How many companies can afford patching regularly their environments?
Patching and maintaining a big amount of Oracle Databases is perceived as complex by most companies. Is there a way to make patching simpler and more controlled? What are the best (and worst) practices for Oracle Home maintenance?
What are the challenges of the new release model that will bring us one new major release per year?
In this session, we will explain some ideas to improve Oracle Home management and database patching, as well as practical examples of automated environments.
Effective Oracle Home Management in the new Release Model eraLudovico Caldara
How many companies can afford patching regularly their environments?
Patching and maintaining a big amount of Oracle Databases is perceived as complex by most companies. Is there a way to make patching simpler and more controlled? What are the best (and worst) practices for Oracle Home maintenance?
What are the challenges of the new release model that will bring us one new major release per year?
In this session, we will explain some ideas to improve Oracle Home management and database patching, as well as practical examples of automated environments, live demos included!
Oracle Active Data Guard 12cR2. Is it the best option?Ludovico Caldara
If you are using Oracle Data Guard for data protection (hint: you should!), you might also want to know more about Oracle Active Data Guard and what makes it essential for even more increased availability and performance. In this session, I will give an overview of many new and old Active Data Guard features such as:
- Rolling Upgrades
- Real-time Query
- Fast Incremental Backup
- Subset Standby
- Multiple Instance Redo Apply
- Advanced topologies (Real-time Cascading Standby, Far Sync Standby, Alternate destinations)
- Automatic Block Repair
- Global Data Services
I will also explain why the ROI of Oracle Database Enterprise Edition can be higher when coupled with Oracle Active Data Guard.
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...Ludovico Caldara
Having a database snapshot solution for fast database cloning is a must. Doing it on a low budget is not so easy. For a customer in Lausanne we implemented a fast, space efficient solution using only features included in Oracle Database 12c Enterprise Edition.
In this session, I will explain the customer challenge, the solution that we proposed, and the technical steps used for the implementation. Microsoft Windows, Oracle Restart, ACFS, Oracle Data Guard… with such strange ingredients, baking has been fun!
Get the most out of Oracle Data Guard - OOW versionLudovico Caldara
If you use Oracle Data Guard feature just for data protection, you are using less than half of its potential. You already pay for it, so why not getting the most out of it? In this session I will show how you can use Oracle Data Guard capabilities for common tasks such as database cloning, database migration and reporting, with the help of other features included in Oracle Database Enterprise Edition
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBLudovico Caldara
Oracle Database 12c became available to the public back in 2013, but it took more than one year for the
Oracle customers to start upgrading of their existing databases to this new release. Many customers, in
2016, are still not in the process of migrating to 12c despite the premier support deadline for Oracle
Database 11g has passed in January 2015.
I had the chance to spend the last two years by a customer who decided to embrace the new release
and start the migration to 12c as soon as possible, in order to take the most out of the (many) new
features that this release offers. When the very first production databases have been migrated to 12c,
the users began noticing quite soon that some queries started to take much more time to complete,
some of them were actually several orders of magnitude slower than before. After small investigation, I
understood that most off those queries have been slowed down by the new “Adaptive Features” that
have been introduced in 12c for the opposite reason: increasing performance. This is what this article
is about.
Are your Oracle databases highly available? You have deployed Real Application Clusters (RAC), Data Guard, or Failover Clusters and are well protected against server failures? Great – the prerequisites for a highly available environment are given. However, to assure that backend infrastructure failures also remain transparent to the client, an appropriate configuration is a prerequisite.
This lecture will discuss the Oracle technologies that can be used to achieve automatic client failover functionality. What are the advantages, but also the limitations of these technologies?
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Ludovico Caldara
Adaptive Dynamic Sampling, Adaptive Execution Plans, SQL Plan Directives: these new features are the new performance troublemakers when migrating databases from 11g to 12c. The optimizer uses them to seek for the perfect execution plan, but does it always succeed? This session will focus on the first steps required to quickly troubleshoot performance issues due to the adaptive features.
DMU is the new tool introduced by Oracle for database conversion to the Unicode character set. Beside introducing briefly the tool, this session will focus on a real database conversion scenario faced by a customer, the problems encountered and the solutions.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Ludovico Caldara
For a customer in Switzerland, we are in process of migrating 400 databases to 12c. We have migrated 300 so far, and we have had good and bad surprises. This session will show a few scenarios that we faced during the upgrade project.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
2. About Ludovico Caldara
Oracle ACFS and Oracle Database: a Perfect Marriage?2 04.09.2015
■ 16 Years DBA (Not Only Oracle)
▪ I do it everywhere (even Windows)
■ RAC ATTACK Ninja & co-writer
■ VP, SOUG & ITOUG Board member
■ OCP (11g, 12c, MySQL) & OCE
■ Italian living in Switzerland
■ http://www.ludovicocaldara.net
■ @ludodba
■ ludovicocaldara
Opinions are my own
3. Our company.
Oracle ACFS and Oracle Database: a Perfect Marriage?3 04.09.2015
Trivadis is a market leader in IT consulting, system integration, solution engineering
and the provision of IT services focusing on and technologies
in Switzerland, Germany, Austria and Denmark. We offer our services in the following
strategic business fields:
Trivadis Services takes over the interactive operation of your IT systems.
O P E R A T I O N
4. COPENHAGEN
MUNICH
LAUSANNE
BERN
ZURICH
BRUGG
GENEVA
HAMBURG
DÜSSELDORF
FRANKFURT
STUTTGART
FREIBURG
BASLE
VIENNA
With over 600 specialists and IT experts in your region.
Oracle ACFS and Oracle Database: a Perfect Marriage?4 04.09.2015
14 Trivadis branches and more than
600 employees
200 Service Level Agreements
Over 4,000 training participants
Research and development budget:
CHF 5.0 / EUR 4 million
Financially self-supporting and
sustainably profitable
Experience from more than 1,900
projects per year at over 800
customers
5. Oracle ACFS and Oracle Database: a Perfect Marriage?5 04.09.2015
ASM, ADVM, ACFS?
6. ASM, ADVM, ACFS?
Oracle ACFS and Oracle Database: a Perfect Marriage?6 04.09.2015
ASM
Disk Group 1 Disk Group 2
ADVM Vol2
ACFS /app
.exe.dbf.txt
DB03
Disk Group 3
.dbf
.ctl
.dbf
.dbf
.dbf
.ctl
.dbf
.dbf
DB04APP01
ADVM Vol4ADVM Vol3
Ext4 /abc
.exe.dbf.txt
APP02 APP02
RAW
7. Cluster File System – ACFS (1)
Needs Grid Infrastructure!
ASM Cluster File System (ACFS) is a general purpose cluster filesystem implemented as part of ASM
– Dynamic loadable OS drivers delivered by Oracle
– Based on ASM Dynamic Volume Manager (ADVM)
Supports both traditional UNIX-style file access control classes and file access control lists (ACLs) for
Windows platforms
Uses standard file related system calls – no need to use special tools
Cannot be used for Grid Infrastructure home, voting files, OCR, ASM diag dest.
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?7
8. Cluster File System – ACFS (2)
ASM Cluster File System (ACFS) leverages ASM
– High performance (Variable extents-based allocation)
– Data spread evenly across ASM disks
– Same data protection ot the Disk Group (External / Normal / High redundancy)
Supports Database Homes and Database diag dests
Multi-node, shared filesystem
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?8
9. Cluster File System – ACFS (3)
Main features: Snapshots, Encryption, Security, Replication, Auditing
Up to 11.2.0.3, it was part of the Cloud File System option ($$)
Starting with 11.2.0.4, ACFS and ADVM are no more an extra-cost option
Starting with 12cR1, Oracle ACFS supports Oracle Datafiles if DB release >= 11.2.0.4
– https://docs.oracle.com/database/121/OSTMG/asmfilesystem.htm#OSTMG95961
Since ODA sw version 12.1.2, databases are created on ACFS
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?9
10. Oracle ACFS and Oracle Database: a Perfect Marriage?10 04.09.2015
Datafiles on ACFS
11. ASM, ADVM, ACFS?
Oracle ACFS and Oracle Database: a Perfect Marriage?11 04.09.2015
ASM
Disk Group 1 Disk Group 2
ADVM Vol2
ACFS /app
.exe.dbf.txt
DB03
Disk Group 3
.dbf
.ctl
.dbf
.dbf
.dbf
.ctl
.dbf
.dbf
DB04APP01
ADVM Vol4ADVM Vol3
Ext4 /abc
.exe.dbf.txt
APP02 APP02
RAW
12. ASM, ADVM, ACFS?
Oracle ACFS and Oracle Database: a Perfect Marriage?12 04.09.2015
ASM
Disk Group 1 Disk Group 2
ADVM Vol1 ADVM Vol2
ACFS /u02 ACFS /app
.ctl.dbf.dbf
.exe.dbf.txt
DB01 DB03
Disk Group 3
.dbf
.ctl
.dbf
.dbf
.dbf
.ctl
.dbf
.dbf
DB04APP01
ADVM Vol4ADVM Vol3
Ext4 /abc
.exe.dbf.txt
APP02 APP02
RAW
13. ASM, ADVM, ACFS?
Oracle ACFS and Oracle Database: a Perfect Marriage?13 04.09.2015
ASM
Disk Group 1 Disk Group 2
ADVM Vol1 ADVM Vol2
ACFS /u02 ACFS /app
.ctl.dbf.dbf
.exe.dbf.txt
DB01 DB03
Disk Group 3
.dbf
.ctl
.dbf
.dbf
.dbf
.ctl
.dbf
.dbf
DB04APP01
ADVM Vol4ADVM Vol3
Ext4 /abc
.exe.dbf.txt
APP02 APP02
RAW
NEW: 12c
14. Requirements
Oracle ACFS and Oracle Database: a Perfect Marriage?14 04.09.2015
No Oracle Restart, only Grid Infrastructure (even single-node, but cluster installation)
advm.compatible and asm.compatible must be >= 12.1
Volume stripe columns must be set to 1 in 12.1.0.1.
– From 12.1.0.2 onwards the default is ok (columns 8, width 1024kb)
The DB must be running with filesystemio_options=setall
If Grid Infrastructure 12.1.0.1, only Unix/Linux
– Starting with 12.1.0.2, also Windows
15. Implementation steps (1)
Oracle ACFS and Oracle Database: a Perfect Marriage?15 04.09.2015
## create the Disk Group with compatible 12.1
cat dg_acfs.xml
<dg name="ACFS" redundancy="external">
<dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" />
<a name="compatible.asm" value="12.1.0.0.0"/>
<a name="compatible.rdbms" value="12.1.0.0.0"/>
<a name="compatible.advm" value="12.1.0.0.0"/>
</dg>
16. Implementation steps (1)
Oracle ACFS and Oracle Database: a Perfect Marriage?16 04.09.2015
## create the Disk Group with compatible 12.1
cat dg_acfs.xml
<dg name="ACFS" redundancy="external">
<dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" />
<a name="compatible.asm" value="12.1.0.0.0"/>
<a name="compatible.rdbms" value="12.1.0.0.0"/>
<a name="compatible.advm" value="12.1.0.0.0"/>
</dg>
asmcmd mkdg dg_acfs.xml
17. Implementation steps (1)
Oracle ACFS and Oracle Database: a Perfect Marriage?17 04.09.2015
## create the Disk Group with compatible 12.1
cat dg_acfs.xml
<dg name="ACFS" redundancy="external">
<dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" />
<a name="compatible.asm" value="12.1.0.0.0"/>
<a name="compatible.rdbms" value="12.1.0.0.0"/>
<a name="compatible.advm" value="12.1.0.0.0"/>
</dg>
asmcmd mkdg dg_acfs.xml
## create the Volume (stripe columns must be set to 1 in 12.1.0.1. From 12.1.0.2 onwards the default is ok)
asmcmd volcreate -G acfs -s 19G volacfs --column 1
18. Implementation steps (1)
Oracle ACFS and Oracle Database: a Perfect Marriage?18 04.09.2015
## create the Disk Group with compatible 12.1
cat dg_acfs.xml
<dg name="ACFS" redundancy="external">
<dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" />
<a name="compatible.asm" value="12.1.0.0.0"/>
<a name="compatible.rdbms" value="12.1.0.0.0"/>
<a name="compatible.advm" value="12.1.0.0.0"/>
</dg>
asmcmd mkdg dg_acfs.xml
## create the Volume (stripe columns must be set to 1 in 12.1.0.1. From 12.1.0.2 onwards the default is ok)
asmcmd volcreate -G acfs -s 19G volacfs --column 1
asmcmd volinfo --all
Diskgroup Name: ACFS
Volume Name: VOLACFS
Volume Device: /dev/asm/volacfs-167
State: ENABLED
Size (MB): 19456
Resize Unit (MB): 8
Redundancy: UNPROT
Stripe Columns: 1
...
19. Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?19 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
23. Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?23 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
grid@racvagn1:~/ $ sudo su -
# srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS
# srvctl start filesystem -d /dev/asm/volacfs-167
# df -k /u02
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/volacfs-167 19922944 117616 19805328 1% /u02
# chown oracle:oinstall /u02
# chmod 775 /u02
# su - oracle
oracle@racvagn1:~/ [+ASM1] mkdir -p /u02/app/oracle/oradata
oracle@racvagn1:~/ [+ASM1] crsctl stat res ora.acfs.volacfs.acfs -t
Name Target State Server State details
Local Resources
ora.acfs.volacfs.acfs
ONLINE ONLINE racvagn1 mounted on /u02,STABLE
ONLINE ONLINE racvagn2 mounted on /u02,STABLE
24. Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?24 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
grid@racvagn1:~/ $ sudo su -
# srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS
# srvctl start filesystem -d /dev/asm/volacfs-167
# df -k /u02
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/volacfs-167 19922944 117616 19805328 1% /u02
# chown oracle:oinstall /u02
# chmod 775 /u02
# su - oracle
oracle@racvagn1:~/ [+ASM1] mkdir -p /u02/app/oracle/oradata
oracle@racvagn1:~/ [+ASM1] crsctl stat res ora.acfs.volacfs.acfs -t
Name Target State Server State details
Local Resources
ora.acfs.volacfs.acfs
ONLINE ONLINE racvagn1 mounted on /u02,STABLE
ONLINE ONLINE racvagn2 mounted on /u02,STABLE
... Then create the database there... With filesystemio_options=setall!!
25. Implementation steps (3)
Oracle ACFS and Oracle Database: a Perfect Marriage?25 04.09.2015
ASM is the default, but the
ACFS filesystem is discovered
And proposed by default
when Storage Type “File System” is selected
DBCA
26. Oracle ACFS and Oracle Database: a Perfect Marriage?26 04.09.2015
Performance
27. SLOBing ASM vs ACFS
Environment
– ACFS filesystem, ASM DiskGroup
– Same topology, one SSD disk, same environment
– Same database and tablespace, datafile moved online from ASM to ACFS between runs
SQL> alter database move datafile 2 to
'/u02/ACFSDB/ACFSDB/datafile/slob01.dbf';
Database altered.
OWNER TABLE_NAME NUM_ROWS BLOCKS
---------- ---------- ---------------- ----------------
USER2 CF1 97,464 100,493
USER1 CF1 100,000 100,883
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?27
28. SLOBing ASM vs ACFS
5 SLOB runs on ACFS, 5 SLOB runs on ASM
– Instance caging (1CPU)
– 20% update, no Hot Blocks
– consider only 1-bk reads/second
on SLOB TBSP
– skip worst, average others
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?28
29. SLOBing ASM vs ACFS
5 SLOB runs on ACFS, 5 SLOB runs on ASM
– Instance caging (1CPU)
– 20% update, no Hot Blocks
– consider only 1-bk reads/second
on SLOB TBSP
– skip worst, average others
Best ACFS run worse than worst ASM run
– Average loss: 3,8%
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?29
0
500
1000
1500
2000
2500
3000
3500
4000
1 2 3 4
ASM vs ACFS
ASM ACFS
30. SLOBing ASM vs ACFS
I did different tests (different update pcts, run durations, etc.), almost same results
Not a big performance loss, but... not so good either!
These are non-exhaustive tests, maybe ACFS has better (or worse!) performances
under different loads.
Anyway, due to additional layer, ACFS cannot be faster than flat ASM in any case
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?30
31. Oracle ACFS and Oracle Database: a Perfect Marriage?31 04.09.2015
Magic features
(or options?)
32. ACFS and Datafiles - Features
For Database files:
– ACFS Snapshots require Enterprise Edition
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?32
33. ACFS and Datafiles - Features
For Database files:
– ACFS Snapshots require Enterprise Edition
– ACFS Encryption, ACFS Security, ACFS Replication, ACFS Auditing are not available.
Oracle Database options should be used instead. Respectively: Oracle Advanced
Security, Oracle Database Vault, Oracle Data Guard, Oracle Audit Vault)
– https://docs.oracle.com/database/121/DBLIC/editions.htm#CIHDDJCJ
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?33
34. Oracle ACFS and Oracle Database: a Perfect Marriage?34 04.09.2015
So "Datafiles on ACFS"
is about snapshots
(remember, EE only)
35. Oracle ACFS and Oracle Database: a Perfect Marriage?35 04.09.2015
0
500
1000
1500
2000
2500
3000
3500
4000
1 2 3 4
0
2
4
8
16
Write performance w/ snapshots (on base mountpoint)
snapshots
SLOB Run
IOs/second
36. Oracle ACFS and Oracle Database: a Perfect Marriage?36 04.09.2015
0
500
1000
1500
2000
2500
3000
3500
4000
1 2 3 4
0
2
4
8
16
Write performance w/ snapshots (on base mountpoint)
snapshots
SLOB Run
IOs/second Big regression starting with the first snapshot.
No further regressions when more inactive snapshots are created.
38. Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?38 04.09.2015
Somebody calls it Redirect on Write.
39. Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?39 04.09.2015
Somebody calls it Redirect on Write.
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
40. Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?40 04.09.2015
Somebody calls it Redirect on Write.
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file Modify a block in first extent of /mp/file?
41. Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?41 04.09.2015
Somebody calls it Redirect on Write.
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file Modify a block in first extent of /mp/file?
No snapshots point to the same extent: OK
42. Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?42 04.09.2015
Somebody calls it Redirect on Write.
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file Modify a block in first extent of /mp/file?
No snapshots point to the same extent: OK
43. Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?43 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
44. Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?44 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
Modify a block in first extent of /mp/file?
45. Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?45 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
46. Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?46 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
Next write on the same block: OK
47. Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?47 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
Modify a block in first extent of snapshot 1?
Next write on the same block: OK
48. Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?48 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
0x5000000
0x5000000
Modify a block in first extent of snapshot 1?
Next write on the same block: OK
Snapshot 2 points to the same extent: Redirect
49. Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?49 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
0x5000000
0x5000000
Modify a block in first extent of snapshot 1?
Next write on the same block: OK
Snapshot 2 points to the same extent: Redirect
Next write on the same block: OK
50. Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?50 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
0x5000000
0x5000000
Modify a block in first extent of snapshot 1?
Next write on the same block: OK
Snapshot 2 points to the same extent: Redirect
Next write on the same block: OK
Modify a block in first extent of snapshot 2 is
also ok because no snaps point to the same extent
51. Oracle ACFS and Oracle Database: a Perfect Marriage?51 04.09.2015
Evidence?
52. Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?52 04.09.2015
# acfsutil snap create -w SNAP1 /u02
acfsutil snap create: Snapshot operation is complete.
# acfsutil snap create -w -p SNAP1 SNAP2 /u02
acfsutil snap create: Snapshot operation is complete.
Then, two nested snapshots: /u01 <- SNAP1 <- SNAP2
# dd if=/dev/urandom of=/u02/test/file count=16 bs=1048576
16+0 records in
16+0 records out
16777216 bytes (17 MB) copied, 2.83643 s, 5.9 MB/s
First, let’s create a file 16MB big
53. Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?53 04.09.2015
# acfsutil info file /u02/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
All three files (base and snapshots) use the same extents
54. Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?54 04.09.2015
# dd if=/dev/urandom of=/u02/test/file count=1 bs=8192 conv=notrunc
1+0 records in
1+0 records out
8192 bytes (8.2 kB) copied, 0.068746 s, 119 kB/s
# acfsutil info file /u02/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 310378496 (was 30975586304)
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
If I modify 8k in the first extent of /u02/test/file, the whole extent of the base file is redirected
Redirecting the whole extent. This is why the write is slower. Not because of a double write
typical of Copy on Write
55. Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?55 04.09.2015
# dd if=/dev/urandom of=/u02/test/file count=1 bs=8192 conv=notrunc seek=1
1+0 records in
1+0 records out
8192 bytes (8.2 kB) copied, 0.00299343 s, 2.7 MB/s
# acfsutil info file /u02/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 310378496
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
Modifying another 8k block on the same extent does not lead to relocation. Write is faster.
56. Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?56 04.09.2015
# dd if=/dev/urandom of=/u02/.ACFS/snaps/SNAP2/test/file count=1 bs=8192 conv=notrunc seek=1
1+0 records in
1+0 records out
8192 bytes (8.2 kB) copied, 0.0348603 s, 235 kB/s
# acfsutil info file /u02/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 310378496
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 316903424 (was 30975586304)
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
The same would have appened mofiying snapshot 1.
Another try: modifying 8k in the first extent of second snapshot file leads to redirect for snapshot 2
57. Snapshot size and Write Latency Avg are correlated
Oracle ACFS and Oracle Database: a Perfect Marriage?57 04.09.2015
Snapshot Size
IO Latency
Snap size=
DB Size
Same
Latency w/o
Snapshot
Curves depend on the repartition of hot spots / cold spots into the extents
New Snapshots == New latency spikes
Snap
Create
58. Other considerations about performances
Oracle ACFS and Oracle Database: a Perfect Marriage?58 04.09.2015
ACFS is variable-extent based
– It may incur in fragmentation, especially with snapshots (due to extents redirects)
– I do not have elements for saying if it is a major problem or not
– [acfsdefrag0] system process exists, let me guess what it is for
– One extent may reside on different ASM Allocation Units (see acfsutil info file –d)
– Size allocated and size used may differ
## 1 MB file extent lean on two AUs on disks ASMDISK3 and ASMDISK6
----current offset | -cur vol offset -mir --extent --device name --------doffset --length -ASMdev
0 | 30397808640 0 3622 ORCL:ASMDISK3 5074698240 409600 5
409600 | 30398218240 0 3623 ORCL:ASMDISK6 5090836480 638976 1
--------------------------------------------------------------------------------------------------
59. Oracle ACFS and Oracle Database: a Perfect Marriage?59 04.09.2015
Database on ACFS:
snapshot usecases
60. Snapshots are useful for...
Oracle ACFS and Oracle Database: a Perfect Marriage?60 04.09.2015
Backup LOL, just kidding
Getting a consistent point before a modification
– Alternative to RESTORE POINTs?
Datafile copy for fast media recovery
Database cloning for Q&A, reporting, other
Multitenant: create pdb from pdb snapshot copy
61. Oracle ACFS and Oracle Database: a Perfect Marriage?61 04.09.2015
Snapshots for consistent copy
62. Snapshots for consistent copy
Oracle ACFS and Oracle Database: a Perfect Marriage?62 04.09.2015
On most snapshot technologies
– You take a snapshot
– You modify the data
– In case of problems, you revert (restore) the snapshot
With ACFS, there is still no way to revert a snapshot natively (no acfsutil command or other)
Nowadays, it does not make sense!
63. Snapshots for consistent copy
Oracle ACFS and Oracle Database: a Perfect Marriage?63 04.09.2015
Workaround 1: Manual datafile copy from the snapshot
– shutdown
– delete the content from the base FS
– move the files from the snapshot
– drop/recreate the snapshot (to free up used snapshot space)
– startup
64. Snapshots for consistent copy
Oracle ACFS and Oracle Database: a Perfect Marriage?64 04.09.2015
Workaround 2: Do some magic with RMAN and a temporary snapshot
– create a writable snapshot from snapshot
– shutdown
– delete the content from the base FS
– RMAN catalog start with... switch database to copy
– startup
– move back the datafiles with online move, then get the rid of the temporary snapshot
65. Snapshots for consistent copy
Oracle ACFS and Oracle Database: a Perfect Marriage?65 04.09.2015
Workaround 3: Use guaranteed restore points instead of snapshots.
– :-P
66. Oracle ACFS and Oracle Database: a Perfect Marriage?66 04.09.2015
File copy for fast media recovery
67. Datafile copy for fast media recovery
Oracle ACFS and Oracle Database: a Perfect Marriage?67 04.09.2015
Follow the same procedure explained before...
– new writable snapshot form snapshot
– offline datafile
– catalog file, switch datafile to copy
– recover datafile, online datafile
– move datafile to old location (thank you 12c!)
– delete temporary snapshot
68. Datafile copy for fast media recovery
Oracle ACFS and Oracle Database: a Perfect Marriage?68 04.09.2015
Having snapshots catalogued in RMAN as datafile copies allows also other kinds of
recovery
– E.g. block recovery
69. Oracle ACFS and Oracle Database: a Perfect Marriage?69 04.09.2015
Database cloning for Q&A,
reporting, other
70. ACFS for Database cloning
Oracle ACFS and Oracle Database: a Perfect Marriage?70 04.09.2015
Space efficient, fast-created copies
Source should not be performance-critical
ASM
Disk Group 1
ADVM Vol2
ACFS
/u02
.dbf
DB
.dbf.dbf
SNAP1
/u02/…/
SNAP2
/u02/…/
SNAP3
/u02/…/
SNAP4
/u02/…/
.dbf.dbf.dbf
.dbf.dbf.dbf
.dbf.dbf.dbf
.dbf.dbf.dbf
DB01 DB02 DB03 DB04
71. ACFS for Database cloning – better with DG
Oracle ACFS and Oracle Database: a Perfect Marriage?71 04.09.2015
Do not use with SYNC redo transport. If you need protection, setup a second standby.
ASM
Disk Group 1
ADVM Vol2
ACFS
/u02
.dbf
STDBY
.dbf.dbf
SNAP1
/u02/…/
SNAP2
/u02/…/
SNAP3
/u02/…/
SNAP4
/u02/…/
.dbf.dbf.dbf
.dbf.dbf.dbf
.dbf.dbf.dbf
.dbf.dbf.dbf
DB01 DB02 DB03 DB04
ASM
Disk Group 1
.dbf.dbf.dbf
DB
72. Best approach for cloning a standby on the same host
Oracle ACFS and Oracle Database: a Perfect Marriage?72 04.09.2015
DGMGRL> edit database ACFSDB set state="APPLY-OFF";
$ acfsutil snap create -w CLONE /u02
DGMGRL> edit database ACFSDB set state="APPLY-ON";
SOURCE SQL> Backup controlfile to trace as '...' reuse resetlogs;
SOURCE SQL> create pfile='...' from spfile;
... sed-modify controlfile and pfile
CLONE SQL> create spfile from pfile ='...';
CLONE SQL> create controlfile …
CLONE SQL> alter database open resetlogs;
CLONE SQL> alter tablespace TEMP add tempfile ...;
CLONE SQL> shutdown immediate;
CLONE SQL> startup mount exclusive;
# nid TARGET=SYS DBNAME=CLONE
$ srvctl add database –db CLONE –oh $ORACLE_HOME –spfile=/u02/.ACFS/snaps/CLONE/.../ ...
73. Advantages of DG + ACFS
Oracle ACFS and Oracle Database: a Perfect Marriage?73 04.09.2015
No need to recover datafiles, no fuzzy datafiles
– Stopping the redo apply on a standby database leaves the datafiles recovered to a
point in time
– Subsequent «alter database open resetlogs» just works
Decoupled disks, no impact on source database (primary)
DEMO?
74. gDBClone.pl
Oracle ACFS and Oracle Database: a Perfect Marriage?74 04.09.2015
gDBClone.pl
http://www.oracle.com/technetwork/indexes/samplecode/gdbclone-download-2295388.html
Not production ready
Give a look into the source code. It does not look as something written by a DBA…
– Shuts down the source (but requires it in archivelog mode)
– Get the lists of datafiles for CREATE CONTROLFILE by doing a ls -l of /…/datafiles/
75. Oracle ACFS and Oracle Database: a Perfect Marriage?75 04.09.2015
Create Pluggable Database
Snapshot Copy
76. Create Pluggable Database Snapshot Copy
Oracle ACFS and Oracle Database: a Perfect Marriage?76 04.09.2015
If you use Multitenant, you can thin copy a PDB from another one, inside the same CDB:
SQL> create pluggable database CLONE1 from SOURCE snapshot copy;
Pluggable database created.
77. Create Pluggable Database Snapshot Copy
Oracle ACFS and Oracle Database: a Perfect Marriage?77 04.09.2015
Internally:
– it creates the snapshot on ACFS
– It copies the definition of the PDB using the same datafiles
– It replaces the datafiles in file$ directly with symlinks pointing to the snapshot
Cloning inside multitenant means consolidating per business line, not per environment.