SlideShare a Scribd company logo
Oracle Database
Introduction
of
By
Puja Dhar
ORACLE HISTORY
Larry Ellison and his two friends and former co-workers, Bob Miner and
Ed Oates, started a consultancy called Software Development
Laboratories (SDL) in 1977. SDL developed the original version of the
Oracle software.
Developer
Usage
Oracle Database Architecture. An Oracle database is a collection of data treated
as a unit. The purpose of a database is to store and retrieve related
information. A database server is the key to solving the problems of information
management.
The i in oracle 8i and 9i stands for INTERNET and the g in 10g and 11g stands
for GRID, because from 10g onwards oracle supports grid architecture.
Meaning of i & g in Oracle databases
Oracle released Oracle Database 12c into general availability July 1, 2013.
According to Oracle, this is "the first database designed for the cloud.”
Meaning of Oracle 12c
ORACLE HISTORY
ī‚ĸ 1979 Oracle Release 2
ī‚ĸ 1986 client/server relational database
ī‚ĸ 1989 Oracle 6
ī‚ĸ 1997 Oracle 8 (object relational)
ī‚ĸ 1999 Oracle 8i (Java Virtual Machine)
ī‚ĸ 2000 Oracle Application Server
ī‚ĸ 2001 Oracle 9i database server
The major Oracle versions, with their latest patch-sets
are:
Oracle 7: ... - 7.3.4.5
Oracle 8: 8.0.3 - 8.0.6
Oracle 8i: 8.1.5.0 - 8.1.7.4
Oracle 9i (Release 1): 9.0.1.0 - 9.0.1.4
Oracle 9i (Release 2): 9.2.0.1 - 9.2.0.8
Oracle 10g (Release 1): 10.1.0.2 - 10.1.0.5
Oracle 10g (Release 2): 10.2.0.1 - 10.2.0.5
Oracle 11g (Release 1): 11.1.0.6 - 11.1.0.7
Oracle 11g (Release 2): 11.2.0.1 - 11.2.0.4
Oracle 12c (Release 1): 12.1.0.1 - 12.1.0.2.0
Note: If running on one of the above releases, it is
recommended to always install the latest patch-set.
OVERVIEW OF ORACLE GRID ARCHITECTURE
Grid computing is a new IT architecture that produces more resilient and lower
cost enterprise information systems. With grid computing, groups of independent,
modular hardware and software components can be connected and rejoined on
demand to meet the changing needs of businesses.
Benefits of Grid Computing
Compared to other models of computing, IT systems designed and implemented
in the grid style deliver
īƒŧhigher quality of service,
īƒŧlower cost, and
īƒŧgreater flexibility.
īƒŧHigher quality of service results from having no single point of failure,
īƒŧa robust security infrastructure, and
īƒŧcentralized, policy-driven management.
īƒŧLower costs derive from increasing the utilization of resources and
dramatically reducing management and maintenance costs.
īƒŧRather than dedicating a stack of software and hardware to a specific
task, all resources are pooled and allocated on demand, thus eliminating under
utilized capacity and redundant capabilities.
Grid computing also enables the use of smaller individual hardware components,
thus reducing the cost of each individual component and providing more flexibility
to devote resources in accordance with changing needs.
ORACLE FAMILY
ī‚ĸ Personal Oracle- for single users. Used to develop
systems
ī‚ĸ Oracle Standard Edition- (Entry level Workgroup
server)
ī‚ĸ Oracle Enterprise edition- Extended functionality
ī‚ĸ Oracle Lite- (Oracle mobile) single users using
wireless devices.
SOME DEVELOPER TOOLS
ī‚ĸ Oracle Forms Developer
ī‚ĸ Oracle Reports Developer
ī‚ĸ Oracle Jdeveloper
ī‚ĸ Oracle Designer
FILE PROCESSING
Database
Processing
DATABASE STRUCTURE
ī‚ĸ Logical structure - maps the data to the Physical
structure.
ī‚ĸ Physical structure -part of the operating system’s file
structure.
ī‚ĸ Memory structure - where all the processing takes
place.
THE LOGICAL STRUCTURES
ī‚ĸ control how the data must be stored in the
database.
ī‚ĸ five Logical structures:
ī‚— tablespaces
ī‚— segments
ī‚— extents
ī‚— data blocks
ī‚— schema objects
PHYSICAL STRUCTURES
ī‚ĸ Parameter files
ī‚ĸ Password files
ī‚ĸ Datafiles
ī‚ĸ Redo log files
ī‚ĸ Control files
TABLESPACES
ī‚ĸ A database is divided into logical storage units
called Tablespaces.
ī‚ĸ logical construct for arranging different types
of data
ī‚ĸ An Oracle database must have at least a
system tablespace.
ī‚ĸ It is recommended to have different
tablespaces for user and system data.
SCHEMAS AND SCHEMA OBJECTS
ī‚ĸ Collection of database objects
ī‚— Tables
ī‚— Views
ī‚— Sequences
ī‚— Indexes
ī‚— Procedures
ī‚— Functions
ī‚— Packages
ī‚— Triggers
DATA BLOCKS
ī‚ĸ The smallest unit of Input/Output used by Oracle
database.
ī‚ĸ The size of data block for any database is fixed at the
time of creation of the database;
ī‚ĸ Some values of the data block size are 2KB, 8KB,
16KB, and 32KB.
ī‚ĸ Oracle recommends a size of 8KB
EXTENTS
ī‚ĸ The next level of data storage.
ī‚ĸ One extent consists of a specific number of
data blocks
ī‚ĸ One or more extents in turn make up a
segment.
ī‚ĸ When the existing space in a segment is
completely used, Oracle allocates a new
extent for the segment.
SEGMENT
ī‚ĸ A segment consists of a set of extents
ī‚ĸ Each table’s data is stored in its own single
segment.
ī‚ĸ Each index’s data is stored in a single
segment.
ī‚ĸ More extents are automatically allocated by
Oracle to a segment if its existing extents
become full.
ī‚ĸ The different types of segments are the data
segments, index segments,rollback segments,
and temporary segments.
PHYSICAL DATABASE STRUCTURE
ī‚ĸ Password file - which contain the password
information for all users.
ī‚ĸ Parameter file - which contains all the important
information necessary to start a database.
ī‚ĸ Datafiles - which contain the application data
being stored, as well as any data necessary to
store user-IDs, passwords, and privileges.
ī‚ĸ Redo log files - which store all the transactions
made to the database. These files are also called
transaction log files.
ī‚ĸ Control files - which store information specifying
the structure of the database,such as the name
and time of creation of the database and the
name and location of the datafiles.
SECURITY MECHANISMS
ī‚ĸ Database users and schemas
ī‚ĸ Privileges
ī‚ĸ Roles
ī‚ĸ Storage settings and quotas
ī‚ĸ Resource limits
ī‚ĸ Auditing
DATA ACCESS: SQL
ī‚ĸ Data definition language (DDL) statements
ī‚ĸ Data manipulation language (DML)
statements
ī‚ĸ Transaction control statements
ī‚ĸ Session control statements
ī‚ĸ System control statements
ī‚ĸ Embedded SQL statements
TRANSACTIONS
ī‚ĸ A transaction is a logical unit of work that comprises
one or more SQL statement executed by a single
user. According to the ANSI/ISO SQL standard, with
which Oracle is compatible, a transaction begins with
the user’s first executable SQL statement. A
transaction ends when it is explicitly committed or
rolled back.
TRANSACTION EXAMPLE
DATA ACCESS: SQL
Session Control Statements
These statements let a user control the properties of the current
session, including enabling and disabling roles and changing language
settings. The two session control statements are
ALTER SESSION and SET ROLE.
System Control Statements
These statements change the properties of the Oracle database
instance. The only system control statement is ALTER SYSTEM.
It lets users change settings, such as the minimum number of shared
servers, kill a session, and perform other tasks.
Embedded SQL Statements
These statements incorporate DDL, DML, and transaction control
statements in a procedural language program, such as those used with
the Oracle precompilers. Examples include OPEN,
CLOSE, FETCH, and EXECUTE
Overview of Data types
Each column value and constant in a SQL statement has a data
type, which is associated with a specific storage format,
constraints, and a valid range of values. When you create a table,
you must specify a datatype for each of its columns.
Oracle provides the following built-in data types:
īąCharacter datatypes
īąNumeric datatypes
īąDATE datatype
īąLOB datatypes
īąRAW and LONG RAW datatypes
Relational Model Concepts
īŦ A Relation is a mathematical concept based on
the ideas of sets
īŦ The model was first proposed by Dr. E.F. Codd of
IBM Research in 1970 in the following paper:
– "A Relational Model for Large Shared Data Banks," Communications of
the ACM (Association for Computing machinery), June 1970
īŦ The above paper caused a major revolution in the
field of database management
FUNCTIONS OF A DBMS
ī‚ĸ Data definition: SQL lets a user define the structure and organization
of the stored data and relationships among the stored data items.
ī‚ĸ Data retrieval: SQL allows a user or an application program to retrieve
stored data from the database and use it.
ī‚ĸ Data manipulation: SQL allows a user or an application program to
update the database by adding new data, removing old data, and
modifying previously stored data.
ī‚ĸ Access control: SQL can be used to restrict a user’s ability to retrieve,
add, and modify data, protecting stored data against unauthorized
access.
ī‚ĸ Data sharing: SQL is used to coordinate data sharing by concurrent
users, ensuring that they do not interfere with one another.
ī‚ĸ Data integrity: SQL defines integrity constraints in the database,
protecting it from corruption due to inconsistent updates or system
failures.
ī‚ĸ SQL is thus a comprehensive language for controlling and interacting
with a database management system.
Informal Definitions
īŦ Informally, a relation looks like a table of values.
īŦ A relation typically contains a set of rows.
īŦ The data elements in each row represent certain facts
that correspond to a real-world entity or relationship
– In the formal model, rows are called tuples
īŦ Each column has a column header that gives an
indication of the meaning of the data items in that column
– In the formal model, the column header is
called an attribute name (or just attribute)
Example of a Relation
Relational Integrity Constraints
īŦ Constraints are conditions that must hold on all
valid relation states.
īŦ There are three main types of constraints in the
relational model:
– Key constraints
– Entity integrity constraints
– Referential integrity constraints
īŦ Another implicit constraint is the domain
constraint
– Every value in a tuple must be from the domain of its attribute (or it
could be null, if allowed for that attribute)
STRUCTURED QUERY LANGUAGE
ī‚ĸ SQL (Structured Query Language) is a database sub-language for
querying and modifying relational databases.
ī‚ĸ It was developed by IBM Research in the mid 70's and standardized by
ANSI in 1986.
ī‚ĸ Relational Model defines two root languages for accessing a relational
database -- Relational Algebra and Relational Calculus.
REFERENCES
ī‚ĸ https://docs.oracle.com/cd/B19306_01/server.102/b14220/i
ntro.htm
ī‚ĸ Oracle 11g with PL/SQL Approach by Sham Tickoo and
Sunil Raina
PRACTICAL IMPLEMENTATION
OF
SQL COMMANDS AND ITS VARIOUS
TYPES
WILL BE PERFORMED IN LABS

