Query is not giving output after changing some init parameter

HI,
I had recently changed some parameter:
oracle version:8.1.7.0.0.
database size =800gb
os:SunOS suportal01 5.9 Generic_118558-08 sun4u sparc SUNW,Sun-Fire-V440
load averages:  1.44,  1.32,  1.53                                                                                  13:36:42
288 processes: 287 sleeping, 1 on cpu
CPU states:     % idle,     % user,     % kernel,     % iowait,     % swap
Memory: 16G real, 6726M free, 6563M swap in use, 9289M swap free
   PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
18856 oracle     1  59    0    0K    0K sleep    1:24 15.08% oracle
  1911 oracle    11  59    0    0K    0K sleep    4:47  4.38% oracle
18870 oracle     1  59    0    0K    0K sleep    0:28  2.14% oracle
  4044 oracle     1  59    0    0K    0K sleep    2:29  0.50% oracle
12753 oracle     1  59    0    0K    0K sleep    2:29  0.45% oracle
18904 oracle     1  59    0    0K    0K sleep    0:25  0.38% oracle
  2996 oracle     1  59    0    0K    0K sleep   30:54  0.30% oracle
  4088 oracle     1  59    0    0K    0K sleep   23:43  0.30% oracle
   714 root      12  29   10   65M   23M sleep  785:09  0.12% java
12042 oracle     1  59    0    0K    0K sleep    3:26  0.07% oracle
  2208 oracle     1  59    0    0K    0K sleep    7:03  0.06% oracle
  2602 oracle     1  59    0    0K    0K sleep   34:01  0.04% oracle
19009 oracle     1  49    0 2440K 1376K cpu/3    0:00  0.03% top
18996 oracle     1  59    0    0K    0K sleep    0:00  0.03% oracle
  6928 oracle     1  59    0    0K    0K sleep   11:19  0.03% oracle#sort_area_retained_size= 2097152(old)
sort_area_retained_size= 104857600(new)
#log_buffer = 163840(old)
log_buffer = 1048576(new)
#hash_area_size=8388608(old)
hash_area_size = 209715200(new)
The below query is to get withing 15 minutes, now it is taking more than 3 hours after changint this parameter.
SQL> explain plan for
2 SELECT /*+INDEX (D I_EVENT_TOTAL__ID)*/
3 (SUM(D.AMOUNT)/1024) AS RATED_GBS
4 FROM EVENT_TOTAL_T D,
5 (select b.POID_ID0
6 FROM EVENT_T B,
7 account_t f,
8 EVENT_SESSION_DIALUP_T A
9 WHERE B.POID_ID0=A.OBJ_ID0
10 and f.business_type < 4
11 and f.poid_id0=b.account_obj_id0
12 AND B.END_T BETWEEN PIN_DATE_TO_SECONDS('20-jan-2009', NULL) AND PIN_DATE_TO_SECONDS('21-jan-2009', NULL)) TMP
13 WHERE D.OBJ_ID0 = TMP.POID_ID0 AND D.REC_ID IN (1000050, 1000114);
Explained.
SQL> @?/rdbms/admin/utlxpls.sql;
Plan Table
| Operation | Name | Rows | Bytes| Cost | Pstart| Pstop |
| SELECT STATEMENT | | 1 | 55 | 876776 | | |
| SORT AGGREGATE | | 1 | 55 | | | |
| NESTED LOOPS | | 454K| 23M| 876776 | | |
| HASH JOIN | | 454K| 16M| 331239 | | |
| TABLE ACCESS FULL |ACCOUNT_T | 247K| 1M| 4704 | | |
| MERGE JOIN | | 454K| 12M| 326302 | | |
| SORT JOIN | | 108M| 934M| | | |
| INDEX FAST FULL SCAN|I_EVENT_S | 108M| 934M| 852080 | | |
| SORT JOIN | | 454K| 8M| 3854 | | |
| TABLE ACCESS BY INDE|EVENT_T | 454K| 8M| 66825 | | |
| INDEX RANGE SCAN |I_EVENT__ | 454K| | 5042 | | |
| TABLE ACCESS BY INDEX R|EVENT_TOT | 119M| 2G| 2 | | |
| INDEX RANGE SCAN |I_EVENT_T | 119M| | 3 | | |
16 rows selected.
tables sizes:
EVENT_T=246 GB
ACCOUNT_T= 150 mb
EVENT_SESSION_DIALUP_T=15 GB
Thanks
Prakash GR
Edited by: prakashdba on Jan 21, 2009 12:06 AM

