On Tue, Jan 29, 2013 at 11:42 AM, Peilke, Hendrik
<[email protected]>wrote:

>  Hello,
>
>
>
> I am using GeoTools together with udig and Oracle Spatial. Loading a layer
> with geometries from a table takes a lot of time, if the connection was not
> established with the owner of the table. And even when using the core
> owner, loading from large geometry tables took about 30 seconds. While
> investigating the problem, I found out that the part which takes such a
> long time is the retrieval of the geometry bounds of the table. I noticed
> that two ways exist:
>
>
>
> 1)      by using SDO_TUNE.EXTENT_OF
>
> 2)      by using SDO_AGGR_MBR
>
>
>
> Our geometry tables are managed the following way: All GIS users have
> synonyms for the geometry tables of the gis core user, which makes the
> first variant fail for the GIS users and explains the slowness by the
> fallback to the second way. But even for large tables and with the gis core
> user the first way takes quite a time.
>
>
>
> In Oracle Spatial there should also be a third, much faster way:
> dimensional bounds (DIMINFO) are laid down by the user in the
> ALL_SDO_GEOM_METADATA table, which is already used for retrieving the SRID.
> So a lot of speedup would be possible if that column would be also
> retrieved while getting the SRID.
>
>
>
> At the moment I don’t see any argument against this third way. What do you
> think?
>

The third way was originally supported by the old Oracle store, but the
vast majority of users entered fake information
in those tables, so it has been dropped.
If someone wants to implement it back it would be appreciated, but it would
also have to be subjected to a flag enabling
it, and should be disabled by default

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to