collect the session stats

Hi guys...

I'm in Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - Production on Solaris 64 - bit.

I'm collecting statistics of schema using DBMS_STATS. GATHER_SCHEMA_STATS ('PLAN', DBMS_STATS. AUTO_SAMPLE_SIZE).

Now my session is suspended:

I checked if this session is blocked by another session, and I do not see those that is blocking this session.

I then checked the v$ session_wait and I found this:

SQL > /.

SID EVENT P1 P2
---------- ---------------------------------------------------------------- ---------- ----------
1259 db file sequential read 816568 48


When I check further I discovered that I have a clue which may contribute to the problem.

When I check the status of the index it show N/A.

What does this mean and how I have dealt with this issue?

Published by: user11979518 on 7 Sep 2010 06:52

First of all it is unnecessary to type the capital subject to attract more attention.
Please change the subject and apologize to this forum.

Other other than the procedure is taken on time, I see no problem. The session is waiting for disk including normal,
and n/a probably means that the index is being analyzed.
Only when there is no I/O in this session, there could be a problem.

---------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Display all THE columns in the session state for a collection V4.0

    I loaded columns into a collection of APEX c001 to c020. as follows
    I'm in 1.:P1_SPC_NO_OF_SPECIMENS LOOP
    htmldb_collection.add_member (p_collection_name = > 'SPECIMEN_BATCH',)
    p_C001 = >: P1_LEVEL,.
    p_C002 = >: P1_PARENT_ID,.
    p_C003 = >: P1_SPC_TYPE,.
    p_C004 = >: P1_SPC_BANK_ASSIGNED,.
    p_C005 = >: P1_SPC_TRIAL,.
    p_C006 = >: P1_SPC_CONCENTRATION,.
    p_C007 = >: P1_SPC_SERUM_TAKEN_DATETIME,.
    p_C008 = >: P1_SPC_SERUM_FROZEN_DATETIME,.
    p_C009 = >: P1_SPC_CELL_COUNT,.
    p_C010 = > case: P1_SPC_CELL_COUNT_UNIT when '?' then "else: P1_SPC_CELL_COUNT_UNIT end.
    p_C011 = >: P1_SPC_VIABILITY_STATUS,.
    p_C012 = >: P1_SPC_VIABILITY_REASON,.
    p_C013 = >: P1_SPC_INITIAL_QUANTITY,.
    p_C014 = > case: P1_SPC_QUANTITY_UNIT when '?' then "else: P1_SPC_QUANTITY_UNIT end.
    p_C015 = >: P1_SPC_COMMENTS,.
    p_C016 = >: P12_SPC_VOL_OF_SAMPLE,.
    p_C017 = >: P12_SPC_DILUTION_FACTOR,.
    p_C018 = >: P12_SPC_A260,.
    p_C019 = >: P12_SPC_A280,.
    p_C020 = >: P12_SPC_RIN);
    END LOOP;

    When I discovered the contents of the collection in session state, I don't see until c010. How can I view all the columns 'C' of a collection in session state? I know that the values are in the columns to c020 c011 as I can successfully insert 20 values into a table!

    Thanks in advance
    Paul P

    Hello

    Better create report own region for debugging.

    SELECT *
    FROM apex_collections
    WHERE collection_name = 'SPECIMEN_BATCH'
    

    You can set the status of report never when you need, or just delete the entire region.

    Kind regards
    Jari

  • The session-state item values are used is not in the redirection Page

    Hello
    I have a P7_PERIOD point Page, I put the value of the session state for the click of a button. I can confirm that the value of P7_PERIOD is correctly set in session state after the button is clicked. When I try and P7_PERIOD allows to set the value of an element in another page (P17_PERIOD) on the click of a button, it does not recognize the value of new session state.

    For the second button, I'm telling you "Redirect to Page in this application" on Page 17
    Place these items: P17_PERIOD
    With these values: & P7_PERIOD.

    P7_PERIOD has the correct values in session state, but passes the old values to P17_PERIOD during the click on the second button.

    Any suggestions are greatly appreciated.
    Thank you
    John

    Johnny98 wrote:

    I have a P7_PERIOD point Page, I put the value of the session state for the click of a button. I can confirm that the value of P7_PERIOD is correctly set in session state after the button is clicked. When I try and P7_PERIOD allows to set the value of an element in another page (P17_PERIOD) on the click of a button, it does not recognize the value of new session state.

    For the second button, I'm telling you "Redirect to Page in this application" on Page 17
    Place these items: P17_PERIOD
    With these values: & P7_PERIOD.

    P7_PERIOD has the correct values in session state, but passes the old values to P17_PERIOD during the click on the second button.

    Redirections are run in the browser using URL generated during page processing. This means that the redirect for the second button URL uses the value of P7_PERIOD is during the broadcast of the page, not as it is in session state after it is defined by the first button.

    The second button must execute a submit and branch to retrieve the new value of P7_PERIOD. If there are page accept treatment that should not be run when the user clicks this button, use a branch point before the execution of these processes (for example on submit: before calculating), or condition the process on the other buttons.

  • Get the session state of the order of the day in javascript

    Is there anyway to get the value of an element of demand through jS?

    [I have an app that loads a different source into an iframe depending on which page the user is.]  I can load this value in session state for a part of the application (or a point probably page) but for the redirect which is made in java script I don't know how to get the value of session.  [I do not have it as the value of the client side.]

    Thanks guys, but I think that it would give me only the value in the DOm not in session state.  I had to make a page zero point and dynamic action that populated the in the DOM, and then I could use JS ($v) to get the variables.

    I couldn't find a way to get session state directly.

  • I clicked on forget (set 5 min) button and it deleted the session state, wasting 80 tablets

    By clicking on the button to forget (forget 5 min) restarted firefox, thus closing all of my windows (not only the tabs for the past 5 minutes)
    and replace my session restore file.
    the sessionstore-backup is also lost.

    It looks like a software bug, but I don't want to try to reproduce it again.
    I'll try to get some of my tabs by spending some time check my browsing history.
    seniors will be difficult

    HI kinito_alc,
    It's what is expected. However if you want to leave a comment for developers, you can submit your comments directly to the team of awareness through the following page:

    The user outreach team will review all feedback and reports on results to the product teams and the parties concerned, in order to influence and shape our products.

  • Session state protection violation: this can be caused by manually editing the protected page P67_C point. If you don't know what caused this error.

    Hi friends,

    I create three field A textfield,textfield B,C textfield and apply the formula with dynamic action.

    C = A + B.

    Now, I want to protect user could not be total change at point C, so I change it is property of the text field to display only and change in

    Settings-> save the Session State-> Yes

    After all changes when I ran page and provide the registry then it shows me error below.

    Session state protection violation: this can be caused by manually editing the protected page P67_C point. If you don't know what caused this error, contact the administrator of the application for assistance.


    How to disable the total at point C when I use the dynamic action to calculate the Total of A + B.

    Thank you.




    Hi Maxence,

    1. in the case of a display one element

    Change your point of P67_C and change the State of Session Save-> No.

    2. in the case of a text field

    Change your point of P67_C and make it read-only

    go to the attributes of the HTML Form element-> readonly = "readonly".

    Hope this helps you,

    Kind regards

    Jitendra

  • With the help of APEX_UTIL. SET_SESSION_STATE to set an element value in Session State?

    Goal: Refresh a region but not the entire page, where the region has a query based on the value of a page element, that the user has selected. I (think) I () would be the updating of the region works well but the page element that uses the query is not in State of Session!

    The current issue: I have a procedure (APEX_UTIL. SET_SESSION_STATE) to assign a value to the user enters the Session State, but how do I get this value in the first place?

    What I have in the region:
    : P23_SELECT_RUN_DT (date picker)
    Lines extracted according to the date picker. Initially, the query retrieves all rows because: P23_SELECT_RUN_DT (date picker) is null.

    I'm trying to follow {message identifier: = 9781139},
    I added a DA (event: change) with the following PL/SQL:
    BEGIN
        APEX_UTIL.SET_SESSION_STATE('P23_SELECT_RUN_DT','???');
    END;
    But how do I specify the value to use is the date picker? I can't use: P23_SELECT_RUN_DT; It has the value null.

    I added this: point P23_SELECT_RUN_DT for an example, I'm already working:
    WS: APEX_EXAMPLES_01
    USER: demo
    PW: demo
    Application: 991203 - BPR_991203 Page 23 (tab: Master 3)
    Click the edit Pencil after 'ProgramName 1' to fill the three regions. The date picker is the third region.

    What is the approach to use? Can someone suggest an easier way to achieve this?

    Thanks in advance,
    Howard

    Howard (in training) wrote:
    Re my goal:

    The current Question:... to assign a value that the user enters into the State of Session...?

    I thought that maybe this works. I added P23_SELECT_RUN_DT 'Page to present '. I removed the former DAs. Then I added a refresh of the region for the date picker, thinking that the: P23_SELECT_RUN_DT value would be submitted whenever the changed date picker. No joy. The newly selected value is not in Session State.

    ???

    You're going to hate this :D (although I admit it's obscure uber - I was quickly running out of ideas when I noticed it...)

    The problem is the static region ID BPR_RUN details. It is not valid HTML ID attributes cannot contain white spaces. I do not know exactly why the presence of the verboten discombobulates APEX or jQuery so space overall, and I'm not venturing in the debugger to determine. I'll just point to it as another reason to respect some HTML and use the markup compliant to standards.

  • To find the value of a dynamic element to session state,

    Hi all

    Is it possible to find the value of an item in the session state, but the name of the element is stored in a variable
    as

    APEX_UTIL. GET_SESSION_STATE (v_variable)

    where v_variable would be the name of the element?

    Thanks in advance,
    RD

    You describe the default feature?
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDEJEJE

    DECLARE
      v_variable  VARCHAR2(20) := 'P1_ITEM';
      v_value     VARCHAR2(255);
    BEGIN
      v_value := APEX_UTIL.GET_SESSION_STATE (p_item => v_variable);
    END;
    

    I missed something?

  • Connect all the elements of session state?

    I need to create a record of routine that captures the current user to an APEX session state and she pours in a table of error log.

    I already have the paper table and an autonomous_transaction function defined in one of my pl/sql packages, but now I need to get information from the user's session, for example what page they were, what their item app values were, what the last request has been, etc..

    Does anyone know how to do that without grant select on apex_030200.wwv_flow_data the ID of the workspace where the logging feature?

    Wwv_flow_data contains information for all users, I want just the logarithmic function to access the current user/app/session data only. Yes, I can filter with a where clause clause, but I rather it would be more like a self filtering view that shows you your own data (defined in the schema of the apex/flow). Even better would be a function APEX_UTIL that returns the session state in a clob or varchar2 32K maybe even in the name = value format.

    My version of db is a business with Apex 3.2.0.00.27 11.1.

    You'll want to use the built-in views. Here is a sample of something that I use to record values report.

    DECLARE
    CURSOR c_items IS
          SELECT item_name
            FROM apex_application_page_items
           WHERE application_id = p_application_id AND
                 page_id = p_page_num AND
                 (region_id = p_region_id OR
                  p_region_id IS NULL) AND
                 display_as NOT IN ('Stop and Start HTML Table (Displays label only)', 'Hidden and Protected');
    
      BEGIN
        FOR r_items IN c_items LOOP
          store_report_value(p_report_id, r_items.item_name, v(r_items.item_name));
        END LOOP;
    
      END;   
    

    You can pass the values of Apex as: APP_SESSION,: APP_PAGE_ID,: APP_USER as parameters in a procedure.

  • What are the values of the State of Session State?

    No one knows what the I, R and U values in the status column for the status of Session screen average?

    Can't seem to find any documentation about them.

    For a given page or element of the request:

    Inserted - the value is stored in the table of session state for the first time in the session.

    Update: the value that was already in the table of session state has acquired a new value.

    Reset - the value that was already in the session state table is changed to null using a clear-cache event.

    Scott

  • Session state and checkboxes

    Hi guys,.

    I'm a little hard with the checkboxes in the APEX 4.2

    I am trying to add 2 boxes in my application to filter the data

    The problem is how then to value by default when the user opens the page, some data are displayed

    If I use the 'Default' section in the details of the box (setting may 1 as default), when I open the web page, the checkbox is marked, but in the session state is not defined so no data will appear. If I submit the new page then Yes, the data is displayed

    I could use a calculation that defined the box = 1 if it is not set when the page loads, but it would not work as the calculation would give it 1 time and again when the user the box remove the flag

    Anyone know how I could apply this?

    Thank you very much

    Hello

    so I found a solution according to the following:

    -create box 2 or more

    -create a hidden text field

    -create a header after calculation that has always defined the hidden field = 1

    -create one before the calculation of header for each box the value = 1 box only if the value of the hidden text field is null

  • Apex DatePicker setting session state problem.

    Hi all

    Workspace: hanamike

    User name: test

    Password: test

    With the help of dynamic action, run PL/SQL, to set the session state.

    Using Firefox console showing too many recursion error but session state is defined so slow.

    But when the use of Ipad screen will freeze when the session state setting.

    Capture.PNG

    Already had the application properties, security, Mode of escape from HTML to base but still display the date value as a unicode type (c, c ++).

    Please advice.

    Thanks in advance.

    Zack

    You have set something on the change of P1_DATE1 to change the same domain, and "Remove Change Event" is set to no.

    It is an infinite loop.

  • Only display element - Session State

    APEX 4.2.2

    Display only the page element. Settings: Save Session State = Yes. Output = based on the PL/SQL code. Security > escape = No special characters.

    The PL/SQL code uses htp.p to display HTML and page is rendered fine with browser showing HTML code.

    But when the page is submitted, the value is not saved in session state is not available for the apex_mail.send process.

    What Miss me? How can I get the value of page element to be available in session state to submit after process use?

    [I tried other alternatives such as Textarea with Readonly = Always element but anyway this mess up the rendering of the code HTML. [The only thing that appears in many working on the rendering side is only show the item, but then I can't read after the value of submit processing]

    Help! Thank you.

    Hi Vikas,

    This isn't how this parameter "based on" specific is designed to work.  If you look at the underlying HTML associated with the item, you will find that the real value of the element is distinct from what is emitted from your PL/SQL code.  The output of PL/SQL is simply what you want made on the page, but it's nothing associated with the underlying session state value.  If you have a dynamically calculated in the session state for this article, you would be better to use a calculation or specify PL/SQL in the attribute 'Source value or expression.

    I don't blame yourself if you find confusing - it is certainly not clear in the documentation or the help text for item-level.

    Joel

    PS still waiting to see you at the WORLD KScope or Oracle OpenWorld.  You must be to avoid us.

  • Page Item refresh only in the session

    Hello APEX Experts

    I have some problems with dynamic Action "set value". What I want to do is located a Page element with a variable derived from javascript. So basically, I have a JavaScript variable ' test' which is changed by javascript code. I use dynamic Action "Set Value" to set this value in a page element. As a source, Im using "Javascript Expression." He was, however, the value set with JAvascript expression dynamic Action does not reflect this change in the session, then the page item is not updated.

    I tried:

    $s-> does not work
    Apex. Submit-> works, but submits the page. I need to present only the Page element.

    Any idea?

    Best regards
    Sebastian

    SebastianScholz wrote:
    but I am interested in solutions better and not unerstand why for Expression Javascript 'Page points to submit' option is not available?

    because JavaScript itself cannot change the session state from points, it must be done via ajax - which is the case at present.

    If this isn't a solution and this is how you use.

  • Protection of session state - Arguments must have Checksum - help needed

    Hello world

    I use apex 4.0 and that you have defined:

    Protection of session state = True
    Page = Arguments access protection must have the checksum
    Point of application protection = Cecksum required - Session level
    Page data entry point Protection = required Cecksum - Session level
    Page Display-Only item = Cecksum required - Session-level Protection

    On the pages that contain an interactive report, calls to other pages updated and or to delete a record from the pharmacokinetics of recording work OK.
    I put these as follows:
    In the Interactive report link-> Link attribute column = onclick = "new top. Ext.apex.PopupWindow ({url: this.href, title: 'Change collation details', width: 530, height: 500, listeners: {'success': gReport.search}}). show(); return false; »
    Target = this Application Page
    Page = 302Item = P302_IDCLASS
    Value = #IDCLASS #.
    Page Checksum = - default user.

    The problem is the button 'Create a new record' that is on the page of interactive report. I set the button as:
    The attributes button = onclick = "new top. Ext.apex.PopupWindow({url:'f?p=&APP_ID.:302:&APP_SESSION.::NO:302:::',_title:_'Create_New_Classification',_width:_530,_height:_500,_listeners:_{'success':_gReport.search}}).show (); return false; »
    Action when click = redirect to the Page of this Application
    Page = 302
    Clear Cache = 302

    When I click the button I get the following message:
    Session state protection violation: this can be caused by a manual change to a URL containing a checksum or using a link with a missing or incorrect checksum. If you don't know what caused this error, contact the administrator of the application for assistance.

    If I change the attributes of the button to be:
    OnClick = "new top. Ext.apex.PopupWindow({url:'f?p=&APP_ID.:302:&APP_SESSION.::NO:::',_title:_'Create_New_Classification',_width:_530,_height:_500,_listeners:_{'success':_gReport.search}}).show (); return false; »

    It works OK, bu page elements are not clear.

    Could somebody please explaing to me what I am doing wrong so I understand my mistake?

    Thank you

    Daniel

    Hello

    If I understand correctly what you need...

    Create a point of the MY_BTN_URL application.
    You can set this element of Protection of the Session State to 'Restricted - cannot be resolved in the browser.
    Create the calculation of demand for this article
    Calculation Point: Before header
    Calculation type: PL/SQL Expression
    Calculation:

    APEX_UTIL.PREPARE_URL (
      p_url => 'f?p=&APP_ID.:302:&APP_SESSION.::NO:302::::',
      p_checksum_type => 3
    );
    

    Change your attributes of button

    onclick="new top.Ext.apex.PopupWindow({ url:'&MY_BTN_URL.', title: 'Create New Classification', width: 530, height: 500, listeners: {'success': gReport.search} }).show(); return false;"
    

    Kind regards
    Jari

    Published by: jarola October 25, 2011 15:50

    Published by: jarola October 25, 2011 16:16

Maybe you are looking for

  • Family shared & Apple pay payments

    I got iCloud family configured sharing with my partner for some time, with my main flow configured as a shared payment card. I changed since that to my debit card to our account to join. I pay Apple set up on my iPhone and only linked it to my main d

  • How to get the "SETTINGS" at the time I opened FIREFOX?

    I clicked on SETTINGS and asked a white page. I want the back page that has ' HISTORY, DOWNLOADS, etc. when I open FIREFOX.»

  • Doubt Intel cpu upgrade

    A friend gave me an intel i7 930 as a gift, would really like to replace it with the i3 in my hp probook 4530 s. Please it's okay? Or better build your desktop for it☺️

  • include specific fonts for the installer of building

    There are some fonts that I want to package in my program as well as the installation program.  Could someone please tell me how what I do?  I don't see the Windows\Font folder anywhere: Thank you

  • search string

    Hello This is a string "Agilent Technologies, E5071C, MY46103457, A.08.12". I want to have a VI that returns 1, if it is 'E5071C '. Otherwise, returns 0. Can I use already exsiting VI in palette?