More Related Content

What's hot

Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
Bilal Arshad
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
Aashima Wadhwa
 
The oracle database architecture
The oracle database architectureThe oracle database architecture
The oracle database architecture
Akash Pramanik
 
Database backup and recovery
Database backup and recoveryDatabase backup and recovery
Database backup and recovery
Anne Lee
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
Deepak Shetty
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
Sajith Ekanayaka
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administration
sreehari orienit
 
1 - Introduction to PL/SQL
1 - Introduction to PL/SQL1 - Introduction to PL/SQL
1 - Introduction to PL/SQL
rehaniltifat
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creations
Yogiji Creations
 
Rdbms
RdbmsRdbms
Database Management System
Database Management SystemDatabase Management System
Database Management System
Nishant Munjal
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
Ramakant Soni
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
Neeraj Singh
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Ravi Teja
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
Ehsan Hamzei
 
Rdbms
RdbmsRdbms
Rdbms
rdbms
 
Oracle DB
Oracle DBOracle DB
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMSkoolkampus
 

What's hot (20)

Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
The oracle database architecture
The oracle database architectureThe oracle database architecture
The oracle database architecture
 
Database backup and recovery
Database backup and recoveryDatabase backup and recovery
Database backup and recovery
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administration
 
1 - Introduction to PL/SQL
1 - Introduction to PL/SQL1 - Introduction to PL/SQL
1 - Introduction to PL/SQL
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creations
 
