📜  Derby 和 MySQL 的区别

📅  最后修改于: 2021-09-09 11:57:19             🧑  作者: Mango

1.德比:
Apache Derby 是一个功能齐全的开源关系数据库管理系统 (RDBMS),用Java实现,顾名思义,它是由 Apache Software Foundations 开发的。它基于Java、JDBC 和 SQL 标准。 Derby 易于安装、部署和使用。它要么嵌入到Java应用程序中,要么用作数据库服务器。

2. MySQL:
MYSQL 是 Oracle 公司开发的一种广泛使用的开源关系数据库管理系统 (RDBMS)。 MYSQL 是用 C 和 C++ 编程语言开发的。 MySQL 支持的数据库模型有 RDBMS 和 Document Store。 Derby 和 MySQL 的区别:

S.No. Derby MYSQL
1. Derby was developed by Apache Software Foundation. MYSQL was developed by Oracle Corporation.
2. Derby is implemented in Java programming language. MYSQL is implemented in C/C++ programming Languages.
3. The language supported by derby is Java. The languages supported by MYSQL are C, C#, C++, Python, Ruby, Java, PHP, Javascript and others.
4. Derby was launched in August 2004. MySQL was launched on 23 May 1995.
5. The Replication method used here is Master-Slave Replication. The Replication methods used here are Master-Master Replication and Master-Slave Replication.
6. Derby suits well when there is need of small RDBMS in an application. MYSQL suits well for both small and large organizational data storage for an application.
7. Derby is not well established in the market as compared to MYSQL. MYSQL is well established in the market and is used by organizations ranging from small to large.
8. The speed provided by derby is fast. Derby is fast but C/C++ is faster as compared to Java, thus making MYSQL faster.
9. The operating systems supported by Derby are Windows, macOs, Linux, Unix, BSD and z/OS. The operating systems supported by MySQL are Windows, macOs, Linux, Unix, AmigaOS, BSD, z/OS and Android.
10. Derby does not support any partitioning methods. MySQL supports partitioning methods like hash, list, range and composite partitioning.
11. Derby supports ACID properties. MySQL also supports ACID properties.
12. No secondary database model is used. The secondary database model supported is Document Store.
13. APIs and other access methods used by Derby is JDBC. APIs and other access methods used by MySQL are ADO.NET, JDBC and ODBC.