SlideShare a Scribd company logo
1 of 36
Advanced Databases
Basic Database Administration 
By 
Guide to Oracle 10g 
Advanced Databases 
2 
Address: 
K1/ 4, Second floor, 
Sector-15/16 Market, 
Vashi, Navi Mumbai 
Mob No: 
9892900103 
9892900173
Objectives 
• Define database administration. 
• Understand database administration tasks. 
• Perform database administration tasks using 
Oracle 11g Enterprise Manager. 
• Understand Oracle 11g and SQL Server data 
storage structures. 
Advanced Databases 
3
What is Database Administration? 
• A Function information technology (IT) 
department 
• Database Administrator (DBA) 
– Overall health / Performance 
– Manages Security 
– Setup Test and Dev. Environments 
• Avg $77K/year (BLS 2014) 
• http://www.bls.gov/ooh/computer-and-information- 
technology/database-administrators. 
htm 
Advanced Databases 
4
Duties of the DBA 
• Manage Database Objects – Tables / Views / 
Procedures 
• Database performance 
• Security – Logons /Users / Roles 
• Clone data from Production to Development 
or Test 
• Manage backups and carry out DR plans. 
Guide to Oracle 10g 
Advanced Databases 
5
DBA Tools 
Guide to Oracle 10g 
Advanced Databases 
6
DBA Tools Product Comparison 
Oracle 11g 
• Oracle Enterprise Manager 
• Web-Based 
SQL Server 
• SQL Server Management 
Studio 
• Client-Based 
Guide to Oracle 10g 
Advanced Databases 
7
Oracle Enterprise Manager 
• User account must have DBA role 
• Oracle Enterprise Manager (OEM) 
– Three-tier architecture 
– Console 
• Oracle Management Server (OMS) 
– Interacts with repository 
– Makes it easier for DBAs to administer multiple 
databases in organization’s network 
Advanced Databases 
8
OEM Architecture 
Advanced Databases 
9
Demo 
DBA Consoles 
Guide to Oracle 10g 
Advanced Databases 
10
Managing Oracle 11g Data Storage 
• Like most DBMS’s the logical structures 
– Tables 
– Constraints 
– Views / Procedures 
• Can be stored in physical data structures 
– Files on disk 
– Dedicated drive partitions 
– RAM Guide to Oracle 10g 
Advanced Databases 
11
Oracle 11g Data Structures 
Advanced Databases 
• Tablespace 
– One or more Data Files 
• Segment 
– Partitioned Data 
• Extent 
– Growth rule for segment 
• Data block 
– Database storage data block 
– Operating system blocks 
12
Tablespaces 
• One or more Data files 
• Stores all database structures + data 
– Tables, data, views, sp’s etc… 
Guide to Oracle 10g 
Advanced Databases 
13
Datafiles 
• .dbf extensions 
• Store tablespace contents 
• Stored in Oracle_BaseoradataSID 
• Use OEM to view and modify 
• Grow via Extents 
Guide to Oracle 10g 
Advanced Databases 
14
Segments – They Partition the data 
Advanced Databases 
15
Extents – Smallest unit added to data file 
• Sequence of Data Blocks 
• When an insert grows beyond the data file 
size allocation, a new extent is added. 
• More efficient to add groups of data blocks 
vs. individual blocks. 
Guide to Oracle 10g 
Advanced Databases 
16
Data Blocks – Smallest Unit Read/Written 
Advanced Databases 
17
Managing Oracle 11g Data Structures 
• Create tablespace 
• Manage datafile extents 
– Autoextensible tablespace 
• Configure tablespace and datafile properties 
Advanced Databases 
• Demo! 
Guide to Oracle 10g 
18
Oracle 11g Database File Architecture 
Advanced Databases 
19
Parameter File 
• Text file 
• Specifies configuration information about 
Oracle 10g database instance 
• init.ora 
– Stored in Oracle_BaseadminSIDpfile folder 
• DBAs can edit parameter file 
– Modify database configuration 
Guide to Oracle 10g 
Advanced Databases 
20
Control Files 
• Store information about database structure 
and state 
• Stored in Oracle_BaseoradataSID 
• Three separate control files by default: 
– CONTROL01.CTL 
– CONTROL02.CTL 
– CONTROL03.CTL 
– All contain same data 
– At least one must be present 
Advanced Databases 
21
Redo Log Files 
• Records information to undo action query 
changes 
• .log extension 
• Stored in Oracle_BaseORADATASID 
• Pre-image 
• Rollback segment 
Guide to Oracle 10g 
Advanced Databases 
22
User Accounts 
Advanced Databases 
23
Creating and Managing User 
Accounts 
• Create new user account 
– General information about user account 
– System privileges user has in database 
– User ’s tablespace quota on database server 
Advanced Databases 
–Demo! 
Guide to Oracle 10g 
24
Specifying General User Information 
Advanced Databases 
• Use OEM 
– General page: 
• Name 
• Profile 
• Authentication 
• Default tablespace 
• Temporary tablespace 
• Status 
Guide to Oracle 10g 
25
Specifying System Privileges 
• System privilege 
• Object privilege 
• Enable new user to interact with Oracle 10g 
database 
– DBA grants system privileges 
– Use System Privileges page in Create User page 
Advanced Databases 
• Admin Option 
Guide to Oracle 10g 
26
Tablespace Quotas 
• Specifies amount of disk space that user ’s 
database objects can occupy in default 
tablespace 
• Must be assigned 
• Quota Size value: 
– None, default 
– Unlimited 
– Value Guide to Oracle 10g 
Advanced Databases 
27
Editing Existing User Accounts 
Advanced Databases 
• Use OEM 
– Select user account to be modified on Users 
page 
– General page opens 
– Select other links to modify properties 
Guide to Oracle 10g 
28
Roles 
• Database object 
• Represents collection of system privileges 
• Assign to multiple users 
• Create role 
– Can inherit privileges from other roles 
• Grant Role to User Account 
• Easier than manually assigning everything 
manually. 
Advanced Databases 
29
Startup / Shutdown 
Advanced Databases 
30
Starting /Shutting Down the Db 
• Shut down database periodically 
– Perform maintenance 
Advanced Databases 
• Restart database 
Guide to Oracle 10g 
31
Creating an Administrative 
Connection 
• Shutting down database makes database 
unavailable for user connections 
• DBA must log onto database using 
administrative connection 
• SYS user account 
Guide to Oracle 10g 
Advanced Databases 
32
Using OEM to Shut Down and Start a 
Database Instance 
• DBA shuts down database instance using 
Normal, Transactional, or Immediate 
shutdown option 
– Shutdown process performs five following tasks: 
• Writes contents of data buffer cache to datafiles 
• Writes contents of redo log buffer to redo log files 
• Closes all files 
• Stops all background processes 
• Deallocates SGA in server ’s main memory 
Advanced Databases 
33
Instance Options 
Startup 
• Start in one of two modes: 
Advanced Databases 
– Unrestricted 
– Restricted 
Shutdown 
• Specify one of four ways to 
handle existing user 
connections: 
– Normal 
– Transactional 
– Immediate 
– Abort 
34
Oracle 11g Database Instance States 
Advanced Databases 
35
Thank You !!!! 
Guide to Oracle 10g 
Advanced Databases 
36

