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)?
|
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
|