V$parameter view - How do I get these values for both instances on the db?

I have a procedure that dumps the contents of all the parameters from the system view v$parameter for auditing purposes, so that we know if a parameter changed from month to month, but we have 2 instances running. How do I make sure and log the parameters for both the instances? So far the procedure will log the parameters for the instance it happened to run on (it is random).
However, when I use TOAD, I can access parameters for both instances by going to Database/Administer/Oracle Parameters.
Thanks!

Instead of V$PARAMETER use GV$PARAMETER so you can obtain the the instance id
SQL> describe gv$parameter
Name                                      Null?    Type
INST_ID                                            NUMBER
NUM                                                NUMBER
NAME                                               VARCHAR2(80)
TYPE                                               NUMBER
VALUE                                              VARCHAR2(4000)
DISPLAY_VALUE                                      VARCHAR2(4000)
ISDEFAULT                                          VARCHAR2(9)
ISSES_MODIFIABLE                                   VARCHAR2(5)
ISSYS_MODIFIABLE                                   VARCHAR2(9)
ISINSTANCE_MODIFIABLE                              VARCHAR2(5)
ISMODIFIED                                         VARCHAR2(10)
ISADJUSTED                                         VARCHAR2(5)
ISDEPRECATED                                       VARCHAR2(5)
ISBASIC                                            VARCHAR2(5)
DESCRIPTION                                        VARCHAR2(255)
UPDATE_COMMENT                                     VARCHAR2(255)
HASH                                               NUMBER
SQL>