More Related Content

What's hot (20)

Lecture2 oracle ppt
Lecture2 oracle pptLecture2 oracle ppt
Lecture2 oracle ppt
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
 
Mysql database
Mysql databaseMysql database
Mysql database
 
DBA oracle
DBA oracleDBA oracle
DBA oracle
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database Introduction
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architecture
 
ORACLE ARCHITECTURE
ORACLE ARCHITECTUREORACLE ARCHITECTURE
ORACLE ARCHITECTURE
 
Présentation Oracle DataBase 11g
Présentation Oracle DataBase 11gPrésentation Oracle DataBase 11g
Présentation Oracle DataBase 11g
 
Oracle 12c Architecture
Oracle 12c ArchitectureOracle 12c Architecture
Oracle 12c Architecture
 
abhishekResume
abhishekResumeabhishekResume
abhishekResume
 
Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online training
 
Oracle DBA
Oracle DBAOracle DBA
Oracle DBA
 
SQL Server Overview
SQL Server OverviewSQL Server Overview
SQL Server Overview
 
Less01 Dba1
Less01 Dba1Less01 Dba1
Less01 Dba1
 
Oracle database introduction
Oracle database introductionOracle database introduction
Oracle database introduction
 
Oracle
OracleOracle
Oracle
 
Cooper Oracle 11g Overview
Cooper Oracle 11g OverviewCooper Oracle 11g Overview
Cooper Oracle 11g Overview
 
