Topic: Database Administration >> spfile vs pfile
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| mit |
Posted: Apr 13, 2007 04:16:42 PM |
Total Post: 40
Joined: Sep, 2006
|
Hi,
What are the advantages of spfile over pfile.
Thanx
AMIT
|
|
|
Sabdar Syed |
| Posted: Apr 14, 2007 02:11:13 AM | |
|
Total Post: 35
Joined: Mar, 2007
|
For centuries, Oracle has been maintaining a text file called the pfile to store the database initialization parameters, which would be read at the time of instance startup to get the characteristics of the instance that has to be created by Oracle for the specified database. Any changes made to this pfile would only take effect when you restart the database; however, parameters that were dynamically alterable could be changed using the appropriate ALTER SYSTEM or ALTER SESSION statement, which would take effect immediately.
Nevertheless, it should be mentioned that these parameters would need to be set every time you restarted the instance, because parameters altered in this process would be lasting for the lifetime of the instance or the session depending on the type of the statement issued.
To overcome his limitation Oracle has come up with a new feature called the spfile (server parameter file).
The spfile can be thought of as a control file that is used by Oracle to store the initialization parameters. Oracle writes to and reads from this binary file. The spfile is a server-side initialization parameter file; parameters stored in this file are persistent across database startups. This makes all the changes made to the instance using the ALTER SYSTEM statement persistent. So, goodbye to manual edits to the pfile. However, Oracle requires that you start an instance for the first time using the pfile and then create the spfile, which is discussed later in the article.
Oracle strongly recommends that you create the spfile as a dynamic means of storing the initialization parameters.
|
|
|
|
|
mit |
| Posted: Apr 15, 2007 01:19:04 AM | |
|
Total Post: 40
Joined: Sep, 2006
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 816 |
| Mohammed Taj | 746 |
| Jayanta Sur | 479 |
| positive fanatic | 418 |
| Vigyan Kaushik | 386 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 250 |
| Ramesh Jois | 245 |
| neeraj sharma | 243 |
| Bishal Khetan | 207 |
|
|