Spfile vs init.ora
DBAsupport.com Forums - Powered by vBulletin
Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Spfile vs init.ora

  1. #1
    Join Date
    Jan 2005
    Posts
    36

    Spfile vs init.ora

    I just installed a new database (9I). Of course I know that SPfile is the first the database is looking after.
    But How do I change the parameters, so they will take the init.ora and don`t use the spfile.

    I meant, it was enough renaming the spSID.ora - but than my database won`t start

  2. #2
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    startup pfile=filename

  3. #3
    Join Date
    Jan 2005
    Posts
    36
    I know there is some way to include this line somewhere, so the database automatically use the init.ora file

  4. #4
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,095
    1. generate your init.ora file from spfile
    2. rm $ORACLE_HOME/dbs/spfileyoursid.ora
    3. mv init.ora $ORACLE_HOME/dbs/inityoursid.ora
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  5. #5
    Join Date
    Apr 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    1,203
    And the advantages of using an spfile over an init.ora file are?
    OCP 8i, 9i DBA
    Brisbane Australia

  6. #6
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    not having to remember to update the init.ora after a system parameter change. Only one I can think of, oh dataguard needs it as well

  7. #7
    Join Date
    Apr 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    1,203
    Originally posted by davey23uk
    not having to remember to update the init.ora after a system parameter change. Only one I can think of, oh dataguard needs it as well
    Yep, that's all I can think of too. That's why I don't use them.
    OCP 8i, 9i DBA
    Brisbane Australia

  8. #8
    Join Date
    Aug 2002
    Location
    Atlanta
    Posts
    1,187
    Originally posted by davey23uk
    not having to remember to update the init.ora after a system parameter change. Only one I can think of, oh dataguard needs it as well
    rman can back it up
    I'm stmontgo and I approve of this message

  9. #9
    Join Date
    Nov 2004
    Location
    Mumbai, India
    Posts
    452
    Originally posted by stmontgo
    rman can back it up
    What's the use??


    I know there is some way to include this line somewhere, so the database automatically use the init.ora file
    Keep your init.ora anywhere you want to.
    In $ORACLE_HOME/dbs/inityoursid.ora type:
    IFILE=your-init-file-name-with-path
    Last edited by simply_dba; 01-27-2005 at 11:11 PM.
    There are three kinds of lies: Lies, damned lies, and benchmarks...

    Unix is user friendly. It's just very particular about who it's friends are.

    Oracle DBA

  10. #10
    Join Date
    Aug 2002
    Location
    Atlanta
    Posts
    1,187
    Originally posted by simply_dba
    What's the use??




    Keep your init.ora anywhere you want to.
    In $ORACLE_HOME/dbs/spfileyoursid.ora type:
    IFILE=your-init-file-name-with-path
    ahhh, so u can like restore it?
    I'm stmontgo and I approve of this message

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width