Free Essay

Notes on Rdbms

In:

Submitted By Shloka
Words 4443
Pages 18
Relational Database Management Systems

TVSN Murthy Assistant Professor – DFT NIFT Hyderabad

Disclaimer: These slides are just for the purpose of easy reading and are not comprehensive in nature. Thus the slides have to be read together with the class lectures, reading material, and statutes dealing with the subject

RDBMS/Slide 1

Introduction
Flat files - 1960s - 1980s Hierarchical – 1970s - 1990s Network – 1970s - 1990s Relational – 1980s – present Object-oriented – 1990s – present Object-relational – 1990s – present Data warehousing – 1980s – present Web-enabled – 1990s - present

RDBMS/Slide 2

1

Introduction

Data Models Classification
Data models can be classified as: 1. 2. 3. File-based systems Traditional Data Models Semantic Data Models

File-based Systems: Entities or objects of interest are represented by records that are stored together in files. Relationships between objects are represented by using directories of various kinds.

RDBMS/Slide 3

Introduction

Data Models Classification
Traditional Data Models: Traditional data models are the Hierarchical, Network and Relational Models. Hierarchical Model:- Evolved from the file based system Network Model:- Is a superset of the Hierarchical model. Relational Model:- Is based on the mathematical concept of relation. Semantic Data Models: This class of data models was influenced by the semantic networks developed by artificial intelligence researchers. Semantic networks were developed to organize and represent general knowledge. These models are able to express greater interdependencies among entities.

RDBMS/Slide 4

2

Introduction
Common characteristics required for data models: A data model must show some degree of conceptual simplicity without compromising the semantic completeness. A data model must represent the real world as closely as possible. The representation of the real-world transformations (behavior) must be in compliance with the consistency and integrity characteristics of any data model.

RDBMS/Slide 5

Introduction
An organization must have accurate and reliable data for effective decision making. To this end organization maintains records on the various facets of its operations. These models capture the essential properties of the objects and record relationships among them. Such related data is called a database.

A database system is an integrated collection of related files, along with details of the interpretation of the data contained therein.

A database management system is a software system that allows access to data contained in a database.

RDBMS/Slide 6

3

Introduction
Three Level Architecture The architecture is divided into three levels: the external level, the conceptual level and the internal level The view at each of these levels is described by a scheme. A scheme is an outline or a plan that describes the records and relationships existing in the view. The word scheme, which means a systematic plan for attaining some goal is used interchangeably in the database literature with the word schema.

RDBMS/Slide 7

Three levels of architecture of a DBMS

External Level

VIEW A

VIEW B

VIEW C

Mapping supplied by DBMS

Mapping supplied by DBMS

Conceptual Level

CONCEPTUAL VIEW

Mapping supplied by DBMS/OS

Mapping supplied by DBMS/OS

Internal Level

INTERNAL VIEW

RDBMS/Slide 8

4

Three Level Architecture
External View

External view is at the highest level of abstraction where only those portions of the database of concern to a user or application program are included.

Each view is described by means of scheme called an external schema.

Schema consists of the definition of the logical records and the relationships in the external view.

RDBMS/Slide 9

Three Level Architecture
Conceptual View or Global View At this level of database abstraction all the database entries and the relationships among them are included. One conceptual view represents entire database.

It is defined by the conceptual schema.

Schema describes all the records and relationships included in the conceptual view

There is only one conceptual schema per database.

RDBMS/Slide 10

5

Three Level Architecture
Internal View Internal view is at the lowest level of abstraction, closet to the physical storage method used. It indicates how the data will be stored and describes the data structures and access methods View is expressed by the internal schema. Schema contains the definition of stored record, the method of representing the data fields, and access aids used.

RDBMS/Slide 11

Data Independence
Data Independence Three levels of abstraction, along with the mappings from internal to conceptual and from conceptual to external, provide two distinct levels of data independence: Logical Data Independence Physical Data Independence

RDBMS/Slide 12

6

Data Independence
Logical Data Independence: It indicates that the conceptual schema can be changed without affecting the existing external schemas. The change would be absorbed by the mapping between the external and conceptual levels. Logical data independence also insulates application programs from operations such as combining two records into one or splitting an existing record into two or more records. Is achieved by providing the external level or user view of the database.

RDBMS/Slide 13

Data Independence
Physical Data Independence It indicates that the physical storage structures or devices used for storing the data could be changed without necessitating a change in the conceptual view or any of the external views. The changed would be absorbed by the mapping between the conceptual and internal levels. It is achieved by the presence of the internal level of the database and the mapping or transformation from the conceptual level of the database to the internal level.

RDBMS/Slide 14

7

Database Users
DBMS Users The users of the database system can be classified in the following groups depending on their degree of expertise or mode of their interactions with the DBMS Naïve Users Online Users Application Programmers Database Administrator

RDBMS/Slide 15

Database Users
Naïve User User who need not be aware of the presence of the database system or any other system supporting their usage are considered naïve users. User of the ATM falls in this category

RDBMS/Slide 16

8

