Check the db is using pfile ot sp file

i want to check whether my db is start up using pfile or spfile
thus i
show parameter pfile;
no value was shown
then i
show parameter spfile;
no value was shown here also
So am i right to say that oracle automatically use these files in the order:
spfileSID.ora
spfile.ora
initSID.ora
init.ora
cos when i try out,
show parameter db_create_file_dest;
there is a value i think is reflected from my spfile.
But i use SELECT DECODE(value, NULL, 'PFILE', 'SPFILE') "Init File Type"
FROM sys.v_$parameter WHERE name = 'spfile';
Init F
PFILE
at this point i am confuse... i dun whether is pfile or spfile now.

CKPT wrote:
When instance is using PFILE, you cant see the name of the PFILE. You can check in $ORACLE_HOME/dbs/init<sid>.ora
If instance using SPFILE, then you can see complete name by "show parameter spfile".oh you mean show parameter pfile = no value is ok... i c i c
yea when i :
show parameter spfile = nothing so i :
SQL> create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\SPFILEXE.ORA' fr
le\product\11.2.0\server\database\INITxe.ORA';
File created.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1384760 bytes
Variable Size 230690504 bytes
Database Buffers 297795584 bytes
Redo Buffers 5791744 bytes
Database mounted.
Database opened.
SQL> show parameter spfile;
NAME TYPE VALUE
spfile string C:\ORACLEXE\APP\ORACLE\PRODUCT
\11.2.0\SERVER\DATABASE\SPFILE
XE.ORA
i am confuse cos in win, the these files init.ora and spfile are in the ' database' folder and not the dbs folder (unix) But i was using 11g xe and i also see spfileMYSID.ORA in the \dbs folder which i understand is in (unix) version.
hmmmm .... . so now i just change it to using the \database folder.