Rdbms
RdbmsRdbms
Rdbms
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
Rdbms
RdbmsRdbms
Rdbms
 
Oracle DB
Oracle DBOracle DB
Oracle DB
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 

Viewers also liked

Oracle Business Strategy
Oracle Business StrategyOracle Business Strategy
Oracle Business Strategy
sathyagenius
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and ArchitectureSidney Chen
 
Solaris11 Desayunos Tecnicos Oracle (Solaris)
Solaris11 Desayunos Tecnicos Oracle (Solaris)Solaris11 Desayunos Tecnicos Oracle (Solaris)
Solaris11 Desayunos Tecnicos Oracle (Solaris)
Fran Navarro
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle databaseSamar Prasad
 
Oracle
OracleOracle
Oracle
Mayank Mittal
 
Penentuan kadar ca dan mg serta turbiditas
Penentuan kadar ca dan mg serta turbiditasPenentuan kadar ca dan mg serta turbiditas
Penentuan kadar ca dan mg serta turbiditas
UIN Alauddin Makassar
 
Oraclesql
OraclesqlOraclesql
Oraclesql
Priya Goyal
 
Sql Objects And PL/SQL
Sql Objects And PL/SQLSql Objects And PL/SQL
Sql Objects And PL/SQL
Gary Myers
 
