J4 ›› 2013, Vol. 31 ›› Issue (2): 210-214.

Previous Articles     Next Articles

Optimization Algorithm for Bulk Data Import Based on Typed Dataset

SUN Peng1, XING Qian-li1, LI Yong-li2, DONG Li-yan1, ZHANG Liang1, YIN Xiang-jie1   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China;2. School of Computer Science and Information Technology, Northeast Normal University, Changchun 130117, China
  • Received:2013-01-04 Online:2013-03-23 Published:2013-06-05

Abstract:

In order to solve the low inefficient problem in importing bulk data by typed DataSet, we present an optimization algorithm. Giving consideration to the quality of saving time, by analysising the working principle of the function inside the class of DataSet, we control the connection of the database, making every operation in disconnected dataset between only one database connection, avoiding frequently database operation of connections open close. Experimental results show that the time for data extraction is much less than the time for data import, and prove that the algorithm can effectively improve the efficiency of bulk data import.

Key words: DataSet, bulk data, database connection

CLC Number: 

  • TP301.6