Presentation day2 oracle12c
Presentation day2 oracle12cPresentation day2 oracle12c
Presentation day2 oracle12c
 

Similar to Oracle administration classes in mumbai

Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Performance Tuning Corporation
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle DatabaseMeysam Javadi
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)Gustavo Rene Antunez
 
DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)Gustavo Rene Antunez
 
Database administration and security
Database administration and securityDatabase administration and security
Database administration and securityDhani Ahmad
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveSecure-24
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architectureImran Ali
 
Operational foundation for the sql server dba
Operational foundation for the sql server dbaOperational foundation for the sql server dba
Operational foundation for the sql server dbaPeterShore4
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehousesDhani Ahmad
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cSatishbabu Gunukula
 
ORACLE 12C-New-Features
ORACLE 12C-New-FeaturesORACLE 12C-New-Features
ORACLE 12C-New-FeaturesNavneet Upneja
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)Marco Gralike
 
Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013Ivan Sanders
 
9.6_Course Material-Postgresql_002.pdf
9.6_Course Material-Postgresql_002.pdf9.6_Course Material-Postgresql_002.pdf
9.6_Course Material-Postgresql_002.pdfsreedb2
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]shuwutong
 
high performance databases
high performance databaseshigh performance databases
high performance databasesmahdi_92
 

Similar to Oracle administration classes in mumbai (20)

Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)
 
DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)
 
Database administration and security
Database administration and securityDatabase administration and security
Database administration and security
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archive
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architecture
 
Operational foundation for the sql server dba
Operational foundation for the sql server dbaOperational foundation for the sql server dba
Operational foundation for the sql server dba
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehouses
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12c
 
ORACLE 12C-New-Features
ORACLE 12C-New-FeaturesORACLE 12C-New-Features
ORACLE 12C-New-Features
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)
 
An AMIS overview of database 12c
An AMIS overview of database 12cAn AMIS overview of database 12c
An AMIS overview of database 12c
 
Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013
 
9.6_Course Material-Postgresql_002.pdf
9.6_Course Material-Postgresql_002.pdf9.6_Course Material-Postgresql_002.pdf
9.6_Course Material-Postgresql_002.pdf
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
 
high performance databases
high performance databaseshigh performance databases
high performance databases
 
abhishek tyagi
abhishek tyagiabhishek tyagi
abhishek tyagi
 
Flashback in OCI
Flashback in OCIFlashback in OCI
Flashback in OCI
 

More from Vibrant Technologies & Computers

Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Vibrant Technologies & Computers
 

More from Vibrant Technologies & Computers (20)

Buisness analyst business analysis overview ppt 5
Buisness analyst business analysis overview ppt 5Buisness analyst business analysis overview ppt 5
Buisness analyst business analysis overview ppt 5
 
SQL Introduction to displaying data from multiple tables
SQL Introduction to displaying data from multiple tables  SQL Introduction to displaying data from multiple tables
SQL Introduction to displaying data from multiple tables
 
SQL- Introduction to MySQL
SQL- Introduction to MySQLSQL- Introduction to MySQL
SQL- Introduction to MySQL
 
SQL- Introduction to SQL database
SQL- Introduction to SQL database SQL- Introduction to SQL database
SQL- Introduction to SQL database
 
ITIL - introduction to ITIL
ITIL - introduction to ITILITIL - introduction to ITIL
ITIL - introduction to ITIL
 
Salesforce - Introduction to Security & Access
Salesforce -  Introduction to Security & Access Salesforce -  Introduction to Security & Access
Salesforce - Introduction to Security & Access
 
Data ware housing- Introduction to olap .
Data ware housing- Introduction to  olap .Data ware housing- Introduction to  olap .
Data ware housing- Introduction to olap .
 
Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.
 