Database Users
Online Users These are users who may communicate with the database directly via online terminal or indirectly via a user interface and application program. These users are aware of the presence of the database system and may have acquired a certain amount of expertise in the limited interaction they are permitted with the database through the intermediary of the application program. Online users can also be naïve users requiring additional help, such as menus.

RDBMS/Slide 17

Database Users
Application Programmers Professional programmers who are responsible for developing application program or user interfaces utilized by the naïve and online users fall into this category. The application programs could be written in a general purpose programming language such as C or VB and include the commands required to manipulate the database.

RDBMS/Slide 18

9

Database Users
Database Administrator Centralized control of the database is exerted by a person under the supervision of a high level administrator. This person or group is referred to as the database administrator (DBA). The DBA administers the three levels of the database and in consultation with the overall community sets up the definition of the global view or conceptual level of the database. DBA specifies the external view of the various users and applications and is responsible for the definition and implementation of the internal level including the storage structure and access methods to be used for the optimum performance of the DBMS.

RDBMS/Slide 19

Database Users
Database Administrator (Contd.,) DBA is responsible for granting permission to the users of the database and stores the profile of each user in the database. DBA is also responsible for defining the procedures to recover the database from failures due to human, natural, or hardware causes with minimal loss of data.

RDBMS/Slide 20

10

Data Models
Data Models
Can be classified into two categories: Object-based logical model – focuses on describing the data, the relationship among the data, and any constraints defined Record-based logical model – focuses on describing the data structure and the access techniques in the Database Management System

RDBMS/Slide 21

Data Models
Object-based Logical Model
There are various object-based models. The most widely used is the entityrelationship model (E/R model)

RDBMS/Slide 22

11

Data Models
The Entity-relationship Model
Introduced by Peter Chen Chen introduced not only the E/R model, but also a corresponding diagramming technique

It is one of the most widely accepted graphical data modeling tools.

It graphically represents data as entities and their relationships in a database structure.

It complements the relational data model concepts.

E-R models are normally represented in an entity relationship diagram (ERD).

RDBMS/Slide 23

Entity Relationship Model
Entities
Chen defined an entity as “a thing, which can be easily identified” An entity is any object, place, person, or activity about which data is recorded In the diagramming technique, entities are named and represented inside a box An entity type is a set of things that share common properties STUDENT, COURSE, and GRADE are examples of entity type An entity type is usually in uppercase

RDBMS/Slide 24

12

Entity Relationship Model
Entities (Contd.)
Types of Entities Dependent entity Is an entity whose existence depends on the existence of another entity and are also called weak entities Independent entity Is an entity which does not depend on any other entity for existence and are also called regular entities

RDBMS/Slide 25

Entity Relationship Model
Relationships
Chen defines a relationship as “an association among entities”. For example, the relationship between students and instructors represents the fact that an instructor teaches several students and a student is taught by several instructors. This relationship could be named TEACH. Relationships are depicted as a diamond with the name of the relationship type.

RDBMS/Slide 26

13

Entity Relationship Model
Relationships (Contd.)
A relationship type is an association of entity types (STUDENT-INSTRUCTOR). A relationship can associate an entity with itself. Multiple relationships can also exist between the same entities.

RDBMS/Slide 27

Entity Relationship Model
Just a Minute…
1. The following statement has been extracted from a case presented by a manufacturer regarding the maintenance of their data: “A supplier ships certain parts.” Identify the entities mentioned in this statement, and their relationship. Draw a diagram depicting the relationship.

Supplier

Ships

Parts

Entities Relationship
RDBMS/Slide 28

14

Types of Relationships
Types of Relationships
There are three types of relationships: One-to-One One-to-Many (or Many-to-One) Many-to-Many

RDBMS/Slide 29

Types of Relationships
One-to-One Relationship
Consider the example of a university. For one DEPARTMENT (like the department of social sciences) there can be only one department head. This is a one-to-one relationship.

RDBMS/Slide 30

15

Types of Relationships
Many-to-One Relationship
A STUDENT can MAJOR in only one course, but many STUDENTs would have registered for a given MAJOR course. This is a many-to-one relationship.

RDBMS/Slide 31

Types of Relationships
Many-to-Many Relationship
An employee might learn many job skills, and each job skill might be learned by many employees.

m

m

EMPLOYEE

LEARNS

SKILL

RDBMS/Slide 32

16

Types of Relationships
Just a Minute…
1. What do the following E/R diagrams represent?

RDBMS/Slide 33

Types of Relationships

Relationship Depiction: The ERD

RDBMS/Slide 34

17

Types of Relationships

Relationship Depiction: The Crow’s Foot

RDBMS/Slide 35

Data Base Models
Entity-Relationship Data Model
Advantages Exceptional conceptual simplicity Visual representation Effective communication tool Integrated with the relational database model Disadvantages Limited constraint representation Limited relationship representation No data manipulation language Loss of information content

RDBMS/Slide 36

18

Data Base Models
Just a Minute… (Contd.)
2. Consider the following statement of a manufacturing company: “A supplier ships certain parts. A particular part is not necessarily shipped by only one supplier. No supplier ships only a single part.” What type of relationship is this? Draw a diagram to depict the relationship.

RDBMS/Slide 37

