Querying RESOURCE_VIEW using /Resource/XMLRef as key

Hi:
I am trying to query resource_view efficiently but instead of using equals_path or under_path which uses the domain index XDB.XDBHI_IDX using /Resource/XMLRef column.
For example, for a resource stored in a object relational table with a registered schema:
select extractValue(res,'/Resource/VCRUID'),any_path from resource_view
where extractValue(res,'/Resource/XMLRef')=make_ref(cms_docs,'27F5F5642ACA600AE040A8C00301464E');I am getting this execution plan:
| Id  | Operation                   | Name         | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT            |              |     1 |   152 |     9   (0)| 00:00:01 |
|*  1 |  TABLE ACCESS BY INDEX ROWID| XDB$RESOURCE |     1 |   152 |     9   (0)| 00:00:01 |
|*  2 |   DOMAIN INDEX              | XDBHI_IDX    |     1 |       |            |          |
Predicate Information (identified by operation id):
   1 - filter("P"."SYS_NC00024$"=MAKE_REF("CMS_DOCS",HEXTORAW('27F5F5642ACA600AE040A
              8C00301464E') ))
   2 - access("XDB"."UNDER_PATH"(SYS_MAKEXML('8758D485E6004793E034080020B242C6',734,
              "XMLEXTRA","XMLDATA"),'/',9999)=1)
17 rows selected.For a query using sys_op_r2o operator, used to create the index XDB.XDB$RESOURCE_OID_INDEX on XDB$RESOURCE table:
select extractValue(res,'/Resource/VCRUID'),any_path from resource_view
where sys_op_r2o(extractValue(res,'/Resource/XMLRef'))=hextoraw('27F5F5642ACA600AE040A8C00301464E');I am getting a similar execution plan:
| Id  | Operation                   | Name         | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT            |              |     1 |   152 |     9   (0)| 00:00:01 |
|*  1 |  TABLE ACCESS BY INDEX ROWID| XDB$RESOURCE |     1 |   152 |     9   (0)| 00:00:01 |
|*  2 |   DOMAIN INDEX              | XDBHI_IDX    |     1 |       |            |          |
Predicate Information (identified by operation id):
   1 - filter("P"."SYS_NC00024$"=HEXTORAW('27F5F5642ACA600AE040A8C00301464E') )
   2 - access("XDB"."UNDER_PATH"(SYS_MAKEXML('8758D485E6004793E034080020B242C6',734,
              "XMLEXTRA","XMLDATA"),'/',9999)=1)
16 rows selected.What a I am doing wrong :(
Best regards, Marcelo.

Hi:
Gathering the stats with null solve the problems, here the commands logged as XDB:
SQL> begin
  2 DBMS_STATS.GATHER_TABLE_STATS (
  3   ownname => 'XDB',
  4   tabname => 'XDB$RESOURCE',
  5   estimate_percent =>  null);
  6 end;
  7 /
SQL> begin
  2  DBMS_STATS.GATHER_INDEX_STATS (
  3    ownname => 'XDB',
  4    INDNAME => 'XDBHI_IDX',
  5    estimate_percent => null);
  6    end;
  7   /
SQL> begin
  2  DBMS_STATS.GATHER_INDEX_STATS (
  3    ownname => 'XDB',
  4    INDNAME => 'XDB$RESOURCE_OID_INDEX',
  5    estimate_percent => null);
  6  end;
  7  /Many thanks for the hint. Marcelo.
PD: I tested it on 11g beta 4 Linux 32

Similar Messages

  • Querying RESOURCE_VIEW using XQuery

    Hi all:
    Anybody knows the best way to query RESOURCE_VIEW using XQuery to show directory listing information as an example.
    For example, I want to produce an XML Document with something like this using XQuery:
    <directoryListing>
    <dir anyPath="/public/JURRICULUM/cms/en">
    <DisplayName xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd">en</DisplayName>
    </dir>
    <dir anyPath="/public/JURRICULUM/cms/en/live">
    <DisplayName xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd">live</DisplayName>
    </dir>
    <dir anyPath="/public/JURRICULUM/cms/es">
    <DisplayName xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd">es</DisplayName>
    </dir>
    <dir anyPath="/public/JURRICULUM/cms/es/live">
    <DisplayName xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd">live</DisplayName>
    </dir>
    </directoryListing>
    I made this result by executing this query:
    SELECT XMLQuery('declare namespace res = "http://xmlns.oracle.com/xdb/XDBResource.xsd";
    <directoryListing>
    {for $i in $directoryListing/dir
    where $i/res:Resource/@Container="true"
    return
    <dir anyPath="{$i/@ANY_PATH}">
    {$i/res:Resource/res:DisplayName}
    </dir>}
    </directoryListing>'
    PASSING (
    select XMLAgg(XMLElement("dir",XMLATTRIBUTES(any_path,resid),res))
    from resource_view where
    under_path(res,'/public/JURRICULUM/cms')=1
    ) as "directoryListing" RETURNING CONTENT).getStringVal()
    FROM dual
    I had injected resource_view's content as an argument.
    Another way is to use ora:view() extension function, but I can't use under_path functionality for example.
    Is there some extension funcion like doc() or collection() but instead of returning the content of the document, returning the information of resource_view asociated to the URI?
    Is the above query optimal in term of execution plan?
    I tested it with JDeveloper and shows an execution plan similar to the query on resource_view alone.
    Best regards, Marcelo.

    Hi all:
    I had implemented an XQuery extension library ready to run inside the Oracle JVM, but it can run outside as well.
    The code is on the XQuery forums:
    How to write an XQuery Extension library
    I tested outside the database and the result is:
    /usr/java/jdk1.5.0_04/bin/java -hotspot -classpath ... com.prism.cms.xquery.Application1 /public/PCT_ADMIN/cms/es/3-AcercaParque/ 7934
    testXQL elapsed time: 3094
    testXQ elapsed time: 2164
    Running as Java Stored Procedure, it looks like this:
    SQL> exec testXQ('/public/PCT_ADMIN/cms/es/3-AcercaParque/','7934')
    testXQL elapsed time: 943
    testXQ elapsed time: 854
    PL/SQL procedure successfully completed.
    Obviously running as Java Stored procedure its around 3.5 faster than a regular application.
    Injecting the resource_view content as an argument instead of using an XQuery extension library seem to be equals (943 ~ 854), so I'll use the extension library mechanish for clearlying on the code.
    Best regards, Marcelo

  • Query not using remote table primary key.

    Hello all,
    My following query is not using the PK of remote database. vem_business_event_attribute is having a PK on ATTRIBUTE_TYPE_ID and business_event_id. The table is last analyzed on 04-dec-2010. It has around 5 milloin rows.
    select /*+ DRIVING_SITE(ve) */
    ve.ATTRIBUTE_TYPE_ID ,
    ve.BUSINESS_EVENT_ID ,
    ve.ATTRIBUTE_VALUE ,
    ve.ATTRIBUTE_AS_NUMBER
    from
    vem_business_event_attribute@hello ve,
    vem_attribute_types@hello va,
    delta_insert_businessevent de
    where
         ve.ATTRIBUTE_TYPE_ID = va.ATTRIBUTE_TYPE_ID
    ve.business_event_id = de.business_event_id
         and de.business_event_id < 90000000;
    Pls help.
    Regards

    If you need to move 150 million rows from one database to another, it is going to take some time, and a full scan would definitely be the most efficient sql way to do it. I would be surprised if 15 inserts of 10 million rows each would be faster than a single insert of 150 million rows.
    Depending on your exact requirements, it might be faster to use datapump to export the rows from the remote database and import them on the local database, but you will still be moving those 150 million rows across the network. You might get some advantage from the export/ftp/import option if you compress the dump file before the ftp, and uncompress it on the target, but that would depend on the additional time required to compress and uncompress.
    John

  • Combine two reports in query designer using key figure with sap exit

    Hi experts,
    i want to combine two reports in query designer using key figure with sap exit
    in the report 1 key figure calculation based on the open on key date(0P_DATE_OPEN)
    to calculate due and not due in two columns
    in report 2 key figure calculate in the time zones using given in variable Grid Width (0DPM_BV0) like due in 1 to 30 days, 31 to 60 days...the due amount based on the open on key date(0P_DATE_OPEN)
    to calculate in 1-30, 31-60, 61-90, 91-120, 121-150 and >150 days in 6 columns
    now i have requirement like this
    not due, 1-30, 31-60, >60, due,1-30, 31-60, >60 in 8 columns
    or
    not due, due, 1-30, 31-60, 61-90, 91-120, 121-150 and >150 in 8 col
    thank you

    Hi Dirk,
    you perhaps know my requirement,
    for the management to make used in one report,
    we have in reporting finacials Ehp3.
    Vendor Due Date Analysis - which show due, not due
    Vendor Overdue Analysis - show only due and analysis in time grid frame
    i want to combine in one report that show NOT DUE, DUE, DUE time frames in grid.
    krish...

  • How can i fetch records from 3 tables in a single query  without using join

    Hi.
    Can any body please tell me <b>How can i fetch records from 3 tables with a single query  without using joins</b>
    Thanx
    prabhudutta

    Hi Prabgudutta,
    We can fetch the data by using the views concept.
    Go throuth this info we can know the how to create view and same like database table only we can fetch the data.
    Views conatin the data at runtime only.
    Four different view types are supported. These differ in the
    way in which the view is implemented and in the methods
    permitted for accessing the view data.
    Database views are implemented with an equivalent view on
    the database.
    Projection views are used to hide fields of a table (only
    projection).
    Help views can be used as selection method in search helps.
    Maintenance views permit you to maintain the data
    distributed
    on several tables for one application object at one time.
    step by step creation of Maintenance view:
    With the help of the table maintenance generator, you are able to maintain the ENTRIES of the table in SM30 transaction.
    It can be set in transaction SE11 - Tools - Table maintenance generator.
    Table maintanance Generator is used to manually input values using transaction sm30
    follow below steps
    1) go to se11 check table maintanance check box under attributes tab
    2) utilities-table maintanance Generator-> create function group and assign it under
    function group input box. Also assign authorization group default &NC& .
    3) select standard recording routine radio in table table mainitainence generator to move table
    contents to quality and production by assigning it to request.
    4) select maintaience type as single step.
    5) maintainence screen as system generated numbers this dialog box appears when you click on create button
    6) save and activate table
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    SM30 is used for table maintenance(addition or deletion of records),
    For all the tables in SE11 for which Table maintenance is selected , they can be maintained in SM30
    Sm30 is used to maintain the table ,i.e to delete ,insert or modify the field values and all..
    It creates the maintenance screen for u for the aprticular table as the maintenance is not allowed for the table..
    In the SE11 delivery and maintenance tab, keep the maintenance allowed..
    Then come to the SM30 and then enter the table name and press maintain..,
    Give the authorization group if necessary and give the function group and then select maintenance type as one step and give the screen numbers as system specified..
    Then create,,,
    Then u will able to see the maintenance view for the table in which u can able to insert and delete the table values...
    We use SM30 transaction for entering values into any DB table.
    First we create a table in SE11 and create the table maintenance generator for that Table using (utilities-> table maintenance generator) and create it.
    Then it will create a View.
    After that from SM30, enter the table name and Maintain, create new entries, change the existing entries for that table.
    Hope this resolves your query.
    Reward all the helpful answers.
    Rgds,
    P.Naganjana Reddy

  • Using resource bundler with a specific encoding type

    Hi All,
    Using resource bundler class in Java one can pass the key and get the appropriate string value for that in appropriate language. These strings can be stored in a class (BuldlerList) or in some file.
    My doubt is can I specify the encoding type of the string while passing the key ?
    This might be needed in a case like follows. Say I have a Java Swing application for which I want to get the labels in appropriate language. The application is Windows based. The methods in resource buldler class while getting the string value for a key uses platform's default encoding type. So if I store my file containing all the resource bundler in UTF-8 I can't read them properly from an Windows 2000 system having Japanese as the locale. The constraint is that you can never make Windows default platform encoding as UTF-8 (or something equivalent for Unicode). In that case one cannot developed a truly internationalised application in this frame work.
    Any comments/suggestion/input will be highly appreciated.
    Thanks,
    Sourav

    I dunno 'bout the bundles BUT u can possiblly use XML
    instead.
    u can have a attribute type that specifies the encoding
    type for the content. This will be a totally application
    specific approach BUT it will work.. that much I am sure
    of. IF u read this attribute in your application first and
    then read the value, in that pre-specified encoding, ur
    problem could be solved.
    Just like resource bundles, XML files will be stored in
    local machines only. The only thing is u need a
    JAXP API for processing them.
    aXe!

  • Query regarding Useful Life

    Hi SAP guru
    I have one query regarding useful life of asset,
    If i purchased a asset in rs 200000 , wdv rate is 20% and put the useful life 4 year, in last year i want to depreciate the asset upto 1 Rs.
    Capitalisation date is 01.04.2008.
    Ex -     Acquisition value   Ordinary depreciation  net book value
    2008 200,000.00               40,000.00-             160,000.00
    2009  200,000.00                32,000.00-           128,000.00
    2010  200,000.00                25,600.00-           102,400.00
    2011   200,000.00               20,480.00-           81,920.00
    2012  200,000.00                                          81,920.00
    Client requirement is in year 2011 asset should depreciate upto Rs 1.
    Appreciate your reply.
    Regards
    Anjan

    If you want to your asset depreciation based on useful life that is 4 years, please select check box Rem.life in multi level method of that dep. key.and enter the useful life as 4 years in the assets master.
    when come to restricting value to 1Re. specify the memo value for that asset class.
    AA>Valuation>Amt.specification>Specify memo value.

  • Drag-n-n-drop query joins uses WHERE, not INNER JOIN syntax

    When I highlight a few tables and drag them onto the sql worksheet, it will build a select statement for me and join the tables by their foreign keys.
    That's a nice feature, thanks!
    Three questions. Is it possible to:
    1. get it to use the INNER JOIN and LEFT OUTER JOIN syntax instead of joining the tables in the WHERE clause?
    2. control the table aliases so that it will automatically use the "standard alias" for the table instead of A, B, C, etc.?
    3. get it to not put the schema name into the query?
    Thanks!
    Edited by: David Wendelken on Nov 22, 2008 1:48 PM. Grammar mistake.

    Hi Gopi,
    Your code is Good.
    But try to avoid Inner join with more number of Tables ...because this is a performance issue..
    try to use..
    select (primary key fields mainly,other fields) from LIKP into itab where bolnr in p_bolnr(paramater).
    next try to use for all entries option..
    select (primary key fields mainly,other fields) from VBFA for all entries in itab where (give the condition)....
    simillarly do for the other select ....ok this will try to reduce the performance issue....
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • DB Adapter Query - Polling using nested select

    When polling a table to initiate a BPEL process, can I use a nested select in the expression.

    The visual expression builder does not currently support this so you need to specify the raw sql directly.
    If you use the DeletePollingStrategy there is a way you can specify the exact sql string for both the 'select' and the after read 'delete'. So if you write the where clause yourself it can contain nested selects.
    This is the readme from the new PureSQLSelect database adapter sample. Also you may want to look at the PureSQLPolling sample.
    This sample shows you how you can bypass the designer's visual where clause builder to specify arbitrarily complex sql strings for your selects.
    Like the other samples, this sample uses the basic Movies schema.
    The Steps:
    Create a basic select. Made sure it has the same name and number of input parameters as you will need for your sql string. In this case create a single input parameter and call it 'genre_param'.
    Create a trivial where clause in the wizard expression builder using genre_param. I.e. genre.like(genre_param)
    Ideally run the sample once just to make sure everything else works and to get a template SQL. The select ... FROM ... part will be the same.
    Open the toplink_mappings.xml file. Look for an element called <database-query>. There will likely only be one. A sample is presented here:
    <query-manager>
    <descriptor-query-manager>
    <existence-check>Check cache</existence-check>
    <descriptor-named-queries>
    <database-query>
    <query-name>selectByGenreSelect</query-name>
    <query-should-maintain-cache>true</query-should-maintain-cache>
    <cascade-policy>1</cascade-policy>
    <should-bind-all-parameters>undefined</should-bind-all-parameters>
    <should-cache-statement>undefined</should-cache-statement>
    <should-use-wrapper-policy>true</should-use-wrapper-policy>
    <query-timeout>0</query-timeout>
    <query-arguments>
    <string>genre_param</string>
    </query-arguments>
    <query-argument-types>
    <values>java.lang.String</values>
    </query-argument-types>
    <reference-class>PureSQLSelect.Movies</reference-class>
    <refresh-identity-map>false</refresh-identity-map>
    <cache-usage>2</cache-usage>
    <lock-mode>0</lock-mode>
    <distinct-state>0</distinct-state>
    <query-indirection>
    <in-memory-query-indirection>
    <policy>0</policy>
    </in-memory-query-indirection>
    </query-indirection>
    <main-expression>
    <expression>
    <operator-type>AND</operator-type>
    <expression-list>
    <expression>
    <operator-type>Like</operator-type>
    <first-argument>
    <argument>
    <query-key-name>genre</query-key-name>
    <outer-join>false</outer-join>
    <to-many>false</to-many>
    <argument-class>oracle.toplink.tools.workbench.expressions.QueryableArgumentRepresentation</argument-class>
    </argument>
    </first-argument>
    <second-argument>
    <argument>
    <parameter-name>genre_param</parameter-name>
    <argument-class>oracle.toplink.tools.workbench.expressions.ParameterArgumentRepresentation</argument-class>
    </argument>
    </second-argument>
    <expression-class>oracle.toplink.tools.workbench.expressions.BinaryExpressionRepresentation</expression-class>
    </expression>
    </expression-list>
    <expression-class>oracle.toplink.tools.workbench.expressions.CompoundExpressionRepresentation</expression-class>
    </expression>
    </main-expression>
    <type>oracle.toplink.queryframework.ReadAllQuery</type>
    </database-query>
    </descriptor-named-queries>
    </descriptor-query-manager>
    </query-manager>
    We want to switch this query from using a high-level expression to a pure sql string. You will remove the <main-expression> element and replace it with a <sql-string> element of your own devising.
    Your replacement should look something like this:
    <query-manager>
    <descriptor-query-manager>
    <existence-check>Check cache</existence-check>
    <descriptor-named-queries>
    <database-query>
    <query-name>selectByGenreSelect</query-name>
    <query-should-maintain-cache>true</query-should-maintain-cache>
    <cascade-policy>1</cascade-policy>
    <should-bind-all-parameters>undefined</should-bind-all-parameters>
    <should-cache-statement>undefined</should-cache-statement>
    <should-use-wrapper-policy>true</should-use-wrapper-policy>
    <query-timeout>0</query-timeout>
    <sql-string>SELECT DELETED, DIRECTOR, GENRE, LAST_UPDATED, RATED, RATING, RELEASE_DATE, RUN_TIME, SEQUENCENO, STARRING, STATUS, SYNOPSIS, TITLE, TOTAL_GROSS, VIEWER_RATING FROM MOVIES WHERE (upper(GENRE) LIKE upper(concat(concat('%', #genre_param), '%'))) ORDER BY TOTAL_GROSS desc</sql-string>
    <query-arguments>
    <string>genre_param</string>
    </query-arguments>
    <query-argument-types>
    <values>java.lang.String</values>
    </query-argument-types>
    <reference-class>PureSQLSelect.Movies</reference-class>
    <refresh-identity-map>false</refresh-identity-map>
    <cache-usage>2</cache-usage>
    <lock-mode>0</lock-mode>
    <distinct-state>0</distinct-state>
    <query-indirection>
    <in-memory-query-indirection>
    <policy>0</policy>
    </in-memory-query-indirection>
    </query-indirection>
    <type>oracle.toplink.queryframework.ReadAllQuery</type>
    </database-query>
    </descriptor-named-queries>
    </descriptor-query-manager>
    </query-manager>
    Gotchas:
    The tempation to start writing pure sql may be terrible to some, but it was intentionally left out of the wizard for good reasons. Please be wary of the following when specifying pure sql:
    -There is a way to set the pure sql string in the Mapping Workbench, but when you edit the partnerlink to refresh the toplink_mappings.xml you may get an exception due to the query being in a pure sql format. For this reason you need to manually edit the toplink_mappings.xml, and again every time your run the wizard and hit finish after that.
    -The #genre_param is a TopLink convention for writing a sql string which still takes parameters. At runtime if you enter 'Action' in the bpel console, you will see this sql:
    SELECT DELETED, DIRECTOR, GENRE, LAST_UPDATED, RATED, RATING, RELEASE_DATE, RUN_TIME, SEQUENCENO, STARRING, STATUS, SYNOPSIS, TITLE, TOTAL_GROSS, VIEWER_RATING FROM SYSTEM.MOVIES WHERE (GENRE LIKE ?)
    bind => [Action]
    The #genre_param gets replaced with the value of the input parameter genre_param.
    -When specifying pure sql you should be aware of the following:
    -maintenance issues
    -loss of database platform independence
    -The sql needs to conform with the way TopLink works. It is recommended that you do not change the SELECT ... FROM ... part of the query. TopLink's design is to read from one table at a time. If an Employee has an Address, then the Address is read with a hidden relationship query. There are two advanced TopLink features which optimize reading from multiple tables, called joinedAttribute and batchAttribute reading, but the combination of these features with raw sql was not explored here. So to avoid danger you can only really affect the top level query, and only rewrite the where clause.
    -The pure sql route does not interact with most TopLink features, especially batch reading (on by default), and can not be combined with the following:
    -LogicalDeletePollingStrategy
    -SequencingPollingStrategy (LastUpdated, LastReadId, File)
    These features extend the selection criteria at runtime.

  • Using Explorer with Calculated Key Figures from BEx (BW 7.31 / BI 4.1)

    I'm looking for suggestions on how to leverage data from calculated and restricted key figures in BEx (from a BW 7.31 system) with Business Objects Explorer (from a BI 4.1 system).  Our current process involves some complicated workarounds and with the implementation of BI 4.1 and I'm hoping to streamline things a bit.
    Here is what I had in mind...
    An information space (indexed daily) sitting on a universe (hopefully UNX) that referred to a BEx query on a multiprovider in BW.  My understanding was that universes would be able to consume BEx queries (including their restricted and calculated key figures) in 4.1.  Based on a recent post (http://scn.sap.com/thread/3417905), it appears that the feature that I was hoping for may have not made it into the GA release.  Obviously, I could move the calculations and restrictions into BW ETL or maybe into the universe, but since that work has already been done and lives in the queries, I'm hoping to use them!  Also, we could use a different tool such as WebI, but at this point the user base is comfortable with Explorer and we would like to continue to use it.
    Suggestions? 
    Thanks!
    -S

    Hi McDowell,
    Regarding to the BEx connection in Explorer, SAP provide two solution
    1. BWA connection
    2. Unv on top of connection
    For the UNV situation, you could use the calculated / restricted key figure in the system but please assgin the aggregation level for them (Database delegate is not supported if I am not wrong)
    Also plese consider two points
    1. Data size (UNV cannot support large data size)
    2. Scheduling (Explorer does not support event trigger? correct me if I am wrong)
    Best regards
    Alex yang

  • Query memory use of a HashMap at runtime? Overall JVM Memory Use?

    Is there any way that my application can query the deep memory usage (including keys/values) of a HashMap instance at runtime?
    Is there any way that I can query overall memory use of the entire app or JVM through code?
    Thanks!

    You can use the memory profiler in JDeveloper to test this:
    http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk11.html
    http://www.oracle.com/technology/products/jdev/tips/duff/debugger_memoryleaks3.html
    http://radio.weblogs.com/0118231/stories/2005/07/21/tipsForUsingHeapWindowAndMemoryProfilerToFindMemoryLeaks.html

  • How to design a query without using Net Weaver Query Designer

    Does anyone know if any alternative way to <b>design an query without using Net weaver GUI</b>? in order to reduce the time consuming, I am wondering if there have any method which can define/modify a stack of cells, characteristics and structures without work through the GUI.
    Deeply thank for any of your advices.

    Can you give an example?
    Just from what you write, I would assume that you talk about something like a mass-property-changer. As far as I know the BEx this is not really possible, but what I do normally is building one query and then either using query-views (saving more or less the navigation state) or by copying and changing the properties of the few characteristics and key figures.
    But without a specific example it's difficult to exactly understand what you exactly need.
    Mario

  • FAST Search - Unable to Complete Query on BackEnd resource limit remporarily exceeded code:1013

    Hi ,
    We are using FAST search in our SharePoint 2010 environment. I am encountering an issue while navigating to 21st  page or Query string value 200 and above (
    URL -> /Pages/results.aspx?k=1&s=All&start1=201
    ) in search core result web part. The error message is UI is  "
    The search request was unable to execute on FAST Search Server".
    I have found the below log in the ULS .
    SearchServiceApplication::Execute--Exception:   Microsoft.Office.Server.Search.Query.FASTSearchQueryException: Unable to   complete query on backend Resource limit temporarily
    exceeded Code:   1013   
    at Microsoft.Office.Server.Search.Query.Gateway.FastSearchGateway.GetQueryResult(IQuery   query)   
    at   Microsoft.Office.Server.Search.Query.Gateway.FastSearchGateway.ExecuteSearch(SearchRequest   request, String queryString)   
    at   Microsoft.Office.Server.Search.Query.Gateway.AbstractSearchGateway.Search(SearchRequest   request)   
    at   Microsoft.Office.Server.Search.Query.FASTQueryInternal.ExecuteSearch(SearchRequest   request, ResultTableCollection rtc)   
    at Microsoft.Office.Server.Search.Query.FASTQueryInternal.Execute(QueryProperties   properties)   
    at   Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties   properties)
    Please share your thoughts or advise if some has come across this issue. Thanks!

    Hi ,
    We are using FAST search in our SharePoint 2010 environment. I am encountering an issue while navigating to 21st  page or Query string value 200 and above (
    URL -> /Pages/results.aspx?k=1&s=All&start1=201
    ) in search core result web part. The error message is UI is  "
    The search request was unable to execute on FAST Search Server".
    I have found the below log in the ULS .
    SearchServiceApplication::Execute--Exception:   Microsoft.Office.Server.Search.Query.FASTSearchQueryException: Unable to   complete query on backend Resource limit temporarily
    exceeded Code:   1013   
    at Microsoft.Office.Server.Search.Query.Gateway.FastSearchGateway.GetQueryResult(IQuery   query)   
    at   Microsoft.Office.Server.Search.Query.Gateway.FastSearchGateway.ExecuteSearch(SearchRequest   request, String queryString)   
    at   Microsoft.Office.Server.Search.Query.Gateway.AbstractSearchGateway.Search(SearchRequest   request)   
    at   Microsoft.Office.Server.Search.Query.FASTQueryInternal.ExecuteSearch(SearchRequest   request, ResultTableCollection rtc)   
    at Microsoft.Office.Server.Search.Query.FASTQueryInternal.Execute(QueryProperties   properties)   
    at   Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties   properties)
    Please share your thoughts or advise if some has come across this issue. Thanks!

  • Query reg. Resource and time allocation in cProjects

    Wondering if someone can answer this query related to -  Resource and time allocation in cProjects.
    I understand the following regarding creating cProject -
    1 - Project manager creates a cProject for any upcoming new project in the organization.
    2 - Phases and Tasks will be created automatically (at our end) based on the template selected while creating the cProject.
    3 - Project manager assigns the resources to the project.
    4 - Allocate start date and end date for the resources against Tasks or Phase -
    > This is the point where there isn't enough documentation to help me progress further. Please can someone suggest how and where do we specify the start date and end date to a resource in cProject.
    A sample document on the BEST approach to create cProject, assign reources to tasks, allocate start date and end date would indeed help further clarify my doubt.
    I wante to create a cProject with various tasks, assign resources, start and end date for each task. As the project progresses,
    I want to execute a report to track the progress of this cProject as resources go on completing a task.
    Thanks,
    RB

    Hi Pramod,
       Thanks for your reply. Below are some queries based on few points mentioned by you.
    Allocate start date and end date for the resources against Tasks or Phase -
    When we prepare Project template, we define all project structure with phase, tasks, milestones, etc. - OK
    Also we define phase and task depedency, duration for tasks. - OK
    In actual Project execution PM creates project with reference to template, he add or delete any task / phase, changes duration if required. - How do you change duration of the task ? What series of events or clicks need to be followed ? Would be nice if atleast one option is listed.
    While in project planning, planner has to enter start and end date for project. - OK
    cProject scedules all other dates accordingly. We need not to go to individual phase or task to adjust dates. one can adjust only duration and depency to get required dates for tasks. This is standard planning phelosophy used in CPR, MSP or Primavra I believe. - At phase level, I can see Earliest start + finish and Latest start + finish dates populated automatically. In addition Start date constraint and Finish data constraints fields are available and empty. Is it mandatory to enter these dates ?
    While doing resource assignment, the start and end dates are coming from task assigned to particular Project Role. - At Task level, I can see Earliest start + finish and Latest start + finish dates populated automatically. In addition Start date constraint and Finish data constraints fields are available and empty. Is it mandatory to enter these dates ?
    cProjects automatically schedules the plan in create status, once the project released and actual status updated in cProjects, Project plan needs to schedules manually with help of schedule button in Project menu.- When I click Schedule button, message - Bottom-up scheduling was carried out is populated on screen. What is Bottom-up scheduling ?
    Would be nice to get reply to above queries.
    Thanks,
    RB

  • Querying XMLDB respository resource hangs with 10g

    HI Mark,
    After FTP the xml file into the OracleXMLDB repository, i try to query the contents and the sql session just hangs.
    At the same time if i FTP the xml schema and then try to query i can see the contents. Also i could register the xml schema from the resource.
    Do you see some problem here.
    Perhaps becuase of this, when i use insert statement i get
    end - of -communication .
    insert into tabl_filecontent values(1, xdburitype('/public/labor/test_file.xml').getxml())
    Beucase the content itself could not be queried.
    Thanks.

    Mark, I found the problem but don't know the solution.
    The problem is , if the xmlinstance document has
    xsi:noNamespaceSchemaLocation value as the registered schema_url then the query on the resource hangs. But if it not present or somehting else it succeeds.
    Is it some validation getting fire or is it a bug ??
    Now i have a workaround for the meantime.

Maybe you are looking for