Hi Randolf,
session wise i changed the the old init parameter:
SQL> alter session set hash_area_size=8388608;
Session altered.
SQL> alter session set sort_area_retained_size= 2097152;
Session altered.
SQL> explain plan for
  2  SELECT  --+INDEX (D I_EVENT_TOTAL__ID)
  3  (SUM(D.AMOUNT)/1024)  AS RATED_GBS
  4  FROM EVENT_TOTAL_T D,
  5  (SELECT  b.POID_ID0
  6  FROM EVENT_T B,
  7  account_t f,
  8  EVENT_SESSION_DIALUP_T A
  9  WHERE B.POID_ID0=A.OBJ_ID0
10  and f.business_type  < 4
11  and f.poid_id0=b.account_obj_id0
12  AND B.END_T BETWEEN PIN_DATE_TO_SECONDS('21-jan-2009', NULL) AND PIN_DATE_TO_SECONDS('21-jan-2009', NULL)) TMP
13  WHERE D.OBJ_ID0 = TMP.POID_ID0 AND D.REC_ID IN (1000050, 1000114);
Explained.
SQL> @?/rdbms/admin/utlxpls.sql;
Plan Table
| Operation                 |  Name    |  Rows | Bytes|  Cost  | Pstart| Pstop |
| SELECT STATEMENT          |          |     1 |   55 | 877951 |       |       |
|  SORT AGGREGATE           |          |     1 |   55 |        |       |       |
|   NESTED LOOPS            |          |   454K|   23M| 877951 |       |       |
|    HASH JOIN              |          |   454K|   16M| 332414 |       |       |
|     TABLE ACCESS FULL     |ACCOUNT_T |   247K|    1M|   4704 |       |       |
|     MERGE JOIN            |          |   454K|   12M| 326302 |       |       |
|      SORT JOIN            |          |   108M|  934M|        |       |       |
|       INDEX FAST FULL SCAN|I_EVENT_S |   108M|  934M| 852080 |       |       |
|      SORT JOIN            |          |   454K|    8M|   3854 |       |       |
|       TABLE ACCESS BY INDE|EVENT_T   |   454K|    8M|  66825 |       |       |
|        INDEX RANGE SCAN   |I_EVENT__ |   454K|      |   5042 |       |       |
|    TABLE ACCESS BY INDEX R|EVENT_TOT |   119M|    2G|      2 |       |       |
|     INDEX RANGE SCAN      |I_EVENT_T |   119M|      |      3 |       |       |
16 rows selected.
I think these parameters are not culprit, but apart from these parameters i haven't changed anything database level and this problem is coming from last 3 days afetr changing these parameters.
[pre]
What is your block size and what is your db_file_multiblock_read_count setting?
[/pre]
SQL> show parameter db_block_size
NAME                                 TYPE    VALUE
db_block_size                        integer 4096
SQL> show parameter db_file_multiblock_read_count
NAME                                 TYPE    VALUE
db_file_multiblock_read_count        integer 8
and
EVENT_TOTAL_T table size =9 GB
Thanks for your valuable time.
Prakash GR                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Refreshing ADF Query Component after changing some property of a criteria

    Hi All
    Use Case : Refreshing ADF Query Component after changing some property of a criteria attribute.
    I have a query panel with 2 query criteria i.e. FirstName and DepartmentId where in DepartmentId is a drop down. The scenario is like when change the value of DepartmentId to 'Finance' with code value of '100' then my criteria attribute 'Firstaname' should be invisibe(queriable=false).
    Approach: Have overriden the queryOperationListener of adfquery as " queryOperationListener ="#{backingBeanScope.backing_queryLstener.processQueryOperation}" "
    My backing bean method goes as below :
    public void processQueryOperation(QueryOperationEvent queryOperationEvent) {
    // Add event code here...
    if( queryOperationEvent.getOperation().equals(queryOperationEvent.getOperation().CRITERION_UPDATE) ){
    DCBindingContainer bindings = (DCBindingContainer)this.getBindings();
    DCIteratorBinding iter =bindings.findIteratorBinding("EmployeeView1Iterator");
    ViewObjectImpl voimpl = (ViewObjectImpl)iter.getViewObject();
    ViewCriteria vc = voimpl.getViewCriteriaManager().getViewCriteria("EmployeeViewCriteriaDemo");
    Row currRow = vc.first();
    System.out.println("Department :"+currRow.getAttribute("DepartmentId"));
    if( (Integer)currRow.getAttribute("DepartmentId") ==100 ){
    AttributeDef[] attrs = voimpl.getAttributeDefs();
    int attrIndex = voimpl.getAttributeIndexOf("FirstName");
    ViewAttributeDefImpl attrDef = (ViewAttributeDefImpl) attrs[attrIndex];
    attrDef.setQueriable(false);
    // AdfFacesContext.getCurrentInstance().addPartialTarget(getQryId1()); //here i need to refresh the query component which is not happening
    // refreshQueryComponent(getQryId1());
    Everything is happening as expected but the query panel s not get refreshed.When i refresh the whole link/page then i can see the change.
    Please suggest.
    Thanks in adv.
    -Sanjeeb

    Hi,
    can's say anything about the first part of the question as more insight to the implementation would be required. However, have a look at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/83-bidi-synchronization-tree-form-401841.pdf, which may be what you are looking for
    To the second part: You can programmaticallly refresh the tree component from a managed bean. So instead of using the declarative PPR option (or ChangeEventPolicy set to PPR on the iterator binding) you can wire the submit button to the managed bean, perform your validation and if it fails don't refresh teh tree
    The call is
    AdfFacesContext.getCurrentInstance().addPartialTarget(the_tree_instance)
    Frank

  • ICloud status not displayed correctly after changing tags

    Hi everybody,
    I have just below 25 000 songs in the iTunes library that I use for iTunes Match (my complete library is actually much larger but I created a separate library to stay below the 25 000 songs limit).
    After changing some tags in iTunes (I had some artists listed twice, once in the format "<last name>, <first name>" and once "<first name> <last name>" and wanted to harmonize this) the iCloud status of most of my songs is no longer displayed correctly. If I create a smart playlist containing all "matched" songs it finds only about 1000 songs, a playlist for "uploaded" songs contains only about 250 songs, the vast majority of my songs simply have NO iCloud status whatsoever (not even "waiting").
    Trying to fix this, I selected all of my songs, option clicked and chose "Add it iCloud". After waiting some time, nothing changed. The funny thing is: iTunes match reports that 24 669 songs (the correct number) are available in iCloud.
    So basically everything works and I am also able to download all of my songs on my iPhone. Still, it's a little bit annoying that the iCloud status is not displayed correctly and smart playlists filtering for iCloud status don't work. Does anybody know a way to fix this?
    Thanks for any help,
    Andreas

    The reason why the C3850 switch stack is showing as standalone in LMS CiscoView is because
    it's returning sysObjectID as standalone.
    It should return as 1.3.6.1.4.1.9.1.1745 --cat38xxstack
    While, if you poll it for sysObjectID, the Catalyst 3850 stack switches will be returning OID 1.3.6.1.4.1.9.1.1641.
    This is an IOS bug "CSCul00003 - Incorrect Sys OID for Cat3850 Stack device".
    Unless this bug is fixed, LMS will not be able to show it as stack device.
    You can try to check if you can manually change the device identity to cat38xxstack from Inventory > add/edit device > edit identity.
    Else we need to wait for the fix of this bug.
    -Thanks
    Vinod

  • Report not giving Output correctly

    hi all
    The problem is about Pending invoice report. But this report is not giving output correctly.
    Plz help me to solve the problem.
    Thanks
    Subhasish

    Hi Mishra,
    Invoice output is coming correctly- assuming you have calculation error then check the print program assigned to your invoice output condition type. It must be having some logic error.
    If the issue is with improper formatting then check the layout assigned to your invoice output conditon. You can check both the program and layout assingment to ouput condition at NACE transaction.
    This is regular task which abapers can do with ease. so please take their help. They can just do a simple debug to understand the issue.
    regards
    sadhu kishore

  • While i was updating my iphone5, it showed that my sim card is not applicable. even after changing the sim card, i am not able to update or restore my iphone. what should be done?

    while i was updating my iphone5, it showed that my sim card is not applicable. even after changing the sim card, i am not able to update or restore my iphone. what should be done?

    Hi there aliyan,
    I would recommend taking a look at the troubleshooting steps for "No SIM" found in the article below. 
    If you see 'No SIM' alert on iPhone
    -Griff W.

  • Inventory reports are not giving output while executing in rsrt

    Hi,
    I am running inventory reports in RSRT. But for every report when i run, a debugger comes and its not showing any output. And the break-point in it is a standard one. so atleast standard reports must execute, but they are not giving me any output.
    Please tell me what can i do to resolve the error.
    Roma

    Hi Roma,
    Just press F8 key and keep executing report .
    Usually Bex Show this when either there is some problem with Report or Some variables you have  used in query  or you have not sufficient memory .
    Run the report and you will definately get some ides.
    key F6 to go to next line of execution
    key F8 to go to next breakpoint .
    Regards,
    Jaya Tiwari

  • How to re-validate an import after changing some mappings?

    I imported a delimited text file into FDM. The import was successful.
    I then validated the import with the existing mappings. The validation was successful.
    I then exported the data to the target system (Essbase). The export was successful.
    I later found out that some of the mappings needed to be changed. For instance, instead of mapping A to X, I needed to map A to Y (both X and Y are valid targets).
    I thought after changing the mappings I would be able to go back to the workflow and just repeat the Validate step with the updated mappings, followed by the Export step (with the Replace option). What I found, however, is that none of the output records changed when I re-validated the import. The original mapping results were still in the output. It appears that re-validating didn't do anything at all. I had to repeat the entire workflow, starting over from importing the data, to get the updated mappings onto the output records.
    Is this the correct and expected behavior?  (I'm using FDM 11.1.1.2.).  Shouldn't I be able to make mapping corrections and have them take effect without having to re-import all of the source data?+
    I'm guessing there may be a logical reason for this behavior having something to do with archiving and/or auditing, since I successfully exported the data with the original mappings to the target system, but can anyone say for sure whether this is the way it's supposed to work and explain why?
    Thanks very much.

    Hi,
    If I Understand your issue correctly, You want to change some of the existing mappings and want to load the file again.
    I assume that the maps for that location is not derived from any other location. In the locations, the Parent location should be None, If not, You need to change the maps of the location metioned in the Parent location.
    Then update the grid and Please follow the workflow, It should reflect the changes you have done for the mappings.
    Regards,
    tvmk
    Edited by: tvmk on Mar 24, 2010 10:52 AM
    Edited by: tvmk on Mar 24, 2010 11:03 AM
    Edited by: tvmk on Mar 24, 2010 6:16 PM

  • Crystal Report Not giving output

    GoodMorning Gurus!!!
    I created a crystal report in XI R2 based on a Multiprovider. Though the Multiprovider is active and the DSO has the Data correctly activated, the crystal report is not giving the output.
    Could someone please tell the reasons...also i have checked the server connections as well..they are right.
    Please give me the options to chk some more criterias.
    Thanks & Regards
    Jiten

    not answered

  • Bw report not giving output

    Hi,
    We have  a BW report which was published in WEB. It is based on one infoset.
    The variable screen has date entry in range.
    when i give one date in the variable screen , iam getting the output.
    But if i give  a range , then , the query runs  but the webpage after one hour shows " Cannot find server"
    But the workprocess for that particular query runs on and on.
    Is there is any way to increase the webpage life , any suggestions to overcome this is welcome
    PVC

    Hi,
    Data is there in the underlying objects of the infosets.
    If i  give single value in the variable screen , iam getting the report.
    But if i give a range , the report runs on and on withouit giving any output.
    Is there a way to increase the waiting time of the webpage.
    PVC

  • Report is not getting refreshed after changing prompts once again?

    HI,
    I am running some webi and deski reports using webi sdk also i'm handling the prompts of
    report.
    Problem is that if i ran the parametrized webi or deski report then my application shows the prompt page
    then i fill all the prompt for the report it shows the data for selected prompt values.
    But if i once again changed prompt values it shows data of previously selected prompt values not for
    the currently changed prompt values. means reports not getting refreshed.
    sometimes its work correctly.
    What will be problem?
    How can i resolve this issues?
    Please help me
    Thanks in advance
    Harshad

    The workflow is:
    1. Refresh
    2. Set Prompts
    3. Get View.
    then repeat.
    Are you refreshing before setting prompts?
    Sincerely,
    Ted Ueda

  • HT1491 My password in iTunes will not work, even after changing it. It keeps showing a window to add PW. I do and it pops up again.

    My PW in iTues will not work. Even after changing it. Window pops up and ask for PW. Over and over.

    I would be worried about that - but it may turn out to be nothing.
    Since you already changed your password, you're probably OK - but I recommend looking at your purchase history to see if there's any unauthorized purchases (use iTunes on your Mac or PC to go to the itunes store, then click your account in the upper-left or upper-right corner). If there are any new purchases that you didn't make, click the button to report problem (and if they happened after you reset your password, you should immediately change your password again).
    I think sometimes when you change your password and verifiy your credit card info, it can "reset" the warnings - so it may actually have been you logging in to your own account that caused you to get the warning. But I'm not absolutely sure of that, so it's best to check your purchase history (and reset your password if necessary - but you already did that).
    I also recommend turning on "two-step verification" (but Apple makes you wait a few days after changing your password to turn that on). With "two-step verification", Apple will send you a text message with a 4-digit code the 1st time you try to buy something from a new computer - since a hacker won't have your phone, they won't be able to continue (theoretically). After the 1st time, it goes back to mostly working normally (until the 1st time you  try to purchase from another new computer, then you get another text message - so this alerts you to someone, somewhere else, trying to get into your account).

  • My query is not executing properly after applying patches(bi.7

    iam working bi.7 support package 13
    after applying patches
    my query is not executing properly in production my problem with FI queries
    the query is executing properly but ihav created newformula using formulavariable that fields are not getting data in report if i click on currency conversion iam getting popup but currency translation coversion list is not coming and currency type(target currency also not dispalying)
    but if i execute same query in development its working properly newformula fields are getting data and currency conversion also working in development
    can u please help me in this issure
    i hope as soon i will get solutions from bw gurus

    That currency conversion problem is solved
    i checked TCODE:RSCUR IN PRD its not showing any details
    again i checked in dev and moved all currency types dev to production
    now its wokring
    i hope check with this it will work

  • Names of column appearing in alv output after changing layout in alvgrid?

    Hi all
    I have a requirement where I am displaying 20 fields using alv grid(cl_gui_alv_grid). Now each time when I run I can change layout and can display any number of columns in output using change layout option.
    My requirement is i need to know the column names of the fields which are displayed upon changing layout in output. Using this column names I have to write some logic in code. Each time number of column may vary as per the user selection. Is there any method or way to get the names of columns selected in output display?
    Please help me in this regard.

    Hi,
    During run time you will get the ALV layout info using this function module.
    REUSE_ALV_GRID_LAYOUT_INFO_GET
    Regards,
    Anversha

  • After changing some settings I have to log in everywhere all the time!

    HELP! I followed the advise of Mozilla Support and changed some (privacy) settings because I kept having trouble with Adobe Flash Player that wouldn't run.
    Now I have to log in EVERY TIME on my email and other accounts, even if I've told them to 'remember me'
    I want to change that back again, but don't know where and how!

    To be more precise, if you are use "Clear history when Firefox closes":
    *do not clear the Cookies
    *do not clear the Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-recent-browsing-search-and-download-history
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
    Clearing cookies will remove all specified (selected) cookies including cookies with an allow exception that you would like to keep.

  • MS Query will not return results after modification

    Using an ORACLE OBDC link, a msquery will work fine when first set up, but will fail to work when modified.  The query can be reset up with the modified criteria and work fine, however, all links have to be changed to the new table.  Other queries
    will work fine with multiple modifications.  We link to the BANNER database system tables. (when you try to query now, it is as if the query does not run any longer. Results which normally take up to 3 minutes to return, are returned immediately as no
    information)

    Hi,
    Do you get the error message when you Microsoft query fail to work? Which Excel and Oracle version are you using?
    Please try the below workaround to check if it is helpful:
    1. Update the Oracle ODBC drive
    2. Turn Off the Enable Background Refresh Setting
    http://support.microsoft.com/kb/168702/en-us
    Then, we also may be try to use OLEBD instand of the ODBC?
    http://blog.mclaughlinsoftware.com/microsoft-excel/how-to-query-oracle-from-excel-2007/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support

Maybe you are looking for