Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.

Slides:



Advertisements
Similar presentations
Overview of Database Administrator (DBA) Tools
Advertisements

Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Module 6: Configuring Windows XP Professional to Operate in a Microsoft Network.
15.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 15: Configuring a Windows.
Oracle 10g Database Administrator: Implementation and Administration
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 12: Network Printing and Offline Files.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
2 Copyright © 2009, Oracle. All rights reserved. Installing your Oracle Software.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Oracle Database Administration. Rana Almurshed 2 course objective After completing this course you should be able to: install, create and administrate.
Maintaining and Updating Windows Server 2008
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Module 1: Database and Instance. Overview Defining a Database and an Instance Introduce Microsoft’s and Oracle’s Implementations of a Database and an.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
Presentation #36576 Presentation #36576 Oracle9i LDAP: Advanced Configuration of Directory Naming Daniel T. Liu Senior Technical consultant First American.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
1 Chapter Overview Creating User and Computer Objects Maintaining User Accounts Creating User Profiles.
Understanding and Managing WebSphere V5
11 SYSTEMS ADMINISTRATION AND TERMINAL SERVICES Chapter 12.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
16.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 16: Examining Software Update.
Overview Print and Document Services Print Management console Printer properties Troubleshooting.
Managing the Oracle RDBMS Today you will look at the basics, including: –Setting up Enterprise Manager –Using Enterprise Manager –Using Server Manager.
5 Copyright © 2008, Oracle. All rights reserved. Configuring the Oracle Network Environment.
5 Copyright © 2007, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
12 Copyright © 2004, Oracle. All rights reserved. Oracle Net Services.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Chapter 6 Configuring Windows Server 2008 Printing
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Module 7: Fundamentals of Administering Windows Server 2008.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Deploying Oracle Names Jeff D’Abate Sr. Database Administrator Enterprise Application Services November 19, 2004.
6 Copyright © 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Five Windows Server 2008 Remote Desktop Services,
Oracle 10g Database Administrator: Implementation and Administration Chapter 1 Oracle Architecture Overview.
A Brief Documentation.  Provides basic information about connection, server, and client.
3 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Server Side Configuration.
3 Copyright © 2004, Oracle. All rights reserved. Controlling Access to the Oracle Listener.
Week 2 Lecture 1 Creating an Oracle Instance. Learning Objectives  Learn the steps for creating a database  Understand the prerequisites for creating.
Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration.
Week 1 Lecture 1 Oracle Architecture Overview. Learning Objectives Learn about Oracle9i architecture and key Oracle9i software components Discover differences.
Oracle 10g Administration Oracle Server Introduction Copyright ©2006, Custom Training Institute.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
SQL Database Management
Module Overview Installing and Configuring a Network Policy Server
Creating an Oracle Database
Objectives Differentiate between the different editions of Windows Server 2003 Explain Windows Server 2003 network models and server roles Identify concepts.
Oracle Architecture Overview
RAC Performance Lab.
Microsoft SQL Server 2014 for Oracle DBAs Module 1
Introduction of Week 5 Assignment Discussion
Presentation transcript:

Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture

Oracle 10g Database Administrator: Implementation and Administration 2 Objectives Identify the main DBA tools in the Oracle10g software suite Configure Oracle Net Services to connect to the database Examine Oracle database instance architecture Examine Oracle database memory architecture

Oracle 10g Database Administrator: Implementation and Administration 3 Objectives (continued) Examine Oracle database process architecture Examine Oracle database connection management architecture Start using Enterprise Manager Go through a brief introduction to Database Control

Oracle 10g Database Administrator: Implementation and Administration 4 Overview of DBA Tools Many of these tools become integrated in: –Central workspace –Enterprise Manager console –Database Control –Grid Control Tools give you a way to work on the database –In a Windows-style environment You must also understand how to work directly from the command line

Oracle 10g Database Administrator: Implementation and Administration 5 Overview of DBA Tools (continued)

Oracle 10g Database Administrator: Implementation and Administration 6 Overview of DBA Tools (continued)

Oracle 10g Database Administrator: Implementation and Administration 7 Overview of DBA Tools (continued) Changing a user’s password –Using a command-line tool –Using Enterprise Manager Some tasks can be handled by more than one tool –Oracle Net Services is a common denominator for these tools

Oracle 10g Database Administrator: Implementation and Administration 8 Overview of DBA Tools (continued)

Oracle 10g Database Administrator: Implementation and Administration 9 Overview of DBA Tools (continued)

Oracle 10g Database Administrator: Implementation and Administration 10 Overview of DBA Tools (continued)

Oracle 10g Database Administrator: Implementation and Administration 11 Configuring Oracle Net Services to Connect to the Database Nearly every time you access Oracle10g –You go through Oracle Net Services

Oracle 10g Database Administrator: Implementation and Administration 12 Overview of Oracle Net Service Architecture Oracle Net Services –Made up of several subcomponents that work together Client and server installations of Oracle Net Services –Must be configured to be synchronized to the target database –Configuration is stored in the tnsnames.ora Service name –Set of information used to locate and communicate with an Oracle database

