[mapguide-users] UnManagedData Slow

nicholda nicholda at talgov.com
Thu Jul 5 08:58:07 EDT 2007


Hi all,

I hope someone can point me in the right direction, I am using 1.2 and have
re-mapped data to a location on disk.  I am seeing a noticeable difference
in response time between managed and unmanaged data.  I re-mapped my feature
source as shown below.

Original
<?xml version="1.0" encoding="utf-8"?>
<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
  <Provider>OSGeo.SDF</Provider>
  <Parameter>
    <Name>File</Name>
    <Value>>%MG_DATA_FILE_PATH%AsBuiltBldgs.sdf</Value>
  </Parameter>
  <Parameter>
    <Name>ReadOnly</Name>
    <Value>TRUE</Value>
  </Parameter>
</FeatureSource>

Modified
<?xml version="1.0" encoding="utf-8"?>
<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
  <Provider>OSGeo.SDF</Provider>
  <Parameter>
    <Name>File</Name>
    <Value>E:/FME_Data/mgos/AsBuiltBldgs.sdf</Value>
  </Parameter>
  <Parameter>
    <Name>ReadOnly</Name>
    <Value>FALSE</Value>
  </Parameter>
</FeatureSource>

After re-mapping I added the following alias to the serverconfig.ini file.

[UnmanagedDataMappings]
UnmanagedSdf = E:\FME_Data\mgos


I then used the EnumerateUnmanagedData API to get the following.  But I am
not sure what to do next.

  <?xml version="1.0" encoding="UTF-8"?>
<UnmanagedDataList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="UnmanagedDataList-1.0.0.xsd">
	<UnmanagedDataFile>
		<UnmanagedDataId>[UnmanagedSdf]AsBuiltBldgs.sdf</UnmanagedDataId>
		<CreatedDate>2007-06-28T13:00:40Z</CreatedDate>
		<ModifiedDate>2007-06-28T13:00:40Z</ModifiedDate>
		<Size>563200</Size>
	</UnmanagedDataFile>
</UnmanagedDataList>

Am I on the right track for improved performance/response time or am I
completely off base.  Any suggestions are welcomed.

Thanks,

David
-- 
View this message in context: http://www.nabble.com/UnManagedData-Slow-tf4029540s16610.html#a11445964
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list