Partition elimination using views

Hi all,
i am having problem with a view which is accessing all the partitions in my table.
i have a table which has 30 columns and is partition by one column called cid. it is a list partition.
when i do a query on the table, the explain plan show partition (single)
ex. select * from table1 where dt=trunc(sysdate) and cid=1 and txt='123A'so the above query works fine and access one partition (value 1(
now, i created a view base on the table. it looks like this:
create or replace view view1 as
  column names
select * from
      (select * from table1 where type='tek') a,
        (select * from table1 where type='pak') b
where a.userid = b.userid(+)when i issue the statement below, the explain plan show partition (all)
select * from view1 where dt=trunc(sysdate) and cid=1 and txt='123A'i cannnot seem to find a way for partition elimination using the view. can someone help how to resolve this problem?
thanks

consider the following data
user id       cid       type    name
======================
ABC           1        tek      robert
ABC           1        pak      will
TYY          1        tek       smith
TYY          1        tek       john
WWW       2        pak      mil
EEE           2        tek      Josso for example, query a is taking rows with tek value, query b is displaying rows with pak value and both query are join on user id.
abc row in quey a will join with abc row in query b and this will become one row instead of two.
so when run query the view such as select * from view1 where cid=1 then i want the view to access partition cid=1 and get the ABC and TYY rows only.
but it looks it is accessing all partitions which is not what i am looking for.
let me know if this helps

Similar Messages

  • Partition elimination inconsistent behavior

    Hello.
    When we query a partitioned table and partition-aligned indexes are employed, seeks are performed in two steps: If the partition column is used as a predicate, the index is used to eliminate partitions assigned to ranges the predicate values don't fall in.
    Then it proceeds to perform serial scans/seeks in any remaining partitions.
    Now suppose I have a table partitioned on a varchar(10) column. Ranges are defined for values '230' and '281'. In SQL Server 2012 SP1,
    partition elimination won't happen unless i explicitly convert the predicate value to varchar(10).
    NOTE: I'd like to refrain from posting the scripts to generate the entire data structure because they are sensitive.
    Basically the original objects are like the ones below:
    CREATE TABLE TEST
    (PARTITION_COLUMN VARCHAR(10),
    SOME_ID INT)
    GO
    CREATE CLUSTERED INDEX IDX_TEST (PARTITION_COLUMN, SOME_ID) ON PARTITION_SCHEME(PARTITION_COLUMN)
    GO
    CREATE VIEW VW_TEST AS
    SELECT SOME_ID, PARTITION_COLUMN
    FROM TEST
    WHERE SOME_ID = 9
    GO
    Partition scheme has 3 filegroups to cover the ranges '230' and '281' in the partition function. The partition function expects a varchar parameter.
    CREATE PARTITION FUNCTION [RANGE_PROJETOS](varchar(10)) AS RANGE LEFT FOR VALUES (N'230', N'281')
    GO
    When I use a literal varchar value:
    SELECT COUNT(*) FROM VW_TEST
    WHERE PARTITION_COLUMN = '234'
    Seek Keys[1] tell us there is no partition elimination, since its filter implies the selection of all partitions. If I later run this query, the "Actual partition count" value will be 3.
    If I either use a variable or explicitly convert the literal value to varchar(10), partition elimination will be done:
    However, the plan behavior is still inconsistent. The "RangePartitionNew" function is used when the literal value isn't known at compile time, which is acceptable for the query to the left, in the image above, because a variable is being used,
    but not for the query to the right. What makes the latter all the more strange is the fact that it does an implicit conversion to varchar(10) even though it is already explicitly converted to the very same data type!!

    This problem occurs even when querying the table directly instead of the view.
    SELECT * FROM TB_RESULTADO
    WHERE ID_PROJETO_EXTERNO = '234'
    SELECT * FROM TB_RESULTADO
    WHERE ID_PROJETO_EXTERNO = CONVERT(VARCHAR(10), '234')
    Can you verify?  I see the expected actual partition count of 1 with the repro below under SQL 2012 SP2.  To add on to Paul' blog, simply following best practices as to parameterize queries with matching data types will avoid the issue with
    auto parmeterization.
    CREATE PARTITION FUNCTION [PARTITION_FUNCTION](varchar(10))
    AS RANGE LEFT FOR VALUES (N'230', N'281');
    CREATE PARTITION SCHEME PARTITION_SCHEME
    AS PARTITION PARTITION_FUNCTION ALL TO ([PRIMARY])
    CREATE TABLE TEST(
    PARTITION_COLUMN VARCHAR(10),
    SOME_ID INT);
    GO
    CREATE CLUSTERED INDEX IDX_TEST ON TEST(PARTITION_COLUMN, SOME_ID) ON PARTITION_SCHEME(PARTITION_COLUMN)
    GO
    CREATE VIEW VW_TEST AS
    SELECT SOME_ID, PARTITION_COLUMN
    FROM dbo.TEST
    WHERE SOME_ID = 9
    GO
    SET STATISTICS IO ON
    SELECT COUNT(*) FROM VW_TEST
    WHERE PARTITION_COLUMN = CAST('234' AS varchar(10));
    GO
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com
    Dan,
    You have to leave the literal value predicate as it is (without any conversions) to reproduce the aforementioned situation.

  • Partition Eliminiation on views and joins with other partitioned tables

    I have a bunch of tables that are daily partioned and other which are not. We constantly join all these tables. I have noticed that partition elimination doesn't happen in most cases and I want some input or pointers on these.
    Case 1
    We have a view that joins a couple of partitioned tables on the id fileds and they the partition key is timestamp with local time zone.
    TABLEA
    tableaid
    atime
    TABLEB
    tablebid
    tableaid
    btime
    The view basically joins on tableaid, a.tableaid = b.tableaid(+) and a bunch of other non partitioned tables. atime and btime are the individal partition keys in the tables and these time do not match up like the id's in other words there is a little bit of correlation but they can be very different.
    When I run a query against the view providing a time range for btime, I see partition elimination on tabled in the explain plan with KEY on Pstart/Pstop. But its a full tablescan on tablea. I was hoping there would be somekind of partition elimination here since its also partioned daily on the same datatype timestamp with local time zone.
    Case 2
    I have a couple of more partitioned tables
    TABELC
    tablecid
    tablebid
    ctime
    TABLED
    tabledid
    tablebid
    dtime
    As you can see these tables are joined with tablebid and the times here generally correlate to tableb's timestamp as well.
    Sub Case 1
    When I join these tables to the view and give a time range on btime, I see partition elimination happening on tableb but not on tablea or any of the other tables.
    Sub Case 2
    Then I got rid of the view, wrote a query that us similar to the view where I join on tableaid (tablea and tableb), then on tablebid (tableb, tablec and tabled) and a few other tables and execute the query with some time range on btime and I still see that partition elimination happens only on tableb.
    I thought that if other tables are also partitioned on a similark key that partition eliminition should happen? Or what am I missing here that is preventing from partition elimination on the other tables.

    Performance is of utmost importance and partition pruning is going to help in that. I guess that's what I'm trying to acheive.
    To achive partition elimination on tablec, d, etc I'm doing an outer join with btime and that seems to work. Also since most of the time after the partition elimination, I don't need a full tablescan since the period I will be querying most of the time will be small I also created a local index on id field that I'm using to join so that it can do a "TABLE ACCESS BY LOCAL INDEX ROWID" this way it should peform better than a global index since the index traversal path should be small when compared to the global index.
    Of couse I still have problem with the tablea not being pruned, since I cannot do an outer join on two fields in the same table (id and time). So might just include the time criteria again and may be increase the time range a little more when compared to what the actual user submitted to try not to miss those rows.
    Any suggestions is always welcome.

  • Partition Elimination

    We are having very large database for one particular region of 140+ tables.From which 30+ tables having millions of rows.We are generating reports based on that database.for performance gain,we have added so many Indexes.
    Now,we are having more than 30 regions data.So,we have partitioned large tables on region & subpartition on current & history data.
    Now,we are trying to do partition elimination.but,it access indexes against partition elimination.All indexes are global index.Index are not partitioned.
    Can anybody give inputs on how partition elimination can be achieved?

    Thank you very much for reply.
    Oracle Version : 9.0.2
    partition by Range-List
    We are using Bind Variables.
    20 percentage rows of tables selected.
    30 percentage of specific partition selected.
    query & it's explain plan is below:
    select coll.* from temp_collstock coll,
    acbs_t_calendar cal
    where cal.as_of_date_stamp between valid_from_stamp and valid_to_stamp
    and cal.portfolio_id in ('DM')
    and cal.as_of_date_desc = 'Most recent day'
    and coll.portfolio_id = cal.portfolio_id
    and coll.most_recent >= cal.most_recent
    temp_collstock is partitioned on portfolio_id & subpartitioned on most_recent(having 0 & 1 value.can be treated as flag)
    for cal.portfolio_id ,cal.as_of_date_desc values passed at run time.
    through calendar table only we can give reference of portfolio_id as well as most_recent.
    valid_from_stamp and valid_to_stamp is period for which we have valid data.we pass stamp from calendar table for passed date & portfolio.
    index defined on temp_collstock for (valid_from_stamp,valid_to_stamp)
    stats gather for all(global,partition,subpartitions,index).
    | Id | Operation | Name | Rows | Bytes | Cost | Pstart| Pstop| |
    | 0 | SELECT STATEMENT | | 293 | 45415 | 178 | | |
    |* 1 | TABLE ACCESS BY GLOBAL INDEX ROWID| TEMP_COLLSTOCK | 147 | 19404 | 88 | ROWID | ROW L |
    | 2 | NESTED LOOPS | | 293 | 45415 | 178 | | |
    | 3 | TABLE ACCESS BY INDEX ROWID | ACBS_T_CALENDAR | 2 | 46 | 2 | | |
    |* 4 | INDEX RANGE SCAN | ACBS_T_CALENDAR_01 | 2 | | 1 | | |
    |* 5 | INDEX RANGE SCAN | TEMP_LOAN_P1 | 2805 | | 61 | | |
    Predicate Information (identified by operation id):
    1 - filter("COLL"."PORTFOLIO_ID"="CAL"."PORTFOLIO_ID" AND "COLL"."MOST_RECENT">="CAL"."MOST_RECENT"
    AND "COLL"."PORTFOLIO_ID"='DM')
    4 - access("CAL"."PORTFOLIO_ID"='DM' AND "CAL"."AS_OF_DATE_DESC"='Most recent day')
    5 - access("CAL"."AS_OF_DATE_STAMP"<="COLL"."VALID_TO_STAMP" AND
    "CAL"."AS_OF_DATE_STAMP">="COLL"."VALID_FROM_STAMP")
    filter("CAL"."AS_OF_DATE_STAMP">="COLL"."VALID_FROM_STAMP" AND
    "CAL"."AS_OF_DATE_STAMP"<="COLL"."VALID_TO_STAMP")
    let us have your inputs.

  • Query using views

    Since the query is too big, I have removed the query from the post.
    I would like to know whether using views in SQL queries degrade the performance of the queries?
    When views are used in sql queries, the operation 'FILTER' is displayed in the explain plan, however the cost doesnt seem to be high. If the views can be replaced by the base tables, it is better to do so?
    Edited by: user642116 on Nov 8, 2008 11:13 PM

    user642116 wrote:
    I have a main table called NATURAL_PERSON. There are several child tables based on this table, for e.g. PERSONAL_DETAILS, NATIONALITY_PERSON, CIVIL_STATUS etc. All these child tables have a foreign key NPN_ID which is joined with the ID of NATURAL_PERSON.
    I need to obtain data from these child tables and present in them xmlformat.
    A part of the query used is as below
    SELECT npn.ID npn_id,
    CONVERT(xmlelement("uwvb:NaturalPerson",
              XMLForest(LPAD(npn.nat_nummer,9,0) AS "uwvb:NatNr"),
              (XMLForest(LPAD(per.a_nummer, 10, 0) AS "uwvb:ANr"
              (SELECT XMLFOREST
                        (code_status AS "uwvb:ResidenceStatus")
                        FROM ebv_v_nep nep
                        WHERE npn_id = npn.ID
                        AND nep.nem_code = 'VBT'
                        AND nep.transactid =
                        (SELECT MAX (nep_i.transactid)
                             FROM ebv_v_nep nep_i
                             WHERE nep.npn_id = nep_i.npn_id
                             AND nep_i.nem_code = 'VBT'))
              entityelement),'WE8MSWIN1252', 'UTF8')
    FROM ebv_v_npn npn, ebv_v_per per
    WHERE npn.ID = per.npn_id
    As seen in the above query, views have been defined for all the tables. For e.g. the view ebv_v_npn is based on NATURAL_PERSON, ebv_v_per is based on PERSONAL_DETAILS, ebv_v_nep is based on RESIDENCE STATUS. All these views are independent of each other and do not contain common tables in their definition.
    The views can be replaced by the base tables as i dont see any advantage of using the views. I would like to know whether replacing the views with the base tables would also help to improve the performance.Replacing the views with the base tables might help, since not always Oracle is able to merge the views, so sometimes certain access paths are not available when working with views compared to accessing the base tables directly.
    You can see this in the execution plan if there are separate lines called "VIEW". In this case a view wasn't merged.
    The particular query that you've posted joins two views in the main query and (potentially) executes a scalar subquery that contains another correlated subquery for each row of the result set. "Potentially" due to the cunning "Filter optimization" feature of the Oracle runtime engine that basically attempts to cache the results of scalar subqueries to minimize the number of executions.
    If the statement doesn't perform as expected you need to find out which of the two operations is the main contributor to the statement's runtime.
    You can use DBMS_XPLAN.DISPLAY to find out what the FILTER operation you mentioned is actually performing (check the "Predicates Information" section below the plan output), and you can use SQL tracing to find out which row source generates how many rows. The following document explains how to enable SQL tracing and run the "tkprof" utility on the generated trace file: When your query takes too long ...
    The correlated subquery of the scalar subquery that is used to determine the maximum "transactid" may be replaced with a version of the statement that uses an analytic function to avoid the second access to the view (note: untested):
    SELECT npn.ID npn_id,
      CONVERT(xmlelement("uwvb:NaturalPerson",
              XMLForest(LPAD(npn.nat_nummer,9,0) AS "uwvb:NatNr"),
              (XMLForest(LPAD(per.a_nummer, 10, 0) AS "uwvb:ANr"
              (SELECT XMLFOREST
        (code_status AS "uwvb:ResidenceStatus")
        FROM (
          SELECT code_status,
          RANK() over (PARTITION BY npn_id ORDER BY transactid desc) as rnk
          FROM ebv_v_nep nep
          WHERE nep.npn_id = npn.ID
          AND nep.nem_code = 'VBT'
        where rnk = 1)
        entityelement),'WE8MSWIN1252', 'UTF8')
    FROM ebv_v_npn npn, ebv_v_per per
    WHERE npn.ID = per.npn_idRegards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/
    Edited by: Randolf Geist on Nov 10, 2008 9:27 AM
    Added the rewrite suggestion

  • Do ordering your child block using other tables wihout using views

    Hi all,
    Just need to play with this : Query Data Source Name property for data block
    Benefit : you can do order by child block with other tables without using View
    I have used two tables in this property !!
    and it is working fine.
    e.g. Dept is master block
    and clild block is Emp nad combination with emp_category.
    so now I can order emp block by emp category.
    master block : dept
    Query datasource name : dept
    child block : emp
    Query datasource name : emp a , emp_category b
    From
    Chirag Patel

    Ok, I'd probably go with the two insert method, but as an alternative, here is a method of doing it in a single insert:
    create table emp_info as
    select 1 empno, 'a' empname, 101 deptid, 'aaa' deptname from dual union all
    select 2, 'b' empname, 201 deptid, 'bbb' deptname from dual union all
    select 3, 'c' empname, 101 deptid, 'aaa' deptname from dual union all
    select 4, 'd' empname, 101 deptid, 'aaa' deptname from dual union all
    select 5, 'e' empname, 301 deptid, 'ccc' deptname from dual;
    create table emp (empno number primary key, empname varchar2(3), deptid number);
    create table dept (deptid number primary key, deptname varchar2(3));
    insert all
      WHEN rn = 1 THEN
           into dept (deptid, deptname)
           values (deptid, deptname)
      WHEN rn > 0 THEN
           into emp (empno, empname, deptid)
           values (empno, empname, deptid)
    select empno, empname, deptid, deptname, rn
    from   (select empno,
                   empname,
                   deptid,
                   deptname,
                   row_number() over (partition by deptid order by empno) rn
            from   emp_info);
      8 rows inserted
    commit;
    select * from emp;
         EMPNO EMP     DEPTID
             1 a          101
             3 c          101
             4 d          101
             2 b          201
             5 e          301
    select * from dept;
        DEPTID DEP
           101 aaa
           201 bbb
           301 cccYou should test both methods to see which one is more performant.

  • Merging/Combining Partition D into the main Partition C using Windows 7.

    Can I combine both partition C and Partition D and create a larger Partition C using Windows 7?
    I deleted the original Lenovo Recovery Partition Q, reformatted (NTFS) the unallocated empty Partition into a
    new Partition D with 13 GB of free space.  My goal is to merge Partition D (13GB) into my
    main partition C (83GB) and have a larger Partition C (99GB) thus eliminating Partition D using
    Windows 7 (ie. Disk Management etc.).
    I really don't want to download and use any 3rd party software (ie. Partition Magid etc.) unless absolutely
    necessary.  I have previously posed this question on the T530 forums and the only recourse given was to
    use a 3rd party Partition Software.  I am posting here as my last resort before relenting and using 3rd Party Software.
    BTW I have ordered from Lenovo a complete set of recovery disks for my ultimate backup and system restoration.
    Thanks,
    Altoid666
    T530,Core i7-3820QM,16GB Ram, Intel 530 SSD 240GB, Blutooth 4.0,Ultimate-N 6300, 15.6 FHD, Nvidia NVS 5400M., All software current.,
    Windows 7 Ultimate x64 , SP1. Office 2013 Professional

    Yes, you can, BUT you should run the partitioning application form another storage unit (example: USB Stick).
    Best regards.
    IPnaSh
    First Spanish Community Guru - Colaborador ad honorem

  • Using "View Selector" in the List View Web Part, changes the web part page to the view selected's page.

    Hi,
    I am relatively new to Web Parts pages.  I created a page with list view web part and a Infopath Form Web Part, which are connect via the "Get Form From" option.  My users would like to be able to use views dependent on what
    they are looking for.  So I created different views.  However, when I select the view from within the Web Part, it changes the web part page to the list view page.  I must be doing something wrong.  How do I configure the list view to show
    the selected view and results within the existing "list view web part"?
    Thanks,
    Dwayne

    Hi
    Lindali,
    Sorry, but this has not been answered to my liking.  The "List View Web Part" has the ability for the user to select the view from within the web part, so there you should be able to select a different view and have it appear within the same web part. 
    Does anyone know how to complete this task?
    Thanks,
    Dwayen

  • Getting error while importing metadata using View Objects

    Hi All,
    I am trying to create a repository using View Object in OBIEE 11.1.5.1 but getting error while viewing the data, after importing the metadata in the repository "[nQSError: 77031] Error occurs while calling remote service ADFService11G. Details: Runtime error for service -- ADFService11G - oracle/apps/fnd/applcore/common/ApplSession".
    I am also getting error "žADFException-2015: The BI Server is incompatible with the BI-ADF Broker Servlet: BI Server protocol version = null, BI-ADF Broker Servlet protocol version = 1" during testing my sample which is deployed to Admin server. I followed BI Adminstrator help file guide in order to create the sample for creating repository using view object.
    Admin server log says
    [2011-09-27T02:59:03.646-05:00] [AdminServer] [NOTIFICATION] [] [oracle.bi.integration.adf] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: b260b57746aa92d3:-1f9ca26:1328fcfd3e6:-8000-0000000000006744,0] [APP: BIEEOrders] [[
    QUERY:
    <?xml version="1.0" encoding="UTF-8" ?><ADFQuery><Parameters></Parameters><Projection><Attribute><Name><![CDATA[Deptno]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute><Attribute><Name><![CDATA[Dname]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute><Attribute><Name><![CDATA[Loc]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute></Projection><JoinSpec><ViewObject><Name><![CDATA[AppModule.DeptViewObj1]]></Name></ViewObject></JoinSpec></ADFQuery>
    [2011-09-27T02:59:04.199-05:00] [AdminServer] [ERROR] [] [oracle.bi.integration.adf.v11g.obieebroker] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: b260b57746aa92d3:-1f9ca26:1328fcfd3e6:-8000-0000000000006744,0] [APP: BIEEOrders] java.lang.NoClassDefFoundError: oracle/apps/fnd/applcore/common/ApplSession[[
         at oracle.bi.integration.adf.ADFDataQuery.makeQueryBuilder(ADFDataQuery.java:81)
         at oracle.bi.integration.adf.ADFDataQuery.<init>(ADFDataQuery.java:70)
         at oracle.bi.integration.adf.ADFReadQuery.<init>(ADFReadQuery.java:15)
         at oracle.bi.integration.adf.ADFService.makeADFQuery(ADFService.java:227)
         at oracle.bi.integration.adf.ADFService.execute(ADFService.java:136)
         at oracle.bi.integration.adf.v11g.obieebroker.ADFServiceExecutor.execute(ADFServiceExecutor.java:185)
         at oracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker.doGet(OBIEEBroker.java:89)
         at oracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker.doPost(OBIEEBroker.java:106)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassNotFoundException: oracle.apps.fnd.applcore.common.ApplSession
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         ... 38 more
    Please suggest how to make it work.

    Hi,
    Thanks for providing the online help URL, i have already completed the steps mentioned in URL
    I am able to import metadata using view object but getting above error("[nQSError: 77031] Error occurs while calling remote service ADFService11G. Details: Runtime error for service -- ADFService11G - oracle/apps/fnd/applcore/common/ApplSession".") while validating the data.
    It fails at step 5 of "To import metadata from an ADF Business Component data source:" section of above URL.

  • How to find out the Non Partitioned Tables used 2Gb on oracle

    Hi team
    how to find out the Non Partitioned Tables used > 2Gb on oracle where not is sys & system
    regards

    heres 1 I made earlier
    set pagesize 999
    set linesize 132
    col owner format a25
    col segment_name format a60
    select owner,segment_name,segment_type,(bytes/1024/1024)"MB size"
    from dba_segments
    where owner not in ('SYS','SYSTEM','XDB','MDSYS','SYSMAN') -- edit for taste
    and segment_type = 'TABLE'
    having (bytes/1024/1024) > 2000
    group by bytes, segment_Type, segment_name, owner
    order by 4 asc

  • How to produce a table of contents by using view

    How to produce a table of contents by using view

    I dont understand what u want to know, just give an example ! !

  • Has anyone figured a way to use the Magic Trackpad with Windows 7 on a partitioned disc using Bootcamp?

    Has anyone figured a way to use the magic trackpad with Windows 7 on a partitioned disc using Bootcamp?

    Yes. After Windows/Bootcamp discovers  your bluetooth device (Magic Trackpad or Mouse, be sure to make it discoverable), right click, with your wired mouse, of course, on the icon and select Properties.
    Then check the mouse drivers box and your device should work. (I located this solution on another thread)
    It works for both the Magic Mouse and Magic Trackpad.
    Must admit, the solution was not intuitive within the Windows environment. But we all must remember. It IS Windows, after all.
    Another thing. Keep in mind that the gestures on these devices that work just dandy in OSX do not carry over into Windows.
    It's Windows.

  • I have 2T imac running lion Can I re-partition and use one half as a back up disk?

    Bought a new mac in November and it is refused to start up yesterday. Spoke with Apple  and they said I should make sure I do regular back ups in case I l ose my hard drive?!?! I did a clean install of the Operating software but was advised to erase and install.
    I have taken all my important stuff off and can reinstall my programs once I get to the next stage so what I am wondering is
    I have 2T imac running lion Can I re-partition and use one half as a back up disk for use with time machine so that I do not have to buy an external HD?
    Cheers J

    You could partition the drive, I read that Time Machine will work on if you HD partition.
    BUT, it will do you no good if you HD fails.
    Usually, if a HD fails it's the entire drive that is dead not just a partition.
    So your time machine back would be on a dead disk, useless!

  • When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    Thx for that im gonna try it....but is there a way to do it without using toolbar or cmd-c...? i mean using only the mouse?why does it have to highlight the file even though i click a bit next to it....?using icon view i can right click next to the folder and i wont have a problem but with list view that i prefer using it will highlight the whole row.....and i dont find free space to right click cause i got many files

  • When I use View Options I click on "Album" but what shows up is  "Album by Artist/Year".  How do I ger only "Album"?

    When I use View Options I click on "Album" but what shows up is  "Album by Artist/Year".  How do I ger only "Album"?

    jeffreyfromsouth windsor wrote:
    When I use View Options I click on "Album" but what shows up is  "Album by Artist/Year".  How do I ger only "Album"?
    Click on the words "Album by Artist/Year," one click at a time, and it will cycle through the possible options. 
    One of them is juts plain "Album."

Maybe you are looking for