SlideShare a Scribd company logo
1 of 24
Download to read offline
Automatic Storage Management
      Best Practices

             - Nitin Vengurlekar
Automatic Storage Management
 A new feature introduced in Oracle Database 10g

 Provides a vertical integration of the file system and
 volume manager for Oracle database files

 Spreads database files across all available storage for
 optimal performance and resource utilization

 Enables simple and non-intrusive resource allocation
 and provides automatic rebalancing
ASM Installation Best
Practices
 Install ASM in a separate ORACLE_HOME
 from the database ORACLE_HOME

      Provides higher availability and manageability
  –
      allows independent upgrades of the database
  –
      and ASM.
      de-installation of database software can be
  –
      performed without impacting the ASM instance
ASM Instance

 Only one ASM instance per node
      Manages storage for all database instances on
  –
      the node


 In RAC environments, each clustered node
 will have an ASM instance
      ASM instances use the interconnect to
  –
      synchronize metadata
Sample init.ora parameters
instance_type=asm
#SGA sizing -----------------------------------------------
large_pool_size=20M
shared_pool_size=80M
processes=55
#Storage -----------------------------------------------------
asm_diskstring='ORCL:*'
asm_diskgroups='DATA','FLASH','DATA_SOX‘
#RAC parameters ----------------------------------------
+ASM1.instance_number=1
+ASM2.instance_number=2
cluster_database=true
# trace files destinations --------------------------------
background_dump_dest=/opt/oracle/product/server32/10gr1/admin/+ASM/bdump
core_dump_dest=/opt/oracle/product/server32/10gr1/admin/+ASM/cdump
user_dump_dest=/opt/oracle/product/server32/10gr1/admin/+ASM/udump
Setting init.ora parameter

 Use default values
       Only processes parameter may need
   –
       modification


 Processes parameter setting is dependent on
 the number of databases that connect to ASM
       processes= 25 + 15n, where n = #
       databases connected to ASM
ASM administration

 Disks

 Diskgroups

                 0010 0010 0010 0010 0010
 Files           0010 0010 0010 0010 0010
Diskgroup Best Practices
Diskgroup Best Practices
  Create two diskgroups
      One for database area
  –
      Second one for flash recovery area
  –



  Create diskgroups using large number of
  similar type disks
       same size characteristics
  –
       same performance characteristics
  –
Diskgroup Best Practices
  The size of the flash recovery area diskgroup
  will depend on what is stored and how much
  is retained

  If possible, physically separate the database
  area and flashback area,
      make sure the two areas do not share the same
  –
      physical spindles
Diskgroup Best Practices
  To minimize search overhead, perform all
  required mount operations in a single mount
  command

  If adding or removing multiple disks, make
  the change in a single rebalance operation.
      This coalesces rebalance operations and
  –
       reduces overhead
Diskgroup Best Practices
  Use ASM External Redundancy when
  creating disk groups with high end storage
  arrays

  Use ASM Redundancy for low-end (modular)
  or JBOD storage array systems

  Use failure groups with ASM Redundancy,
      Determine what failure components you are
  –
      protecting yourself from.
Disk Best Practices
Disk Best Practices
 Make sure disks span multiple backend disk
 adapters

 Implement multiple access paths to the
 storage array using two or more HBAs or
 initiators

 Deploy multi-pathing software over these
 multiple HBAs to provide I/O load-balancing
 and failover capabilities.
Disk Best Practices

  If using hardware RAID, make LUN stripe size
  as close to 1mb as possible

  Use OS disk labels when available
      Prevents accidental user overwrites of disks
  –
      Easier management of disks
  –
      Make sure the disk (partition) starts at 1Mb a
  –
      boundary, to insure proper I/O alignment
Database-ASM Best Practices
Database-ASM Best Practices

 Use Oracle Managed Files (OMF)
      Easier Oracle file management
  –
      Reduces user file management errors
  –
      Enforcement of OFA standards
  –
      Automatic deletion of ASM files when database
  –
      files are dropped

 To use OMF set :
      db_recovery_file_dest='+FLASH’
  –
      db_create_file_dest=‘+DATA’