Similar Messages

  • How to check the user is using mobile to browse my website??

    Dear all,
    i am new in Java.Pls help!!i want to check the user is use what tools to browse my website...i mean if the user is using mobile to vist my website(eg:http://www.abc.com), it will rediect the mobile user to a webpage only for mobile user,otherwise,it will redirect to normal page for normal user(use browser such as ie,netscape)...
    how to do it? which function did i use?please give me some tips!!!
    Java baby , Frankie

    Check the User-Agent header of your request. Most phones will identify themselves through it.

  • Is it possible to check the list of used password for my apple account?, Is it possible to check the list of used password for my apple account?

    Is it possible to check the list of used password for my apple account?, Is it possible to check the list of used password for my apple account?

    No Alvin I'm sorry but you can't access a list of used passwords for an Apple ID (or any account for that matter) as it would be consider a security flaw

  • Is it possible to check the previous backups on a certain backup file for the iPhone.

    Is it possible to check the previous backups on a certain backup file for the iPhone. I need to backup and restore the files which were used in the second week of January, but now I am only able to see the latest iteration of the backup. I am assuming that the iPhone backup rewrites on the same set of files. I may be mistaken. Is there any work around to see the old backups? Any kind of help would be seriously appreciated.

    You can use zoom: Settings>General>Accessibility.
    " A simple double-tap with three fingers instantly zooms in 200 percent, and you can adjust the magnification between 100 and 500 percent."

  • How to list the datasources without use a tnsnames.ora file?

    Hi,
    I want to use the OracleDataSourceEnumerator class of ODP.Net to list the datasources on which the user can connect.
    It's work with a tnsnames.ora on the local station, so good.
    But I want use the easy connect naming methode so i have edited the sqlnet.ora file with this:
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    then i have deleted the content of the tnsnames.ora
    so my code don't work : none datasource is returned by the OracleDataSourceEnumerator
    So my question : is it a way to list the datasources without use a tnsnames.ora file?
    Edited by: user13499556 on 17 déc. 2010 08:21

    You can check
    DataConnectionFile.EnumerateDependants method
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • How do I find, at-a-glance, the sample size used in several music files?

    How do I find, at-a-glance, the sample size used in several music files?
    Of all the fields available in a FInder Search, "Sample Size" is not available. Finder does offer a "Bits per Sample" field, but it only recognized graphic files and not music files.
    Running 10.8.5 on an iMac i5.
    I did search through a couple of communities but came up empty.
    Thank you,
    Craig

    C-squared,
    There is no View Option to allow display of a column of sample size. 
    For WAV or Apple Lossless files, it is available on the Summary tab (one song at a time, as you know).  For MP3 and AAC it is not available at all.
    You can roughly infer it from the files that are larger than expected for their time.
    99% of the music we use is at the CD standard of 16-bit, so I can guess that displaying it has never been a priority.  However, if you want to make a suggestion to Apple, use this link:
    http://www.apple.com/feedback/itunesapp.html

  • How to check the JDK version of a compiled java file

    can anybody tell me how to check the JDK version of a compiled java file ?
    Edited by: gbhatia8 on Sep 9, 2010 7:04 AM

    The major/minor version of the class file is the way to go.
    Also, it's not necessary to write a separate program to get to those. javap prints them out when being passed the -v flag.
    Note, however that "JDK version" is not a correct term, as I can create 1.4-compatible class files with a Java 6 JDK (by passing the -target flag to javac). Those won't look any different than .class files written with a 1.4 JDK.

  • Can I recover the database to the current time using a backup control file?

    Can I recover the database to the current time using a backup control file? How far can I recover this database?
    I have an Oracle 10g(10.2.3) database on RHEL4.3 system.
    I have lost all the current control files and all the online redo logs, archived redo logs and all other files are OK.
    Now I have to recovery this database using a backup control file.
    Can I recover the database without any data lost?

    If
    a) it was a Shutdown Abort or an Instance Crash (i.e. backgrounds died on detecting loss of redo logs),
    b) redo logs are lost
    c) data files are intact
    You'd have to
    a) Restore datafiles
    b) Do an Incomplete Recovery to the last available ArchiveLog
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • How to check the database connection using OCI

    I am working on enhhancement of very old application developed using C and OCI. It has a background process which acts as a middleware for interaction of any other front end process with oracle database. Any processes, which needs to interact with database sends a request to background peocess and then it will execute a call to execute the stored procedures for performing requested operation (like select, update, insert) on table and will send the result back to respective process. So this process has to be always running in background and connected to branch database.
    If branch database gets restarted or connection gets dropped due to some ad-hoc problem then the background process also has to be restarted manually. Because this process establishes the connection to branch database only once on start up and it does not have the intelligence to reconnect automatically in such scenario.
    I am looking forward to build the intelligence in this process to automatically reconnect if connection with branch database is lost. But I am not familer with OCI, and I am not sure if there is any OCI call which can determine if my earlier connection is still available. Can any one please tell me if there is any other way to check the connection other than the execution of dummy query, then check if it gets executed properly and then do the actual query.
    Thanks in advance,
    Deeapk

    Hi,
    If you are reworking the application can you not build in the functionality to re-establish a connection if there is a failure? That is, a submission from the application server to the database server detects a failure, etc. and then re-establishes the connection. If you need a more frequent check than during a user-initiated roundtrip, you may be best served by using the "dummy query" technique on some time interval.
    From my understanding using HA Event Notification would require a RAC database (plus a multi-threaded application and services correctly configured on the RAC-side).
    In the documentation I see this:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci09adv.htm#sthref1495
    "Applications must connect to a RAC instance to enable HA event notification."
    In any case, this has the potential to be a bit complicated...
    Regards,
    Mark

  • How to check the customer class using CRM_PRICING_BADI...

    Hello Experts,
    I am using the said BADI in transaction CRMD_ORDER to check the
    customer class and condition exclusion. What data do I need to use and pass?
    Sorry since I am fairly new to CRM module.Hope you can help me guys.Thank you and take care!

    No answer...

  • How to check the material consumption using tables

    Hi,
    I would like to know how to generate or view the material consumption at table level. Can anyone please specify the transactions codes and tables names how to check the consumption of material. I also like to know how to analysis the consumption of material between components and finished material. Please provide me the step by step wise how to do.Thanking you
    Regards,
    Sivaji Kumar Madhu Kiran

    You can calculate material consumption in table MSEG. you will need to segregate the material documents based on movement types and then add or reduce the quantities of each material document. for example a material document with movement 101, add the quantity for the material, and when there is a issue material document like 201 or 221 reduce the quantity from the material stock.

  • I am not being able to connect to another Apple device using the Face time what settings do i need to check.The device being used is an iPad mini

    I am not being able to connect to another Apple device using the Face time.The device being used is an iPad mini.
    The internet connectivity is perfect the wifi is even working.

    '''plafstudiesdotc'''
    You are welcome.
    '''''So that other users can find answers that have worked, please take a couple of minutes to return to the forum, sign in and click "Solved" next to my answer. Thanks. '''''

  • How to define the application to use for opening each file type (pdf, jpg,...)

    I installed an external application, and this new application has been configured by defect that it will be used to open all files with extensions like jpg, pdf, etc...
    I want to revert this situation and define again the proper application I want to use for opening each file type. How can I do this in Lion?
    Thanks,
    Azaldier

    Pick a representative file.
    Get info. (Command-i)
    There you will see a place "Open with" where you can select the application for that file.
    Hit the "Change all..." button to do this for all files of this type.
    charlie

  • I need check the range channel in cFp-2120 in file Configuration Programmble

    how check the range channel cFP-2120 Programmble to check if the range change or not

    Hi,
    The range of the channels is not going to change after you configure the task. However, you can programmatically set the range with the Configure Range.VI. This is located in Measurement I/O >> FieldPoint >> Advanced >> Ethernet Advanced. I hope that you find this information helpful.
    Regards,
    Hal L.

  • Stat64: Any workaround to prevent the hang when used on faulty NFS files?

    I observed that if I use stat64 on a file which belongs to a NFS filesystem, and if the NFS server is down, the stat64 hangs.
    Is there workaround to prevent this hang?
    ((Similarly df -g also hangs...
    bash-2.03$ truss df -g /home3/vmtv5
    execve("/usr/sbin/df", 0xFFBEF31C, 0xFFBEF32C) argc = 3
    munmap(0xFF390000, 8192) = 0
    stat64("/home3/vmtv5", 0x00027160) (sleeping...)
    NFS server bladepn2 not responding still trying
    )

    Hi Michael
    Yes this is a new feature in L8 to disable it hold down option when opening
    Here is what it says in the manual page 633:
    Note: As a default behavior, Logic Pro will automatically create software instrument
    tracks for each MIDI track, and assign an appropriate GarageBand instrument to each,
    when you open a MIDI file. If you want to use external MIDI tracks for each MIDI track,
    press Option while opening the MIDI file.

Maybe you are looking for