Data ware housing- Introduction to data ware housing
Data ware housing- Introduction to data ware housingData ware housing- Introduction to data ware housing
Data ware housing- Introduction to data ware housing
 
Salesforce - classification of cloud computing
Salesforce - classification of cloud computingSalesforce - classification of cloud computing
Salesforce - classification of cloud computing
 
Salesforce - cloud computing fundamental
Salesforce - cloud computing fundamentalSalesforce - cloud computing fundamental
Salesforce - cloud computing fundamental
 
SQL- Introduction to PL/SQL
SQL- Introduction to  PL/SQLSQL- Introduction to  PL/SQL
SQL- Introduction to PL/SQL
 
SQL- Introduction to advanced sql concepts
SQL- Introduction to  advanced sql conceptsSQL- Introduction to  advanced sql concepts
SQL- Introduction to advanced sql concepts
 
SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data   SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data
 
SQL- Introduction to SQL Set Operations
SQL- Introduction to SQL Set OperationsSQL- Introduction to SQL Set Operations
SQL- Introduction to SQL Set Operations
 
Sas - Introduction to designing the data mart
Sas - Introduction to designing the data martSas - Introduction to designing the data mart
Sas - Introduction to designing the data mart
 
Sas - Introduction to working under change management
Sas - Introduction to working under change managementSas - Introduction to working under change management
Sas - Introduction to working under change management
 
SAS - overview of SAS
SAS - overview of SASSAS - overview of SAS
SAS - overview of SAS
 
Teradata - Architecture of Teradata
Teradata - Architecture of TeradataTeradata - Architecture of Teradata
Teradata - Architecture of Teradata
 
Teradata - Restoring Data
Teradata - Restoring Data Teradata - Restoring Data
Teradata - Restoring Data
 

Recently uploaded

Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 

Recently uploaded (20)

Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 

