An Investigation of Oracle and SQL Server with respect to Integrity, and SQL Language standards Presented by: Paul Tarwireyi Supervisor: John Ebden.

Slides:



Advertisements
Similar presentations
Basic SQL Introduction Presented by: Madhuri Bhogadi.
Advertisements

Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
By RUPESH KUMAR.  Database? Types? Abstraction?  Database Models?  Database Integrity?  ACID?  RDBMS?  Normalization?  Data Warehouse?  Database.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 4-1 David M. Kroenke Database Processing Chapter 2 Structured Query Language.
SQL components In Oracle. SQL in Oracle SQL is made up of 4 components: –DDL Data Definition Language CREATE, ALTER, DROP, TRUNCATE. Creates / Alters.
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
The Relational Model Lecture 3 Book Chapter 3 Relational Data Model Relational Query Language (DDL + DML) Integrity Constraints (IC) From ER to Relational.
Fundamentals, Design, and Implementation, 9/e Chapter 7 Using SQL in Applications.
DBMS1 Database Management System (DBMS) Introductory Concepts Week-1.
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Module 9: Managing Schema Objects. Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing.
Database Management System Lecture 2 Introduction to Database management.
Chapter 4: Organizing and Manipulating the Data in Databases
Introduction to DBMS and SQL Introduction to DBMS and SQL GUIDED BY : MR. YOGESH SAROJ (PGT-CS) MR. YOGESH SAROJ (PGT-CS) Presented By : JAYA XII –COM.
Database Lecture # 1 By Ubaid Ullah.
Chapter 9 SQL and RDBMS Part C. SQL Copyright 2005 Radian Publishing Co.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 7-1 David M. Kroenke’s Chapter Seven: SQL for Database Construction and.
Module Title? DBMS Introduction to Database Management System.
The Relational Model. Review Why use a DBMS? OS provides RAM and disk.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
An Investigation of Oracle and SQL Server with respect to Integrity, and SQL Language standards Presented by: Paul Tarwireyi Supervisor: John Ebden Date:
RDB/1 An introduction to RDBMS Objectives –To learn about the history and future direction of the SQL standard –To get an overall appreciation of a modern.
Database Technical Session By: Prof. Adarsh Patel.
I Copyright © Oracle Corporation, All rights reserved. Introduction.
Introduction to SEQUEL. What is SEQUEL? Acronym for Structural English Query Language Acronym for Structural English Query Language Standard language.
1 Copyright © 2004, Oracle. All rights reserved. Introduction.
FEN  Data Definition: CREATE TABLE, ALTER TABLE  Data Manipulation: INSERT, UPDATE, DELETE  Queries: SELECT SQL: Structured Query Language.
“INTRODUCTION TO DATABASE AND SQL”. Outlines 2  Introduction To Database  Database Concepts  Database Properties  What is Database Management System.
Tutorial 6 SQL Muhammad Sulayman
Quick review of SQL And conversion to Oracle SQL.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Database Design Methodology. Lesson 1: Introduction to Databases.
MySQL Database Management Systems Universitas Muhammadiyah Surakarta Yogiek Indra Kurniawan.
Database Systems DBMS Environment Data Abstraction.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
The Relational Model Content based on Chapter 3 Database Management Systems, (Third Edition), by Raghu Ramakrishnan and Johannes Gehrke. McGraw Hill, 2003.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
Chapter 5 : Integrity And Security  Domain Constraints  Referential Integrity  Security  Triggers  Authorization  Authorization in SQL  Views 
SQL.. AN OVERVIEW lecture3 1. Overview of SQL 2  Query: allow questions to be asked of the data and display only the information required. It can include.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
Chapter 3: Relational Databases
SQL Introduction to database and SQL. Chapter 1: Databases and Database Users 6 Introduction to Databases Databases touch all aspects of our lives. Examples:
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
SQL Basics Review Reviewing what we’ve learned so far…….
Chapter Seven: SQL for Database Construction and Application Processing.
Fundamental of Database Systems
“Introduction To Database and SQL”
PGT(CS) ,KV JHAGRAKHAND
The Basics of Data Manipulation
Introduction To Database Systems
SQL 101.
“Introduction To Database and SQL”
DATABASE MANAGEMENT SYSTEM
Chapter 2 Database Environment Pearson Education © 2009.
Database.
The Relational Model Relational Data Model
The Basics of Data Manipulation
SQL Fundamentals in Three Hours
Data Model.
SQL .. An overview lecture3.
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Lecuter-1.
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