Data Base Models
Attributes
Attributes are a property of a given entity Attributes are depicted as ellipses, labeled with the name of the property

RDBMS/Slide 38

19

Data Base Models
Just a Minute…
1. A manufacturer needs to maintain the following details about the supplier: a. b. c. d. Name Address Credit Status Assigned code number

Draw a diagram to show this information.

RDBMS/Slide 39

Data Base Models
Just a Minute…
1. There are two types of suppliers. One type of supplier allows credit, while the other type insists on payment in cash before delivery. The manufacturer wishes to maintain separate information on these two types of suppliers. For the credit supplier, “credit period” and “credit limit” have to be recorded. For the cash supplier, “date of payment” has to be stored. Represent this diagrammatically.

RDBMS/Slide 40

20

Data Base Models
Record-based Logical Model
The three types of record-based models are: Hierarchical model In a hierarchical model, data is represented in the form of a tree Network model A network model is similar to a hierarchical model in the way that data and the relationships among them are represented in the form of records and links Relational model In the relational model, the database is structured in fixed-format records of several types

RDBMS/Slide 41

Data Base Models
Hierarchical Database Model
Basic Structure Collection of records logically organized to conform to the upsidedown tree (hierarchical) structure. The top layer is perceived as the parent of the segment directly beneath it. The segments below other segments are the children of the segment above them. A tree structure is represented as a hierarchical path on the computer’s storage media.

RDBMS/Slide 42

21

Data Base Models

A Hierarchical Structure

RDBMS/Slide 43

Data Base Models
Hierarchical Database Model
Advantages Conceptual simplicity Database security Data independence Database integrity Efficiency dealing with a large database Disadvantages Complex implementation Difficult to manage Lacks structural independence Applications programming and use complexity Implementation limitations Lack of standards
RDBMS/Slide 44

22

Data Base Models
Network Database Model The popularity of the network data model coincided with the popularity of the hierarchical data model. Some data were more naturally modeled with more than one parent per child. The network model permitted the modeling of many-to-many relationships in data.
Basic Structure Set -- A relationship is called a set. Each set is composed of at least two record types: an owner (parent) record and a member (child) record. A member record type can have that role in more than one set, hence the multiparent concept is supported. An owner record type can also be a member or owner in another set.

RDBMS/Slide 45

Data Base Models

RDBMS/Slide 46

23

Data Base Models
Network Database Model
Advantages Conceptual simplicity Handles more relationship types Data access flexibility Promotes database integrity Data independence Conformance to standards Disadvantages System complexity Lack of structural independence

RDBMS/Slide 47

Data Base Models
Relational Model
Dr.E. F. Codd first described the relational model in 1970 Relational model is an attempt to simplify the database structure It represents all data in the database as simple tables in the row-column format

RDBMS/Slide 48

24

Data Base Models
RDBMS
RDBMS can be defined as a database management system where all data visible to the user is organized strictly as tables of data values and where all database operations work on these tables

RDBMS/Slide 49

Data Base Models
Relational Data Structure
The organizing principle in a relational database is the table, a tabular arrangement of data values A table is called a relation The row (or record) in the table is called a tuple The column (or field) is called an attribute The number of tuples is called the cardinality, and the number of attributes is called the degree of the table Rows are unordered and each row must have some columns or a combination of columns that uniquely identifies each row, called the primary key of the table

RDBMS/Slide 50

25

Data Base Models
Relational Data Structure (Contd.)
A domain is a pool of values from which one or more attributes (columns) draw their actual values

RDBMS/Slide 51

Data Base Models
Representing Missing Information
Missing or unknown information is represented as NULL in a relational system NULL is not the same as space or zero

RDBMS/Slide 52

26

Data Base Models
Representing Relationships in an RDBMS
At any given time, no two rows of the table contain the same values in a column or column combination. This column (or columns) is called the primary key of the table. A column in one table whose value matches the primary key in some other table is called a foreign key Together, a primary key and a foreign key create a parent-child relationship between the tables that connects them

RDBMS/Slide 53

Data Base Models
Relational Database Model
Advantages Structural independence Improved conceptual simplicity Easier database design, implementation, management, and use Ad hoc query capability (SQL) Powerful database management system Disadvantages Substantial hardware and system software overhead Possibility of poor design and implementation Potential “islands of information” problems

RDBMS/Slide 54

27

Data Base Models
Just a Minute… Self Study Collect the information on Serial and Sequential files a. How are they created b. How records are maintained and manipulated c. Advantages and Disadvantages if any

RDBMS/Slide 55

Data Base Models
Subtypes and Supertypes
Super type: Is connected to the relationship with a line containing a crossbar. Is described by attributes that belong to all subtypes. The subtype is described by the attributes that are unique to it. Subtype: Is a subset of another entity. It is always dependent on the super type for its existence. Is connected to the super type by an unnamed relationship.

RDBMS/Slide 56

28

Data Base Models
Relational Operators
The relational model is based on the principle of relational algebra It is a collection of operators operating on relations. Each operator takes one or two relations as its input and produces a new relation as its output. Relational Operators are of the following types: RESTRICT: Extracts specified tuples or rows from a given relation, based on a condition. PROJECT: Extracts specified attributes or columns from a given relation.