Similar Messages

  • How do I get serial numbers for computers bought in the last seven years? They have been stolen but I am not in the country. Can I do it remotely?

    how do I get serial numbers for computers bought in the last seven years? They have been stolen but I am not in the country. Can I do it remotely?

    Check here first, and use your AppleID:
    https://supportprofile.apple.com/

  • How can I get null values for the later weeks

    Hi All,
    When I execute this code I get the records till current week.
    How can I display the output so that I get null values for the later weeks. (with the help of v_numOfWeeks variable in the code)
    Thanks,
    Vikram
    DECLARE
       v_query VARCHAR2(4000);
       TYPE ref_cursor IS REF CURSOR;
       v_refcur ref_cursor;
       v_sum NUMBER;
       v_id NUMBER;
       v_name VARCHAR2(1000);
       v_weeknum NUMBER;
       v_pernum NUMBER;
       v_numOfWeeks NUMBER := 5;
    BEGIN
    v_query := ' SELECT SUM(product_bkg), postn_id, postn_tbl.postn_name, b.week_num, b.period_num
                              FROM ops_cv_extract b, (SELECT row_id, desc_text postn_name
                          FROM s_postn) postn_tbl
                          WHERE lvl_6_id = 5767
                          AND fiscal_year = 2008
                          AND b.week_num < 4
                          AND b.period_num = 3
                          AND b.postn_id = TO_NUMBER(postn_tbl.row_id)
                          GROUP BY postn_id, postn_tbl.postn_name, b.week_num, b.period_num
                          ORDER BY  postn_tbl.postn_name, b.week_num';
    OPEN v_refcur FOR v_query;
    LOOP
       FETCH v_refcur INTO v_sum, v_id, v_name, v_weeknum, v_pernum;
       EXIT WHEN v_refcur%notfound;
       dbms_output.put_line('P'|| v_pernum||'W'|| v_weeknum||' '||v_name||' '||v_sum);
    END LOOP;
    END;
    This is the output when I execute this code.
    P3W1 COMM CNTRL ISAM 213 26961.61
    P3W2 COMM CNTRL ISAM 213 12870.4
    P3W3 COMM CNTRL ISAM 213 245.88
    P3W1 COMM CNTRL ISAM 273 72831.2
    P3W2 COMM CNTRL ISAM 273 8739.38
    P3W3 COMM CNTRL ISAM 273 3764.92
    P3W1 COMM CNTRL TAM 213 49844
    P3W2 COMM CNTRL TAM 213 20515.17
    P3W3 COMM CNTRL TAM 213 16167.46
    P3W2 COMM CNTRL TAM 216 12561.4
    P3W3 COMM CNTRL TAM 216 2027.1
    P3W1 COMM CNTRL TAM 273 -3336.71
    P3W2 COMM CNTRL TAM 273 -1376.68
    P3W3 COMM CNTRL TAM 273 19707.42
    P3W1 Damon Walters -609.07
    P3W2 Damon Walters 30030.24
    P3W3 Damon Walters 37475.1
    This is the output I'd like to get
    P3W1 COMM CNTRL ISAM 213 26961.61
    P3W2 COMM CNTRL ISAM 213 12870.4
    P3W3 COMM CNTRL ISAM 213 245.88
    P3W4 COMM CNTRL ISAM 213
    P3W5 COMM CNTRL ISAM 213
    P3W1 COMM CNTRL ISAM 273 72831.2
    P3W2 COMM CNTRL ISAM 273 8739.38
    P3W3 COMM CNTRL ISAM 273 3764.92
    P3W4 COMM CNTRL ISAM 273
    P3W5 COMM CNTRL ISAM 273
    P3W1 COMM CNTRL TAM 213 49844
    P3W2 COMM CNTRL TAM 213 20515.17
    P3W3 COMM CNTRL TAM 213 16167.46
    P3W4 COMM CNTRL TAM 213
    P3W5 COMM CNTRL TAM 213
    P3W1 COMM CNTRL TAM 273 -3336.71
    P3W2 COMM CNTRL TAM 273 -1376.68
    P3W3 COMM CNTRL TAM 273 19707.42
    P3W4 COMM CNTRL TAM 273
    P3W5 COMM CNTRL TAM 273
    P3W1 Damon Walters -609.07
    P3W2 Damon Walters 30030.24
    P3W3 Damon Walters 37475.1
    P3W4 Damon Walters
    P3W5 Damon Walters Edited by: polasa on Oct 28, 2008 6:42 PM

    Sure, in a Single SQL ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>
    satyaki>-- Start Of Test Data --
    satyaki>with week_tab
      2  as
      3    (
      4      select 1 period_num, 1 week_num, 10 bkg1 from dual
      5      union all
      6      select 1, 2, 40 from dual
      7      union all
      8      select 1, 3, 30 from dual
      9      union all
    10      select 1, 2, 20 from dual
    11      union all
    12      select 1, 1, 10 from dual
    13      union all
    14      select 1, 1, 20 from dual
    15      union all
    16      select 1, 3, 10 from dual
    17      union all
    18      select 2, 1, 15 from dual
    19      union all
    20      select 2, 2, 20 from dual
    21      union all
    22      select 2, 3, 10 from dual
    23      union all
    24      select 2, 1, 15 from dual
    25      union all
    26      select 2, 2, 30 from dual
    27      union all
    28      select 2, 3, 20 from dual
    29    )
    30  -- End Of Test Data --
    31  select period_num,
    32         week_num,
    33         (
    34            select sum(week_tab.bkg1)
    35            from week_tab
    36            where period_num = m.period_num
    37            and   week_num   = m.week_num
    38            group by week_num, period_num
    39         ) sum_bkg1
    40  from (
    41        select dum.week_num,
    42              wk.period_num
    43        from (
    44                select 1 week_num from dual
    45                union all
    46                select 2 from dual
    47                union all
    48                select 3 from dual
    49                union all
    50                select 4 from dual
    51                union all
    52                select 5 from dual
    53              ) dum ,
    54              (
    55                select distinct period_num
    56                from week_tab
    57          ) wk
    58      ) m;
    PERIOD_NUM   WEEK_NUM   SUM_BKG1
             1          1         40
             1          2         60
             1          3         40
             1          4
             1          5
             2          1         30
             2          2         50
             2          3         30
             2          4
             2          5
    10 rows selected.
    Elapsed: 00:00:00.48
    satyaki>Regards.
    Satyaki De.

  • Getting null value for inputfile component in the popup

    Hi,
    My requirement is when i select the selectBooleanCheckBox a popup has to be rendered and with in that popup i have to display the inputfile component when i browse it should read the appropriate file.
    But i am getting null from the input file component.
    I written the code like this:-
    1.First i have written a value change listener for the selectBoolenCheckBox.
    2.I am rendering the popup from the valueChageEvent.
    3.And i written the dialogListener for the Dialog in the popup.
    and the code for the Dilog listener is:--
    public void readingInputFile(DialogEvent dialogEvent) {
    inputFile1.getValue();
    //it is giving null value.
    thanks in advance.
    From
    Srikanth.V

    thanks for giving suggestion.
    but i am not able to understand what meant by multipart in dialog page.
    Actually,The code i written was:--
    1. for selectBooleanCheckBox i written value chage listener
    onChangeValue(ValueChageEvent valueChageEvent){
    // in this i call the method to raise popup;
    risePopUp();
    2.The popup structure has follows:-
    af:form --> af:popup ---> af:dialog --->af:inputfile
    for this dialog i have written dilogListener:
    getInputFile(DialogEvent dialogEvent){
    //giving null for the inputFile,getValue();
    for this dialog i don't have any multipart property
    From,

  • HT3702 I have 5 identical charges from itunes on my bank card - how can I get these unauthorized charges removed?

    I have 5 identical charges on my bankcard from apples itunes for $21.84 - I made no purchases??   How do I get these removed?

    You've checked the purchase history on your account to see what app(s) they are from ? If you log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases. And you haven't got any auto-renewing subscriptions : http://support.apple.com/kb/HT4098 ?
    If you haven't made them, and nobody else has access to your account or devices and may have made them, then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How do I get these windos to communicate? I am lost...

    I am a computer science student who was not happy with the scope of entry level programming classes. I am taking it on my self to learn the nuts and bolts of Java. Right now, I am working with GUIs for the first time and I am lost with this (probably simple) concept.
    I have a class Main Menu which creates a window with several options; one of these options is to open a second window which allows a user to make a selection. I want for this selection to be imported back into the main menu.
    The following code is from the Main Menu class, it launches the window and imports selected information
                   if ( action == "Food Facts"){
                        FoodFacts food = new FoodFacts();
                        food.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                        food.setSize(300,300);
                        food.setVisible(true);
                        /*This opens the next window. It works fine; however,
                          the code below, which sets the information, executes
                          immediately after the window opens. This results in
                          the return of null values. */
                        name.setText(food.name());
                        calsPerServing.setText(food.cals());
                        servingSize.setText(food.Serving());
                        convertList.setSelectedIndex(food.indexOut());}This is from the other class (Food Facts). It determines selection and prepares the selection to be passed on:
                        if ( action == "Import"){
                             format = que.toCharArray();
                             toNumber = Character.getNumericValue(format[1]) - 1;
                                  switch(format[0]){
                                       case 'M':
                                            nameOut = MeatTypes[toNumber];
                                            calsOut = MeatCals[toNumber];
                                            servOut = MeatMeasure[toNumber];
                                            sizeOut = index[toNumber];
                                            break;
                                       case 'L':
                                            nameOut = LiquidTypes[toNumber];
                                            calsOut = LiquidCals[toNumber];
                                            servOut = LiquidMeasure[toNumber];
                                            sizeOut = index4[toNumber];
                                            break;
                                       case 'S':
                                            nameOut = SpiceTypes[toNumber];
                                            calsOut = SpiceCals[toNumber];
                                            servOut = SpiceMeasure[toNumber];
                                            sizeOut = index5[toNumber];
                                            break;
                                       case 'P':
                                            nameOut = PlantCals[toNumber];
                                            calsOut = PlantCals[toNumber];
                                            servOut = PlantMeasure[toNumber];
                                            sizeOut = index2[toNumber];
                                            break;
                                       default:
                                               JOptionPane.showMessageDialog(null,"Please make a selection or click cancel.",
                                                 "No Selection Found",JOptionPane.ERROR_MESSAGE);
                                            break;};
                                  if(format[0] != 'N')
                                       dispose();}
              public String name(){
                   return nameOut;}
              public String cals(){
                   return calsOut;}
              public String Serving(){
                   return  servOut;}
              public int indexOut(){
                   return sizeOut;}}If anyone has any suggestions on how I can get these values set it would be greatly appreciated.
    Thanks
    Joseph

    Well, considering that the posts are 3 weeks apart and that your earlier post (on 18 April) didn't include any code, it's not, strictly speaking, a cross post. But I don't blame morgalr for being peeved that you didn't respond to the advice given on your [earlier post|http://forum.java.sun.com/thread.jspa?threadID=5287276].
    Around here, that's a very good way not to get help.
    db

  • I accidently unmarked the book marks tool bar, the tool bar and the menu bar how do i get them back ?becaus now only the tabs are visible and i cant access my features or book marks

    i was getting to know my firefox so i accidentally unmarked the menu bar the book marks tool bar and the tool bar. so now only my tabs are visible and i cant get to any of my add-ons or extensions.
    and even surfing the net has become difficult cause there is almost nothing i can do with a new empty tab.
    how can i get these bars back. i tried taking the cursor up to the thin line above the tabs and the window border but the menu to mark the above mentioned features does not appear any more.
    i tried restarting firefox several times but it didn't work. i even uninstalled and completely downloaded a new version of firefox and installed it but the problem still persists.
    i am operations system is windows XP.

    Firefox 3.6+ versions have a feature to allow the user to hide the Menu bar.
    Hit the '''Alt''' key to temporarily show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark. <br />
    The F10 can also be used on most PC's to temporarily reveal the Menu bar.
    https://support.mozilla.com/en-US/kb/Menu+bar+is+missing

  • How To get Characteristic values for an Equipment in a particular Class ?

    Hi All,
    How i will get  Characteristic values for an Equipment in a particular Class ?
    Any table or FM ?
    Thanks in advance
    Srikanta Gope

    Hi,
    You can use the FM BAPI_OBJCL_GETDETAIL to fetch the characteristic values for an equipment from the table parameters ALLOCVALUESNUM; ALLOCVALUESCHAR; ALLOCVALUESCURR.
    Or u can use the tables EQUI, KLAH, KSSK, AUSP, CABN
    Regards,
    Aditya

  • How can I get a refund for unwanted app?

    My kids downloaded an extension of an app, made for kids, that cost $100. They thought it was free, until I got the bill. How can I get a refund for this and remove the app? This is wrong on so many levels, beginning with having a free app for kids luring them to a ridiculously priced one. Any help is appreciated.

    You posted in the Mac computer OS X Tiger 10.4 forum. You don't provide enough info. Was this an iPad app, iPhone app, an iPod app purchased from the iTunes store? Or an app purchased from another source?
    The remedy - don't give your kids the password and answer to security questions.
    If purchased from the iTunes store, there's a link on the invoice.
    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    iTunes Purchase Problems: How to Report a Problem to iTunes Support
    http://tinyurl.com/7tscpa7
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • How can I see planned values for services in PS reports?

    Hi experts.
    We are implementing PS for a mining company; in our process, project designers plan materials and services in networks and then get planned values for budget requests.
    The problem I am facing is that I cannot see the planned values from services in the plan values reports. No value is exhibited for version 0 if I plan only services in a network. For materials planning I can visualize planned values normally. The network is not released. On example of planning values report that I am using is s_alr_87013533.
    Does anyone know how to correct this problem with PS configuration?
    Any help is welcome. Thanks!
    Rafael

    for planning services I am assuming that you are using service activity
    check if determine plan cost is set up in the network header
    secondly make sure that the plan costing variant is set up with the valuation variant  to define where to get the plan values from

  • How to get these values?

    This sample output of trcsess shows the consolidation of traces for a particular
    session. In the following example the session index and serial number equals 21.2371.
    trcsess session=21.2371My question is: what are session index and serial number here? How to get these values?

    As per the tuning doc:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm#i20110
    You get these values from the V$SESSION view.
    Session Index = SID
    Serial number = SERIAL#

  • My phone has been smashed I need to get records of all my iMessages and texts from the last month. How do I get these?

    My phone has been smashed I need to get records of all my iMessages and texts from the last month. How do I get these?

    Do you have a backup of your iPhone which contains these messages?
    If so, you can restore a new iPhone from that backup during setup.
    If not, the messages are gone.

  • I have installed Adobe packages and cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?

    I have installed Adobe Creative Cloud for teams CC Packages which says that Acrobat XI Pro is installed. Your support page says it does not install Acrobat and I have to look in the Extensions folder for an MSI file.  I have run a number of searches and  cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?
    Also I now administer the teams and have accepted the invitation to I received to be a team member and download the apps.  The admin page shows that I have been sent an invitation but does not show my account as "ACtive" unlike my other team members.  I tried to use the link in the invite to accept it become active but the link displayed an error saying I had already accepted the invite... why is no account not active?
    Finally what other product downloads in Creative Cloud do not actually download as part of the Creative cloud Packager for downloading the apps? e.g. acrobat and what else?

    My apologies Eadeszoo I believe our support agents are unavailable on January 1.
    Are you able to copy the contents of the DVD to your computer?  Are you receiving any particular error messages when you are trying to install?  Finally which operating system are you using?

  • I have the current version of iTunes and when I plug my device in, the library says that I have songs on my device that are not showing up on my iPod touch. How do I get these songs on my device?

    On iTunes, my library says that I have a lot of songs on my device that do not show up on my actual iPod touch. These songs disappeared from my iPod when I plugged it in, then they showed back up, but with a red square and circle, and now, after syncing and autofilling, they are gone again. How do I get these songs from my iTunes "ON MY DEVICE" library to my actual device?

    SOLUTION: Some Music Won't Play After Upgrading Your iPhone To iOS7
    Red square in red circle cannot play songs
    My iPod isn't playing certain songs. Help?

  • I have garage band ver 10.0.2 and am trying to add effects to an audio track but i have no info button or track info under the track tab.  How do i get these things to show up on my program?

    I have garage band ver 10.0.2 and am trying to add effects to an audio track but i have no info button or track info under the track tab.  How do i get these things to show up on my program?

    In GarageBand 10.0.2 you can no longer add all kinds of effects freely; this GarageBand '11 feature has been discontinued. Pick one of the predefined patches that already has the effects you want.
    However, you can add effects from the predefined audio units.
    You'll see the predefined effects on the track, when you open the Smart Controls. To add audio units, click the button and enlarge the the smart controls pane by dragging the dividing line to the Track Area upwards.

Maybe you are looking for

  • How to copy system table from one client to another client

    Hi, Currently i am implementing recruitment module in one of the power sector company. I have finished all the configuration in one of the client in development server. I have trasported all the request in Qulaity server so that i can do the testing.

  • Can´t get SWF files to work in DW CS5

    I´m doing a personal website with DW CS5. That´s the code for the index.htm page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <he

  • Need to transfer data from one external hd to another hd

    Hi, I need to transfer movies from one external hd to another external hd - destination hd is formatted currently as NTSC, source hd is formatted currently as Mac OSx extended (journalled). I believe I need to transfer data across to different hd bef

  • Changing the Decimal in the currencies

    Hi, We have an issue related to our SAP Production system. At the time of raising Billing invoices to customers in USD currency, we are using currency SAR with  two decimal places currently. Now our requirement is to bring three decimal places to USD

  • How to find username and tablespace name indatapump import

    I have a datapump export without the logfile .I would like to import it into a db.Before starting import I would like to know the schema and tablespace which it is exported so that I can remap the schema and tablespace to some other.Is there anyway I