delphi性能笔记
来源:互联网 发布:ui美工 编辑:程序博客网 时间:2024/05/10 03:31
由于是考虑到大数据量的批量插入,于是想到了ADO.NET2.0的一个新的特性:SqlBulkCopy。有关这个的性能,很早之前我亲自做过性能测试,效率非常高。这也是我推荐的技术方案。
技术方案三:
利用SQLServer2008的新特性--表值参数(Table-Valued Parameter)。表值参数是SQLServer2008才有的一个新特性,使用这个新特性,我们可以把一个表类型作为参数传递到函数或存储过程里。不过,它也有一个特点:表值参数在插入数目少于 1000 的行时具有很好的执行性能。
通过CrossTalk在Delphi中使用ADO.Net(1)
Is possible to use ADO .Net from an Win32 Application build with Delphi 7.
maybe using CrossTalk or Hydra?
====================================
You can use the TUniLoader component for loading a big amount of data to the database. TUniLoader provides the functionality for loading with maximum speed. You can find more detailed information about using TUniLoader in the "TUniLoader class" article of the UniDAC documentation. In addition, you can take a look at UniDAC demo project that demonstrates how TUniLoader works. The UniDAC demo project are located in the %UniDAC_Install_Directory%\Demos\UniDacDemo directory.
Also, we had a similar request about slow DB update (here: http://forums.devart.com/viewtopic.php?f=28&t=17621). You can try the solution that was suggested there.
====================================
You can give a try to AnyDAC http://www.da-soft.com/anydac/
There are:
- Array DML, allowing to fast execute multiple INSERT's commands:
http://www.da-soft.com/anydac/docu/Very_High_Performance_using_the_Array_DML.html
http://www.da-soft.com/anydac/docu/Array_DML.html
- TADDataMove component, allowing to move data dataset -> dataset,
text -> dataset, dataset -> text. Different test formats are supported.
====================================
dcc32speed 1.2
How does it work:
The dcc32.exe of Delphi 5 to 7 uses the slow FindFirstFile/FindClose API to retrieve the file date of files. This is very slow and can be replaced by the much faster GetFileAttributesEx.
====================================
Midas Speed Fix 1.2
http://andy.jgknet.de/blog/2009/01/midas-speed-fix-unit/
- delphi性能笔记
- delphi笔记
- delphi 笔记
- delphi 笔记
- Delphi 笔记
- delphi笔记
- Delphi笔记
- DELPHI性能优化的经验总结
- 性能笔记
- Delphi 接口笔记
- delphi部分学习笔记
- delphi语法笔记
- Delphi 类型转换笔记
- delphi 2006-05笔记
- Delphi语法笔记
- DELPHI学习笔记1
- Delphi学习笔记
- Delphi TreeView使用笔记
- 3_4
- 【ProjectEuler】ProjectEuler_051(找出最小的能够通过改变同一部分得到八个质数的质数)
- 个人的android软件的开发经历!(本人水平较差,菜鸟级的。。。。。。)
- Android获取系统已安装应用软件程序(apk)信息
- jQuery 中的 DOM 操作
- delphi性能笔记
- 接口自动化测试平台架构图
- 递归和迭代的区别
- MongoDb学习
- SKIA图形库
- 使用FFMPEG从MP4封装中提取视频流到.264文件
- 自定义全局快捷键
- android——完全退出应用程序
- jQuery中的属性操作,jQuery中的事件处理、jQuery 中的动画简单介绍