Database-ASM Best Practices
 Create CRS dependency between database
 instance and ASM instance
      Ensures ASM instance starts up before starting
  –
      database instance
      Allows ASM instance to cleanly shutdown
  –
      database instance
      srvctl modify instance -d crm -i crm1 -s asm1
  –



 Use 10g Automatic Memory Management
Database-ASM Best Practices
 The following recommendations for database
 SGA sizing can be used to calculate the
 SGA_TARGET value
      large_pool    = Add additional 600k
  –
      Processes     = Add 16
  –
Database-ASM Best Practices
Shared_pool – Aggregate the values from the following queries to
   obtain current database storage sizes that is either already on
   ASM or will be stored in ASM. Then determine the redundancy
   type that is used (or will be used), and calculate the
   shared_pool, using the aggregated value as input.
           select sum(bytes)/(1024*1024*1024) from v$datafile;
           select sum(bytes)/(1024*1024*1024) from v$logfile a,
           v$log b where a.group#=b.group#;
           select sum(bytes)/(1024*1024*1024) from v$tempfile
           where status='ONLINE';
   For diskgroups using external redundancy = (Every 100Gb
   of space needs 1Mb of extra shared pool) + 2M

  For diskgroups using Normal redundancy: (Every 50Gb of space
  needs 1Mb of extra shared pool) + 4M.

  For diskgroups using High redundancy:   (Every 33Gb of space
  needs 1Mb of extra shared pool) + 6M.
Database-ASM Best Practices

 RMAN is the recommended method for
 backup/recovery of database
      RMAN is completely ASM diskgroup aware
  –



 DataPump dumpsets can be created in
 diskgroups
Migration to ASM

 Database must already be 10g database

 Use RMAN to migrate to ASM from raw or file
 system

 RMAN can be used to migrate entire
 databases or individual files
More information

 See asm.us.oracle.com
      ASM Technical Overview
  –
      ASM Best Practices
  –
      ASM-EMC Best Practices
  –
      ASM –HP Performance tests
  –
      ASMLib Overview and installation
  –



 OTN
      http://www.oracle.com/technology/products/database/asm/i
  –
      ndex.html
O Racle Asm Best Practices Presentation

More Related Content

What's hot

Oracle flex asm & flex cluster
Oracle flex asm & flex clusterOracle flex asm & flex cluster
Oracle flex asm & flex cluster
Ghanshyam Khetan
 
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White PaperConfiguring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Leighton Nelson
 
Erez Alsheich - GridControl
Erez Alsheich - GridControlErez Alsheich - GridControl
Erez Alsheich - GridControl
gridcontrol
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 

What's hot (20)

Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAROracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
 
Oracle flex asm & flex cluster
Oracle flex asm & flex clusterOracle flex asm & flex cluster
Oracle flex asm & flex cluster
 
ORACLE RAC DBA ONLINE TRAINING
ORACLE RAC DBA ONLINE TRAININGORACLE RAC DBA ONLINE TRAINING
ORACLE RAC DBA ONLINE TRAINING
 
Configuring Oracle Enterprise Manager Cloud Control 12c for High Availability
Configuring Oracle Enterprise Manager Cloud Control 12c for High AvailabilityConfiguring Oracle Enterprise Manager Cloud Control 12c for High Availability
Configuring Oracle Enterprise Manager Cloud Control 12c for High Availability
 
Oracle ASM 11g - The Evolution
Oracle ASM 11g - The EvolutionOracle ASM 11g - The Evolution
Oracle ASM 11g - The Evolution
 
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White PaperConfiguring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
 
Erez Alsheich - GridControl
Erez Alsheich - GridControlErez Alsheich - GridControl
Erez Alsheich - GridControl
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
 
A presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NASA presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NAS
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
RAC+ASM: Stories to Share
RAC+ASM: Stories to ShareRAC+ASM: Stories to Share
RAC+ASM: Stories to Share
 
Advanced resource management and scalability features for cloud environment u...
Advanced resource management and scalability features for cloud environment u...Advanced resource management and scalability features for cloud environment u...
Advanced resource management and scalability features for cloud environment u...
 
Les 01 Arch
Les 01 ArchLes 01 Arch
Les 01 Arch
 
Building your first sql server cluster
Building your first sql server clusterBuilding your first sql server cluster
Building your first sql server cluster
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
 
Oracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 CertificationOracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 Certification
 
Deep Dive into RDS PostgreSQL Universe
Deep Dive into RDS PostgreSQL UniverseDeep Dive into RDS PostgreSQL Universe
Deep Dive into RDS PostgreSQL Universe
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
 
Oracle VM 3.4.1 Installation
Oracle VM 3.4.1 InstallationOracle VM 3.4.1 Installation
Oracle VM 3.4.1 Installation
 
Oracle acfs in oracle 11
Oracle acfs in oracle 11Oracle acfs in oracle 11
Oracle acfs in oracle 11
 

Similar to O Racle Asm Best Practices Presentation

les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_
tricantino1973
 
Oracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesOracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slides
Saiful
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
Mohsen B
 
TechTalk v2.0 - Performance tuning Cassandra + AWS
TechTalk v2.0 - Performance tuning Cassandra + AWSTechTalk v2.0 - Performance tuning Cassandra + AWS
TechTalk v2.0 - Performance tuning Cassandra + AWS
Pythian
 

Similar to O Racle Asm Best Practices Presentation (20)

10g rac asm
10g rac asm10g rac asm
10g rac asm
 
D81242GC20_les01.pptx
D81242GC20_les01.pptxD81242GC20_les01.pptx
D81242GC20_les01.pptx
 
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
 
IOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
IOUG Collaborate 18 - ASM Concepts, Architecture and Best PracticesIOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
IOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
 
Running Microsoft and Oracle Stacks on Elastic Block Store (STG303) | AWS re:...
Running Microsoft and Oracle Stacks on Elastic Block Store (STG303) | AWS re:...Running Microsoft and Oracle Stacks on Elastic Block Store (STG303) | AWS re:...
Running Microsoft and Oracle Stacks on Elastic Block Store (STG303) | AWS re:...
 
les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_
 
Oracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesOracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slides
 
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
 
les12.pdf
les12.pdfles12.pdf
les12.pdf
 
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
 
Oracle on vSphere best practices
Oracle on vSphere best practices Oracle on vSphere best practices
Oracle on vSphere best practices
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
 
TechTalk v2.0 - Performance tuning Cassandra + AWS
TechTalk v2.0 - Performance tuning Cassandra + AWSTechTalk v2.0 - Performance tuning Cassandra + AWS
TechTalk v2.0 - Performance tuning Cassandra + AWS
 
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
 
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
 
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
Anthony Somerset - Site Speed = Success!
Anthony Somerset - Site Speed = Success!Anthony Somerset - Site Speed = Success!
Anthony Somerset - Site Speed = Success!
 
Enterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerEnterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual Controller
 

More from eraz

Mustaches
MustachesMustaches
Mustaches
eraz
 
Most Unusual Haircut
Most Unusual HaircutMost Unusual Haircut
Most Unusual Haircut
eraz
 
Cool Unusual Sculptures
Cool Unusual SculpturesCool Unusual Sculptures
Cool Unusual Sculptures
eraz
 
Funny
FunnyFunny
Funny
eraz
 
Wal Mart Presentation Citigroup 021407
Wal  Mart  Presentation  Citigroup 021407Wal  Mart  Presentation  Citigroup 021407
Wal Mart Presentation Citigroup 021407
eraz
 
