与Anydac结合使用时,Informix Database的运行速度极慢
||
自从我们迁移到AnyDac作为BDE的替代方案以来,我们的应用程序就面临真正的性能问题。
该应用程序支持多个数据库,因此其他数据库(例如SQLSrvr和Oracle)运行良好,但是从那时起,Informix的运行速度就开始缓慢。可以预见的是,由于使用ODBC驱动程序,它会变慢一些,但是它是如此之慢,以至于我们怀疑这可能是AnyDac(ADConnectionDefs.ini)的配置问题。
还有其他人有这样的问题吗?
根据da-soft请求添加更多信息
我们正在使用anydac版本4.0.7.1723
我们的Informix ODBC驱动程序是v3.7
数据库服务器是Informix-11
Informix配置别名如下:
Server=
Database=
User_name=informix
Password=
DriverID=ODBC
DataSource=ODBC_Informix_Alias
MetaDefSchema=informix
FetchOptions.RowSetSize=1000
MonitorBy=
FetchOptions.AssignedValues=[evMode, evItems, evCache, evAutoClose, evRecordCountMode,
evCursorKind, evRowsetSize]
FetchOptions.Items=[fiBlobs]
FetchOptions.Cache=[fiBlobs, fiMeta]
FetchOptions.Mode=fmAll
FetchOptions.CursorKind=ckDefault
FetchOptions.AutoClose=False
FetchOptions.RecordCountMode=cmVisible
FormatOptions.AssignedValues=[fvMapRules, fvMaxBcdPrecision, fvMaxBcdScale, fvSE2Null]
FormatOptions.OwnMapRules=True
FormatOptions.MaxBcdPrecision=2147483647
FormatOptions.MaxBcdScale=2147483647
FormatOptions.StrsEmpty2Null=True
ResourceOptions.MacroExpand=False
ResourceOptions.EscapeExpand=False
ResourceOptions.MacroCreate=False
ResourceOptions.ParamCreate=True
ResourceOptions.ParamExpand=True
ResourceOptions.DirectExecute=True
ResourceOptions.AssignedValues=[rvMacroCreate, rvMacroExpand, rvParamCreate, rvParamExpand, rvEscapeExpand, rvDirectExecute]
FormatOptions.MapRules=<
item SourceDataType = dtBCD TargetDataType = dtDouble end
item SourceDataType = dtInt64 TargetDataType = dtDouble end
item SourceDataType = dtDateTimeStamp TargetDataType = dtDateTime end
item SourceDataType = dtByte TargetDataType = dtInt16 end item end >
添加了行“ 1”以尝试提高性能,但没有帮助。
没有找到相关结果
已邀请:
1 个回复
闪票仇门韧