Advanced Databases Basic Database Administration Guide to Oracle 10g 1.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

The Architecture of Oracle
Module 2: Database Architecture
4 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Oracle Architecture. Instances and Databases (1/2)
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
Basic Storage Concepts and Settings
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 2 System Level.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Oracle Database Instance Management Oracle 10g. Ebtisam Alabdulqader Outline Management Framework. Managing Oracle instance through the Enterprise Manager.
INTRODUCTION TO ORACLE
Backup and Recovery Part 1.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Oracle Database Administration
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
Managing the Oracle RDBMS Today you will look at the basics, including: –Setting up Enterprise Manager –Using Enterprise Manager –Using Server Manager.
Database Administration TableSpace & Data File Management
CHAPTER 2 Implementing a Database. Introduction to Creating Databases After you’ve installed the Oracle software, the next logical step is to create a.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
9 Copyright © 2005, Oracle. All rights reserved. Administering User Security.
1Introduction Objectives 1-2 Course Objectives 1-3 Oracle Products 1-4 Relational Database Systems 1-5 How the Data Is Organized 1-6 Integrity Constraints.
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
IS 221: DATABASE ADMINISTRATION Lecture 6:Create Users & Manage Users. Information Systems Department 1.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Anton TopurovIT-DB 23 April 2013 Introduction to Oracle2.
Oracle9i Performance Tuning Chapter 12 Tuning Tools.
10/23/2015ISYS366 - Installation1 ISYS366 Installation.
IT Database Administration SECTION 01. Starting Up and Shutting Down the Database Database Administration Facilities – A number of tools are available.
Introduction to Oracle. Oracle History 1979 Oracle Release client/server relational database 1989 Oracle Oracle 8 (object relational) 1999.
Week 3 Lecture 2 Basic Storage Concepts and Settings.
Advanced Databases DBA: Security and Backups Guide to Oracle 10g 1.
Database Storage Structures
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
Database Security. Multi-user database systems like Oracle include security to control how the database is accessed and used for example security Mechanisms:
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Oracle 10g Database Administrator: Implementation and Administration Chapter 5 Basic Storage Concepts and Settings.
Week 2 Lecture 1 Creating an Oracle Instance. Learning Objectives  Learn the steps for creating a database  Understand the prerequisites for creating.
Managing Tablespaces and Data Files
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
Advanced Databases DBA: Security 1. Advanced Databases Agenda Understand the need for security. Learn about System Permissions and Object permissions.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
Database Security. Multi-user database systems like Oracle include security to control how the database is accessed and used for example security Mechanisms:
QUIZ DATABASE ADMINISTRATOR. LESS 3 LESS 5 LESS 6 LESS 7.
7 Copyright © 2007, Oracle. All rights reserved. Administering User Security.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
I NTRODUCTION OF W EEK 2  Assignment Discussion  Due this week:  1-1 (Exam Proctor): everyone including in TLC  1-2 (SQL Review): review SQL  Review.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
8 Copyright © Oracle Corporation, All rights reserved. Managing Tablespaces and Data files.
Oracle Database Architectural Components
 Database Administration Oracle Database Instance Management Starting Up and Shutting Down أ. ندى الغامدي, أ. ندى الطوالة.
Table spaces.
Initialization Parameters
Is 221: Database Administration
Introduction of Week 3 Assignment Discussion
Introduction To Oracle 10g
Database administration
Presentation transcript:

Advanced Databases Basic Database Administration Guide to Oracle 10g 1

Advanced Databases 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. 2

Advanced Databases 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) information-technology/database- administrators.htmhttp:// information-technology/database- administrators.htm 3

Advanced Databases 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 4

Advanced Databases DBA Tools Guide to Oracle 10g 5

Advanced Databases DBA Tools Product Comparison Oracle 11g Oracle Enterprise Manager Web-Based SQL Server SQL Server Management Studio Client-Based Guide to Oracle 10g 6

Advanced Databases 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 7

Advanced Databases OEM Architecture 8

Advanced Databases Demo DBA Consoles Guide to Oracle 10g 9

Advanced Databases 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 10

Advanced Databases Oracle 11g Data Structures Tablespace –One or more Data Files Segment –Partitioned Data Extent –Growth rule for segment Data block –Database storage data block –Operating system blocks 11

Advanced Databases Tablespaces One or more Data files Stores all database structures + data –Tables, data, views, sp’s etc… Guide to Oracle 10g 12

Advanced Databases Datafiles.dbf extensions Store tablespace contents Stored in Oracle_Base\oradata\SID Use OEM to view and modify Grow via Extents Guide to Oracle 10g 13

Advanced Databases Segments – They Partition the data 14

Advanced Databases 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 15

Advanced Databases Data Blocks – Smallest Unit Read/Written 16

Advanced Databases Managing Oracle 11g Data Structures Create tablespace Manage datafile extents –Autoextensible tablespace Configure tablespace and datafile properties Demo! Guide to Oracle 10g 17

Advanced Databases Oracle 11g Database File Architecture 18

Advanced Databases Parameter File Text file Specifies configuration information about Oracle 10g database instance init.ora –Stored in Oracle_Base\admin\SID\pfile folder DBAs can edit parameter file –Modify database configuration Guide to Oracle 10g 19

Advanced Databases Control Files Store information about database structure and state Stored in Oracle_Base\oradata\SID Three separate control files by default: –CONTROL01.CTL –CONTROL02.CTL –CONTROL03.CTL –All contain same data –At least one must be present 20

Advanced Databases Redo Log Files Records information to undo action query changes.log extension Stored in Oracle_Base\ORADATA\SID Pre-image Rollback segment Guide to Oracle 10g 21

Advanced Databases User Accounts 22

Advanced Databases 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 –Demo! Guide to Oracle 10g 23

Advanced Databases Specifying General User Information Use OEM –General page: Name Profile Authentication Default tablespace Temporary tablespace Status Guide to Oracle 10g 24

Advanced Databases 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 Admin Option Guide to Oracle 10g 25

Advanced Databases 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 26

Advanced Databases Editing Existing User Accounts Use OEM –Select user account to be modified on Users page –General page opens –Select other links to modify properties Guide to Oracle 10g 27

Advanced Databases 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. 28

Advanced Databases Startup / Shutdown 29

Advanced Databases Starting /Shutting Down the Db Shut down database periodically –Perform maintenance Restart database Guide to Oracle 10g 30

Advanced Databases 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 31

Advanced Databases 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 32

Advanced Databases Instance Options Startup Start in one of two modes: – Unrestricted – Restricted Shutdown Specify one of four ways to handle existing user connections: – Normal – Transactional – Immediate – Abort 33

Advanced Databases Oracle 11g Database Instance States 34

Advanced Databases Questions? Guide to Oracle 10g 35