Top 5 Dos And Don Ts For Measuring Web 2 0
Top 5  Dos And  Don Ts For  Measuring  Web 2 0Top 5  Dos And  Don Ts For  Measuring  Web 2 0
Top 5 Dos And Don Ts For Measuring Web 2 0
eraz
 
Wal Mart Presentation Citigroup 021407
Wal Mart Presentation Citigroup 021407Wal Mart Presentation Citigroup 021407
Wal Mart Presentation Citigroup 021407
eraz
 
Are Agile Projects Doomed To Halfbaked Design
Are Agile Projects Doomed To Halfbaked DesignAre Agile Projects Doomed To Halfbaked Design
Are Agile Projects Doomed To Halfbaked Design
eraz
 
Web Applications Are Getting Interesting!
Web Applications Are Getting Interesting!Web Applications Are Getting Interesting!
Web Applications Are Getting Interesting!
eraz
 
Web20 Expo 2007 Mobile Experience
Web20 Expo 2007 Mobile ExperienceWeb20 Expo 2007 Mobile Experience
Web20 Expo 2007 Mobile Experience
eraz
 
Sxsw2007 Mobile
Sxsw2007 MobileSxsw2007 Mobile
Sxsw2007 Mobile
eraz
 
Form A Wall Presentation Short
Form A Wall Presentation   ShortForm A Wall Presentation   Short
Form A Wall Presentation Short
eraz
 
Momentum Infocare Corporate Presentation
Momentum Infocare   Corporate PresentationMomentum Infocare   Corporate Presentation
Momentum Infocare Corporate Presentation
eraz
 
Mc Kinney Presentation
Mc Kinney PresentationMc Kinney Presentation
Mc Kinney Presentation
eraz
 
Srx Product Introduction Power Point Presentation ©Palmetto Equipment
Srx Product Introduction Power Point Presentation ©Palmetto EquipmentSrx Product Introduction Power Point Presentation ©Palmetto Equipment
Srx Product Introduction Power Point Presentation ©Palmetto Equipment
eraz
 
Pitney Bowes 2006 Presentation Martin
Pitney Bowes 2006 Presentation   MartinPitney Bowes 2006 Presentation   Martin
Pitney Bowes 2006 Presentation Martin
eraz
 
Dot Net Tips And Tricks
Dot Net Tips And TricksDot Net Tips And Tricks
Dot Net Tips And Tricks
eraz
 
Dot Mobi Mobile Web Developers Guide
Dot Mobi Mobile Web Developers GuideDot Mobi Mobile Web Developers Guide
Dot Mobi Mobile Web Developers Guide
eraz
 
Clearspring Widgetsphere
Clearspring WidgetsphereClearspring Widgetsphere
Clearspring Widgetsphere
eraz
 
Babson Glavin Presentation Onsite Videos 2007
Babson Glavin Presentation Onsite Videos 2007Babson Glavin Presentation Onsite Videos 2007
Babson Glavin Presentation Onsite Videos 2007
eraz
 

More from eraz (20)

Mustaches
MustachesMustaches
Mustaches
 
Most Unusual Haircut
Most Unusual HaircutMost Unusual Haircut
Most Unusual Haircut
 
Cool Unusual Sculptures
Cool Unusual SculpturesCool Unusual Sculptures
Cool Unusual Sculptures
 
Funny
FunnyFunny
Funny
 
Wal Mart Presentation Citigroup 021407
Wal  Mart  Presentation  Citigroup 021407Wal  Mart  Presentation  Citigroup 021407
Wal Mart Presentation Citigroup 021407
 
Top 5 Dos And Don Ts For Measuring Web 2 0
Top 5  Dos And  Don Ts For  Measuring  Web 2 0Top 5  Dos And  Don Ts For  Measuring  Web 2 0
Top 5 Dos And Don Ts For Measuring Web 2 0
 
Wal Mart Presentation Citigroup 021407
Wal Mart Presentation Citigroup 021407Wal Mart Presentation Citigroup 021407
Wal Mart Presentation Citigroup 021407
 
