Window query over a large area???

We are using a fixed tile index covering the area of germany. SDO_LEVEL is 10, will be 15 later.
When trying to get an overview it take about 5 minutes to get the first results.
As I understood, oracle builds a spatial index with the same SDO_LEVEl for the window. Is there a trick to speed up the query (reduce the sdo_level) for the query window??
2) At the moment orcale 1st makes the spatial query and 2nd makes the relational one. Can I influence this???
null

Statistic:
Oracle SQL Statement:
select line_id,gls_layer_section_id,feature_class,split_ind,
gpo_start_point_id,start_layer_section_id,
fc_value,rl_value,mod_user,mod_time,geometry
from lb_gdf_lines
where
feature_class = 4110 and
fc_value='1 '
and mdsys.sdo_filter(geometry, mdsys.sdo_geometry(
2003,NULL,NULL,mdsys.sdo_elem_info_array(1,1003,3),
mdsys.sdo_ordinate_array(65627816,511531059,72690439,516982749)
),'querytype=window') = 'TRUE'
Index :
INSERT INTO USER_SDO_GEOM_METADATA
VALUES (
'lb_gdf_points',
'geometry',
MDSYS.SDO_DIM_ARRAY(
MDSYS.SDO_DIM_ELEMENT('X', 58663558, 150421220, '0,005'),
MDSYS.SDO_DIM_ELEMENT('Y', 472701267, 550689060, '0,005')
NULL
CREATE INDEX gdf_sdo_lines_idx
ON lb_gdf_lines(geometry)
INDEXTYPE IS MDSYS.SPATIAL_INDEX
PARAMETERS('SDO_LEVEL = 14
TABLESPACE = GDF_IDX_01_01')
DECLARE
index_table varchar2(30);
vs_text varchar2(1000);
BEGIN
SELECT sdo_index_table INTO index_table FROM user_sdo_index_metadata
WHERE sdo_index_name = 'GDF_SDO_LINES_IDX';
vs_text := 'ANALYZE TABLE '| | index_table | | ' compute statistics';
EXECUTE IMMEDIATE vs_text;
END;
Geometry Statistic:
FC_VALUE COUNT(*)
0 46317
1 228352
2 250169
3 689713
4 421247
5 3680269
6 75783
null

Similar Messages

  • In iTunes on my windows 7 PC, the Edit/Preferences dropdown window,some of the tab windows are not large enough to see all options that are available.  The borders of the window cannot be draged larger.  As a result, I can not uncheck or check some box's.

    In iTunes on my windows 7 PC, in the Edit/Preferences dropdown window,some of the tab windows are not large enough to see all options that are available.  The borders of the window cannot be draged larger.  As a result, I can not uncheck or check some box's on several of the preferences pages.  The Apple people at the store did not help.  I have lownloaded the latest version of iTunes and this is still an issue.  HELP.

    Is there really nobody else with this problem? Really?

  • Bex Report Error -- Query is Too Large

    Hello I am Using Hierarchies in Rows and in Columns Company Wise, Quarter Month Wise Values
    I am Using 310 Rows and 100 columns As this is Summary Report I cannot go for Filters and I cannot
    Decrease Keyfigures is there any solution for this , Please give me the valuable suggestion for this query.

    If the query is too large and you are running out of memory, then either you should run the report with smaller selection (may be year -wise) or increase your server parametres like memory space etc.

  • Is there a reliable method for detecting that a query is too large?

    I am writing some code (that uses OCI) to properly detect when a query string is too long for OCI and/or the Oracle database server. I can't find any specific error code information in the docs, so I just started firing off large queries to see what would happen.
    The queries I am sending are >2MB in size, up to 16MB. If the queries are above ~10MB, I get the error "ORA-03113 'End-of-file on communications channel'" after a fairly short amount of time (i.e. not enough for a timeout to expire). If the queries are below ~10MB, but above ~2.5MB, it either just sits there and does not do anything (for more than 15 hours). So watching for ORA-03113 when executing large queries does not seem like a very reliable method for detecting the queries that are too large.
    Does anyone know of a reliable way of detecting that a query is too large for the OCI client and/or the Oracle database server?
    I am using version 10.2.0.1 for both the OCI client and the Oracle database server, but I'm getting similar errors for combinations of 10.2.0.1 and 9.2.0.7 for both the OCI client and the Oracle database server.
    These large queries need to be handled properly (i.e. distinguished from some generic failure) because the server handles requests from users, which could be programs that generate SQL queries (and have constructed huge ones in the past).
    Thanks for any information!

    The ORA-03113 means that the Oracle server process has died trying to satisfy your request. In almost all cases it is strictly correct to call that a bug, and we shouldn't easily forgive the server process when it happens. But in the case of multimegabyte statements my anger and disapointment turns to sympathy, for in my heart I can't bring myself to blame it. Can you?

  • Query is too large

    Hi,
    Can any one give me the solution to develop this report.
    I have 12 columns under each vertical.Like that i have 12 verticals for my Gross margin Report.
    Then 12* 12=144 coloumns.total are 144.
    But in Bi-Bex it will allow only limited columns. When i execute the report i'm getting the error that query is too large.Kow to overcome this.
    Note Points :
    Vertical1 :  ITG
    This Vertical consists of 20 Profit centers
    Vertical2 : UTG
                    This Vertical consists of 60 Profit centers
    Vertical3 : SBI
                    This Vertical consists of 50 Profit centers
    Vertical4 : SERVICEDIVISIONS
                    This Vertical consists of 10 Profit centers
    Vertical5 : ENGG
                    This Vertical consists of 50 Profit centers
    Vertical6 : HITECH
                    This Vertical consists of 10 Profit centers
    u2022     Data Before Eliminations is Total of All the Verticals Data.
    u2022     Eliminations Contains Values For Each Month for any of the above profit centers.
    u2022     Data After Eliminations is Data Before Eliminations + Eliminations Data.
    I searched in SDN but no luck..........
    Thanks

    hi sony,
    one way to go about this is to increase the "Size Restriction for Result Sets". This is pretty tricky. I wouldn't really recommend this since this can have performance issues.
    you can increase the size for result sets by running the abap report SAP_RSADMIN_MAINTAIN , Again be carefull when you are doing this. 
    Follow the below steps.
    1)     Transaction Code SA38 or SE38
    2)     In the program field, enter the report name SAP_RSADMIN_MAINTAIN and choose Execute.
    3)     For OBJECT, enter one of the following parameters;
            BICS_DA_RESULT_SET_LIMIT_DEF
            BICS_DA_RESULT_SET_LIMIT_MAX
    For VALUE, enter the value for the size of the result set, and then execute the program:
    Also, for your information, the default setting for the result set of Web applications is 500,000 cells. If the result set exceeds the size specified using the report, a message is displayed to inform the user.
    I would again ask you to be careful when you are modifying these values.
    Best would be to make sure that you check the table RSADMIN, whether you have the above entries (BICS_*), if you don't u can update these entries in the system. via the above said abap report.
    Hope this helps.
    regards,
    Sree.
    Edited by: Sree Nair on Aug 18, 2009 1:14 PM
    Edited by: Sree Nair on Aug 18, 2009 1:23 PM

  • We have a 10 person office - all either use Acrobat XI or Reader XI.  One person is on Windows 7.  The rest are on Windows 8 (not 8.1).  I say this because I thought it was a Windows 8 issue, but having the same problems on the Windows 7 machine. We are a

    We have a 10 person office - all either use Acrobat XI or Reader XI.  One person is on Windows 7.  The rest are on Windows 8 (not 8.1).  I say this because I thought it was a Windows 8 issue, but having the same problems on the Windows 7 machine. We are all having problems opening pdf's sent to us from other firms. This has increased in frequency over the past two months. We've checked with the various firms, and their other clients are not having problems. Some pdfs open but with a lot of missing content and strange formatting, others won't open at all.  There are different error messaged depending upon the doc.  Some are regarding the fonts, for example "can't extract the embedded font...."  Others are "insufficient data" errors.  There are more, but for purposes of keeping this short, I won't include them.  Another unrelated issue is that we are having trouble printing excel files to pdf.  The files end up with bad formatting.  I've worked with adobe "chat" support, our IT consultants with no resolution.  I also haven't found any similar "known issue" online  Would very much appreciate any assistance.  Thank you

    The font embedding can be a problem if not done and you are trying to view the PDF and do not have the font on your machine. Acrobat will often try to find a replacement, but it is not always a good choice. Sometimes the "Use Local Fonts" button can be changed in state to resolve some of the viewing issues.
    If you are trying to copy or export info, then it is important that you have the fonts on your system. Otherwise, the message you are getting about embedded fonts would not be showing up.
    As for Excel formatting, be sure that the Adobe PDF printer is selected in the printer screen before you look for the paging and formatting of the file. In most OFFICE programs, if you change the printer the application will reflow the document to best match the printer (called "using printer metrics"). So check before you create the PDF that the layout is correct.

  • Installing Windows 7 over XP on a Mac Pro

    Hi Folks,
    I have Windows XP dual booting on my Mac Pro using Bootcamp.  I want to install Windows 7 over Windows XP.  I know I will loose all of my windows files and will need to reinstall all windows software.  But will this work?  Will it impact my mac os?  Are there any issues I should be aware of?
    Any help/suggestions would be most appreciated.
    TIA,
    Shane

    Lion is the easiet way to get current drives and because Apple security is better on 10.6.8 and Lion. Lion though really needs to reformat the drive the OS goes to (keep the old one as dual boot backup) and needs to add Lion Recovery.
    There are no Apple support drivers w/o 10.6.3+.
    8 is free and runs well or better -
    so just boot Windows 7 and format the partitiion. What's to know? You want Windows 7 Pro if you have two processor (dual socket) or want to use more than 16GB RAM.
    You do not want 32-bit. But it does matter what Mac model, 2006-7? or later. 2008 has full support for Windows 64-bit, the others don't but then you get stuck with trouble booting and trouble using more than 1.9GB making it next to impossible. That is and will be an issue.
    And you need 10.6.3 DVD to have the Apple support software.
    The number of threads moved and placed in wrong forum (Mac Pro turns out to be MacBook Pro) so I have to ask and because there ARE issues with Windows 7 on early Mac Pro model.

  • Problem querying over two fact tables

    The business requirement is that we want to be able to see sales for two different periods of times, over different brands, different Items' years and seasons per periods.
    So for the different dimensions I created alias having two tables in the physical layer
    for Brands, Shops and Items (tables) [These are the tables where I query for different brand, Item's year and different season]. The Business Model Schema looks like this:
    Items-----> SALES <------Brands Items 2-----> SALES 2 <------------Brands 2
    ^ ^
    TIMES TIMES 2 (TIMES JOINED WITH SALES AND TIMES 2 WITH SALES 2)
    and VENDORS connected to both SALES & SALES 2 left outer joined
    The need is that I need to query over two indepedent periods of time with independed dimensions but for a common dimension (Vendors).
    The presentation data simplified looks like this:
    Answers
    Vendor Sales Qty Sales 2 Qty
    1092 234 123
    The problem is that when a vendor doesn't exist in one period it doesn't come and in the other although there are sales. So when I query with the same filters (same period of time, Brands, Items' years and seasons) over these two fact tables I get the same sales and correct data. When there are different criteria then I lose data.
    The Query fired in the database is the following:
    select distinct case when D2.c4 is not null then D2.c4 when D1.c4 is not null then D1.c4 end as c1,
    D1.c3 as c4,
    D1.c1 as c5,
    D1.c2 as c6,
    cast(D1.c2 / nullif( D1.c1, 0) * 100 as DOUBLE PRECISION ) as c7,
    D2.c3 as c8,
    D2.c1 as c9,
    D2.c2 as c10,
    cast(D2.c2 / nullif( D2.c1, 0) * 100 as DOUBLE PRECISION ) as c11
    from
    (select sum(T43161.amnt_1) as c1,
    sum(T43161.mk_1) as c2,
    sum(T43161.qty_1) as c3,
    T7120.VE_NAME as c4
    from
    VE04_TBL T7120,
    GE04_COMPANY_TBL T43802,
    EI04_TBL T6931,
    Salesmcost T43161
    where ( T6931.EI_CODE = T43161.ei_code and T6931.VE_CODE = T7120.VE_CODE and T6931.GE_COMPANY_CODE = '1' and T6931.EI_SEASON_CODE = 'Χ' and T6931.EI_YEAR = '2009' and T7120.GE_COMPANY_CODE = '1' and T7120.VE_CODE = T43161.ve_code and T43161.ge_company_code = T43802.GE_COMPANY_CODE and T43802.GE_COMPANY_NAME = '*** Φ. & Κ. ΛΕΜΟΝΗΣ ΑΕΒΕ ****' and T43802.LIST_ITEM_IND = '1' and T43161.trans_date >= ADD_MONTHS(TO_DATE('2010-05-12' , 'YYYY-MM-DD'), -7 * 12 ) and T43161.trans_date between TO_DATE('2009-01-01' , 'YYYY-MM-DD') and TO_DATE('2009-01-31' , 'YYYY-MM-DD') )
    group by T7120.VE_NAME
    ) D1,
    (select sum(T44099.amnt_1) as c1,
    sum(T44099.mk_1) as c2,
    sum(T44099.qty_1) as c3,
    T7120.VE_NAME as c4
    from
    EI04_TBL T44615 /* EI04_TBL 2 */ ,
    VE04_TBL T7120,
    GE04_COMPANY_TBL T43802,
    Salesmcost T44099 /* Salesmcost_2 */
    where ( T7120.VE_CODE = T44099.ve_code and T7120.VE_CODE = T44615.VE_CODE and T7120.GE_COMPANY_CODE = '1' and T43802.GE_COMPANY_CODE = T44099.ge_company_code and T43802.GE_COMPANY_NAME = '*** Φ. & Κ. ΛΕΜΟΝΗΣ ΑΕΒΕ ****' and T43802.LIST_ITEM_IND = '1' and T44099.ei_code = T44615.EI_CODE and T44615.GE_COMPANY_CODE = '1' and T44615.EI_SEASON_CODE = 'Χ' and T44615.EI_YEAR = '2008' and T44099.trans_date between TO_DATE('2008-01-01' , 'YYYY-MM-DD') and TO_DATE('2008-01-31' , 'YYYY-MM-DD') )
    group by T7120.VE_NAME
    ) D2
    where ( D1.c4 = D2.c4 ) /*<------- I think that this join creates the problem*/
    order by c1
    Edited by: user1198434 on 12 Μαϊ 2010 5:14 πμ
    Edited by: user1198434 on 12 Μαϊ 2010 5:41 πμ

    Hi,
    go through this
    http://obiee101.blogspot.com/search/label/OUTER%20JOIN
    I think you are new to the forum. try searching through some of the famous obiee forums. Gurus have already covered most of the issues. few are,
    http://obiee101.blogspot.com
    http://oraclebizint.wordpress.com/
    http://gerardnico.com/weblog/
    http://108obiee.blogspot.com/
    thanks,
    karthick

  • How do you change the page format to print a larger area?

    Hi there, another new to mac and new to numbers guy.
    I'm trying to find the windows equivalent to change page format.
    I want to reduce the blank border surrounding my table and print a larger area. How do you reduce the blank border that prevents you from printing up to the paper edge?
    cheers

    Page margns in Numbers are set in the Layout Inspector.
    Open the Inspector and click the Layout button.
    Edit the four margin settings as you wish. Reduce the (page) header and footer settings to zero if you don't want to include running headers or footers on your pages.
    Note that margins will be limited by the capabilities/settings of your printer. Printing to the edges of the paper usually requires a choice to be made in the Print dialogue as well as for the document itself.
    Regards,
    Barry

  • Reg: Query is too large

    Dear all,
    I am facing an error when trying to save the query "error: query is too large" and the below is the text help given in the documentation.
    Diagnosis
    Query ZYYYYYYY contains 8192 differing selection cells. However, only 8191 selection cells can be processed in a query.
    Procedure
    Please simplify query definition ZYYYYYYYY.

    Hi,
    this happens when maximum no. of Keyfigures are used in the rows....you might be using only one selection or a formula in the Rows of the query..and still face the same error...this reason behind this is that this selection or forumla inturn has a lot of RKFs or CKFs in it...
    to put it clear, say you use a selection named ZTEST in the rows...and the definition of this selection is something like ZTEST = CKF1CKF2CKF3
    and CKF1 = CKF4CKF5CKF6+CKF7
    and CKF2 = CKF8CKF9CKF10/CKF11
    and CKF3 = CKF12*CKF13
    and further if you see CKF 4, 5...13 will again be a combination of multiple CKFs or RKFs...so this goes on and finally ZTEST becomes indeed very complex and uses more than 8191 selections....
    I hope this is the issue you are facing...
    shamee

  • How to improve Query performance on large table in MS SQL Server 2008 R2

    I have a table with 20 million records. What is the best option to improve query performance on this table. Is partitioning the table into filegroups  is a best option or splitting the table into multiple smaller tables? 

    Hi bala197164,
    First, I want to inform that both to partition the table into filegroups and split the table into multiple smaller tables can improve the table query performance, and they are fit for different situation. For example, our table have one hundred columns and
    some columns are not related to this table object directly (for example, there is a table named userinfo to store user information, it has columns address_street, address_zip,address_ province columns, at this time, we can create a new table named as Address,
    and add a foreign key in userinfo table references Address table), under this situation, by splitting a large table into smaller, individual tables, queries that access only a fraction of the data can run faster because there is less data to scan. Another
    situation is our table records can be grouped easily, for example, there is a column named year to store information about product release date, at this time, we can partition the table into filegroups to improve the query performance. Usually, we perform
    both of methods together. Additionally, we can add index to table to improve the query performance. For more detail information, please refer to the following document:
    Partitioning:
    http://msdn.microsoft.com/en-us/library/ms178148.aspx
    CREATE INDEX (Transact-SQL):
    http://msdn.microsoft.com/en-us/library/ms188783.aspx
    TechNet
    Subscriber Support 
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Allen Li
    TechNet Community Support

  • BW3.5 Adhoc Query over the Enterprise Portal6.0

    Hi,
      Is there any iview to be accessed by th end user to create BW ad hoc query over the enterprise Portal?
      I would like the end user to have this functionality to create , change and distribute their own query through Enterprise Portal.
      Any help will be rewarded.
      Thanks
    Arunava

    Hi,
      Thanks for your input. The iview is working fine both during the preview as well as when attached in a role.
      However persons only with SAP_BW_ALL access in the BW system, can execute the Iview to create the ad hoc query.
    When person with limited Query/cube access to BW system accesses the iview, it worked till they click " Create New query", After that when he chooses 'Info Area' in the drop down box for "Choose an Info Provider" The info area is never displayed and he can't proceed.
      The user in question has sufficient access ( S_RS_COMP, S_RS_COMP1 etc) and in the BEX he can choose an Info area and cube/ods and execute any query that he is authorized to.
      I assume that since the user has access to bex for certain infoareas he/she should have the same while creating adhoc queries...But looks like that is not the case.
    Any help? Am I missing any particular BW Auth object ???
    Thanks
    Arunava

  • Advantage of SQL Query (Strucutred Query) over SQL Query

    What is the advantage of a Region Type 'SQL Query (Structured Query)' over 'SQL Query'?
    I just became curious when comparing the results of the Master Detail Wizard, and the Report and Form Wizard.

    Greg,
    From a functionality standpoint, there are no advantages one has over the other. "Structured queries" are the result of you stepping through the easy report wizard. This means you didn't have to know the SQL required to produce the result set you're after. Creating a SQL report requires knowledge of SQL.
    Sergio

  • "water spots" in large areas of a single color

    When a large area of sky is in a photograph, I see what appear to be waterspots in the area, but the glass is clean.  Is this a sensor problem? It happened with my previous Canon DSLR as well. I use the 100-400L lens on a 60D. Thanks.

    zedvictor1 wrote:
    I should add, I think, that the spots aren't specs but are quite large and transparent--more like round smudges. I clean them up later with a clone tool, but this is less than ideal.
    In principle, it could be lens flare spots, but those are pretty distinctive and not very repeatable, since they depend on the angle of the incident light. They could be actual water spots if the sensor was ever exposed to rain. A few years ago there was a particular Nikon DSLR that had a problem with oil spots; the mirror mechanism was over-lubricated and threw oil droplets onto the sensor. But I've never heard of that happening on a Canon. If a professional sensor cleaning doesn't cure the problem, it would probably be wise to send it to a Canon shop. They're not cheap (unless you're a CPS member), but they do a good job.
    Bob
    Boston, Massachusetts USA

  • TFS 2010: Query over all Collections and Team Projects

    Hi,
    is it possible to generate a query which queries all collections and team project on a TFS?
    For example if I want to know all work items assigned to me. Actually I can only query over a collection and not over the complete TFS.
    How can I do this?
    Thanks,
    Mat

    Hi Mat,
    Thank you for your post.
    You may need write a TFS API to list all team project collections in server. For detail information, you can refer to Taylaf's blog
    Retrieve the List of Team Project Collections from TFS 2010 Client APIs and Paul's blog
    List all TFS Project Collections and Projects.
    I hope this information will help resolve this issue.
    If anything is unclear, please free feel to let me know.
    Regards,
    Lily Wu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Maybe you are looking for

  • How to manage multiple resources in multiple project?

    Hello, We are a very small company that has migrated from an in-house TFS solution to using VSO to manage our projects.  One issue we are having is being able to look at outstanding tasks and resources allocated across multiple projects.  What I'm lo

  • JConsole not picking up local Java processes

    Hi, Using JDK 1.5.0_06 JConsole is not picking up my local Java processes. I have set the -Dcom.sun.management.jmxremote as an arg to the JVM startup. My Windows username does not have an underscore in it and my default temporary directory is on NTFS

  • Adding a second xserve

    Hi we have 1 x Xserve G5 running OSX Panther server 10.39 connected via fibre channel to Xraid. We are buying a new Xserve G5 Dual 2.3 with OSX Tiger server. Does anybody have have any suggestions as to the best way to integrate the new server as our

  • Is there a widget for bookmarks?

    Hey all, Does anyone know if there is a widget available for the dashboard which contains your bookmarks from Safari? Any information is much appreciated.

  • Moving OS from one drive to another

    Hello, I need to move my operating system from its original drive to a new faster drive. I am using a 350 MHz blue and white G3. My original drive is a 12GB Ultra ATA hard disk and it has OS 9.2.2 as well as OS 10.1.5. My new drive will be an Hitachi