RDBMS/Slide 57

Data Base Models
Relational Operators (Contd.,)
ID 101 103 104 107 110 112 NAME Jones Smith James Evan Drew Smith Projection NAME Jones Smith James Evan Drew Smith Projection of P over attribute “Name”

Relation P

RDBMS/Slide 58

29

Data Base Models
Relational Operators (Contd.)
PRODUCT: Builds a relation from two specified relations. It consists of all possible combinations of tuples, one from each of the two relations. UNION: Builds a relation from tuples appearing in either or both of the specified relations. To be union compatible, the two tables should have the same types of attributes. INTERSECT: Builds a relation consisting of tuples that appear in both relations. DIFFERENCE: Builds a relation of tuples appearing in the first but not the second of two specified relations.

Next

RDBMS/Slide 59

Data Base Models
Relational Operators (Contd.,)

ID ID 101 103 104 106 107 NAME Jones Smith James Byron Evan Software Packages J1 J2 Relation Q Cartesian Product 101 101 103 103 104 104 106 106 107 107

NAME Jones Jones Smith Smith James James Byron Byron Evan Evan

S J1 J2 J1 J2 J1 J2 J1 J2 J1 J2

Relation P

Relation P x Q

Back

RDBMS/Slide 60

30

Data Base Models
Relational Operators (Contd.,)
ID 101 Union 103 104 106 107 Relation Q 110 112 NAME Jones Smith James Byron Evan Drew Smith

ID 101 103 104 107 110 112

NAME Jones Smith James Evan Drew Smith

ID 103 104 106 110

NAME Smith James Byron Drew

Relation P

Relation P U Q

Back

RDBMS/Slide 61

Data Base Models
Relational Operators (Contd.,)

ID 101 103 104 107 110 112

NAME Jones Smith James Evan Drew Smith

ID 103 104 106 110

NAME Smith James Byron Drew Intersection ID 103 104 110 NAME Smith James Drew Q

Relation P Relation Q

Relation P

Back

RDBMS/Slide 62

31

Data Base Models
Relational Operators (Contd.,)

ID 101 103 104 107 110 112

NAME Jones Smith James Evan Drew Smith

ID 103 104 106 110

NAME Smith James Byron Drew Difference ID 101 107 112 NAME Jones Evan Smith

Relation P - Q Relation Q

Relation P

Back

RDBMS/Slide 63

Data Base Models
Relational Operators (Contd.)
JOIN: Join operator as the name suggests, allows the combining of two relations to forma single new relation. The tuples from the operand relations that participate in the operation and contribute to the result are related. DIVIDE: The Divide operator takes two relations and builds another relation consisting of values of an attribute of one relation that match all the values in the other relation.

RDBMS/Slide 64

32

Data Base Models
Relational Operators (Contd.)

ID 101 103 104 107

NAME Jones Smith James Evan

ID 101 103 104 107

SALARY 67 55 75 80 Join

ID 101 103 104 107

NAME Jones Smith James Evan

SALARY 67 55 75 80

Relation P

Relation Q

RDBMS/Slide 65

Data Base Models
Applications of an RDBMS
Some typical applications of an RDBMS are: Airline and railway reservations Banking applications Manufacturing industry Order processing Hospital management systems Library management systems Hotel industry

RDBMS/Slide 66

33

Data Base Models
Applications of an RDBMS (Contd.)
Several RDBMS products are available today. Some popular products are: Sybase Oracle Microsoft SQL Server Ingress DB2

RDBMS/Slide 67

Summary
In this lesson, you learned that: Data models can be classified as: Object-based models Record-based models In the entity-relationship diagramming technique: Entities are represented as rectangles Relationships are represented as diamonds Attributes are represented as ellipses Relationships, whether many-to-many, one-to-many, or one-to-one, are represented symbolically

RDBMS/Slide 68

34

Summary
(Contd.,) Weak entities are represented in double-lined boxes Subtypes are connected to the supertype by an unnamed relationship, marked with a crossbar on top In the relational model, data is represented in tables (relations) of rows (tuples) and columns (attributes) The number of tuples is called the cardinality of the relation, and the number of attributes is called the degree of the relation An attribute (or set of attributes) that is unique in every tuple is called the primary key

RDBMS/Slide 69

Summary
(Contd.,) Unknown or missing information is represented by a NULL in a table The foreign key is a column in one table that matches the primary key of another table The relational model is based on the principle of relational algebra The eight operators that operate on relations are restrict, project, product, union, intersect, difference, join, and divide

RDBMS/Slide 70

35

Relational Model

Keys are special fields that serve two main purposes: Primary keys are unique identifiers of the relation in question. Examples include employee numbers, social security numbers, etc. This is how we can guarantee that all rows are unique Foreign keys are identifiers that enable a dependent relation (on the many side of a relationship) to refer to its parent relation (on the one side of the relationship) Keys can be simple (a single field) or composite (more than one field)

RDBMS/Slide 71

Relational Model

Primary Key Foreign Key
(implements 1:N relationship between customer and order)