Oracle 10g Database Administrator: Implementation and Administration 13 Overview of Oracle Net Service Architecture (continued)

Oracle 10g Database Administrator: Implementation and Administration 14 Overview of Oracle Net Service Architecture (continued) Client side can reach the server-side database –By using the service name –Combined with a valid user name and password Bequeath protocol –Allows a direct connection to a database On a database server computer Without going through Oracle Net services Without requiring a network name –Allowed only when you are logged on to the database machine

Oracle 10g Database Administrator: Implementation and Administration 15 Overview of Oracle Net Service Architecture (continued)

Oracle 10g Database Administrator: Implementation and Administration 16 Overview of Oracle Net Service Architecture (continued) Path of communication –Client with Oracle Net –Client with JDBC driver –Terminal with direct connection Network naming methods –Local naming –Directory naming –Host naming –External naming –Easy connect

Oracle 10g Database Administrator: Implementation and Administration 17 Overview of Oracle Net Service Architecture (continued)

Oracle 10g Database Administrator: Implementation and Administration 18 Step-By-Step Configuration of Oracle Net Services Using Net Manager Steps: –Start Net Manager in Windows –Expand the Local node –Expand the Service Naming node –Highlight Service Naming, and click the big green plus sign

Oracle 10g Database Administrator: Implementation and Administration 19 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 20 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 21 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 22 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued) Steps (continued): –For the connection, select TCP/IP (Internet Protocol) as the protocol –Type the computer name on which the database resides in the Host Name box –Accept the default selection of Oracle8i or later

Oracle 10g Database Administrator: Implementation and Administration 23 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 24 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 25 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 26 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued) Steps (continued): –Click Test –Click Close to close the test window –Click Finish to complete the definition –Save the configuration By selecting File/Save Network Configuration from the menu –Close Net Manager

Oracle 10g Database Administrator: Implementation and Administration 27 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 28 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 29 Step-By-Step Configuration of Oracle Net Services Using Net Manager (continued) ORACLE_HOME and ORACLE_BASE variables –Represent registry entries in Windows And $ variables in Unix or Linux –ORACLE_HOME variable Refers to the directory where Oracle installs its executable files –ORACLE_BASE variable The directory upward from the ORACLE_HOME variable

Oracle 10g Database Administrator: Implementation and Administration 30 TNS Configuration Files The listener.ora file –Stored on the database server –Provides configuration for how the listener process listens over the network, for connection requests –Stored in $ORACLE_HOME/network/admin The tnsnames.ora file –Placed onto the client machine –Allows communication between client machine and listener on the database sever

Oracle 10g Database Administrator: Implementation and Administration 31 Working with the Listener Listener listens for requests made by user connections Process then allocates a server process Start or stop the listener –Windows Go to the Services window Use the listener control utility (lsnrctl) Listener features include: –Change queue size –Set listener logging and tracing

Oracle 10g Database Administrator: Implementation and Administration 32 Working with the Listener (continued)

Oracle 10g Database Administrator: Implementation and Administration 33 Working with the Listener (continued) Creating multiple listeners

Oracle 10g Database Administrator: Implementation and Administration 34 Working with the Listener (continued) Loading balance between multiple listeners You cannot use Net Manager to start and stop the listener

Oracle 10g Database Administrator: Implementation and Administration 35 Using the Net Configuration Assistant

Oracle 10g Database Administrator: Implementation and Administration 36 Using SQL*Plus, SQL*Plus Worksheet, and iSQL*Plus Troubleshooting SQL *Plus –Configuration of the listener on the server is incorrect –Client configuration of the tnsnames.ora file is incorrect –Validate configuration using tnsping Execute SQL *Plus –Select Start/All Programs/Oracle.../Application Development/SQL Plus from the menu Execute SQL *Plus Worksheet –Select Start/Programs/Oracle/Application Development/SQLPlus Worksheet from the menu

Oracle 10g Database Administrator: Implementation and Administration 37 Using SQL*Plus, SQL*Plus Worksheet, and iSQL*Plus (continued)

Oracle 10g Database Administrator: Implementation and Administration 38 Using SQL*Plus, SQL*Plus Worksheet, and iSQL*Plus (continued)

Oracle 10g Database Administrator: Implementation and Administration 39 Using SQL*Plus, SQL*Plus Worksheet, and iSQL*Plus (continued)

Oracle 10g Database Administrator: Implementation and Administration 40 Using SQL*Plus, SQL*Plus Worksheet, and iSQL*Plus (continued) iSQL *Plus (Internet SQL *Plus) –Web-based version of SQL*Plus –Allows you to write queries and other SQL commands across a network Returning results in a Web browser –Application server is an HTTP Web server –iSQL*Plus output looks like an HTML table

