Part 2 - The Database Environment
|
|
|
- Erica Lyons
- 10 years ago
- Views:
Transcription
1 Rela%onal Database 2 1 Part 2 - The Database Environment The purpose of a RDBMS is to provide users with an abstract view of the data, hiding certain details of how data are stored and manipulated. Therefore, the starting point of the design of data is also abstract and generalized to the needs of the organization. The first thing to do is to model the data for our needs. All RDBMS capture the real world in something called an entity. In the soccer example, the entities include the Team, Field, Players, etc. Each entity has certain properties or qualities (the Player, for example, has a last name, first name, phone, date of birth and a team). These qualities are called attributes Next we want to know the relationship between entities. For instance, the Team plays a Match; the Referee is assigned a Match. The physical data level of the RDBMS is the actual computer hardware and software holding the data. In this image we see that some fields are shown to some users (called the data view); the data are drawn from actually one database table; then we see the structure of that table and finally a suggestion of its physical disks. EXTERNAL LEVEL View (a user s view of the data) View (a user s view of the data) idno lname fname salary staffno deptno lname phone CONCEPTUAL LEVEL lname fname salary staffno deptno phone PHYSICAL LEVEL INTERNAL LEVEL struct STAFF { int staffno; int deptno; char phone [12]; char fname [15]; char lname [25]; struct date DateOfBirth; float salary; struct STAFF *next; }; index staffno, index deptno; /* pointer to next Staff record */ /* define index for staff */ Physical Data Organization filename: levels1.ai
2 Rela%onal Database 2 2 One of the main purposes of dividing the logical from the physical is to preserve the idea of the independence of the data; independent that is from specific user needs and particular physical implementation issues. For example, the logical data independence means the external views are immune from change in the conceptual level. In other words, if the database administrator updates the structure or the workings of the RDBMS, the end-user is still served the appropriate data. The physical data independence means the reverse - changing the data doesn t affect the physical level. This means if new data are added or new data types created, we don t have to get new physical equipment. Notice that all this is abstract: we ve not mentioned any particular need or any particular equipment. Databases are commanded the same way: the commands are actually representations of the relational algebra in the model for the relational database scheme (as opposed to the network model, hierarchical model, and others). By abstracting the commands, their physical implementation (how the command is processed by the computer) are independent of the command itself, and vice versa. For example, we could issue the SQL statement SELECT * FROM table1 AND table2. On the one hand, this reflects the Cartesian product of table1 x table2. Our results (the view) would show us every combination of fields in the two tables! On the other hand, perhaps someone will create a (humansounding) language where we query the database with great courtesy Oh, Mighty Computer, please show me all the data! and have the command return the same results. Or perhaps would might want to tailor the commands to another human language. Instead of SELECT * FROM mytable we want to allow the user to type in ВЫБЕРИТЕ * ОТ моейtаблицы. This abstract idea of communicating with the database is called a data definition language or DDL. More precisely, a DDL allows the user to describe and name the entities required or the application and the relationships that may exist between the different entities. The physical database management systems (the actual software) maintains for itself a set of tools, called system catalog, that includes the database s metadata, or data about data. We can query the metadata. We might want to ask how many rows (records) there are in the table - the answer is in the metadata. A data creation language (DCL) defines the commands to create databases and tables. A data manipulation language (DML) defines the commands for inserting, editing, deleting, and updating data. In SQL, CREATE DATABASE mydb; is an example of DCL; SELECT * FROM mytable is an example of DML. Part of the RDBMS tools is a directory of who has access to what databases and tables as well as who can issue what DCL and DML commands. These are called rights that are granted by system administrator or database administrator (DBA). When you access a website that in turn queries a database (as when you log in to some systems), you are logging in as an anonymous user. As such you re given rights to SELECT data. Except where input is allowed, the user cannot do much with the database and tables. In an office setting, the circulation staff might see (view) only the patron s name, any fines, phone, and items that are checked out. The circulation manager might be able to see (view) those fields as well as the entire borrowing history, home address, and data about this client. The manager may have INSERT, EDIT, DELETE rights while the other staff may have only SELECT rights. This introduces the
3 Rela%onal Database 2 3 whole field of security that we ll return to later. The entity relationship model is at times replaced or complemented by the object oriented model, where entities, attributes, and relationships are all integrated into a single class (or encapsulation). The main services of a RDBMS: 1. Data storage, retrieval, and update 2. User-accessible catalog (the descriptions of the data maintained by the RDBMS) 3. Transaction support (either the entire record(s) is(are) updated or none are) 4. Concurrency control (make sure that data that are mutually dependent are updated simultaneously) 5. Recoverable (if something happens, there must be a way to recover the data) 6. Authorization service (only authorized users view and have access to certain data) 7. Support data communication (can be shared with other computers and be independent of the techniques used to send data, e.g., TCP/IP, Z39, CORBA, other) 8. Integrity services (that the data in the db and changes follow certain rules) 9. Support data independence 10. Utility services (tools for exporting, importing data from other formats and systems) Today, RDBMS are increasingly applied to the Internet - hence web-enabled db that serve data to remote computers and to mobile devices. Below is an example of a system architecture. In real practice, there will be firewalls and VPN issues to contend with. We review these when we discuss security issues. We will also discuss delivering data to mobile devices and the use of SQLite in the ipad and iphone.
4 Rela%onal Database 2 4 CLIENTS local remote computers LAN Internet mobile devices SERVER typicaldbarch.ai Web Server Software (e.g., Apache) servlets other programs jsp, php connection Flat Files (e.g., xslt, html, css, txt, pdf ) submit query over connection return hits in an object ResultSet Database (and tables, indices) MySQL Oracle others The above figure represents a typical architecture for using RDBMS. In this example, there are 3 clients, one local, two devices via the Internet. Naturally, we re not limited to three users - this is just an image. Whether locally connected or view the Internet, the human end-user (or a computer) sends a request for data (called a query). Let s use the example of a web form of someone logging in to the library s website. In that form, there is the the name-value pair of method and post, along with action and the name of the program to be run on the server. The end-user sends his id and password to the web server. The web server software (50% of the time it is the OpenSource project Apache) captures the data from the form and then streams the data to the name of the program in the action element. Typically, the program running on the server will take the data passed from the form and use them to construct an SQL statement - exactly as if a human typed it! The program then created a Connection using software specific to the operating system and DB product. For example, the Driver (an object used to complete the bridge between the program calling the data and the database itself) varies by product and operating system. To connect to MS Access using Windows and Macintosh, check the system preferences for the ODBC icon; click on that icon and you select what file types and sources are to be used by your program, such as making your MS Access database visible via the Internet.
5 Rela%onal Database 2 5 But most folk write their own programs using Java, PHP, and the like. In these situations, the program must identify which Driver to use and the database, commonly MySQL. For the connection to MySQL running on Linux, use the org.gjt.mm.mysql.driver software; for Mac and Unix, it s com.mysql.jdbc.driver; other versions exist for Windows.] In real life, you might include references to both drivers in the code and then use some environmental variables or data to determine which OS your database is running on. For example, in a computer program we might prepare for both: String driver1 = org.gjt.mm.mysql.driver ; String driver2 = com.mysql.jdbc.driver ; if (os.equals( Linux )) { drivertouse = driver1; } else { drivertouse = driver2; } // LINUX // MAC Once the connection is created, the program creates a special object called a Statement. The Statement object contains the query - it is a kind of wrapper to send the SQL command to the database. The command is then executed by the SQL software. In response to the query, the SQL software sends data back in an object called a ResultSet. The programmer can extract metadata from the ResultSet about how many rows there are in the set, or other data about the data. The programmer can then select only the fields s/he wants to show the user. For example, when the Circulation Manager logs in, the program is written to send him all the fields. When the staff log in, the program sends only the patron s name, phone, and a list of items checked out. Note that the raw data cannot be used. The program must convert the data into something that appropriate for the output device. If the data are being sent back to the user s browser, then the output is often HTML, XML, or PDF. If the data are sent to another computer, or the end-user wants to import the data into a spreadsheet, the data may be exported first as tab-delimited data. If we use the terminal window to connect to SQL, we could issue the command SELECT * FROM staff and might see the following on the terminal: and so on idno lname fname age Smith Jane Gomes John 31 But to display Ms. Smith s record to the browse, we must first make changes to the data while inside the program running on the webserver. In this example, we re using a Java servlet. The command to send the data back is println (for print line ). We d like to have the lname field contents appear in bold in the browser. So we combine HTML and data from the ResultSet, instantiated as rs in this example:
6 Rela%onal Database 2 6 println( Welcome, <font color= red > + rs.getstring( lname ) + </font> ); Notice how plain text ( Welcome ) is combined in the same String as the html tags. Notice, too, that the ResultSet object rs is being asked to extract only data from the lname field and notice that we are looking for String, or alphanumeric, data type (getstring()). Part of our documentation, the Data Dictionary, clarifies for all users, programmers, and web designers exactly what data we want and where. When we get further along in our demonstration distance education case we ll see how the documentation you create is used to design input screens, reports and output screens, and in creating the databases and tables themselves. Section 2 You can seen, then, that there s a lot of work and thought involved in creating a RDBMS. Most of the effort is in the logical phase of the project. This phase defines the tables, fields, keys (primary and foreign), establishes table relationships and levels of data integrity. The implementation of this logical design includes using a DBMS (such as MySQL) to create in the computer tables and their relationships and using or creating tools to implement levels of data integrity. Many people create these tables and issue commands to extract at will; this is very important for on-the-job data you ll need but since most RDBMS are used to fulfill others data needs, we review Conceptual phase (which details the organization s data and work behaviors), the Logical phase, and then the Physical phase, where we build and test the product. In practice, you need data as part of the running of your institution and as part of the management of those data [data to manage data]. Therefore, databases are operational [the store data that s collected, maintained, and modified (dynamic data), such as sales transactions, circulation services, cataloguing, etc. Other types of databases are analytical. These track historic (static) data, that are often used in transaction analyses and creating other statistical reports. For example, to review circulation trends or web use, researchers and practitioners use access logs from web servers to extract data about queries, what databases and other servers were used, etc. Other data models have difficulties inserting data efficiently (adding a new record) and in handing redundant data (for instance, someone s id appears in many places). The relational part of RDMBS is an application of the mathematics of set theory and first order predicate logic by E. F. Codd in the 1970s. He defined a relational algebra that demonstrated how an individual datum could be identified uniquely; his mathematical model was implemented in software as the relational database model (RDM). In RDM data are stored in a relation or table. [The two terms are used interchangeably so you should know them both.] See Figure 1.
7 Rela%onal Database 2 7 Figure 1. Each table (relation) has rows or records. In Figure 1, you see a single row [B5, 22 Deer Rd, Beacon Hill, Boston, 02139, ]. This constitutes a single record in the table. The single row is called a tuple [pronounced like two-pull ]. [The real-world things that interest us and that we called entities above have to be converted into something the computer understands and in the terminology of RDBMS the entities are stored in tables. The tuples hold the specific attributes of the entities.] In the tuple we see B5, 22 Deer Rd, etc. These data (e.g., B5 ) are are fields (or columns). The columns represent attributes of row. In a different example, let s say you have a table of student employee data: ID Last name First Name Hourly 53 Smith Betty This student employee has attributes of an ID (53), a Last name (Smith), and so on. Each row or record is represented by a unique field, known as the Primary key. It is common when creating a database to include a record number field that is a unique number for the record. Typically we ask the SQL software to determine the number and store it automatically in the field. For example, in the above example, we might actually design the table to include a field called recno (for Record Number) and ask the system to auto increment that field: recno ID Last name First Name Hourly
8 Rela%onal Database Smith Betty RDBMS cluster data that are related by some theme into tables that make sense to the people who use the data. If you created a payroll system, you might not want everyone to know everyone else s salary. So you might collect all the contact data (the staff s name, address, telephone, , etc.) in one table; you might have another table that organizes staff by departments (circulation staff, technical services staff, etc.). Now we can link a staff member s data (stored on the contact table) to the department in which he or she works (departments table). We have, then, created a relationship. There are three relationships in RDBMS: one-to-one (1:1), one-to-many (1:M), and many-tomany (N:M). In this example, one staff member works for one department (1:1). It could be possible, too, that the same staffer works in two departments (1:M). We try to break down M:N relationships into a 1:1 or 1:M because it becomes very difficult to maintain data integrity if data appear in multiple ways in multiple tables. Breaking down these M:N relationship is at times rather artificial and usually cannot be done successfully without knowing how your organization works. We review this again in detail later.] If a relationship is known between tables, we identify the type of relationship. Notice in Figure 1 Branch No table and Staff table share data (Bno, or branch number ). In our example, the field names are the same but they don t have to be. Branch No and Staff table are linked via the Bno field. This means when we search for a Staff person named Nancy Smithy, we see her ID is S3 and her Branch Number is B3. Following the link we see Bno B3 is located at 4 Smith St. From the point of view of the Branch Number table, the link has two ends: one end is located in the Branch Number table and it is the primary key; its other end is in a different (or foreign) table, the Staff table, so it is called a foreign key. [If we turned things around, from the point of view of the Staff table, Bno is the primary key and points to Branch No table as a foreigner.] Recap of Terminology: Four categories of terms are described in this chapter: value-related, structure-related, relationshiprelated, and integrity-related. Value Related Terms Data are the values that are stored in the database. They are static in the sense that they remain in the same state until they are modified. Information is data that has been processed in a way that makes it meaningful. It can be shown as the result of a query, either displayed on-screen, or printed on a report. Null is a value that is either missing or unknown. A null value represents neither zero nor blank, as they are actual values and can be meaningful in certain circumstances. A drawback to null values is that they cannot be evaluated by mathematical expressions. Structure Related Terms A table is the main structure in a relational database. It is composed of fields and records, the order of which is completely unimportant. It always represents a single, specific subject, which can be
9 Rela%onal Database 2 9 an object or an event. A field (also known as an attribute) is the smallest structure in a relational database. It represents a characteristic of the subject of the table. A field may be multipart, multi-valued or the result of a calculation (concatenated). A record (also known as a tuple) is a structure within a table that represents a unique instance of the subject of the table. A View is a virtual table that is composed of the fields of one or more tables. It draws its data from the tables on which it is based. They are commonly implemented as saved queries. STUDENT TABLE Student ID Student First Name Jones Crabtree Cat Student Last Name Jeff Luella Suky Student Phone INSTRUMENTS TABLE Instrument ID Student ID Instrument Type Guitar Marimba Drums Instrument Desc Stratocaster Mbasa Zydek STUDENT INSTRUMENTS (VIEW) Student ID Student Last Name Jones Crabtree Cat Instrument Desc Stratocaster Mbasa Zydek In this example, the STUDENT INSTRUMENTS View is composed of fields taken from both the STUDENTS table and the INSTRUMENTS table. Data in the View is drawn from both tables simultaneously, based on matching values between the Student ID field in the STUDENTS table and the Student ID field in the INSTRUMENTS table. Keys are special fields that serve a specific purpose within a table. A Primary key is a field that uniquely identifies a record within a table. A Foreign key is the field that is used to establish a relationship between a pair of tables. In the following example, Agent ID is the Primary key of AGENTS because it uniquely identifies each record in that table. Similarly, Client ID is the Primary key of CLIENTS because it also uniquely identifies each of the table s records. Agent ID in the CLIENTS table is a Foreign key because it is used to establish a relationship between the CLIENTS and the AGENTS table.
10 Rela%onal Database 2 10 AGENTS Agent ID Agent First Name Chris Chip Bunny Agent Last Name Girard Pinky Rabbit Date of Hire 06/01/06 11/23/06 09/07/08 Agent Phone CLIENTS Client ID Agent ID Client First Name Bix Felicia Skip Client Last Name Benoit Finklestein Neant Client Phone Relationship-related Terms Relationships establish a connection between a pair of tables. This relationship exists when a pair of tables is connected by a Primary and Foreign key. Types of Relationships One-to-One: Exists between a pair of tables if a single record in the first table is related to one and only one record in the second table. EMPLOYEES Employee ID Emp First Name Emp Last Name Phone Skip Felicia Neant Finkelstein COMPENSATION Employee ID Hourly Rate Commission Rate 50% 27% One-to-Many: Exists between a pair of tables if a single record in the first table is related to one or more records in the second table, but a single record in the second table can be related to only one record in the first table. This is the most common type of relationship. STUDENTS Student ID Student First Name Student Last Name Phone INSTRUMENTS
11 Rela%onal Database 2 11 Instrument ID Student ID Instrument Type Instrument Desc Many-to-Many: Exists between a pair of tables if a single record in the first table can be related to one or more records in the second table, and a single record in the second table can be related to one or more records in the first table. Establishing a direct connection between these two tables is difficult because it will produce a large amount of redundant data in one of the tables. STUDENTS Student ID Student First Name Student Last Name Student Phone CLASSES Class ID Class Name Instructor ID Types of Participation There are two types of participation that a table can have within a relationship: mandatory and optional. If records in Table A must exist before any records can be entered into Table B, then Table A s participation within the relationship is mandatory. If not, it is considered optional. Each table in a relationship has a degree of participation, which is the minimum and maximum number of records in one table that can be related to a single record in the other table. Consider Agents and Clients tables. If we say that an agent should have at least one client but no more than eight, then the degree of participation for the Clients table is 1,8. Integrity-related Terms A field specification (also known as a domain) represents all the elements of a field. Each field specification has three types of elements: general, physical and logical. A field s general elements include such items as field name, description and source table. Physical elements include items such as data type, length, and display format. Logical elements describe the values stored in a field, such as required value, range of values and default values. Data integrity refers to the validity, consistency and accuracy of the data in a database. The four types of data integrity are: Table-level integrity ensures that the field that identifies each record within the table is unique and is
12 Rela%onal Database 2 12 never missing its value. Field-level integrity ensures that the structure of every field is sound, that the values in each field are valid, consistent and accurate. Relationship-level integrity ensures that the relationship between a pair of tables is sound and that there is synchronization between the two tables whenever data is entered, updated or deleted. Business rules impose restrictions or limitations on certain aspects of a database based on the ways an organization perceives and uses its data. Before we get too much further into the complexities of data modeling, let us focus on the conceptual phase to see how we can apply RDBMS in a real-world situation.
Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations
1 Topics for this week: 1. Good Design 2. Functional Dependencies 3. Normalization Readings for this week: 1. E&N, Ch. 10.1-10.6; 12.2 2. Quickstart, Ch. 3 3. Complete the tutorial at http://sqlcourse2.com/
1. INTRODUCTION TO RDBMS
Oracle For Beginners Page: 1 1. INTRODUCTION TO RDBMS What is DBMS? Data Models Relational database management system (RDBMS) Relational Algebra Structured query language (SQL) What Is DBMS? Data is one
www.gr8ambitionz.com
Data Base Management Systems (DBMS) Study Material (Objective Type questions with Answers) Shared by Akhil Arora Powered by www. your A to Z competitive exam guide Database Objective type questions Q.1
University Data Warehouse Design Issues: A Case Study
Session 2358 University Data Warehouse Design Issues: A Case Study Melissa C. Lin Chief Information Office, University of Florida Abstract A discussion of the design and modeling issues associated with
SQL, PL/SQL FALL Semester 2013
SQL, PL/SQL FALL Semester 2013 Rana Umer Aziz MSc.IT (London, UK) Contact No. 0335-919 7775 [email protected] EDUCATION CONSULTANT Contact No. 0335-919 7775, 0321-515 3403 www.oeconsultant.co.uk
Basic Concepts of Database Systems
CS2501 Topic 1: Basic Concepts 1.1 Basic Concepts of Database Systems Example Uses of Database Systems - account maintenance & access in banking - lending library systems - airline reservation systems
Relational Database Basics Review
Relational Database Basics Review IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Database approach Database system Relational model Database development 2 File Processing Approaches Based on
Short notes on webpage programming languages
Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of
DBMS Questions. 3.) For which two constraints are indexes created when the constraint is added?
DBMS Questions 1.) Which type of file is part of the Oracle database? A.) B.) C.) D.) Control file Password file Parameter files Archived log files 2.) Which statements are use to UNLOCK the user? A.)
7. Databases and Database Management Systems
7. Databases and Database Management Systems 7.1 What is a File? A file is a collection of data or information that has a name, called the Filename. There are many different types of files: Data files
Relational Database Management LIS458
Part1- Intro- CaseStudyProject 1 f Relational Database Management LIS458 G Benoit Jan 6, 11 The subject of Relational Database Management Systems (RDBMS) is taught in schools of business, library & information
Files. Files. Files. Files. Files. File Organisation. What s it all about? What s in a file?
Files What s it all about? Information being stored about anything important to the business/individual keeping the files. The simple concepts used in the operation of manual files are often a good guide
CatDV Pro Workgroup Serve r
Architectural Overview CatDV Pro Workgroup Server Square Box Systems Ltd May 2003 The CatDV Pro client application is a standalone desktop application, providing video logging and media cataloging capability
Using SQL Server Management Studio
Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases
BCA. Database Management System
BCA IV Sem Database Management System Multiple choice questions 1. A Database Management System (DBMS) is A. Collection of interrelated data B. Collection of programs to access data C. Collection of data
How To Create A Table In Sql 2.5.2.2 (Ahem)
Database Systems Unit 5 Database Implementation: SQL Data Definition Language Learning Goals In this unit you will learn how to transfer a logical data model into a physical database, how to extend or
Oracle Database 10g Express
Oracle Database 10g Express This tutorial prepares the Oracle Database 10g Express Edition Developer to perform common development and administrative tasks of Oracle Database 10g Express Edition. Objectives
ISM 318: Database Systems. Objectives. Database. Dr. Hamid R. Nemati
ISM 318: Database Systems Dr. Hamid R. Nemati Department of Information Systems Operations Management Bryan School of Business Economics Objectives Underst the basics of data databases Underst characteristics
CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?
CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 Introduction to Databases CS2 Spring 2005 (LN5) 1 Why databases? Why not use XML? What is missing from XML: Consistency
Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB
Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Outline Database concepts Conceptual Design Logical Design Communicating with the RDBMS 2 Some concepts Database: an
1.264 Lecture 15. SQL transactions, security, indexes
1.264 Lecture 15 SQL transactions, security, indexes Download BeefData.csv and Lecture15Download.sql Next class: Read Beginning ASP.NET chapter 1. Exercise due after class (5:00) 1 SQL Server diagrams
Chapter 9 Java and SQL. Wang Yang [email protected]
Chapter 9 Java and SQL Wang Yang [email protected] Outline Concern Data - File & IO vs. Database &SQL Database & SQL How Connect Java to SQL - Java Model for Database Java Database Connectivity (JDBC)
FileMaker 12. ODBC and JDBC Guide
FileMaker 12 ODBC and JDBC Guide 2004 2012 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker, Inc.
IT2305 Database Systems I (Compulsory)
Database Systems I (Compulsory) INTRODUCTION This is one of the 4 modules designed for Semester 2 of Bachelor of Information Technology Degree program. CREDITS: 04 LEARNING OUTCOMES On completion of this
Database Management System
ISSN: 2349-7637 (Online) RESEARCH HUB International Multidisciplinary Research Journal Research Paper Available online at: www.rhimrj.com Database Management System Viral R. Dagli Lecturer, Computer Science
COMP 5138 Relational Database Management Systems. Week 5 : Basic SQL. Today s Agenda. Overview. Basic SQL Queries. Joins Queries
COMP 5138 Relational Database Management Systems Week 5 : Basic COMP5138 "Relational Database Managment Systems" J. Davis 2006 5-1 Today s Agenda Overview Basic Queries Joins Queries Aggregate Functions
Foundations of Information Management
Foundations of Information Management - WS 2012/13 - Juniorprofessor Alexander Markowetz Bonn Aachen International Center for Information Technology (B-IT) Data & Databases Data: Simple information Database:
1 File Processing Systems
COMP 378 Database Systems Notes for Chapter 1 of Database System Concepts Introduction A database management system (DBMS) is a collection of data and an integrated set of programs that access that data.
G563 Quantitative Paleontology. SQL databases. An introduction. Department of Geological Sciences Indiana University. (c) 2012, P.
SQL databases An introduction AMP: Apache, mysql, PHP This installations installs the Apache webserver, the PHP scripting language, and the mysql database on your computer: Apache: runs in the background
What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World
COSC 304 Introduction to Systems Introduction Dr. Ramon Lawrence University of British Columbia Okanagan [email protected] What is a database? A database is a collection of logically related data for
Database Concepts. Database & Database Management System. Application examples. Application examples
Database & Database Management System Database Concepts Database = A shared collection of logically related (and a description of this data), designed to meet the information needs of an organization.
IT2304: Database Systems 1 (DBS 1)
: Database Systems 1 (DBS 1) (Compulsory) 1. OUTLINE OF SYLLABUS Topic Minimum number of hours Introduction to DBMS 07 Relational Data Model 03 Data manipulation using Relational Algebra 06 Data manipulation
Jet Data Manager 2012 User Guide
Jet Data Manager 2012 User Guide Welcome This documentation provides descriptions of the concepts and features of the Jet Data Manager and how to use with them. With the Jet Data Manager you can transform
Introduction to Computing. Lectured by: Dr. Pham Tran Vu [email protected]
Introduction to Computing Lectured by: Dr. Pham Tran Vu [email protected] Databases The Hierarchy of Data Keys and Attributes The Traditional Approach To Data Management Database A collection of
Physical Design. Meeting the needs of the users is the gold standard against which we measure our success in creating a database.
Physical Design Physical Database Design (Defined): Process of producing a description of the implementation of the database on secondary storage; it describes the base relations, file organizations, and
Introduction to Database Systems. Chapter 1 Introduction. Chapter 1 Introduction
Introduction to Database Systems Winter term 2013/2014 Melanie Herschel [email protected] Université Paris Sud, LRI 1 Chapter 1 Introduction After completing this chapter, you should be able to:
Information Systems SQL. Nikolaj Popov
Information Systems SQL Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria [email protected] Outline SQL Table Creation Populating and Modifying
Fundamentals of Database Design
Fundamentals of Database Design Zornitsa Zaharieva CERN Data Management Section - Controls Group Accelerators and Beams Department /AB-CO-DM/ 23-FEB-2005 Contents : Introduction to Databases : Main Database
DATABASE MANAGEMENT SYSTEMS. Question Bank:
DATABASE MANAGEMENT SYSTEMS Question Bank: UNIT 1 1. Define Database? 2. What is a DBMS? 3. What is the need for database systems? 4. Define tupule? 5. What are the responsibilities of DBA? 6. Define schema?
Database 10g Edition: All possible 10g features, either bundled or available at additional cost.
Concepts Oracle Corporation offers a wide variety of products. The Oracle Database 10g, the product this exam focuses on, is the centerpiece of the Oracle product set. The "g" in "10g" stands for the Grid
Introduction to Databases
Page 1 of 5 Introduction to Databases An introductory example What is a database? Why do we need Database Management Systems? The three levels of data abstraction What is a Database Management System?
Basic Unix/Linux 1. Software Testing Interview Prep
Basic Unix/Linux 1 Programming Fundamentals and Concepts 2 1. What is the difference between web application and client server application? Client server application is designed typically to work in a
Creating Database Tables in Microsoft SQL Server
Creating Database Tables in Microsoft SQL Server Microsoft SQL Server is a relational database server that stores and retrieves data for multi-user network-based applications. SQL Server databases are
3. Relational Model and Relational Algebra
ECS-165A WQ 11 36 3. Relational Model and Relational Algebra Contents Fundamental Concepts of the Relational Model Integrity Constraints Translation ER schema Relational Database Schema Relational Algebra
CHAPTER 6 DATABASE MANAGEMENT SYSTEMS. Learning Objectives
CHAPTER 6 DATABASE MANAGEMENT SYSTEMS Management Information Systems, 10 th edition, By Raymond McLeod, Jr. and George P. Schell 2007, Prentice Hall, Inc. 1 Learning Objectives Understand the hierarchy
CSE 530A Database Management Systems. Introduction. Washington University Fall 2013
CSE 530A Database Management Systems Introduction Washington University Fall 2013 Overview Time: Mon/Wed 7:00-8:30 PM Location: Crow 206 Instructor: Michael Plezbert TA: Gene Lee Websites: http://classes.engineering.wustl.edu/cse530/
Business Intelligence Tutorial
IBM DB2 Universal Database Business Intelligence Tutorial Version 7 IBM DB2 Universal Database Business Intelligence Tutorial Version 7 Before using this information and the product it supports, be sure
Lesson 8: Introduction to Databases E-R Data Modeling
Lesson 8: Introduction to Databases E-R Data Modeling Contents Introduction to Databases Abstraction, Schemas, and Views Data Models Database Management System (DBMS) Components Entity Relationship Data
Designing Databases. Introduction
Designing Databases C Introduction Businesses rely on databases for accurate, up-to-date information. Without access to mission critical data, most businesses are unable to perform their normal daily functions,
FileMaker 11. ODBC and JDBC Guide
FileMaker 11 ODBC and JDBC Guide 2004 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered
VBA and Databases (see Chapter 14 )
VBA and Databases (see Chapter 14 ) Kipp Martin February 29, 2012 Lecture Files Files for this module: retailersql.m retailer.accdb Outline 3 Motivation Modern Database Systems SQL Bringing Data Into MATLAB/Excel
FileMaker 13. ODBC and JDBC Guide
FileMaker 13 ODBC and JDBC Guide 2004 2013 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker, Inc.
LAMP [Linux. Apache. MySQL. PHP] Industrial Implementations Module Description
LAMP [Linux. Apache. MySQL. PHP] Industrial Implementations Module Description Mastering LINUX Vikas Debnath Linux Administrator, Red Hat Professional Instructor : Vikas Debnath Contact
Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 03 (Nebenfach)
Mul$media im Netz (Online Mul$media) Wintersemester 2014/15 Übung 03 (Nebenfach) Online Mul?media WS 2014/15 - Übung 3-1 Databases and SQL Data can be stored permanently in databases There are a number
Java and Databases. COMP514 Distributed Information Systems. Java Database Connectivity. Standards and utilities. Java and Databases
Java and Databases COMP514 Distributed Information Systems Java Database Connectivity One of the problems in writing Java, C, C++,, applications is that the programming languages cannot provide persistence
Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.
Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap. 1 Oracle9i Documentation First-Semester 1427-1428 Definitions
Services. Relational. Databases & JDBC. Today. Relational. Databases SQL JDBC. Next Time. Services. Relational. Databases & JDBC. Today.
& & 1 & 2 Lecture #7 2008 3 Terminology Structure & & Database server software referred to as Database Management Systems (DBMS) Database schemas describe database structure Data ordered in tables, rows
Chapter 1: Introduction
Chapter 1: Introduction Database System Concepts, 5th Ed. See www.db book.com for conditions on re use Chapter 1: Introduction Purpose of Database Systems View of Data Database Languages Relational Databases
Relational Databases. Christopher Simpkins [email protected]
Relational Databases Christopher Simpkins [email protected] Relational Databases A relational database is a collection of data stored in one or more tables A relational database management system
Overview of Database Management Systems
Overview of Database Management Systems Goals: DBMS basic concepts Introduce underlying managerial issues Prepare for discussion of uses of DBMS, such as OLAP and database mining 1 Overview of Database
- Eliminating redundant data - Ensuring data dependencies makes sense. ie:- data is stored logically
Normalization of databases Database normalization is a technique of organizing the data in the database. Normalization is a systematic approach of decomposing tables to eliminate data redundancy and undesirable
Database Management Systems. Chapter 1
Database Management Systems Chapter 1 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 2 What Is a Database/DBMS? A very large, integrated collection of data. Models real-world scenarios
Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system
Introduction: management system Introduction s vs. files Basic concepts Brief history of databases Architectures & languages System User / Programmer Application program Software to process queries Software
Concepts of Database Management Seventh Edition. Chapter 7 DBMS Functions
Concepts of Database Management Seventh Edition Chapter 7 DBMS Functions Objectives Introduce the functions, or services, provided by a DBMS Describe how a DBMS handles updating and retrieving data Examine
Toad for Data Analysts, Tips n Tricks
Toad for Data Analysts, Tips n Tricks or Things Everyone Should Know about TDA Just what is Toad for Data Analysts? Toad is a brand at Quest. We have several tools that have been built explicitly for developers
Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved.
Retrieving Data Using the SQL SELECT Statement Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement
The Relational Model. Why Study the Relational Model?
The Relational Model Chapter 3 Instructor: Vladimir Zadorozhny [email protected] Information Science Program School of Information Sciences, University of Pittsburgh 1 Why Study the Relational Model?
2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com
Essential SQL 2 Essential SQL This bonus chapter is provided with Mastering Delphi 6. It is a basic introduction to SQL to accompany Chapter 14, Client/Server Programming. RDBMS packages are generally
Access Database Design
Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk (304) 293-4444 http://oit.wvu.edu/training/classmat/db/ Last revised: June 26, 2008 Copyright 2008 West
Optimum Database Design: Using Normal Forms and Ensuring Data Integrity. by Patrick Crever, Relational Database Programmer, Synergex
Optimum Database Design: Using Normal Forms and Ensuring Data Integrity by Patrick Crever, Relational Database Programmer, Synergex Printed: April 2007 The information contained in this document is subject
12 File and Database Concepts 13 File and Database Concepts A many-to-many relationship means that one record in a particular record type can be relat
1 Databases 2 File and Database Concepts A database is a collection of information Databases are typically stored as computer files A structured file is similar to a card file or Rolodex because it uses
Information Technology NVEQ Level 2 Class X IT207-NQ2012-Database Development (Basic) Student s Handbook
Students Handbook ... Accenture India s Corporate Citizenship Progra as well as access to their implementing partners (Dr. Reddy s Foundation supplement CBSE/ PSSCIVE s content. ren s life at Database
ORACLE USER PRODUCTIVITY KIT USAGE TRACKING ADMINISTRATION & REPORTING RELEASE 3.6 PART NO. E17087-01
ORACLE USER PRODUCTIVITY KIT USAGE TRACKING ADMINISTRATION & REPORTING RELEASE 3.6 PART NO. E17087-01 FEBRUARY 2010 COPYRIGHT Copyright 1998, 2009, Oracle and/or its affiliates. All rights reserved. Part
Database Administration with MySQL
Database Administration with MySQL Suitable For: Database administrators and system administrators who need to manage MySQL based services. Prerequisites: Practical knowledge of SQL Some knowledge of relational
To use MySQL effectively, you need to learn the syntax of a new language and grow
SESSION 1 Why MySQL? Session Checklist SQL servers in the development process MySQL versus the competition To use MySQL effectively, you need to learn the syntax of a new language and grow comfortable
DATABASE MANAGEMENT SYSTEM
REVIEW ARTICLE DATABASE MANAGEMENT SYSTEM Sweta Singh Assistant Professor, Faculty of Management Studies, BHU, Varanasi, India E-mail: [email protected] ABSTRACT Today, more than at any previous
Introduction: Database management system
Introduction Databases vs. files Basic concepts Brief history of databases Architectures & languages Introduction: Database management system User / Programmer Database System Application program Software
Databases and BigData
Eduardo Cunha de Almeida [email protected] Outline of the course Introduction Database Systems (E. Almeida) Distributed Hash Tables and P2P (C. Cassagnes) NewSQL (D. Kim and J. Meira) NoSQL (D. Kim)
Welcome to Collage (Draft v0.1)
Welcome to Collage (Draft v0.1) Table of Contents Welcome to Collage (Draft v0.1)... 1 Table of Contents... 1 Overview... 2 What is Collage?... 3 Getting started... 4 Searching for Images in Collage...
Database Management Systems
Database Management Systems UNIT -1 1.0 Introduction and brief history to Database 1.1 Characteristics of database 1.2 Difference between File System & DBMS. 1.3 Advantages of DBMS 1.4 Functions of DBMS
Exploring Microsoft Office Access 2007. Chapter 2: Relational Databases and Multi-Table Queries
Exploring Microsoft Office Access 2007 Chapter 2: Relational Databases and Multi-Table Queries 1 Objectives Design data Create tables Understand table relationships Share data with Excel Establish table
DATABASE INTRODUCTION
Introduction The history of database system research is one of exceptional productivity and startling economic impact. We have learnt that from the days of file-based systems there are better ways to handle
How to Design and Create Your Own Custom Ext Rep
Combinatorial Block Designs 2009-04-15 Outline Project Intro External Representation Design Database System Deployment System Overview Conclusions 1. Since the project is a specific application in Combinatorial
Databases in Engineering / Lab-1 (MS-Access/SQL)
COVER PAGE Databases in Engineering / Lab-1 (MS-Access/SQL) ITU - Geomatics 2014 2015 Fall 1 Table of Contents COVER PAGE... 0 1. INTRODUCTION... 3 1.1 Fundamentals... 3 1.2 How To Create a Database File
Title Page. Informed Filler. User s Manual. Shana Corporation 9744-45 Avenue Edmonton, Alberta, Canada T6E 5C5
Title Page Informed Filler User s Manual Shana Corporation 9744-45 Avenue Edmonton, Alberta, Canada T6E 5C5 Telephone: (780) 433-3690 Order Desk: (800) 386-7244 Fax: (780) 437-4381 E-mail: [email protected]
DBMS / Business Intelligence, SQL Server
DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.
INTRODUCING ORACLE APPLICATION EXPRESS. Keywords: database, Oracle, web application, forms, reports
INTRODUCING ORACLE APPLICATION EXPRESS Cristina-Loredana Alexe 1 Abstract Everyone knows that having a database is not enough. You need a way of interacting with it, a way for doing the most common of
Course Scheduling Support System
Course Scheduling Support System Roy Levow, Jawad Khan, and Sam Hsu Department of Computer Science and Engineering, Florida Atlantic University Boca Raton, FL 33431 {levow, jkhan, samh}@fau.edu Abstract
Sisense. Product Highlights. www.sisense.com
Sisense Product Highlights Introduction Sisense is a business intelligence solution that simplifies analytics for complex data by offering an end-to-end platform that lets users easily prepare and analyze
CSC 443 Data Base Management Systems. Basic SQL
CSC 443 Data Base Management Systems Lecture 6 SQL As A Data Definition Language Basic SQL SQL language Considered one of the major reasons for the commercial success of relational databases SQL Structured
PHP Tutorial From beginner to master
PHP Tutorial From beginner to master PHP is a powerful tool for making dynamic and interactive Web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
LICENSE4J FLOATING LICENSE SERVER USER GUIDE
LICENSE4J FLOATING LICENSE SERVER USER GUIDE VERSION 4.5.5 LICENSE4J www.license4j.com Table of Contents Getting Started... 2 Floating License Usage... 2 Installation... 4 Windows Installation... 4 Linux
Database Design Basics
Database Design Basics Table of Contents SOME DATABASE TERMS TO KNOW... 1 WHAT IS GOOD DATABASE DESIGN?... 2 THE DESIGN PROCESS... 2 DETERMINING THE PURPOSE OF YOUR DATABASE... 3 FINDING AND ORGANIZING
DIPLOMA IN WEBDEVELOPMENT
DIPLOMA IN WEBDEVELOPMENT Prerequisite skills Basic programming knowledge on C Language or Core Java is must. # Module 1 Basics and introduction to HTML Basic HTML training. Different HTML elements, tags
Managing Third Party Databases and Building Your Data Warehouse
Managing Third Party Databases and Building Your Data Warehouse By Gary Smith Software Consultant Embarcadero Technologies Tech Note INTRODUCTION It s a recurring theme. Companies are continually faced
Seamless Web Data Entry for SAS Applications D.J. Penix, Pinnacle Solutions, Indianapolis, IN
Seamless Web Data Entry for SAS Applications D.J. Penix, Pinnacle Solutions, Indianapolis, IN ABSTRACT For organizations that need to implement a robust data entry solution, options are somewhat limited
Documentum Content Distribution Services TM Administration Guide
Documentum Content Distribution Services TM Administration Guide Version 5.3 SP5 August 2007 Copyright 1994-2007 EMC Corporation. All rights reserved. Table of Contents Preface... 7 Chapter 1 Introducing
