Discussions
Categories
- 5.2K All Categories
- 13 Introduce Yourself!
- 414 Community Feedback - NEW! (No Product Questions)
- 100 General Community Platform Concerns/Kudos/Feedback
- 80 Community Platform Bug Reports
- 80 How Do I Use the Community?
- 48 Where is the...? (Community Platform Locations)
- 15 Ideas and Suggestions for the Community Platform
- 4.8K Certification Community
- 4.6K Certification Community Discussions
- 21 Oracle Certified Master Profiles
- 29 Oracle Database 12c Administrator Certified Master Profiles
- 72 Visual Builder Cloud Service
spfile timestamp changing every startup?

Hello Everyone!
I am seeing my spfile's timestamp update every time the database is shutdown and started.
Why this is happening?
Is this intended functionality?
It is 12.1.0.2
Solaris OS.
The spfile parameter is pointing to the correct location.
The pfile is not being specified.
I am not sure what else to check...if I even need to check more into this...
Thank you!
Answers
-
Your SPFILE contains your parameter values used for Oracle to configure itself on instance startup. Oracle has the ability to automatically adjust its memory allocations if you are using the MEMORY_TARGET or SGA_TARGET parameter. The current memory allocations in your SGA have been determined by analyzing the workload over the lifetime of that instance. When you shutdown the instance, it would be beneficial if Oracle could know where it left off the next time the instance starts up. For example, your SGA is 10GB and on initial startup, Oracle allocates 5GB of that to the Buffer Cache and 1GB to the Shared Pool. But over its lifetime, Oracle determines life would be better if 4GB were allocated to the Buffer Cache and 1.5 GB to the Shared Pool and the other 0.5 GB got added to the Large Pool, as an example. When you shutdown the instance, Oracle writes those settings to the SPFILE. When Oracle starts up, your parameter says to allocate 10GB to the SGA and then Oracle look at where it left off as a starting point for the SGA components. If you want to see what Oracle writes, do this:
create pfile='/home/oracle/pfile.txt' from spfile;
Then open pfile.txt in a text editor. All of those parameters with double underscores at the beginning are examples of what I'm talking about.
Cheers,
Brian