[fdo-internals] SHP performance problem may be due to .idx

Greg Boone greg.boone at autodesk.com
Thu Sep 20 10:56:58 PDT 2012

Taking a quick look at the code, what could be happening is that the index file header is updated with the current bounding box extent of the data file at the time the connection is made. 

This update may be replacing the existing extent with the exact same extent. 


-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of everling
Sent: Thursday, September 20, 2012 12:51 PM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] SHP performance problem may be due to .idx

Hello. Trevor suggested that the FDO Internals may be a better list for the following bug report that I originally posted in the MapGuide Internals list.

> I don't know if it is a real bug or not but a search of the mailing 
> list archives have revealed nothing so I'll bring it up here for discussion.
> Bug report:
> 1. Whenever I preview my SHP feature source, the associated *.idx file 
> is modified.
> 2. This is true for managed or unmanaged files, the relevant *.idx 
> files are always modified.
> 3. If the SHP feature source is pointing to an unmanaged folder, all 
> *.idx files within the directory are modified even if you are viewing 
> the contents of only one SHP file or previewing the feature source 
> with Maestro.
> 4. The contents of the *.idx files are unchanged. Confirmed with MD5 
> file checksums.
> 4. Reproduced with MGOS 2.2 and MGOS 2.4 RC2 on Windows 7.
> I think MGOS recreates the idx files on every view and that this is 
> the reason that MGOS performs poorly on SHP files, especially when 
> working with unmanaged directories. Is this a real bug and is it 
> fixable in time for MGOS 2.4?
> Best regards.

Best regards.

View this message in context: http://osgeo-org.1560.n6.nabble.com/SHP-performance-problem-may-be-due-to-idx-tp5003321.html
Sent from the FDO Internals mailing list archive at Nabble.com.
fdo-internals mailing list
fdo-internals at lists.osgeo.org

More information about the fdo-internals mailing list