Discussions
Categories
- 385.5K All Categories
- 5.1K Data
- 2.5K Big Data Appliance
- 2.5K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
Selecting from view (by another scheme) doesn't use spatial index

679545
Member Posts: 4
Hello,
I'm using XE to store spatial data. Data are in my general_scheme. I created restricted_scheme+ just with basic privileges to access the data.
The problem starts when I'm selecting data by restricted_schema+ from general_scheme.view+ - I notised that select operation don't use spatial index of the table and select is too slow (f.g. 30 sec. per one select). When I'm selecting data by restricted_scheme+ from data_scheme.table+, everything goes well.
Is that a bug?
It relates just to spatial index.
I tested these events on Oracle 11g and there was no problem with selecting by restricted_scheme.
Thanks for advices.
Lukas
I'm using XE to store spatial data. Data are in my general_scheme. I created restricted_scheme+ just with basic privileges to access the data.
The problem starts when I'm selecting data by restricted_schema+ from general_scheme.view+ - I notised that select operation don't use spatial index of the table and select is too slow (f.g. 30 sec. per one select). When I'm selecting data by restricted_scheme+ from data_scheme.table+, everything goes well.
Is that a bug?
It relates just to spatial index.
I tested these events on Oracle 11g and there was no problem with selecting by restricted_scheme.
Thanks for advices.
Lukas
Answers
-
After some investigation we found that in the Oracle Patchset 10.2.0.3 (http://www.anysql.net/doc/bug10203.html) there is a fix for this bug:
5487727 SDO_ANYINTERACT can be slow
Unfortunately we don't have access to Oracle MetaLink so we can't check details about it.
We tested another machine and it indeed seems to be a problem on both 10.2.0.1 (Express edition) and 10.2.0.2 (Enterprise Edition). Version 11 (Enterprise Edition Release 11.1.0.6.0) doesn't have problem.
Can anybody check what is in Metalink about 5487727 and if there's a workaround?
Thanks, -
Support for the XE edition is provided through the XE forum. Please ask your question there.
Cheers, APC
blog: http://radiofreetooting.blogspot.com -
Although we founded that problem in XE, it relates really on both 10.2.0.1 (XE) and 10.2.0.2 (Enterprice) editions.
This discussion has been closed.