Combined, these are a composite primary key (uniquely identifies the order line)…individually they are foreign keys (implement M:N relationship between order and product)

RDBMS/Slide 72

36

Relational Model

Integrity Constraints (Rules) Integrity Rule 1:
ID 101 103 104 107 110 112 NAME Jones Smith James Evan Drew Smith ID 101 103 104 107 110 112 NAME Jones Smith James Evan Drew Smith Phone 123456 @ 635214 @ 568742 214796

A null value for an attribute is a value that is either not known at the time or doest not apply to a given instance of the object. It may also be possible that a particular tuple does not have a value for an attribute.

RDBMS/Slide 73

Relational Model

Integrity Rule 1 (Contd.,): If any attribute of primary key were permitted to have null value, the key cannot be used for identification of tuples. This contradicts the requirements for a primary key. If null values were permitted then the two tuples are indistinguishable even though they may represent two different instances of entity type employee. Integrity Rule 1 specifies that instances of the entities are distinguishable and thus no prime attribute value may be null. This rule is also referred to as the Entity Rule.

RDBMS/Slide 74

37

Relational Model

Integrity Rule 2: Integrity rule 2 is concerned with foreign keys ie., with attributes of a relation having domains that are those of the primary key of another relation. A relation (R) may contain references to another relation (S). Relation R and S need not be distinct. Suppose the reference in R is via a set of attributes that forms a primary key of the relation S. This set of attributes in R is a foreign key. The referencing attribute(s) in the relation R can have null value(s); in this case, it is not referencing any tuple in the relation S. If the value is not null, it must exist as the primary attribute of a tuple of the relation S.

Integrity Rule 2 specifies that, Given two relations R and S, suppose R refers to the relation S via a set of attributes that forms the primary key of S and this set of attributes forms a foreign key in R. Then the value of the foreign key in a tuple in R must either be equal to the primary key of a tuple of S or be entirely null. This rule is also referred to as the Referential Integrity Rule.

RDBMS/Slide 75

Relational Model

Relational Calculus: Tuple and Domain calculus are collectively referred to as relational calculus. Relational Calculus is a query system wherein queries are expressed as variables and formulas on these variables. Such formulas the properties of the required result without specifying the method of evaluating it. Relational calculus which means calculating with relations, is based on predicate calculus which is calculating with predicates. Predicate calculus is a formal language used to symbolize logical arguments in mathematics. Formal logic the main subject matter is propositions from which we can build other propositions. In predicate calculus, propositions may be built not only out of other propositions but also out of elements that are not themselves propositions. Propositions specifying a property consist of an expression that means an individual object and another expression called the predicate, that stands for the property that the individual object possesses.

RDBMS/Slide 76

38

Similar Documents

Premium Essay

Database Unit 1 Lab 1

...store and retrieve data as requested by other software applications | workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users | Vary (Different Prices for different purposes) | Filemaker Pro | database engine with a GUI-based interface | ??? | $329.00 | Oracle | transfer any customer info from one location to any other in the world | larger organizations and small chain stores | ??? (Couldn’t find anything) | Mysql | database for use in web applications | Personal and commercial use | $2k-$10k/year | 5. “DBMS stands for database management system whereas RDBMS stands for relational database management system; these softwares are created to maintain and utilize large scale collection of data in an efficient manner.” http://www.differencebetween.info/difference-between-dbms-and-rdbms 6. 290 7. Peng J Wu 8. Footlocker: Employee ID, VIP ID, VIP Purchase $, Sku # Sold, Hookup %, … 9. Sean 10. Nouns | Major Topic | Hospital | Patient | Depression drug | Drug | 20 doctors | Depression level | 400 patients | Appetite | Prozac or new drug | Sleeping | Test supervisor | Activities | 18 months | Physical side effects | Twice a month | Blood pressure | Increased depression | Blood test |...

Words: 447 - Pages: 2

Free Essay

Nadda

...Review Guide Table of Contents OOPS ................................................................................................................................................................................................. 2 JAVA .................................................................................................................................................................................................. 3 C#....................................................................................................................................................................................................... 4 Database/SQL ................................................................................................................................................................................... 6 Web Development............................................................................................................................................................................ 7 SDLC................................................................................................................................................................................................... 9 UML ................................................................................................................................................................................................. 11 1 Review Guide OOPS Resources:  http://en.wikipedia...

Words: 2407 - Pages: 10

Premium Essay

Session Plan

...Introduce the students to Computer Networking and to the role of IT in Supply Chain Management and Enterprise Resource Planning. Teach students Basics and Advanced MS-Excel including applications. Expose students to Data, Databases and Data-warehousing. Introduce the concept of Decision Support Systems and Management Information Systems including some of its common applications. Contents: Introduction of I.T. and fundamentals Strategic Information Systems for competitive advantage. Porters five forces model, Value chain model Introduction to Computer Networks Transaction Processing, Functional applications, CRM and integration Concepts of Supply Chain Management and Enterprise Resource Planning Microsoft Excel RDBMS and Data warehousing, Decisions Support Systems Management Information Systems Term Project Objective: Objective of this course is to help student understand: * Role of IT in organizations and the value derived from IT * Leveraging IT for competitive advantage * Common IT applications in collaborative, global Business * Usage of MS Access and MS-Excel and its application * Importance of Decision Support Systems( DSS) in business * Managing global projects and systems Text Book: Laudon Kenneth and Laudon Jane, MIS-Managing The Digital...

