Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT DBF
load (quickly) large size information into DBF
VALENTINA
2005-03-24 00:00:00
I have large size information in java objects
(300000 records, 1 record (150 symbol) - 8 fields). This information necessary insert into DBF-file.
I insert into file one by one record using DBF_JDBC30)- this last over a long period of time (40 min).
How I can diminish this time (for example to 5 min)?
Re:load (quickly) large size information into DBF
HXTT Support
2005-03-24 00:00:00
Dear Valentina,

1. If your java objects
(300000 records, 1 record (150 symbol) - 8 fields) is in ResulteSet, you can use "insert into yourTable ?" to insert that resultSet.

2. You can use PreparedStatement to insert your data.

3. You can use PreparedStatement.addBatch to insert batch data.

4. You can use an CONCUR_UPDATABLE ResultSet to insert data.

DBF can insert 100000 row in 5781ms so that your longer time should be an issue. Please let us know more about your insert code.

BTW, please check whether your dbf table has some index files.

With best regards,

Dai Wei

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap