Skip to Main Content

NoSQL Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

put() vs putIfAbsent() - TableAPI

1021893Feb 18 2016 — edited Feb 23 2016

Hello Experts,

I have created a table in NoSQL with a primary key (and shard key). I am inserting huge amount of data into by 'select * from db' and then inserting to NoSQL. Is put() method better or putIfAbsent() ? Which one is preferable from performance point of view ?

Thank you,

Vibhas

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2016
Added on Feb 18 2016
6 comments
2,139 views