Words: 498 - Pages: 2

Free Essay

Nosql Database

...Topic : Name : Course : Date : Word Count : Abstract NoSQL databases offer a noteworthy change to how venture applications are manufactured, testing to two-decade authority of social databases. The inquiry individuals face is whether NoSQL databases are a fitting decision, either for new extends or to acquaint with existing undertakings. Where they originated from, the nature of the information models they utilize, and the diverse way you need ought to consider utilizing them, why they won't make social databases old, and the essential outcome of bilingual ingenuity. Versatile Search consolidates the force of Apache Lucene (NoSQL since 2001) and the simple to utilize composition free web index that can serve full-content hunt appeal, key-esteem lookups, pattern free investigation demands. The key highlights of Elastic Search with live cases. The discussion won't be a thorough highlight presentation yet rather a review of what and how Elastic Search can accomplish for you. Table of Contents 1. Introduction 2. What is Nosql Database Systems? 3. Relational Database Systems 4. Comparison 5. Conclusions 6. REFERENCES 1. Introduction NoSQL stays for Not Only SQL in like manner declared as noseequel. NoSQL is used for securing epic measure of data made by various source, for instance, facebook(audio, highlight and consistently posts). NoSQL is a non-social database organization structure and speedy information recuperation...

Words: 6247 - Pages: 25

Free Essay

Provisioning Database Through Oem

...Revision History in next page. Table of Contents 1. Purpose and Scope 3 2. Pre-Install requirements 3 3. EM Deployment Entities that are available today 4 3.1. List of Deployment Procedures 4 3.2. List of Software Library Components 5 3.3. List of Database Templates 5 4. Steps to Provision Oracle Components 6 4.1. Provisioning a RAC Database. 6 4.2. Provisioning a Standalone Database. 17 4.3. Monitoring a submitted procedure. 28 5. Executing root.sh script post install 32 5.1. For CRS install 32 5.2. For RDBMS Install 33 6. Manual Tasks 33 7. Glossary 34 8. Appendix 34 9. References 34 10. Documentation History 35 a. Revision History 35 b. Contributors 35 c. Reviewers 35 Purpose and Scope This document provides complete steps for provisioning an Oracle CRS, RDBMS home and create a vanilla database through Oracle Enterprise Manager (OEM) Cloud control 12c. Pre-Install requirements a) Enterprise Manager Agent should be...

Words: 4373 - Pages: 18

Premium Essay

Cursors in Pl/Sql

...two types of SQL cursor: implicit or explicit cursor. The implicit cursor is used by Oracle server to test and parse the SQL statements and the explicit cursors are declared by the programmers. Using the implicit cursor, we can test the outcome of SQL statements in PL/SQL. For example, • SQL%ROWCOUNT, return the number of rows affected; • SQL%FOUND, a BOOLEAN attribute indicating whether the recent SQL statement matches to any row; • SQL%NOTFOUND, a BOOLEAN attribute indicating whether the recent SQL statement does not match to any row; • SQL%ISOPEN, a BOOLEAN attribute and always evaluated as FALSE immediately after the SQL statement is executed. To write the explicit cursor,  please refer to the following example. Note that a cursor definition can array a number of arguments. For example,         DECLARE CURSOR csr_ac (p_name VARCHAR2) IS SELECT empno, name, sal FROM employee WHERE name LIKE '%p_name%'; BEGIN FOR rec_ac IN csr_ac ('LE') LOOP    DBMS_OUTPUT.PUT_LINE(rec_ac.empno || ' ' ||rec_ac.name || ' '||v_sal);  END LOOP ; CLOSE csr_ac; END; / Another way of writing the above code, is to use the basic loop and the SQL%NOTFOUND cursor, as shown in the following. SQL> DECLARE 2 CURSOR csr_ac (p_name VARCHAR2) IS 3 SELECT empno, ename, sal 4 FROM emp 5 6 WHERE ename LIKE '%SMITH%'; 7 8 v_a emp.empno%TYPE; 9 v_b emp.ename%TYPE; 10 v_c emp.sal%TYPE; 11 12 BEGIN ...

Words: 2868 - Pages: 12

Premium Essay

"Enterprise Level Data Work Flows and Data Warehouse

...also thank our Institution and our faculty members without whom this project would have been a distant reality. We also extend our heartfelt thanks to our family and well wishers. I would like to take this occasion to specially thank University of Northern Virginia to provide us with excellent faculty and also in supporting us getting quality education remotely. Contents SL No Title Page no 1 Abstract 5 2 Introduction to Databases 6 3 OLTP and OLAP Systems 7 4 Difference between OLTP and OLAP 9 5 Data Modeling 13 6 Workflows in Enterprise level Data warehousing 18 7 Business Intelligence tools used in Data flow and Data Warehousing 21 8 Analysis in Data warehousing 24 9 Conclusion 28 10 Foot Note 30 11 References 31 ABSTRACT These days majority of the applications, may it be web applications or windows applications or mobile applications, are completely database dependent. Most of the application developments are becoming database driven environments, hence rendering databases as one of the most key elements in a software environment. This dependency on databases can attributed to the increasing number of data requirements from the...

