Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 98528c7

Browse files
authored
Update README.md
1 parent cfaa0c2 commit 98528c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Since the read operation occurs in the Osmosis instead of *Osmunda*, the Osmosis
160160

161161
In order to avoid the high time consumption caused by frequent begining and ending of transactions when inserting data one by one, the commitFrequency variable was set in the OsmosisReader class. When the records to be inserted reaches the number specified by commitFrequency, a Transaction will be opened for batch insert operations.
162162

163-
Before batch inserting, all currently read pending records are stored in memory. If the commitFrequency is too high, it will cause too high memory usage; if the commitFrequency is too low, the Transaction will be frequently switched, it will cause too high time-consuming.
163+
Before inserting, all currently read pending records are in memory. If the commitFrequency is too high, too much memory will be occupied; and if the commitFrequency is too low, the transaction begining and ending will be carried out frequently, very long time will be consumed.
164164

165165
The default value of commitFrequency is 5,000, you can modify it in your code according to the environment of your application.
166166

0 commit comments

Comments
 (0)