Database And RDBMS Concept
admin
2024-05-14 03:22:13
0

What is Data?

Data is information converted into binary digital form.

A bit is the smallest unit of data.

Data can be stored in file formats.

Data is represented as video,images, sounds,text etc.

What is Database?

A database is an organized collection of data.

Allows data to be easily accessed, manipulated and updated.

A method of sorting,managing and retriving information.

Modern databases are managed using a database management system (DBMS)

RDMS

RDBMS is a type of DBMS.

Mainitain  the security, accuracy, integrity and consistency.

CRUD

Provide data dictionaries and metadata collections

Data storage management

Structured Query Language(SQL)

Normalization

Process of organizing a database.

Reduce redundancy

Improve data integrity

Simplify database design.

Data in tables and columns

Only related data

Benefits of Normalization

Minimize data redundancy

Minimize null values

Minimize data modification issues

Simplify queries

Cleaner and easier to understand

Speed ,accuracy, and efficiency of the database.

Levels of Normaliation - 1

UNF(Unnormalized Form)

A database is in UNF if it has not been normalized at all.

1NF(First Normal Form)

A releation(table) is in 1NF if (and only if) the domain of each attribute contains only atomic(indivisible) values, and the value of each attribute contains only a single value from that domain.

Levels of Normaliation - 2

2NF(Second Normal Form)

A relation is in 2NF if it is in 1NF and every non-prime attribute of the relation is dependent on the whole of every candidate key.

3NF(Third Normal Form)

A relation is in 3NF if it is in 2NF and every non-prime attribute of the relation is non-transitively dependent on every key of the relation.

Who Needs a Database User

DBA(Database Administrators)

Security Officers

Network Administrator

Application Developers

Application Adminitrators

Users of Application

Responsibilites of DBA

  • Install and upgrade
  • Allocating system storage
  • Creating primary database storage structures
  • Creating primary database objects
  • Modifying the database structure
  • System security
  • Backup and Recovery
  • User access to the database

Database Objects(Tables)

Attribute/Column

A tupple /Record/ Row

Database Objects(Constraints)

  • Not null constraint
  • Unique constraint
  • Primary key constraint
  • Foreigin key constraint
  • Check constraint
  • REF constraint

Database Objects(Data Types)

Database Objects(Index)

Data structure defined on columns

Speed up data retrieval operations

Small copy of a database table sorted by key values.

Privileges

System privileges

Object privileges

Privilege hierarchy 

The PUBLIC role

Summary

Data

Database

RDMS

Normalization

Database User

Database Objects

Privileges

What is DDL ?

Define the database

Specify data types,structures and constraints

CREATE,ALTER and DROP

Implicitly COMMIT

Connect to Database

相关内容

热门资讯

和讯投顾王宇:还剩三天,题材能... 2月10日,和讯投顾王宇表示,当下市场题材分歧愈发明显,节前仅剩三个交易日,到底还能不能继续博弈?极...
美股三大指数集体高开 新闻荐读 美东时间周二,美股三大指数集体高开,截至北京时间23:00左右,道指涨逾360点,续创盘中...
华润置地,任命新的集团营销负责... 近日,市场消息,华润置地原杭州公司分管副总朱勇,被任命为集团运营管理部副总经理,分管整个开发销售型业...
原创 比... 当地时间2月9日,路透社的一则报道引发广泛关注:中国汽车制造商比亚迪已正式对美国政府提起诉讼,剑指美...
裕同科技拟4.49亿元收购华研... 苹果、泡泡玛特主要供应商裕同科技(002831)2月10日晚间公告,拟4.49亿元收购东莞市华研新材...
巨亏50亿!AI制药独角兽IP... 2月4日,AI+可编程药物公司Generate:Biomedicines向美国证券交易委员会(SEC...
多家知名品牌宣布:春节期间,涨... 过年脚步临近,春节假期是线上消费的高峰期,也是运力最为紧张的时期。顺丰、京东物流、圆通、申通、中通、...
担忧受AI冲击 美国微软公司股... (央视财经《天下财经》)据彭博社等媒体9日报道,当天,美国梅利乌斯研究公司将微软公司的股票评级从“买...
原创 2... 写在文章前的声明:在本文之前的说明:本文中所列的投资信息,只是一个对基金资产净值进行排行的客观描述,...
青藏高原发现天然氢:可以拉开能... 近日,中国科学家在青藏高原的岩石里,第一次实实在在地“看到”了天然氢气。 它不是通过计算或地表泄漏推...
上海小南国回应餐厅停止营运 北京商报讯(记者 郭缤璐)2月10日晚间,上海小南国控股有限公司发布公告,对于上海小南国品牌在上海经...
招金矿业致歉:向遇难者表示沉痛... 2月10日,招金矿业在港交所发布公告: 最近,招金矿业股份有限公司蚕庄金矿(“蚕庄金矿”)上庄矿段...
君乐宝上市布局细分赛道领跑增长... 2026年1月19日,中国领先的综合乳制品企业君乐宝乳业集团股份有限公司(简称“君乐宝”)正式向香港...
酒业渠道商再闯港股,名品世家董... 蓝鲸新闻2月10日讯(记者 朱欣悦)2月10日,港股GEM上市公司环球印馆控股有限公司(08448....
上市银行,迎密集调研! 2026年以来,上市银行迎来机构密集调研,其中沿海经济发达区域的中小银行是机构重点调研对象。 截至2...
豆包压哨参战,决战春节流量窗口... 本报(chinatimes.net.cn)记者卢晓 北京报道 春节AI红包大战继续升温。 2月10日...
小米汽车准备进入美国市场?雷军... 2月10日,针对小米YU7被拍到行驶在美国加州的高速公路上,挂着当地的测试车牌或进入美国市场的消息,...
春节后部分黄金产品将调价?周大... 2月10日,有消息称,黄金珠宝品牌周大福在春节后将对黄金产品调价,此次调价或于3月中旬启动,目前部分...
标普500指数高开9.67点,... 标普500指数高开9.67点,涨幅0.14%,报6974.49点; 道琼斯工业平均指数高开57.6...
中国银行调整春节期间代理个人上... 中国银行2月10日发布关于2026年春节期间代理个人上金所业务相关调整的公告称,2026年春节假期临...