Working with Databases (Part-1)

VedNig
4 min readJan 8, 2021

So, in the first part of this article we will list all the databases.

All databases are listed with Its Pros and Cons.

Let’s start.

So, let’s start with :

Claps

Databases-Type

Apache CouchDB->Open-Source

MySQL->Open-Source

Postgres SQL->Open-Source

MariaDB->Open-Source

CouchDB

Developed by: Apache

LatestRelease:3.1.1

Download: CouchDB

Features

A CouchDB server hosts named databases, which store documents. Each document is uniquely named in the database, and CouchDB provides a RESTful HTTP API for reading and updating (add, edit, delete) database documents.

Documents are the primary unit of data in CouchDB and consist of any number of fields and attachments. Documents also include metadata that’s maintained by the database system. Document fields are uniquely named and contain values of varying types (text, number, boolean, lists, etc), and there is no set limit to text size or element count.

The CouchDB document update model is lockless and optimistic. Document edits are made by client applications loading documents, applying changes, and saving them back to the database. If another client editing the same document saves their changes first, the client gets an edit conflict error on save. To resolve the update conflict, the latest document version can be opened, the edits reapplied and the update tried again.

Single document updates (add, edit, delete) are all or nothing, either succeeding entirely or failing completely. The database never contains partially saved or edited documents.

  • Implementation
  • Conflicts
  • Distributed Updates and Replication
  • Security and Validation
  • Compaction
  • JavaScript View Functions
  • ACID Properties

Written in

Pros of CouchDB

  • Serialized objects can be stored as unstructured data in JSON formatted documents highly desirable for Web and Mobile Applications.
  • RESTful HTTP API provides flexible and seamless database operations.
  • Scalable distributed high availability solution with replication capability for redundant data storage.

Cons of CouchDB

  • NoSQL DB can become a challenge for seasoned RDBMS users.
  • The map-reduce paradigm can be very demanding for first-time users.
  • JSON format documents with Key-Value pairs are somewhat verbose and consume more storage.

MySQL
Developed by: Oracle Corporation

Written in C, C++

  • Latest version: 8.0.2121
  • Download: MySql

FEATURES

  • Scalable
  • Easy to use
  • High Security
  • Supports Novell Cluster Services
  • Fast
  • Runs on many operating systems

PROS OF MYSQL

  • supports large databases, up to 50 million rows or more in a table
  • open-source
  • Implement a variety of user interfaces

CONS OF MYSQL

  • No built-in support for XML or OLAP
  • Support is available for the free version
  • Take a lot of time and effort to create incremental backups

PostgreSQL

Developed by: PostgreSQL Global Development Group

Written in C

Companies who use PostgreSQL: Apple, Cisco, Fujitsu, Skype, and IMDb

Latest version: 12.3

Blog: PostgreSQL

Download: PostgreSQL

FEATURES

  • Support for tablespaces, as well as for stored procedures, joins, views, triggers, etc.
  • Multi-version concurrency control (MVCC)
  • Point-in-time recovery
  • Foreign keys
  • Asynchronous replication

PROS OF POSTGRESQL

  • Predefined functions
  • A number of interfaces
  • Scalable
  • Supports JSON

CONS OF POSTGRESQL

  • Less-mature replication software
  • Configuration can be confusing

MariaDB

MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system, intended to remain free and open-source software under the GNU General.

Latest Version: 10.5.8GA

Written in: C , C++ , Perl

Developer(s): MariaDB Corporation AB, MariaDB Foundation

Pros and Cons

  • High availability through the MariaDB TX Cluster.
  • Performance improvement with proxy for MariaDB, MaxScale.
  • Great support, respond quickly to questions.
  • Constant evolution of the product.
  • Improving the migration of databases from MySQL to Maria DB, by default they are done easily but as there is an error it is costly to solve it.
  • Some minor bugs in MariaDB version updates.

Download : MariaDB

T

--

--