Computing for Bioinformatics Introduction to databases What is a database? Database system components Data types DBMS architectures DBMS systems available.

Slides:



Advertisements
Similar presentations
Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
Advertisements

Management Information Systems, Sixth Edition
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Client/Server Databases and the Oracle 10g Relational Database
Database Management An Introduction.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-1 David M. Kroenke’s Chapter One: Introduction Part One Database Processing:
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
What is Where? u Getting Started With Geographic Information Systems u Chapter 5.
Copyright 2003 The McGraw-Hill Companies, Inc CHAPTER Application Software computing ESSENTIALS    
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
CSC 2720 Building Web Applications Database and SQL.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
1 Dr Richard White Introduction to Biological Data Retrieval Session 2 in module “Informatics for Omic Biosciences”
Attribute Data in GIS Data in GIS are stored as features AND tabular info Tabular information can be associated with features OR Tabular data may NOT be.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
Databases C HAPTER Chapter 10: Databases2 Databases and Structured Fields  A database is a collection of information –Typically stored as computer.
ASP.NET Programming with C# and SQL Server First Edition
Interacting With Data Databases.
Chapter 2 Database System Architecture. An “architecture” for a database system. A specification of how it will work, what it will “look like.” The “ANSI/SPARC”
Introduction to SQL Steve Perry
Database System Concepts and Architecture Lecture # 2 21 June 2012 National University of Computer and Emerging Sciences.
Simple Database.
M1G Introduction to Database Development 6. Building Applications.
Part 1. Persistent Data Web applications remember your setting by means of a database linked to the site.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
1 Adapted from Pearson Prentice Hall Adapted form James A. Senn’s Information Technology, 3 rd Edition Chapter 7 Enterprise Databases and Data Warehouses.
SQL Queries Relational database and SQL MySQL LAMP SQL queries A MySQL Tutorial and applications Database Building Assignment.
MET280: Computing for Bioinformatics Introduction to databases What is a database? Not a spreadsheet. Data types and uses DBMS (DataBase Management System)
DATABASE DEVELOPMENT Overview. Definitions A Database is a structured collection of related data (not necessarily electronic) A Relational database is.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
1 maxdLoad The maxd website: © 2002 Norman Morrison for Manchester Bioinformatics.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
Getting Started Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
ITGS Databases.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
C OMPUTING E SSENTIALS Timothy J. O’Leary Linda I. O’Leary Presentations by: Fred Bounds.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Chapter 10 Database Management. Data and Information How are data and information related? p Fig Next processing data stored on disk Step.
DBMS_Week 3-4 DBMS. Three-Schema Architecture – Internal schema (one view) describes physical storage structures access paths, indexes used Typically.
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
CP476 Internet Computing Perl CGI and MySql 1 Relational Databases –A database is a collection of data organized to allow relatively easy access for retrievals,
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
Introduction to Database Programming with Python Gary Stewart
James A. Senn’s Information Technology, 3rd Edition
Client/Server Databases and the Oracle 10g Relational Database
Week 12 Option 3: Database Design
PHP / MySQL Introduction
Database Processing: David M. Kroenke’s Chapter One: Introduction
Database Processing: David M. Kroenke’s Chapter One: Introduction
Spreadsheets, Modelling & Databases
DATABASES WHAT IS A DATABASE?
Getting Started Chapter One DATABASE CONCEPTS, 5th Edition
Presentation transcript:

Computing for Bioinformatics Introduction to databases What is a database? Database system components Data types DBMS architectures DBMS systems available Microsoft Access

What databases are not unstructured piles of data (including heaps of web pages) spreadsheets such as Excel tables text files with neatly tabulated data data collected for one kind of analysis only Why are these things not databases?

Spreadsheets versus databases (1) A spreadsheet is typically viewed as an entire table of cells which may contain –numbers (data) –text (labels) –formulae (calculations producing results) A database may be structured in various ways, usually so that a small subset of the data is presented as the result of a search

Spreadsheets - databases (2) Spreadsheets Can be used immediately with little preparation (or thought) Data is visible Data entry is simple Databases Require planning Data is hidden May require a program to help you enter or retrieve data

Spreadsheets - databases (3) Spreadsheets Little checking is carried out Tables and graphs can be produced Single user Databases Extensive integrity checks can be arranged Reports can be programmed Searches can be made Can be multi-user Can be put on the Web with a suitable user interface program

What a database is Data is stored separately from any application programs which might use it Multiple uses of the data are envisaged Designed for retrieval in various anticipated and unanticipated forms

What are they used for? Biology: data about species details of publications Biodiversity: data about biological specimens data about areas, places, sampling sites, habitats etc. (sometimes in Geographical Information Systems (GIS) Bioinformatics: results of experiments molecular sequences, protein structures gene frequencies, gene expression data, etc.

DBMS types (database internal structure) What are the main types of database design? (The internal mechanics, not the information stored or the appearance of the database as seen by the user.) “Free text” - records not divided into fields “Flat-file” - records have fields (one table with columns like a spreadsheet), common and easy to understand, often inefficient Hierarchical, Network - now obsolete Relational - several tables, usually the choice of the professional (solid, boring) Object-oriented - for the adventurous (cutting edge)

Database system components (1) A database management system (DBMS) has the following essential components: Data tables (the data itself) Database “engine” (stores data to and retrieves data from the tables) User interface (for humans to enter, view and edit data) Some commercial general-purpose DBMSs, such as Microsoft Access, make the engine and the interface appear as one (although Access can use other engines)

Stand-alone and client-server systems Some database systems are integrated (“stand- alone”): the engine and the interface are combined (MS Access) –the data may also be on the same machine “Client-server” database systems put the data tables and the storage engine on a remote “server” computer –the user accesses the remote database server using a local database client program

Accessing the data in the database A user can use a built-in user interface to search, edit, etc. (e.g. in Microsoft Access) A user can use a separate or even third-party general- purpose client program, especially in the case of client- server systems such as MySQL, Oracle, etc. Such clients often use the SQL language (pronounced either “ess-cue-ell” or “sequel”) as a (fairly) standard way to formulate search requests, data editing instructions, etc. Special-purpose client programs may also be written (in Perl, Java, PHP, etc.) to perform such access, using SQL “embedded” in the program

Database system components (2) A DBMS is usually also associated with: Database “drivers”, import & export modules, etc. (for programs to store, retrieve and alter data) Application programs, which use drivers to connect to the database, send SQL commands to it and do useful things, sometimes called “business logic”; may be general-purpose or specialised) Report writer (a specialised application program) Utilities (ditto, for back-ups, integrity checking, etc.)

Smallest ever guide to SQL Database table definition: column names, data types, indexes, etc. Data records may be inserted, altered or deleted Data retrieval is based on the idea of selecting columns and rows to obtain a subset of a larger stored table, e.g. –SELECT name, salary FROM Employee WHERE name LIKE ‘Smith%’; Data may be retrieved from two or more tables using “joins” on linking data fields (keys)