#1DBMS
#1DBMS
Database
What is Database Purpose of Database
What is a Database Model Types of database models
Relational Database
Things you do with RDBMS
Terminology
Introduction to SQL Getting Started with MySQL
What is Database
• A database is a storing system that collects organized data, to
make some works easier like searching, structure, and extend.
• In web development, most databases use the relational
database management system (RDBMS) to organize data and
programming in SQL. Some databases, however, don't follow
the former mechanism to organized data, which called NoSQL.
• Some famous server-side RDBMS
are MySQL(or MariaDB which is a fork of it), SQL Server,
PostgreSQL,and Oracle Database.
• On the other hand, some famous NoSQL examples
are MongoDB, Cassandra, Firebase and Redis.
Database
• Databases are structured to facilitate the storage,
retrieval, modification, and deletion of data in
conjunction with various data-processing
operations.
• Businesses can use databases in various ways. It
helps them to arrange information about their
customers and clients. Also, it can include
information about product inventory.
• It helps to monitor sales, expenses, and other
financial information.
Model
• A database model shows the logical structure of a
database, including the relationships and constraints
that determine how data can be stored and accessed.
• Individual database models are designed based on the
rules and concepts of whichever broader data model the
designers adopt.
models
There are many kinds of data models. Some of the most
common ones include:
Command
A command is a string that you send to the server in hopes of having
the server do something useful. Some people use the word statement to
mean command.
Query
A query is a type of command that retrieves data from the server.
Normalization
Is the process of organizing data into a related table, it also
Terminology
Column (field, attribute)
A column is the smallest unit of storage in a relational database. A
column represents one piece of information about an object. Every column
has a name and a data type. Columns are grouped into rows, and rows are
grouped into tables.
Server
The MySQL,Oracle,PostgreSQL database server is a program that
services commands coming from client applications.
The Database server has no user interface?you can't talk to the server
directly, you must use a client application.
Terminology
foreign key
A foreign key is a column or a set of columns in a table whose
values correspond to the values of the primary key in another table.
primary key
A primary key is a column or a group of columns in a table that
uniquely identifies the rows in that table.
Views
Views are virtual tables. They are only a structure, and contain no
data. Their purpose is to allow a user to see a subset of the actual data. A
view can consist of a subset of one table
Introduction to SQL Getting Started with
MySQL
SQL is the most common language for extracting and organising data
that is stored in a relational database,SQL is the language of databases. It
facilitates retrieving specific information from databases that are further
used for analysis.
There are different versions and frameworks for SQL, the most
commonly used is MySQL. MySQL is an open-source solution that helps
facilitate SQL’s role in managing back-end data for web applications.
Companies such as Facebook, Instagram, WhatsApp, etc. all use SQL for
back-end data storage and data processing solutions.
When an SQL query is written & run (or parsed), it is processed by a
query optimiser. The query reaches SQL server, where it compiles in three
phases; Parsing, Binding and Optimisation.
Parsing – A process to check the syntax
Binding – A process to check the query semantics
Optimisation – A process to generate the query execution plan
Introduction to SQL Getting Started with
MySQL
What is MySQL?
MySQL, the most popular Open Source SQL database
management system, is developed, distributed, and supported by
Oracle Corporation.
https://dev.mysql.com/doc/refman/8.0/en/mysql-installer-setup.html
Overview
https://dev.mysql.com/doc/refman/8.0/en/what-is-mysql.html
What is MySQL?
MySQL, the most popular Open Source SQL database
management system, is developed, distributed, and supported by
Oracle Corporation.
What is MySQL?
MySQL, the most popular Open Source SQL database
management system, is developed, distributed, and supported by
Oracle Corporation.
MySQL Workbench
MySQL Workbench is a unified visual tool for database architects,
developers, and DBAs. MySQL Workbench provides data modeling,
SQL development, and comprehensive administration tools for server
configuration, user administration, backup, and much more. MySQL
Workbench is available on Windows, Linux and Mac OS X.
PhpMyAdmin
phpMyAdmin is a free software tool written in PHP, intended to
handle the administration of MySQL over the Web.
phpMyAdmin supports a wide range of operations on MySQL and
MariaDB
https://www.phpmyadmin.net/
Thanks
Instructor: Anirudha Anil Gaikwad
https://github.com/anirudhagaikwad