Oracle 10g Database Administrator: Implementation and Administration 41 Using SQL*Plus, SQL*Plus Worksheet, and iSQL*Plus (continued)

Oracle 10g Database Administrator: Implementation and Administration 42 Using SQL*Plus, SQL*Plus Worksheet, and iSQL*Plus (continued)

Oracle 10g Database Administrator: Implementation and Administration 43 Oracle Instance Architecture Database instance –Runs on a database server and uses data inside the database Oracle instance –Part of an Oracle database executing in memory –Made up of processes and memory structures

Oracle 10g Database Administrator: Implementation and Administration 44 Shared and Dedicated Server Processes After a request to connect to the database is received –Oracle creates a user session –Then, Oracle creates a server process Dedicated server –Every user session has its own server process Shared server –Uses CPU and memory more efficiently By swapping out user sessions during idle time

Oracle 10g Database Administrator: Implementation and Administration 45 Shared and Dedicated Server Processes (continued)

Oracle 10g Database Administrator: Implementation and Administration 46 Shared and Dedicated Server Processes (continued)

Oracle 10g Database Administrator: Implementation and Administration 47 Shared and Dedicated Server Processes (continued) Connection –Link from the user session, through the server session, and to the database instance –Controlled in the client-side configuration of Oracle Net Services In the tnsnames.ora file

Oracle 10g Database Administrator: Implementation and Administration 48 Background Processes Support and monitor the server processes Handle database management tasks –To keep the database running efficiently –To help maintain fast performance

Oracle 10g Database Administrator: Implementation and Administration 49 Background Processes (continued)

Oracle 10g Database Administrator: Implementation and Administration 50 Memory Components Two main sections of memory –System Global Area (SGA) Allocated when an instance is started Deallocated when the instance is shut down –Program Global Area (PGA) Effectively used in session connection memory Broken into private chunks for each server process

Oracle 10g Database Administrator: Implementation and Administration 51 Memory Components (continued)

Oracle 10g Database Administrator: Implementation and Administration 52 Introducing Enterprise Manager In previous versions of Oracle –Executing the Enterprise Manager console was complicated –Too much power was placed into the console software Oracle10g divides power –Between the console and the Database Control

Oracle 10g Database Administrator: Implementation and Administration 53 Running the Enterprise Manager Console Steps: –Click Start/All Programs/Oracle.../Enterprise Manager Console –Add connections to databases –Add new database service to the console In the main window of Enterprise Manager console, double-click the Databases folder Click the Navigator menu, and then click Add Database to Tree –Add selected DBs from your local tnsnames.ora file

Oracle 10g Database Administrator: Implementation and Administration 54 Viewing the Features of the Enterprise Manager Console Four primary tools –Instance Manager Monitors activities in the database –Schema Manager Displays table structures, creates new tables, indexes, views, and any other type of object –Security Manager Creates new users, allocates storage resources to users, and changes passwords –Storage Manager Monitors storage use

Oracle 10g Database Administrator: Implementation and Administration 55 The Database Control Interface Get the Database Control up and running –By typing this URL into a browser: Tabs –Home Provides general information about the database and the Oracle installation

Oracle 10g Database Administrator: Implementation and Administration 56 Viewing the Features of Enterprise Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 57 Viewing the Features of Enterprise Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 58 The Database Control Interface (continued) Tabs (continued) –Performance Shows performance information, both good and bad

Oracle 10g Database Administrator: Implementation and Administration 59 Viewing the Features of Enterprise Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 60 Viewing the Features of Enterprise Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 61 The Database Control Interface (continued) Tabs (continued) –Administration Provides a multitude of options for administration functionality –Maintenance Provides comprehensive maintenance access to: –Database utilities –Backup/recovery –Deployment activities –Performance For tuning instance-wide and session specific areas

Oracle 10g Database Administrator: Implementation and Administration 62 Viewing the Features of Enterprise Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 63 Viewing the Features of Enterprise Manager (continued)

Oracle 10g Database Administrator: Implementation and Administration 64 Summary Using command-line interfaces to manually execute commands may be necessary Oracle Net Services –Allows communication between a tool and database –Must be configured on both the client and the server The Listener Oracle service waits to receive requests sent to the database Service name defines the DB’s name, location, and listening port Use Net Manager and the Net Configuration Assistant to configure Oracle Net Services

Oracle 10g Database Administrator: Implementation and Administration 65 Summary (continued) Net Manager guides you through the steps of configuring a new service name File tnsnames.ora stores Oracle Net Services configuration settings on the client side File listener.ora stores Oracle Net Services configuration settings on the server side Server process reads data from datafiles and places it in the buffer cache –Dedicated server –Shared server

Oracle 10g Database Administrator: Implementation and Administration 66 Summary (continued) PGA stores shared connection memory allocations, separately for each application Managers –Instance Manager tracks database activity Set the user and password as preferred credentials –Schema Manager provides details on schema objects –Security Manager is focused on users and privileges Roles group privileges into related sets –Storage Manager displays information about datafiles and tablespaces