Create pfile from memory

3,933 hits

Many a times situation comes when database initialization parameter file gets accidentally removed or overwritten.

From version 11g Oracle has came up with solution of recreating parameter file from memory if database is up & running.

Oracle already has functionality of creating pfile from spfile & vice-versa. But now with almost similar syntax u can create pfile from memory.


 

SQL> select version from v$instance;
VERSION
----------------
11.2.0.3.0
SQL>
SQL> !pwd
/home/oracle/pfile
SQL> !ls -lrt
total 0
SQL> create pfile='/home/oracle/pfile/initORACLE.ora' from memory;
File created.
SQL> !ls -lrt
total 8
-rw-r--r-- 1 oracle oinstall 6431 Jun 2 21:33 initORACLE.ora
SQL>

Hope so this feature will be useful for you. 🙂

Cheers

Regards,
Adityanath

Advertisements

12 responses to “Create pfile from memory”

  1. SMEs Avatar
    SMEs

    Hey! This is my 1st comment here so I just wanted to give a quick shout out and say I truly enjoy
    reading through your posts. Can you suggest any other blogs/websites/forums that cover
    the same subjects? Thanks!

  2. Arturo Keuper Avatar
    Arturo Keuper

    After research just a few of the weblog posts on your web site now, and I really like your approach of blogging. I bookmarked it to my bookmark web site record and can be checking again soon. Pls take a look at my web site as properly and let me know what you think.

  3. Jacques Avatar
    Jacques

    This is very interesting, You are a very skilled blogger.
    I’ve joined your feed and look forward to seeking more of your wonderful
    post. Also, I’ve shared your website in my social networks!

  4. Dannie Bringman Avatar
    Dannie Bringman

    very interesting topic, outstanding post.

  5. Mallory Avatar
    Mallory

    I like the valuable information you provide in your articles.
    I’ll bookmark your blog and check again here frequently.
    I’m quite certain I’ll learn many new stuff right here!
    Good luck for the next!

  6. Epifania Avatar
    Epifania

    Hi there, You’ve done a great job. I’ll certainly
    digg it and personally suggest to my friends. I’m confident they’ll be benefited from this site.

  7. Timmy Parlavecchio Avatar
    Timmy Parlavecchio

    Wonderful blog! I found it while surfing around on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it

  8. Luther Horne Avatar
    Luther Horne

    This will be a excellent blog, would you be interested in doing an interview about how you created it? If so e-mail me!

  9. Rosalinda Avatar
    Rosalinda

    Very nice post. I just stumbled upon your weblog and wished
    to say that I’ve truly enjoyed surfing around your blog posts.
    After all I will be subscribing to your feed and I hope you write again very
    soon!

  10.  Avatar
    Anonymous

    I cannot thank you enough for the blog.Thanks Again. Really Cool.

  11. 捷报比分足球 Avatar
    捷报比分足球

    Great, thanks for sharing this blog.Really thank you! Really Great.

  12. Nevaeh Shepherd Avatar
    Nevaeh Shepherd

    Thanks in favor of sharng such a fastidious thinking, post is nice, thats why i have read it fully Kaylil Terrence Raji

Leave a reply to Nevaeh Shepherd Cancel reply

Advertisements
Blog Stats

560,124 hits

Advertisements
Advertisements