Performance Comparison of Berkerly DB and SQL Server

Source: Internet
Author: User
1. Full table Query
List the data in the entire table. I don't know why. BerkerlyDB is slower than SQL Server. If there is no reason, I may be useless.
2. getByPrimaryKey
In the case of 19 fields in a table with 33606 data entries: the performance of BerkerlyDB is about 10 times faster than that of SQL Server. (The SQL Server database is also deployed on the local machine)
For tables with 33606 data records, there are two fields in total: the performance of BerkerlyDB is about 500 times faster than that of SQL Server. (The SQL Server database is also deployed on the local machine)
(To be supplemented)
3. Use indexes.
For a table with a total of 19 fields of 33606 data records, two records are returned, using string indexes: the performance of BerkerlyDB is faster than that of SQL Server by 50 ~ About 100 times. (The SQL Server database is also deployed on the local machine)
4. insert data
Insert 2000 entries into the data table, 19 fields in total. SQL Server uses the JDBC executeBatch, with 1000 records in each batch. Berkerly DB uses comiteNoSync to submit data inserted each time. BerkerlyDB is about 10 to 10 faster than SQL Server ~ 20 times.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.