Overview of the Parameter Files Flashcards

1
Q

Overview of Parameter Files (2 Points)

A

+ To start a db instance, Oracle must read a server parameter file or a text initialization parameter file (Legacy Implementation and backup if server parameter file is not avaialble)
+ Instance and parameter file can exist even when a db itself does not exist.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Initialization Parameters (4 Points)

A

+ Are configuration parameters that affect the basic operation of an instance.
+ The instance reads initialization parameters from a file at startup
+ Oracle provides many initialization parameters to optimize diverse environmnets
+ Only a few parameters must be excplicitly set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Functional Groups of Initialization Parameters

A

+ Parameters that name entities such as files or directories
+ Parameters tga set limits for a process. db resource, or the db itself
+ Parameters that affect the capacity, such as the size of the SGA (known as variable parameters)

Variable parameters adjustments have the ability to improve db performance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Basic and Advanced Initialization Parameters

A

+ Tyipically 30 basic parameters need to be set to obtain reasonable performance.
+ In rare cases, modification to the advanced parameters may be required for optimal performance.
+ Oracle provides values in the starter initialization parameter file provided in the db software, or as created by the Database Configuration Assistant.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Server Parameter Files (6 Points)

A

+ Only Oracle Database reads and writes to the server parameter file
+ Only one server parameter file exists for a database. This file must reside on the db host
+ The server parameter file is binary and cannot be modified by a test editor
+ Initialization parameters stored in the server parameter file are persistant. Any changes ,made to the parameters while a db instance is running cna persist across instance shutdown and startup.
+ A server parameter file is initially built from a text initialization parameter file using the CREATE SPFILE statement and can also be created by the Database Configuration Assistant.
+ View V$SPPARAMETER can display current running parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Text Initialization Parameter Files (5 Points)

A

+ Is a text file that contains a list of initialization parameters.
+ A text initialization parameter file is text-based, not binary.
+ When starting up or shutting down a db, the text initialization parameter file must reside on the same host as the client application that connects to the db.
+ Oracle db can read but not write to the text initialization parameter file. To change values you must alter the file with a text editor.
+ Changes to the initialization parameter values by ALTER SYSTEM are only in effect for the current instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Modification of Initialization Parameter Values (4 Points)

A

+ Classifications of parameters are either static or dynamic.
+ Static parameters include DB_BLOCK_SIZE, DB_NAME, and COMPATIBLE.
+ Dynamic parameters are grouped into session-level or system-level parameters
+ The scope of a parameter file can be SCOPE=MEMORY, SCOPE=SPFILE, or SCOPE=BOTH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

SPFILE save locations and naming convention

A

+ Standard save locations for the spfile are $ORACLE_HOME/database for Windows
$ORACLE_HOME/dbs for Linux
+ The name of the file format is: spfile[instanz].ora

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

SQL Command to change a value of the SPFILE

A

SQL statement:

alter system set parameter=wert [comment=’Kommentar’‚][scope=spfile] [sid=’sid’]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Creating a new SPFILE or init.ora File (3 Options)

A
\+ Create SPFILE from init.ora:
create spfile [= 'sp-dateiname']
from pfile [= 'p-dateiname']
\+ Create init.ora file from SPFILE:
create pfile [= 'p-dateiname']
from spfile [= 'sp-dateiname']
\+ create spfile from memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Search paths for a parameter file

A

1) STARTUP pfile= …./…/
2) $ORACLE_HOME/dbs/spfile[sid].ora
3) $ORACLE_HOME/dbs/spfile.ora (This can be dangerous)
4) $ORACLE_HOME/dbs/init[sid].ora

How well did you know this?
1
Not at all
2
3
4
5
Perfectly