Words: 6349 - Pages: 26

Premium Essay

Resume

...position where I can prove my worth to the Organization with my technical knowledge in a supportive environment. PROFESSIONAL EXPERIENCE |PERIOD |ORGANIZATION |DESIGNATION | |July 2007 – Till Date Technologies Limited |Senior Systems Engineer | SOFTWARE PROFICIENCY |Web Technologies  |HTML, XML | |Script |PERL Scripting,Java Scripts | |RDBMS/DBMS |Oracle 9i | |IDE’s |Eclipse, NetBeans | |Languages |C++, SQL, PL\SQL, Visual Basic and JAVA | |Operating System |Windows XP, Windows 95/98, & UNIX | |PLM/PPM Packages |Windchill/Planisware 5 | PROJECTS UNDERTAKEN ...

Words: 431 - Pages: 2

Premium Essay

Test

...Data Warehousing Methodologies Using a common set of attributes to determine which methodology to use in a particular data warehousing project. DATA INTEGRATION TECHNOLOGIES have experienced explosive growth in the last few years, and data warehousing has played a major role in the integration process. A data warehouse is a subjectoriented, integrated, time-variant, and nonvolatile collection of data that supports managerial decision making [4]. Data warehousing has been cited as the highest-priority post-millennium project of more than half of IT executives. A large number of data warehousing methodologies and tools are available to support the growing market. However, with so many methodologies to choose from, a major concern for many firms is which one to employ in a given data warehousing project. In this article, we review and compare several prominent data warehousing methodologies based on a common set of attributes. Online transaction processing (OLTP) systems are useful for addressing the operational data needs of a firm. However, they are not well suited for supporting decision-support queries or business questions that managers typically need to address. Such questions involve analytics including aggregation, drilldown, and slicing/dicing of data, which are best supported by online analytical processing (OLAP) systems. Data warehouses support OLAP applications by storing and maintaining data in multidimensional format. Data in an OLAP warehouse is extracted and loaded...

Words: 4067 - Pages: 17

Premium Essay

Db Testing

...8/26/2004 Beyond the GUI: What You Need to Know about Database Testing Presented by: Mary R.Sweeney Exceed Technical Training & Consultation Copyright Sammamish Software Services 2003. All rights reserved. 1 Today’s complex software systems access heterogeneous data from a variety of backend databases. The intricate mix of client-server and Web-enabled database applications are extremely difficult to test productively. Testing at the data access layer is the point at which your application communicates with the database. Tests at this level are vital to improve not only your overall test strategy, but also your product’s quality. In this presentation you’ll find out what you need to know to test the SQL database engine, stored procedures, and data views. Find out how to design effective automated tests that exercise the complete database layer of your applications. You’ll learn about the most common and vexing defects related to SQL databases and the best tools available to support your testing efforts. Copyright Sammamish Software Services 2003. All rights Reserved 1 8/26/2004 The Data Access Layer Testing at the data access layer is the point at which your application communicates with the database. ! In this presentation we’ll discuss why tests at this level are vital to improve not only your overall test strategy, but also your product’s quality ! Copyright Sammamish Software Services 2003. All rights reserved. 2 How to design effective automated...

Words: 5030 - Pages: 21

Premium Essay

Sqlite

...Background Editorial information provided by DB-Engines Name | SQLite | Description | Widely used in-process RDBMS | DB-Engines Ranking | Rank | 8 | Trend Chart | Score | 92.61 | Website | sqlite.org | Technical documentation | sqlite.org/docs.html | Developer | Dwayne Richard Hipp | Initial release | 2000 | License | Open Source | Implementation language | C | Server operating systems | server-less | Database model | Relational DBMS | Data scheme | Yes | Typing | Yes | Secondary indexes | Yes | SQL | Yes | APIs and other access methods | ADO.NET | | JDBC | | ODBC | Supported programming languages | Actionscript | | Ada | | Basic | | C | | C# | | C++ | | D | | Delphi | | Forth | | Fortran | | Haskell | | Java | | JavaScript | | Lisp | | Lua | | MatLab | | Objective-C | | OCaml | | Perl | | PHP | | PL/SQL | | Python | | R | | Ruby | | Scala | | Scheme | | Smalltalk | | Tcl | Server-side scripts | No | Triggers | Yes | Partitioning methods | none | Replication methods | none | MapReduce | No | Foreign keys | Yes | Transaction concepts | ACID | Concurrency | Yes | Durability | yes | User concepts | no | Company History D. Richard Hipp designed SQLite in the spring of 2000 while working for General Dynamics on contract with the United States Navy. Hipp was designing software used onboard guided missile destroyers, which were originally...

Words: 6910 - Pages: 28

Premium Essay

Descriptive

