What are embedded databases?

Data System Architecture

About

embedded databases are database that run in an embedded mode:

It means that it:

Pros/Cons

Pros:

  • No need to install them
  • Performance as they run in the same thread (For instance, the Java Derby Database will run in the same JVM as the application)
  • Portable

Cons:

  • No client/server mode (ie no external connection by default). By default, they are not bound to a socket. Some databases allow it but it needs extra effort.
  • Without any service socket:
    • No sync without any extra software layer
    • Available only for the application, not for client.
    • only a single application can access a database at one time
    • no network access occurs.

List

  • Sqlite (C with binding)
  • Derby (Java, support also client/server, replication)
  • H2 (Java)
  • HSQLDb (Java)





Discover More
Data System Architecture
What are the databases mode of execution?

Databases may run in 2 modes: Embedded in an application Client/Server in a server framework. A server is an application that allows users to connect to Derby simultaneously and offers then a client/server...



Share this page:
Follow us:
Task Runner