0% found this document useful (0 votes)
35 views

P S T U: Atuakhali Cience AND Echnology Niversity

This document provides an overview of several popular database management systems and database languages: MySQL, PostgreSQL, SQLite, MongoDB, and SQL. For each system or language, it briefly describes its purpose and common uses. It also notes some key differences between the SQL syntaxes used by PostgreSQL, MySQL, SQLite, and Microsoft SQL Server.

Uploaded by

rahman simanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

P S T U: Atuakhali Cience AND Echnology Niversity

This document provides an overview of several popular database management systems and database languages: MySQL, PostgreSQL, SQLite, MongoDB, and SQL. For each system or language, it briefly describes its purpose and common uses. It also notes some key differences between the SQL syntaxes used by PostgreSQL, MySQL, SQLite, and Microsoft SQL Server.

Uploaded by

rahman simanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

PATUAKHALI SCIENCE AND TECHNOLOGY

UNIVERSITY
Faculty of Computer Science and Engineering

Assignment 02
Course Title: Database System
Course Code: CCE-223

Submitted to:
Dr. Md. Samsuzzaman
Professor
Department of Computer and Communication Engineering
Faculty of Computer Science and Engineering
Patuakhali Science and Technology University, Dumki, Patuakhali,
Bangladesh

Submitted by:
Name : Md. Tasnif Rahman
ID : 1802014
Reg : 08424
Various type Database languages which are using for different
purpose nowadays:

 MySQL: MySQL is a relational database management system


based on the Structured Query Language, which is the
popular language for accessing and managing the records in
the database. It is developed, marketed, and supported
by MySQL AB, a Swedish company, and written in C
programming language and C++ programming language. The
official pronunciation of MySQL is not the My Sequel; it
is My Ess Que Ell.
Many small and big companies use MySQL. MySQL
supports many Operating Systems like Windows, Linux,
MacOS, etc. with C, C++, and Java languages.

MySQL is a Relational Database Management System (RDBMS)


software that provides many things, which are as follows:

1.It allows us to implement database operations on tables, rows,


columns, and indexes.
2.It defines the database relationship in the form of tables (collection
of rows and columns), also known as relations.
3.It provides the Referential Integrity between rows or columns of
various tables.
4.It allows us to updates the table indexes automatically.
5.It uses many SQL queries and combines useful information from
multiple tables for the end-users.

*src:[ https://www.javatpoint.com/mysql-tutorial]
 PostgreSQL: PostgreSQL is an advanced, enterprise-
class, and open-source relational database system.
PostgreSQL supports both SQL (relational) and JSON
(non-relational) querying.

PostgreSQL is a highly stable database backed by more


than 20 years of development by the open-source
community.

PostgreSQL is used as a primary database for many web


applications as well as mobile and analytics applications.

The following are the common use cases of


PostgreSQL.

1) A robust database in the LAPP stack


LAPP stands for Linux, Apache, PostgreSQL, and PHP
(or Python and Perl). PostgreSQL is primarily used as a robust
back-end database that powers many dynamic websites and
web applications.

2) General purpose transaction database


Large corporations and startups alike use PostgreSQL
as primary databases to support their applications and
products.

3) Geospatial database
PostgreSQL with the PostGIS extension supports
geospatial databases for geographic information systems
(GIS).

*src:[ https://www.postgresqltutorial.com/what-is-postgresql/]
 SQLite: SQLite is embedded relational database
management system. It is self-contained, serverless,
zero configuration and transactional SQL database
engine.
SQLite is free to use for any purpose commercial or
private. In other words, "SQLite is an open source,
zero-configuration, self-contained, stand alone,
transaction relational database engine designed to be
embedded into an application".
SQLite is different from other SQL databases because
unlike most other SQL databases, SQLite does not have
a separate server process. It reads and writes directly to
ordinary disk files. A complete SQL database with
multiple tables, indices, triggers, and views, is
contained in a single disk file.

There are a lot of advantages to use SQLite as an


application file format:

1) Lightweight
SQLite is a very light weighted database so, it is
easy to use it as an embedded software with devices
like televisions, Mobile phones, cameras, home
electronic devices, etc.
2) Better Performance
Reading and writing operations are very fast for
SQLite database. It is almost 35% faster than File
system.
It only loads the data which is needed, rather than
reading the entire file and hold it in memory.
If you edit small parts, it only overwrite the parts of the
file which was changed.
3) No Installation Needed
SQLite is very easy to learn.Don’t need to install
and configure it. Just download SQLite libraries in your
computer and it is ready for creating the database.
4) Reliable
It updates your content continuously so, little or
no work is lost in a case of power failure or crash.
SQLite is less bugs prone rather than custom written
file I/O codes.
SQLite queries are smaller than equivalent procedural
codes so, chances of bugs are minimal.
*src:[ https://www.javatpoint.com/sqlite-advantages-and-disadvantages]

 MongoDB: MongoDB is an open-source document


database that provides high performance, high
availability, and automatic scaling.
In simple words, you can say that - Mongo DB is a
document-oriented database. It is an open source
product, developed and supported by a company
named 10gen.

The primary purpose of building MongoDB is:

1.Scalability
2.Performance
3.High Availability
4.Scaling from single server deployments to large,
complex multi-site architectures.
5.Key points of MongoDB
6.Develop Faster
7.Deploy Easier
8.Scale Bigger

*src:[ https://www.javatpoint.com/mongodb-tutorial]

 SQL: With SQL, we can query our database in


several ways, using English-like statements.
With SQL, a user can access data from a
relational database management system.
It allows the user to describe the data.
It allows the user to define the data in the database
and manipulate it when needed.
It allows the user to create and drop database and
table.
It allows the user to create a view, stored
procedure, function in a database.
It allows the user to set permission on tables,
procedures, and views.

*src:[ https://www.javatpoint.com/sql-tutorial]
In this article, we will focus on four of the most popular
database management systems -- PostgreSQL, MySQL, SQLite,
and SQL Server -- and their versions of SQL syntax.

The graph below from Stack Overflow Trends provides a


sense of how often each of these platforms is discussed -- each
line represents the percentage of all Stack Overflow questions
about each version of SQL.
Differences:
PostgreSQL, MySQL, and SQLite use very similar syntax,
with some notable differences highlighted below. Microsoft SQL
Server has the greatest contrast in SQL syntax, as well as a wide
variety of functions not available in other platforms. The table
below highlights some examples of basic differences between
SQL platforms.

*src:[ https://www.datacamp.com/community/blog/sql-differences]

You might also like