...Liberalised Exchange Rate Management System • LIC – Life Insurance Corporation of India • MCA – Ministry of Company affairs • MIS – Management Information System • MICR – Magnetic Ink Character Recognition • NABARD – National Bank for Agriculture and Rural Development • NBFC – Non Banking Finance Companies • NEFT – National Electronic Funds Transfer • NPA – Non Performing assets • NRE – Non Resident External account • NRI – Non Resident Indian • NSE – National Stock Exchange • OLTAS – Online tax accounting system • OMO – Open market operations • PACS – Primary Agricultural Credit Societies • PDO – Public Debt Office • PIN – Personal Identification Number • QIB – Qualified Institutional Buyers • RBI – Reserve Bank of India • RDBMS – Relational Database Management System • REC – Rural Electrification Corporation • RFC – Resident Foreign Currency • RIDF – Rural Infrastructure Development Fund • RRB – Regional Rural Bank • RTGS – Real Time Gross Settlement • RWA – Risk Weighted Assets • SBI – State Bank of India • SCB – Scheduled Commercial Bank • SDR – Special Drawing Rights • SEBI – Securities and Exchange Board of India • SFMS - Structured Financial Messaging Services • SHG – Self Help Group • SIDBI – Small Industries Development Bank of India • SIDC – State Industrial Development Corporation • SJSRY –Swarna Jayanthi Shahari Rozgar Yojana • SLR – Statutory Liquidity Ratio • SLRS – Scheme for Liberation and Rehabilitation of Scavangers • SMERA – SME...

Words: 511 - Pages: 3

Premium Essay

Bigdata Etl

...White Paper Big Data Analytics Extract, Transform, and Load Big Data with Apache Hadoop* ABSTRACT Over the last few years, organizations across public and private sectors have made a strategic decision to turn big data into competitive advantage. The challenge of extracting value from big data is similar in many ways to the age-old problem of distilling business intelligence from transactional data. At the heart of this challenge is the process used to extract data from multiple sources, transform it to fit your analytical needs, and load it into a data warehouse for subsequent analysis, a process known as “Extract, Transform & Load” (ETL). The nature of big data requires that the infrastructure for this process can scale cost-effectively. Apache Hadoop* has emerged as the de facto standard for managing big data. This whitepaper examines some of the platform hardware and software considerations in using Hadoop for ETL. –  e plan to publish other white papers that show how a platform based on Apache Hadoop can be extended to W support interactive queries and real-time predictive analytics. When complete, these white papers will be available at http://hadoop.intel.com. Abstract. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 The ETL Bottleneck in Big Data Analytics The ETL Bottleneck in Big Data Analytics. . . . . . . . . . . . . . . . . . . . . . 1 Big Data refers to the large amounts, at least terabytes, of poly-structured...

Words: 6174 - Pages: 25

Premium Essay

Mysql Handout

...MYSQL WORKBOOK INTRODUCTION MySQL is (as of March 2014) the world's second most widely used open-source relational database management system (RDBMS). It is named after co-founder Michael Widenius's daughter, My. The SQL phrase stands for Structured Query Language. The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation. MySQL is a popular choice of database for use in web applications, and is a central component of the widely used LAMP open source web application software stack (and other 'AMP' stacks). LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python." Free-software-open source projects that require a full-featured database management system often use MySQL. For proprietary use, several paid editions are available, and offer additional functionality. Applications which use MySQL databases include: TYPO3, MODx, Joomla, WordPress, phpBB, MyBB, Drupal and other software. MySQL is also used in many high-profile, large-scale websites, including Google (though not for searches), Facebook, Twitter, Flickr and YouTube. GETTING MYSQL My sql could be gotten using the following websites and installed as part of a web server. [pic] Fig 1.1 Installing wamp server from http://www.wampserver.com/en/ [pic] Fig...

Words: 1822 - Pages: 8

Premium Essay

Mr. 893723974

...CHAPTER 6 Introduction to SQL LEARNING OBJECTIVES After studying this chapter, you should be able to: ■ Concisely define each of the following key terms: relational DBMS (RDBMS), catalog, schema, data definition language (DDL), data manipulation language (DML), data control language (DCL), scalar aggregate, vector aggregate, base table, virtual table, dynamic view, and materialized view. ■ ■ ■ ■ ■ Visit www.pearsonhighered.com/ hoffer to view the accompanying video for this chapter. Interpret the history and role of SQL in database development. Define a database using the SQL data definition language. Write single-table queries using SQL commands. Establish referential integrity using SQL. Discuss the SQL:1999 and SQL:2008 standards. INTRODUCTION Pronounced “S-Q-L” by some and “sequel” by others, SQL has become the de facto standard language for creating and querying relational databases. (Can the next standard be the sequel to SQL?) The primary purpose of this chapter is to introduce SQL, the most common language for relational systems. It has been accepted as a U.S. standard by the American National Standards Institute (ANSI) and is a Federal Information Processing Standard (FIPS). It is also an international standard recognized by the International Organization for Standardization (ISO). ANSI has accredited the International Committee for Information Technology Standards (INCITS) as a standards development organization; INCITS is working on the next version...

Words: 22483 - Pages: 90