Are Agile Projects Doomed To Halfbaked Design
Are Agile Projects Doomed To Halfbaked DesignAre Agile Projects Doomed To Halfbaked Design
Are Agile Projects Doomed To Halfbaked Design
 
Web Applications Are Getting Interesting!
Web Applications Are Getting Interesting!Web Applications Are Getting Interesting!
Web Applications Are Getting Interesting!
 
Web20 Expo 2007 Mobile Experience
Web20 Expo 2007 Mobile ExperienceWeb20 Expo 2007 Mobile Experience
Web20 Expo 2007 Mobile Experience
 
Sxsw2007 Mobile
Sxsw2007 MobileSxsw2007 Mobile
Sxsw2007 Mobile
 
Form A Wall Presentation Short
Form A Wall Presentation   ShortForm A Wall Presentation   Short
Form A Wall Presentation Short
 
Momentum Infocare Corporate Presentation
Momentum Infocare   Corporate PresentationMomentum Infocare   Corporate Presentation
Momentum Infocare Corporate Presentation
 
Mc Kinney Presentation
Mc Kinney PresentationMc Kinney Presentation
Mc Kinney Presentation
 
Srx Product Introduction Power Point Presentation ©Palmetto Equipment
Srx Product Introduction Power Point Presentation ©Palmetto EquipmentSrx Product Introduction Power Point Presentation ©Palmetto Equipment
Srx Product Introduction Power Point Presentation ©Palmetto Equipment
 
Pitney Bowes 2006 Presentation Martin
Pitney Bowes 2006 Presentation   MartinPitney Bowes 2006 Presentation   Martin
Pitney Bowes 2006 Presentation Martin
 
Dot Net Tips And Tricks
Dot Net Tips And TricksDot Net Tips And Tricks
Dot Net Tips And Tricks
 
Dot Mobi Mobile Web Developers Guide
Dot Mobi Mobile Web Developers GuideDot Mobi Mobile Web Developers Guide
Dot Mobi Mobile Web Developers Guide
 
Clearspring Widgetsphere
Clearspring WidgetsphereClearspring Widgetsphere
Clearspring Widgetsphere
 
Babson Glavin Presentation Onsite Videos 2007
Babson Glavin Presentation Onsite Videos 2007Babson Glavin Presentation Onsite Videos 2007
Babson Glavin Presentation Onsite Videos 2007
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