An Investigation of Oracle and SQL Server with respect to Integrity, and SQL Language standards Presented by: Paul Tarwireyi Supervisor: John Ebden

Overview 1. Motivation 2. Problem Statement 8. Possible Extensions 5. Plan of action 3. SQL Language Standards 9. Questions 6. Deliverables / Expected results 7. Timeline 4. Integrity

Motivation Long standing debate between DBAs on Oracle and SQL Server Critical to choose the right DBMS from the start The criteria to be met to fulfil the needs of the organisation should be clarified There are many criteria and benchmarks to aid the choice of a DBMS For example platform support, ease of use, recoverability etc

Problem Statement In this project I will carry out a comparative investigation and evaluation of Oracle 9i - ( ) and Ms SQL Server ( ) With respect to Integrity and SQL Language standards (SQL: 2003) Both installed on Windows Server 2003

SQL Language Standards Specify the syntax and semantics of SQL language facilities for defining and accessing SQL databases. e.g. Schema definition Data manipulation Transaction management These standards were setup to protect customers from vendors making overly aggressive marketing strategies

SQL Language Standards (cont) There is an international committee working on the SQL standards (ISO/IEC JTC 1/SC 32/WG 3) as well as an American committee (ANSI TC NCITS H2) SQL-92 SQL: 1999 the previous standard: Core features Non-core features. SQL: 2003the current standard

Conformance to Standards Oracle, IBM and Microsoft make formal and clever statements about their conformance to the standards. For example: "The Core SQL: 1999 features that Oracle fully supports are listed in Table B-1..." -- Oracle Corporation, Oracle9i SQL Reference

Conformance (cont) "The Microsoft SQL Server 2000 Transact-SQL version complies with the Entry level of the SQL-92 standard..." -- Microsoft Corporation, SQL Server 2000 Books Online (Updated)

Conformance testing models The “Underwriters Laboratory (UL)” model – vendors pay independent organisation  Liability insurance companies demand it,  Consumers buy only tested products,  Wholesalers will buy only tested products. But that is no longer happening

Conformance testing models (cont) The “Consumers Union (CU)” model- individual organisation is funded by consumers They will in turn use these results to make informed buying decisions.

Integrity The quality, accuracy, consistency or completeness of the data stored in a database. In terms of GIGO integrity is all about keeping the Garbage out of the system There are four main types of data integrity:

Integrity (cont) Entity integrity Domain integrity Referential Integrity Synchronises relationships between tables  UPDATE threat: changing PK or FK  INSERT threat: inserting in child table (dangling tuples)  DELETE threat: deleting from parent table User Defined integrity Specific business rules

Implementing data Integrity Declarative data integrity Enforces integrity through constraints (data types) Limitations on columns e.g. PK, FK, NOT NULL etc Procedural data integrity Enforces integrity through Triggers Stored procedures.

Plan of action Carry out a literature search: mainly to obtain background knowledge and understanding of databases. Get to know SQL Server Creating and manipulating databases Get to know Oracle Creating and manipulating databases

Plan of action (cont) Carry out experiments to test Integrity Using scripts DML INSERT, UPDATE, DELETE, and SELECT DDL CREATE, ALTER, and DROP DCL GRANT and REVOKE Transaction Control ROLLBACK and COMMIT Investigate the language structures for conformity with SQL:2003 Are the commands written according to specifications.

Expected Results To produce a report detailing weaknesses and strengths in SQL Server and Oracle database systems, making recommendations about the optimal use of these products for different types of users.

Timeline Reading Literature and tutorialsFirst term Knowing Oracle and Ms SQL ServerFirst and second term Investigating them for integrity problems Second and third term Literature SurveyEnd of second term Investigating them for conformity to SQL:2003 Third term Prepare project PosterEnd of third term What (if anything) can be done to fix the problems Fourth term Final write upFourth term

Possible extensions Developing software which will test DBMSs for integrity. Evaluating the recoverability, backup, maintainability, security and so on. Evaluating the latest versions: SQL Server 2005 (Yukon) and Oracle 10g Performing similar tests with open source databases

Questions