Oracle administration classes in mumbai

  • 2. Basic Database Administration By Guide to Oracle 10g Advanced Databases 2 Address: K1/ 4, Second floor, Sector-15/16 Market, Vashi, Navi Mumbai Mob No: 9892900103 9892900173
  • 3. Objectives • Define database administration. • Understand database administration tasks. • Perform database administration tasks using Oracle 11g Enterprise Manager. • Understand Oracle 11g and SQL Server data storage structures. Advanced Databases 3
  • 4. What is Database Administration? • A Function information technology (IT) department • Database Administrator (DBA) – Overall health / Performance – Manages Security – Setup Test and Dev. Environments • Avg $77K/year (BLS 2014) • http://www.bls.gov/ooh/computer-and-information- technology/database-administrators. htm Advanced Databases 4
  • 5. Duties of the DBA • Manage Database Objects – Tables / Views / Procedures • Database performance • Security – Logons /Users / Roles • Clone data from Production to Development or Test • Manage backups and carry out DR plans. Guide to Oracle 10g Advanced Databases 5
  • 6. DBA Tools Guide to Oracle 10g Advanced Databases 6
  • 7. DBA Tools Product Comparison Oracle 11g • Oracle Enterprise Manager • Web-Based SQL Server • SQL Server Management Studio • Client-Based Guide to Oracle 10g Advanced Databases 7
  • 8. Oracle Enterprise Manager • User account must have DBA role • Oracle Enterprise Manager (OEM) – Three-tier architecture – Console • Oracle Management Server (OMS) – Interacts with repository – Makes it easier for DBAs to administer multiple databases in organization’s network Advanced Databases 8
  • 10. Demo DBA Consoles Guide to Oracle 10g Advanced Databases 10
  • 11. Managing Oracle 11g Data Storage • Like most DBMS’s the logical structures – Tables – Constraints – Views / Procedures • Can be stored in physical data structures – Files on disk – Dedicated drive partitions – RAM Guide to Oracle 10g Advanced Databases 11
  • 12. Oracle 11g Data Structures Advanced Databases • Tablespace – One or more Data Files • Segment – Partitioned Data • Extent – Growth rule for segment • Data block – Database storage data block – Operating system blocks 12
  • 13. Tablespaces • One or more Data files • Stores all database structures + data – Tables, data, views, sp’s etc… Guide to Oracle 10g Advanced Databases 13
  • 14. Datafiles • .dbf extensions • Store tablespace contents • Stored in Oracle_BaseoradataSID • Use OEM to view and modify • Grow via Extents Guide to Oracle 10g Advanced Databases 14
  • 15. Segments – They Partition the data Advanced Databases 15
  • 16. Extents – Smallest unit added to data file • Sequence of Data Blocks • When an insert grows beyond the data file size allocation, a new extent is added. • More efficient to add groups of data blocks vs. individual blocks. Guide to Oracle 10g Advanced Databases 16
  • 17. Data Blocks – Smallest Unit Read/Written Advanced Databases 17
  • 18. Managing Oracle 11g Data Structures • Create tablespace • Manage datafile extents – Autoextensible tablespace • Configure tablespace and datafile properties Advanced Databases • Demo! Guide to Oracle 10g 18
  • 19. Oracle 11g Database File Architecture Advanced Databases 19
  • 20. Parameter File • Text file • Specifies configuration information about Oracle 10g database instance • init.ora – Stored in Oracle_BaseadminSIDpfile folder • DBAs can edit parameter file – Modify database configuration Guide to Oracle 10g Advanced Databases 20
  • 21. Control Files • Store information about database structure and state • Stored in Oracle_BaseoradataSID • Three separate control files by default: – CONTROL01.CTL – CONTROL02.CTL – CONTROL03.CTL – All contain same data – At least one must be present Advanced Databases 21
  • 22. Redo Log Files • Records information to undo action query changes • .log extension • Stored in Oracle_BaseORADATASID • Pre-image • Rollback segment Guide to Oracle 10g Advanced Databases 22
  • 23. User Accounts Advanced Databases 23
  • 24. Creating and Managing User Accounts • Create new user account – General information about user account – System privileges user has in database – User ’s tablespace quota on database server Advanced Databases –Demo! Guide to Oracle 10g 24
  • 25. Specifying General User Information Advanced Databases • Use OEM – General page: • Name • Profile • Authentication • Default tablespace • Temporary tablespace • Status Guide to Oracle 10g 25
  • 26. Specifying System Privileges • System privilege • Object privilege • Enable new user to interact with Oracle 10g database – DBA grants system privileges – Use System Privileges page in Create User page Advanced Databases • Admin Option Guide to Oracle 10g 26
  • 27. Tablespace Quotas • Specifies amount of disk space that user ’s database objects can occupy in default tablespace • Must be assigned • Quota Size value: – None, default – Unlimited – Value Guide to Oracle 10g Advanced Databases 27
  • 28. Editing Existing User Accounts Advanced Databases • Use OEM – Select user account to be modified on Users page – General page opens – Select other links to modify properties Guide to Oracle 10g 28
  • 29. Roles • Database object • Represents collection of system privileges • Assign to multiple users • Create role – Can inherit privileges from other roles • Grant Role to User Account • Easier than manually assigning everything manually. Advanced Databases 29
  • 30. Startup / Shutdown Advanced Databases 30
  • 31. Starting /Shutting Down the Db • Shut down database periodically – Perform maintenance Advanced Databases • Restart database Guide to Oracle 10g 31
  • 32. Creating an Administrative Connection • Shutting down database makes database unavailable for user connections • DBA must log onto database using administrative connection • SYS user account Guide to Oracle 10g Advanced Databases 32
  • 33. Using OEM to Shut Down and Start a Database Instance • DBA shuts down database instance using Normal, Transactional, or Immediate shutdown option – Shutdown process performs five following tasks: • Writes contents of data buffer cache to datafiles • Writes contents of redo log buffer to redo log files • Closes all files • Stops all background processes • Deallocates SGA in server ’s main memory Advanced Databases 33
  • 34. Instance Options Startup • Start in one of two modes: Advanced Databases – Unrestricted – Restricted Shutdown • Specify one of four ways to handle existing user connections: – Normal – Transactional – Immediate – Abort 34
  • 35. Oracle 11g Database Instance States Advanced Databases 35
  • 36. Thank You !!!! Guide to Oracle 10g Advanced Databases 36