O Racle Asm Best Practices Presentation

  • 1. Automatic Storage Management Best Practices - Nitin Vengurlekar
  • 2. Automatic Storage Management A new feature introduced in Oracle Database 10g Provides a vertical integration of the file system and volume manager for Oracle database files Spreads database files across all available storage for optimal performance and resource utilization Enables simple and non-intrusive resource allocation and provides automatic rebalancing
  • 3. ASM Installation Best Practices Install ASM in a separate ORACLE_HOME from the database ORACLE_HOME Provides higher availability and manageability – allows independent upgrades of the database – and ASM. de-installation of database software can be – performed without impacting the ASM instance
  • 4. ASM Instance Only one ASM instance per node Manages storage for all database instances on – the node In RAC environments, each clustered node will have an ASM instance ASM instances use the interconnect to – synchronize metadata
  • 5. Sample init.ora parameters instance_type=asm #SGA sizing ----------------------------------------------- large_pool_size=20M shared_pool_size=80M processes=55 #Storage ----------------------------------------------------- asm_diskstring='ORCL:*' asm_diskgroups='DATA','FLASH','DATA_SOX‘ #RAC parameters ---------------------------------------- +ASM1.instance_number=1 +ASM2.instance_number=2 cluster_database=true # trace files destinations -------------------------------- background_dump_dest=/opt/oracle/product/server32/10gr1/admin/+ASM/bdump core_dump_dest=/opt/oracle/product/server32/10gr1/admin/+ASM/cdump user_dump_dest=/opt/oracle/product/server32/10gr1/admin/+ASM/udump
  • 6. Setting init.ora parameter Use default values Only processes parameter may need – modification Processes parameter setting is dependent on the number of databases that connect to ASM processes= 25 + 15n, where n = # databases connected to ASM
  • 7. ASM administration Disks Diskgroups 0010 0010 0010 0010 0010 Files 0010 0010 0010 0010 0010
  • 9. Diskgroup Best Practices Create two diskgroups One for database area – Second one for flash recovery area – Create diskgroups using large number of similar type disks same size characteristics – same performance characteristics –
  • 10. Diskgroup Best Practices The size of the flash recovery area diskgroup will depend on what is stored and how much is retained If possible, physically separate the database area and flashback area, make sure the two areas do not share the same – physical spindles
  • 11. Diskgroup Best Practices To minimize search overhead, perform all required mount operations in a single mount command If adding or removing multiple disks, make the change in a single rebalance operation. This coalesces rebalance operations and – reduces overhead
  • 12. Diskgroup Best Practices Use ASM External Redundancy when creating disk groups with high end storage arrays Use ASM Redundancy for low-end (modular) or JBOD storage array systems Use failure groups with ASM Redundancy, Determine what failure components you are – protecting yourself from.
  • 14. Disk Best Practices Make sure disks span multiple backend disk adapters Implement multiple access paths to the storage array using two or more HBAs or initiators Deploy multi-pathing software over these multiple HBAs to provide I/O load-balancing and failover capabilities.
  • 15. Disk Best Practices If using hardware RAID, make LUN stripe size as close to 1mb as possible Use OS disk labels when available Prevents accidental user overwrites of disks – Easier management of disks – Make sure the disk (partition) starts at 1Mb a – boundary, to insure proper I/O alignment
  • 17. Database-ASM Best Practices Use Oracle Managed Files (OMF) Easier Oracle file management – Reduces user file management errors – Enforcement of OFA standards – Automatic deletion of ASM files when database – files are dropped To use OMF set : db_recovery_file_dest='+FLASH’ – db_create_file_dest=‘+DATA’
  • 18. Database-ASM Best Practices Create CRS dependency between database instance and ASM instance Ensures ASM instance starts up before starting – database instance Allows ASM instance to cleanly shutdown – database instance srvctl modify instance -d crm -i crm1 -s asm1 – Use 10g Automatic Memory Management
  • 19. Database-ASM Best Practices The following recommendations for database SGA sizing can be used to calculate the SGA_TARGET value large_pool = Add additional 600k – Processes = Add 16 –
  • 20. Database-ASM Best Practices Shared_pool – Aggregate the values from the following queries to obtain current database storage sizes that is either already on ASM or will be stored in ASM. Then determine the redundancy type that is used (or will be used), and calculate the shared_pool, using the aggregated value as input. select sum(bytes)/(1024*1024*1024) from v$datafile; select sum(bytes)/(1024*1024*1024) from v$logfile a, v$log b where a.group#=b.group#; select sum(bytes)/(1024*1024*1024) from v$tempfile where status='ONLINE'; For diskgroups using external redundancy = (Every 100Gb of space needs 1Mb of extra shared pool) + 2M For diskgroups using Normal redundancy: (Every 50Gb of space needs 1Mb of extra shared pool) + 4M. For diskgroups using High redundancy: (Every 33Gb of space needs 1Mb of extra shared pool) + 6M.
  • 21. Database-ASM Best Practices RMAN is the recommended method for backup/recovery of database RMAN is completely ASM diskgroup aware – DataPump dumpsets can be created in diskgroups
  • 22. Migration to ASM Database must already be 10g database Use RMAN to migrate to ASM from raw or file system RMAN can be used to migrate entire databases or individual files
  • 23. More information See asm.us.oracle.com ASM Technical Overview – ASM Best Practices – ASM-EMC Best Practices – ASM –HP Performance tests – ASMLib Overview and installation – OTN http://www.oracle.com/technology/products/database/asm/i – ndex.html