RegisterSign In
By liu.pf (liupf) on Jul 2, 2010 1:25 AM.
Insert spends more time as records increased
This is my result:
Insert 10,000 record every time, (key=8bytes, content=100bytes,createtime=8bytes),
insert spends: 5514594173
insert spends: 12297300914
insert spends: 16657916858
insert spends: 23104519150
insert spends: 27116359202
By Tobias Downer (toby) on Jul 2, 2010 12:57 PM.
Do you have indexes and what sort of data are you adding? You can expect this if you are benchmarking inserting data with a flat random distribution to an index because over time this sort of benchmark will need to hit every page of an expanding object. If you want to briefly explain what your benchmark does I'll explain some of the caveats with performance and what can be done about it.
Please sign in or register to post in this topic.
The text on this page is licensed under the Creative Commons Attribution 3.0 License. Java is a registered trademark of Oracle and/or its affiliates.
Mckoi is Copyright © 2000 - 2018 Diehl and Associates, Inc. All rights reserved.