IS 432: DATABASE ADMINISTRATION Lecture 4: Parameter Files. Information Systems Department 1.

Slides:



Advertisements
Similar presentations
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Advertisements

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.
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 12 System and Object Privileges.
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Copyright © 2011 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are trademarks of Accenture. SQL Workshop Day 4.
Harvard University Oracle Database Administration Session 2 System Level.
Managing an Oracle Instance
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
Oracle Database Instance Management Oracle 10g. Ebtisam Alabdulqader Outline Management Framework. Managing Oracle instance through the Enterprise Manager.
Backup and Recovery Part 1.
Oracle Architecture. Database instance When a database is started the current state of the database is given by the data files, a set of background (BG)
Oracle Database Administration
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Managing the Oracle RDBMS Today you will look at the basics, including: –Setting up Enterprise Manager –Using Enterprise Manager –Using Server Manager.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
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.
Module 3: Managing Database Files. Overview Introduction to Data Structures Creating Databases Managing Databases Placing Database Files and Logs Optimizing.
Week 6 Lecture 2 System and Object Privileges. Learning Objectives  Identify and manage system and object privileges  Grant and revoke privileges to.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
IS 221: DATABASE ADMINISTRATION Lecture 6:Create Users & Manage Users. Information Systems Department 1.
7202ICT – Database Administration
Using OUI to install Oracle9i Release 2 on an OpenVMS System.
Present :Arezoo Mollahasani. Step 1  Define your server connection Open MySQL WorkBench and click New Server Instance on the right of the window.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
IT Database Administration SECTION 01. Starting Up and Shutting Down the Database Database Administration Facilities – A number of tools are available.
Object Oriented Software Development 10. Persistent Storage.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
IT Database Administration SECTION 02. CREATING DATABASES Creating a Database: Overview 1. Plan the physical design and storage structures 2. Back.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
THE C PROGRAMMING ENVIRONMENT. Four parts of C environment  Main menu  Editor status line and edit window  Compiler message window  “Hot Keys” quick.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
Direct memory access. IO Command includes: buffer address buffer length read or write dada position in disk When IO complete, DMA sends an interrupt request.
21 Copyright © 2008, Oracle. All rights reserved. Enabling Usage Tracking.
Creating SQL Database file And Displaying a Database Table in a DataGridView.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
What is Automatic mode? In Manual mode all commands and required data are entered by the user. These commands, data and main results are copied to the.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
CHAPTER 7 LESSON B Creating Database Reports. Lesson B Objectives  Describe the components of a report  Modify report components  Modify the format.
Chapter 21 SGA Architecture and Wait Event Summarized & Presented by Yeon JongHeum IDS Lab., Seoul National University.
 Database Administration Oracle Database Instance Management Starting Up and Shutting Down أ. ندى الغامدي, أ. ندى الطوالة.
3 Copyright © Oracle Corporation, All rights reserved. 管理数据库事例.
Common SQL keywords. Building and using CASE Tools Data Base with Microsoft SQL-Server and C#
Managing an Oracle Instance
Initialization Parameters
SQL and SQL*Plus Interaction
Using SQL*Plus.
Maintaining Online Redo Log Files
Download and install Oracle Developer Suite 10g & Developer suite
Is 221: Database Administration
Using SQL*Plus.
Transparent Data Encryption (TDE)
ORACLE SQL Developer & SQLPLUS Statements
Duplicating a Database
Oracle Memory Internals
Configuration Of A Pull Network.
Using SQL*Plus.
These slides are for reference only. They are not "lecture notes"
Database administration
Presentation transcript:

IS 432: DATABASE ADMINISTRATION Lecture 4: Parameter Files. Information Systems Department 1

Parameter Files Information Systems Department A parameter file is a file that contains a list of initialization parameters and a value for each parameter.  Parameter file is read when instance start.  This file must at a minimum specify the DB_NAME parameter.  All other parameters have default values. 2

Parameter Files Information Systems Department There are two types of parameter files: 1-Server parameter file(SPFILE). 2-Text initialization parameter file(PFILE). To know what type of file your instance running (SQL Commands): SHOW PARAMETER SPFILE Or SHOW PARAMETER PFILE 3

Show parameter spfile & pfile Information Systems Department 4

Initialization Parameters Information Systems Department Initialization parameters perform functions, such as:  Set limits for the entire database; e.g. specify names of files or directories required by the database.  Set user or process limits; e.g. the maximum number of database users.  Set limits on database resources; e.g. the amount of space initially allocated for each memory area.  Optimize performance; e.g. adjusting memory structures, such as the number of database buffers in memory. 5

Initialization Parameters: Examples Information Systems Department 6 Parameter Specifies CONTROL_FILESOne or more control file names with paths. DB_BLOCK_SIZEStandard database block size used by all table spaces PROCESSES Maximum number of OS user processes and background processes that can simultaneously connect DB_CACHE_SIZESize of the standard block buffer cache DB_FILE_MULTIBLOCK_READ_COUNT Maximum number of blocks read during an input/output (I/O) operation.

Initialization Parameters: Examples Information Systems Department 7

Viewing and Modifying Initialization Parameters Information Systems Department You can change the value of a parameter in a parameter file in one of the following ways: o By editing an initialization parameter file using (EM). o By issuing an ALTER SYSTEM SET... using (SQL*). 8

Viewing and Modifying Initialization Parameters by SQL plus Information Systems Department 9  Viewing Parameters : Show parameters Modifying Parameters : ALTER SYSTEM SET PARAMETER_NAME = NEW VALUE SCOPE = MEMORY OR SCOPE= BOTH OR SCOPE = SPFILE;

Viewing and Modifying Initialization Parameters Information Systems Department 10

Viewing and Modifying Initialization Parameters Information Systems Department 11

Viewing and Modifying Initialization Parameters Information Systems Department 12

Viewing and Modifying Initialization Parameters Information Systems Department 13 You can modify the initialization parameters for the database in one of three ways: 1- Until the instance is shut down: The new values for the initialization parameters are applied to the currently running instance, but, when the database is restarted, the initialization parameter values revert to their previous settings. SCOOP= MEMORY. A- On the Current subpage, in the Value column, enter new values for the initialization parameters. B-Ensure that Apply changes in current running instance(s) mode to SPFile is not selected. C- Click Apply. A confirmation message appears.

Viewing and Modifying Initialization Parameters Information Systems Department From now until the initialization parameter is changed again: The changes are applied to the currently running instance and are also stored in the server parameter file. The changes made to the initialization parameters persist when the database is restarted. SCOOP=BOTH. A- On the Current subpage, in the Value column, enter new values for the initialization parameters. B- Select Apply changes in current running instance(s) mode to SPFile. C- Click Apply. A confirmation message appears.

Viewing and Modifying Initialization Parameters Information Systems Department When the database is restarted: The new values for the initialization parameters are recorded in server parameter file, but are not applied to the currently running instance. The changes take effect only when the database is restarted. SCOOP=SPFILE. A- Click SPFile to view the SPFile subpage. B- In the Value column, enter new values for the initialization parameters. C- Click Apply. A confirmation message appears.