Oracle basic queries
Oracle basic queriesOracle basic queries
Oracle basic queries
PRAKHAR JHA
 
Basic MySQL Troubleshooting for Oracle Database Administrators
Basic MySQL Troubleshooting for Oracle Database AdministratorsBasic MySQL Troubleshooting for Oracle Database Administrators
Basic MySQL Troubleshooting for Oracle Database Administrators
Sveta Smirnova
 
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Alex Gorbachev
 
Oracle Database / Database Options
Oracle Database / Database OptionsOracle Database / Database Options
Oracle Database / Database Options
UKOCN
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
Chien Chung Shen
 
Why Exadata wins - real exadata case studies from Proact portfolio - Fabien d...
Why Exadata wins - real exadata case studies from Proact portfolio - Fabien d...Why Exadata wins - real exadata case studies from Proact portfolio - Fabien d...
Why Exadata wins - real exadata case studies from Proact portfolio - Fabien d...
ORACLE USER GROUP ESTONIA
 
Oracle Database | Computer Science
Oracle Database | Computer ScienceOracle Database | Computer Science
Oracle Database | Computer Science
Transweb Global Inc
 
introduction to database
 introduction to database introduction to database
introduction to database
Akif shexi
 

Viewers also liked (19)

Oracle Business Strategy
Oracle Business StrategyOracle Business Strategy
Oracle Business Strategy
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
Solaris11 Desayunos Tecnicos Oracle (Solaris)
Solaris11 Desayunos Tecnicos Oracle (Solaris)Solaris11 Desayunos Tecnicos Oracle (Solaris)
Solaris11 Desayunos Tecnicos Oracle (Solaris)
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
 
Oracle
OracleOracle
Oracle
 
Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
 
Penentuan kadar ca dan mg serta turbiditas
Penentuan kadar ca dan mg serta turbiditasPenentuan kadar ca dan mg serta turbiditas
Penentuan kadar ca dan mg serta turbiditas
 
