How to do bulk insert via couchbase for java
You can follow this document for bulk insert:
https://developer.couchbase.com/documentation/server/3.x/developer/java-2.0/documents-bulk.html
Thank you Akshata for the support.
Appreciate your help.
At this moment when I inserted 1 million records into a bucket , It is taking roughly 2 minutes and 20 seconds.
Is there any way where i can further enhance the performance?
@tatpum13 that would depend on where the bottleneck is, e.g. network bandwidth, network latency, amount of RAM on the server, CPU issues (unlikely). If latency is the issue then you could try increasing the number of connections to the server . Have a look at thekvServiceConfig docs for details.
Thank you Graham.
I was able to insert one million records in 1 minute.
Is there any further documentation you can provide to enhance further?.
Is there any further way to increase the performance?
The best i could achieve to insert one million records was 55 seconds.
Looking forward to getting help on it.
Let me know if there is any load balancing with multiple nodes or if any clustering can help to improve performance?
Have added 2 nodes.
After that the batch writing slowed down further.
Since i am a new user to Couchbase, It would be great to get some assistance.
Can you please also share the hardware specs you’re running these tests against?
This link is not working, could you please share the link on the latest or near latest version.
Hi @Vikash_Agrawal
The current version of that documentation is here.