MET280: Computing for Bioinformatics Introduction to databases What is a database? Not a spreadsheet. Data types and uses DBMS (DataBase Management System)

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
MSc IT UFIE8K-10-M Data Management Prakash Chatterjee Room 3P16
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
Lecture Microsoft Access and Relational Database Basics.
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.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 3-2 STUDENT LEARNING OUTCOMES 1.Describe business intelligence and its role 2.Compare databases and data warehouses.
Copyright 2003 The McGraw-Hill Companies, Inc CHAPTER Application Software computing ESSENTIALS    
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
M1G Introduction to Database Development 1. Databases and Database Design.
CSC 2720 Building Web Applications Database and SQL.
Chapter 4 Database Management Systems. Chapter 4Slide 2 What is a Database Management System (DBMS)?  Database An organized collection of related data.
Chapter 9 Database Management
Dale Roberts 1 Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Computing for Bioinformatics Introduction to databases What is a database? Database system components Data types DBMS architectures DBMS systems available.
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.
Databases C HAPTER Chapter 10: Databases2 Databases and Structured Fields  A database is a collection of information –Typically stored as computer.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
ASP.NET Programming with C# and SQL Server First Edition
Interacting With Data Databases.
Introduction to SQL Steve Perry
Database System Concepts and Architecture Lecture # 2 21 June 2012 National University of Computer and Emerging Sciences.
DATABASE PROGRAMMING Lecture on 16 – 05 – PREVIOUS LECTURE QUIZ: - Some students were very creative in transforming 2NF to 3NF. Excellent! - Some.
Simple Database.
Chapter 15: Using LINQ to Access Data in C# Programs.
M1G Introduction to Database Development 6. Building Applications.
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.
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,
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
FEN Introduction to the database field:  Applications, concepts and terminology Seminar: Introduction to relational databases.
COMU114: Introduction to Database Development 1. Databases and Database Design.
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,
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.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
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.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
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
Introduction to Web programming
Week 12 Option 3: Database Design
Database.
Spreadsheets, Modelling & Databases
DATABASES WHAT IS A DATABASE?
Presentation transcript:

MET280: Computing for Bioinformatics Introduction to databases What is a database? Not a spreadsheet. Data types and uses DBMS (DataBase Management System) architectures DBMS components DBMS user interfaces SQL (Structured Query Language) Client-server and 3-tier systems

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 – 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: species names, data about species details of publications Biodiversity: data about biological specimens place names, 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) “NoSQL” (Not only SQL) non-tabular XML, RDF etc.

Database system components A database management system (DBMS) has the following essential components: Data tables (the data itself) Core DBMS software including the database storage “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 storage engine and the interface appear as one (although Access can act as the user interface to other storage engines such as MySQL)

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

User interface components A DBMS is usually also associated with: Database “drivers” to permit programs to communicate with the storage engine 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-up, integrity checking, import & export modules, 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 school = “COMSC” AND name LIKE ‘Whit%’; Data may be retrieved from two or more tables using “joins” on linking data fields (keys) For examples, see the notes for Lecture 7