Oraclesql
OraclesqlOraclesql
Oraclesql
 
Sql Objects And PL/SQL
Sql Objects And PL/SQLSql Objects And PL/SQL
Sql Objects And PL/SQL
 
Oracle basic queries
Oracle basic queriesOracle basic queries
Oracle basic queries
 
Basic Oracle Usage v1
Basic Oracle Usage v1Basic Oracle Usage v1
Basic Oracle Usage v1
 
Basic MySQL Troubleshooting for Oracle Database Administrators
Basic MySQL Troubleshooting for Oracle Database AdministratorsBasic MySQL Troubleshooting for Oracle Database Administrators
Basic MySQL Troubleshooting for Oracle Database Administrators
 
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
 
Oracle Database / Database Options
Oracle Database / Database OptionsOracle Database / Database Options
Oracle Database / Database Options
 
Basic of Oracle Application
Basic of Oracle ApplicationBasic of Oracle Application
Basic of Oracle Application
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
 
Why Exadata wins - real exadata case studies from Proact portfolio - Fabien d...
Why Exadata wins - real exadata case studies from Proact portfolio - Fabien d...Why Exadata wins - real exadata case studies from Proact portfolio - Fabien d...
Why Exadata wins - real exadata case studies from Proact portfolio - Fabien d...
 
Oracle Database | Computer Science
Oracle Database | Computer ScienceOracle Database | Computer Science
Oracle Database | Computer Science
 
introduction to database
 introduction to database introduction to database
introduction to database
 

Similar to Introduction to Oracle Database

A Survey And Comparison Of Relational And Non-Relational Database
A Survey And Comparison Of Relational And Non-Relational DatabaseA Survey And Comparison Of Relational And Non-Relational Database
A Survey And Comparison Of Relational And Non-Relational Database
Karla Adamson
 
Bt0066 database management system1
Bt0066 database management system1Bt0066 database management system1
Bt0066 database management system1
Techglyphs
 
ORACLE Architechture.ppt
ORACLE Architechture.pptORACLE Architechture.ppt
ORACLE Architechture.ppt
aggarwalb
 
Database Performance Management in Cloud
Database Performance Management in CloudDatabase Performance Management in Cloud
Database Performance Management in Cloud
Dr. Amarjeet Singh
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
Daniel Francisco Tamayo
 
Sql vs no sql
Sql vs no sqlSql vs no sql
Sql vs no sql
Bhuwan Paneru
 
Sql
SqlSql
Sql
snegacmr
 
Rise of NewSQL
Rise of NewSQLRise of NewSQL
Rise of NewSQL
Sushant Choudhary
 
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Modern databases and its challenges (SQL ,NoSQL, NewSQL)Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Mohamed Galal
 
Artigo no sql x relational
Artigo no sql x relationalArtigo no sql x relational
Artigo no sql x relational
Adenilson Lima Diniz
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
Laxmi Pandya
 
nosql.pptx
nosql.pptxnosql.pptx
nosql.pptx
Prakash Zodge
 
RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.
Girish. N. Raghavan
 
Brief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehBrief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas mosleh
Fas (Feisal) Mosleh
 
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
IJCERT JOURNAL
 
Oracle Intro.ppt
Oracle Intro.pptOracle Intro.ppt
Oracle Intro.ppt
DevilPurkhasiya
 
Bank mangement system
Bank mangement systemBank mangement system
Bank mangement system
FaisalGhffar
 

Similar to Introduction to Oracle Database (20)

A Survey And Comparison Of Relational And Non-Relational Database
A Survey And Comparison Of Relational And Non-Relational DatabaseA Survey And Comparison Of Relational And Non-Relational Database
A Survey And Comparison Of Relational And Non-Relational Database
 
Bt0066 database management system1
Bt0066 database management system1Bt0066 database management system1
Bt0066 database management system1
 
Handy annotations-within-oracle-10g
Handy annotations-within-oracle-10gHandy annotations-within-oracle-10g
Handy annotations-within-oracle-10g
 
ORACLE Architechture.ppt
ORACLE Architechture.pptORACLE Architechture.ppt
ORACLE Architechture.ppt
 
Database Performance Management in Cloud
Database Performance Management in CloudDatabase Performance Management in Cloud
Database Performance Management in Cloud
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
 
Sql vs no sql
Sql vs no sqlSql vs no sql
Sql vs no sql
 
Sql
SqlSql
Sql
 
Rise of NewSQL
Rise of NewSQLRise of NewSQL
Rise of NewSQL
 
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Modern databases and its challenges (SQL ,NoSQL, NewSQL)Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
 
Artigo no sql x relational
Artigo no sql x relationalArtigo no sql x relational
Artigo no sql x relational
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
 
nosql.pptx
nosql.pptxnosql.pptx
nosql.pptx
 
RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.
 
Brief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehBrief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas mosleh
 
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
 
Oracle Intro.ppt
Oracle Intro.pptOracle Intro.ppt
Oracle Intro.ppt
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
Bank mangement system
Bank mangement systemBank mangement system
Bank mangement system
 

Recently uploaded

PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 

Recently uploaded (20)

PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 

Introduction to Oracle Database

  • 2. ORACLE HISTORY Larry Ellison and his two friends and former co-workers, Bob Miner and Ed Oates, started a consultancy called Software Development Laboratories (SDL) in 1977. SDL developed the original version of the Oracle software. Developer Usage Oracle Database Architecture. An Oracle database is a collection of data treated as a unit. The purpose of a database is to store and retrieve related information. A database server is the key to solving the problems of information management. The i in oracle 8i and 9i stands for INTERNET and the g in 10g and 11g stands for GRID, because from 10g onwards oracle supports grid architecture. Meaning of i & g in Oracle databases Oracle released Oracle Database 12c into general availability July 1, 2013. According to Oracle, this is "the first database designed for the cloud.” Meaning of Oracle 12c
  • 3. ORACLE HISTORY ī‚ĸ 1979 Oracle Release 2 ī‚ĸ 1986 client/server relational database ī‚ĸ 1989 Oracle 6 ī‚ĸ 1997 Oracle 8 (object relational) ī‚ĸ 1999 Oracle 8i (Java Virtual Machine) ī‚ĸ 2000 Oracle Application Server ī‚ĸ 2001 Oracle 9i database server
  • 4. The major Oracle versions, with their latest patch-sets are: Oracle 7: ... - 7.3.4.5 Oracle 8: 8.0.3 - 8.0.6 Oracle 8i: 8.1.5.0 - 8.1.7.4 Oracle 9i (Release 1): 9.0.1.0 - 9.0.1.4 Oracle 9i (Release 2): 9.2.0.1 - 9.2.0.8 Oracle 10g (Release 1): 10.1.0.2 - 10.1.0.5 Oracle 10g (Release 2): 10.2.0.1 - 10.2.0.5 Oracle 11g (Release 1): 11.1.0.6 - 11.1.0.7 Oracle 11g (Release 2): 11.2.0.1 - 11.2.0.4 Oracle 12c (Release 1): 12.1.0.1 - 12.1.0.2.0 Note: If running on one of the above releases, it is recommended to always install the latest patch-set.
  • 5. OVERVIEW OF ORACLE GRID ARCHITECTURE Grid computing is a new IT architecture that produces more resilient and lower cost enterprise information systems. With grid computing, groups of independent, modular hardware and software components can be connected and rejoined on demand to meet the changing needs of businesses. Benefits of Grid Computing Compared to other models of computing, IT systems designed and implemented in the grid style deliver īƒŧhigher quality of service, īƒŧlower cost, and īƒŧgreater flexibility. īƒŧHigher quality of service results from having no single point of failure, īƒŧa robust security infrastructure, and īƒŧcentralized, policy-driven management. īƒŧLower costs derive from increasing the utilization of resources and dramatically reducing management and maintenance costs. īƒŧRather than dedicating a stack of software and hardware to a specific task, all resources are pooled and allocated on demand, thus eliminating under utilized capacity and redundant capabilities. Grid computing also enables the use of smaller individual hardware components, thus reducing the cost of each individual component and providing more flexibility to devote resources in accordance with changing needs.
  • 6. ORACLE FAMILY ī‚ĸ Personal Oracle- for single users. Used to develop systems ī‚ĸ Oracle Standard Edition- (Entry level Workgroup server) ī‚ĸ Oracle Enterprise edition- Extended functionality ī‚ĸ Oracle Lite- (Oracle mobile) single users using wireless devices.
  • 7. SOME DEVELOPER TOOLS ī‚ĸ Oracle Forms Developer ī‚ĸ Oracle Reports Developer ī‚ĸ Oracle Jdeveloper ī‚ĸ Oracle Designer
  • 10.
  • 11. DATABASE STRUCTURE ī‚ĸ Logical structure - maps the data to the Physical structure. ī‚ĸ Physical structure -part of the operating system’s file structure. ī‚ĸ Memory structure - where all the processing takes place.
  • 12. THE LOGICAL STRUCTURES ī‚ĸ control how the data must be stored in the database. ī‚ĸ five Logical structures: ī‚— tablespaces ī‚— segments ī‚— extents ī‚— data blocks ī‚— schema objects
  • 13. PHYSICAL STRUCTURES ī‚ĸ Parameter files ī‚ĸ Password files ī‚ĸ Datafiles ī‚ĸ Redo log files ī‚ĸ Control files
  • 14. TABLESPACES ī‚ĸ A database is divided into logical storage units called Tablespaces. ī‚ĸ logical construct for arranging different types of data ī‚ĸ An Oracle database must have at least a system tablespace. ī‚ĸ It is recommended to have different tablespaces for user and system data.
  • 15. SCHEMAS AND SCHEMA OBJECTS ī‚ĸ Collection of database objects ī‚— Tables ī‚— Views ī‚— Sequences ī‚— Indexes ī‚— Procedures ī‚— Functions ī‚— Packages ī‚— Triggers
  • 16. DATA BLOCKS ī‚ĸ The smallest unit of Input/Output used by Oracle database. ī‚ĸ The size of data block for any database is fixed at the time of creation of the database; ī‚ĸ Some values of the data block size are 2KB, 8KB, 16KB, and 32KB. ī‚ĸ Oracle recommends a size of 8KB
  • 17. EXTENTS ī‚ĸ The next level of data storage. ī‚ĸ One extent consists of a specific number of data blocks ī‚ĸ One or more extents in turn make up a segment. ī‚ĸ When the existing space in a segment is completely used, Oracle allocates a new extent for the segment.
  • 18. SEGMENT ī‚ĸ A segment consists of a set of extents ī‚ĸ Each table’s data is stored in its own single segment. ī‚ĸ Each index’s data is stored in a single segment. ī‚ĸ More extents are automatically allocated by Oracle to a segment if its existing extents become full. ī‚ĸ The different types of segments are the data segments, index segments,rollback segments, and temporary segments.
  • 19. PHYSICAL DATABASE STRUCTURE ī‚ĸ Password file - which contain the password information for all users. ī‚ĸ Parameter file - which contains all the important information necessary to start a database. ī‚ĸ Datafiles - which contain the application data being stored, as well as any data necessary to store user-IDs, passwords, and privileges. ī‚ĸ Redo log files - which store all the transactions made to the database. These files are also called transaction log files. ī‚ĸ Control files - which store information specifying the structure of the database,such as the name and time of creation of the database and the name and location of the datafiles.
  • 20. SECURITY MECHANISMS ī‚ĸ Database users and schemas ī‚ĸ Privileges ī‚ĸ Roles ī‚ĸ Storage settings and quotas ī‚ĸ Resource limits ī‚ĸ Auditing
  • 21. DATA ACCESS: SQL ī‚ĸ Data definition language (DDL) statements ī‚ĸ Data manipulation language (DML) statements ī‚ĸ Transaction control statements ī‚ĸ Session control statements ī‚ĸ System control statements ī‚ĸ Embedded SQL statements
  • 22. TRANSACTIONS ī‚ĸ A transaction is a logical unit of work that comprises one or more SQL statement executed by a single user. According to the ANSI/ISO SQL standard, with which Oracle is compatible, a transaction begins with the user’s first executable SQL statement. A transaction ends when it is explicitly committed or rolled back.
  • 24. DATA ACCESS: SQL Session Control Statements These statements let a user control the properties of the current session, including enabling and disabling roles and changing language settings. The two session control statements are ALTER SESSION and SET ROLE. System Control Statements These statements change the properties of the Oracle database instance. The only system control statement is ALTER SYSTEM. It lets users change settings, such as the minimum number of shared servers, kill a session, and perform other tasks. Embedded SQL Statements These statements incorporate DDL, DML, and transaction control statements in a procedural language program, such as those used with the Oracle precompilers. Examples include OPEN, CLOSE, FETCH, and EXECUTE
  • 25. Overview of Data types Each column value and constant in a SQL statement has a data type, which is associated with a specific storage format, constraints, and a valid range of values. When you create a table, you must specify a datatype for each of its columns. Oracle provides the following built-in data types: īąCharacter datatypes īąNumeric datatypes īąDATE datatype īąLOB datatypes īąRAW and LONG RAW datatypes
  • 26. Relational Model Concepts īŦ A Relation is a mathematical concept based on the ideas of sets īŦ The model was first proposed by Dr. E.F. Codd of IBM Research in 1970 in the following paper: – "A Relational Model for Large Shared Data Banks," Communications of the ACM (Association for Computing machinery), June 1970 īŦ The above paper caused a major revolution in the field of database management
  • 27. FUNCTIONS OF A DBMS ī‚ĸ Data definition: SQL lets a user define the structure and organization of the stored data and relationships among the stored data items. ī‚ĸ Data retrieval: SQL allows a user or an application program to retrieve stored data from the database and use it. ī‚ĸ Data manipulation: SQL allows a user or an application program to update the database by adding new data, removing old data, and modifying previously stored data. ī‚ĸ Access control: SQL can be used to restrict a user’s ability to retrieve, add, and modify data, protecting stored data against unauthorized access. ī‚ĸ Data sharing: SQL is used to coordinate data sharing by concurrent users, ensuring that they do not interfere with one another. ī‚ĸ Data integrity: SQL defines integrity constraints in the database, protecting it from corruption due to inconsistent updates or system failures. ī‚ĸ SQL is thus a comprehensive language for controlling and interacting with a database management system.
  • 28. Informal Definitions īŦ Informally, a relation looks like a table of values. īŦ A relation typically contains a set of rows. īŦ The data elements in each row represent certain facts that correspond to a real-world entity or relationship – In the formal model, rows are called tuples īŦ Each column has a column header that gives an indication of the meaning of the data items in that column – In the formal model, the column header is called an attribute name (or just attribute)
  • 29. Example of a Relation
  • 30. Relational Integrity Constraints īŦ Constraints are conditions that must hold on all valid relation states. īŦ There are three main types of constraints in the relational model: – Key constraints – Entity integrity constraints – Referential integrity constraints īŦ Another implicit constraint is the domain constraint – Every value in a tuple must be from the domain of its attribute (or it could be null, if allowed for that attribute)
  • 31. STRUCTURED QUERY LANGUAGE ī‚ĸ SQL (Structured Query Language) is a database sub-language for querying and modifying relational databases. ī‚ĸ It was developed by IBM Research in the mid 70's and standardized by ANSI in 1986. ī‚ĸ Relational Model defines two root languages for accessing a relational database -- Relational Algebra and Relational Calculus.
  • 33. PRACTICAL IMPLEMENTATION OF SQL COMMANDS AND ITS VARIOUS TYPES WILL BE PERFORMED IN LABS