INF5100 Mandatory Exercise. Autumn 2009
|
|
- Kevin Todd
- 5 years ago
- Views:
Transcription
1 INF5100 Mandatory Exercise Autumn 2009
2 Contents Important notes Team structure About the mandatory exercise Part I Part II
3 Important notes Due: Wednesday November 4th 2009 at 16:00 Deliver by to Jarle (jarleso at ifi.uio.no) If needed: installation/run procedures (explain) See also delivery instructions for Part I Read through guidelines for written assignments
4 Team structure Max 2 students in each team Team member names and adresses to Jarle (jarleso at ifi.uio.no). before midnight September 15th (Tuesday). Those who haven t got a group by the 15th will be randomly assigned to a group Requests for group of 1 person need a good reason! to Jarle (jarleso at ifi.uio.no) before midnight September 9th (Wed).
5 About the mandatory exercise The exercise consists of two parts Part I: TinyDB Part II: PostgreSQL SQL queries All parts and exercises must be solved. Language: English or Norwegian
6 Part I: TinyDB Practical usage of the emulator and the real motes
7 Outline Overview TinyDB TinyOS and limitations The assignment Lab setup and practical information
8 Overview Understanding usage of declarative languages for querying sensors Use an ordinary DBMS to extract even more information Discuss possible optimizations
9 Overview Each group has its own user on dmms-lab107.ifi.uio.no Login from Linux with options XY Login from Windows: Make sure to enable X11 forwarding Each group has one instance of TinyOS TinyDB PostgreSQL Avrora WSN emulator The last three are explicitly used in the assignment
10 Overview We use both an emulator and real motes The emulator is for testing and making sure things are all right and confirming that the results are correct Each group will receive a time slot where the real experiments on the motes are performed The fewer groups, the longer time to work on the real motes, thus groups of two persons is recommended for all
11 TinyOS Is located in tinyos-1.x/ in your group s folder Contains the files and libraries used by TinyDB (and other programs) All TinyOS programs on the motes are written in nesc and compiled on the base station (BS) before distributed to the motes Please look at the code if you re interested
12 TinyDB A small DSMS written for WSNs Needs a root node, which is connected to a stationary, i.e. connected to a power outlet, computer The root mote is node 0 Creates a tree to the other motes Handles all distribution of the queries Has a simple and intuitive interface Can log the result tuples to a PostgreSQL database
13 TinyDB s startup picture
14 TinyDB The query is stated by pressing the buttons, and the resulting query shows up Check the Log to Database field to log all the arriving tuples to PostgreSQL Press Send Query and a result window appears Get known to the system by trying the different buttons, but
15 TinyDB - Limitations TinyDB has limited expression strength Only some parts are implemented in the version we are currently using Windowing is not supported, i.e., results do not appear even though the query executor doesn t complain, and so on Sometimes you have to resend queries if results do not appear The running time of the query can not be set We cannot really use TinyDB optimally: It is a research project with code made just for showing concepts The examples in the TinyDB slides are not working since they have slightly different syntax than for the TinyDB prototype
16 TinyDB In the assignment, we should use PostgreSQL to perform some post analyses of the tuples Analysis of the data Stored as tuples in the database Start the PostgreSQL client at your group s login domain at dmms-lab107.ifi.uio.no by writing mypsql Make sure the postmaster server is running: ps ax grep postmaster If not, start it by writing pg_ctl start l /tmp/inf5100- <your group #>_logfile and then write mypsql Check out the table called queries The result tuples are stored there if Log to Database is marked in the TinyDB interface (see slide 13)
17 TinySQL These are the TinySQL clauses that you should need: SELECT <aggregates>, <attributes> [FROM {sensors}] [WHERE <predicates>] [GROUP BY <exprs>] [HAVING <aggregate>] [SAMPLE PERIOD <const> ONCE]
18 The Sensor Network Assignment Tasks 1. Measure the light for 60 seconds with a preferred sample interval. Argue why you use this sample interval. Remember to log to the database. 2. What is the total average of these readings? 3. Use these readings to measure only those readings having a value less than the total average. Run test for 60 seconds with the preferred sample interval. 4. Are there any difference in the results from the emulator and the motes? Why/Why not? 5. What is the difference between a central and a distributed implementation of the HAVING clause for aggregations like SUM and MAX? How does this affect the power consumption? Discuss and give examples. 6. Discuss some of the differences between the theoretical and practical experience with TinyDB.
19 Delivery of the sensor network part of the INF5100 assignment The result should be a document Discuss/show the queries and plots of the results for task 1 3 Discuss the results, do not assume the reader understands the results from the plots End up with a nice discussion on task 4 6 (0.5 to 1 page per question). Show that you understand. Also deliver your data and the document packet tarred and (g)zipped
20 Lab Setup The Mica2 motes 0 1 2
21 Running TinyDB with emulator 1. The Avrora WSN emulator Open a new window at dmms-lab107.ifi.uio.no > avrora 2. The serial forwarder 3. TinyDB Open a new window at dmms-lab107.ifi.uio.no > sf Open a new window at dmms-lab107.ifi.uio.no Uncomment comm-string:sf@localhost$900n (N depends on the group, e.g. group INF has 9002) in tinyos- 1.x/tools/java/net/tinyos/tinydb/tinydb.co nf > tinydb
22 Running TinyDB for real Comment (N depends on the group) in tinyos-1.x/tools/java/net/tinyos/tinydb/tinydb.conf Uncomment in tinyos- 1.x/tools/java/net/tinyos/tinydb/tinydb.conf > tinydb
23 Lab Setup The three motes are located in the DMMS lab The experiments on the motes can start in the beginning of October Use the emulator for so long Solve the other two parts of the assignment A schedule for access to the real motes is presented in heim.ifi.uio.no/~jarleso/inf5100/schedule.html and is ready when the groups are registered The schedule is tight, but everything (queries) should be ready when you can access the motes
24 Practical information Initially, the password for each group is equal to the group name, i.e., INF5100-5, for example Wait to log in before you know which group you are on
25 Practical Information To get data from PostgreSQL to a file, write mypsql -q -F ',' -A -t c <query> o <result file> Use your favorite plotting program to create the plots Use your favorite document creation program to write the text But the delivered document must be in pdf. Send me an if you experience some practical challenges A FAQ is located at heim.ifi.uio.no/~jarleso/inf5100/faq/ I add Q&As there, if the question is not too way out
26 Part II PostgreSQL SQL queries
27 PostgreSQL SQL queries A set of 4 queries to be solved using SQL against the PostgreSQL implementation The PostgreSQL used for Part II can be accessed from an Ifi login machine Report SQL query and answers (write comments/explain!) Discuss/contrast data management in Object- Relational DBMS (PostgreSQL) vs. data management in sensor networks (TinyDB). (max 1 page)
28 Filmdatabasen Very small subset of the Internet Movie Database (IMDb) - Same as the one that was used in INF3100 Brief overview of datamodel in Filmdatabasen : infofilmdb.pdf Command to create your own copy ( username is your username): > psql -h kurspg -U username username Password for user username: Welcome to psql (server 8.2.4), the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help with psql commands \g or terminate with semicolon to execute query \q to quit username=> \i /ifi/midgard/h01/jarleso/www_docs/filmdatabasen/install.sql
29 Filmdatabasen (ORM)
30 Filmdatabasen (ORM-UML)
31 Examples jarleso=> SELECT COUNT(*) FROM film; count (1 row) jarleso=> \i q3.sql - insert file <The answer of query 3> jarleso=> \d film Table "public.film" Column Type Modifiers filmid numeric(10,0) not null maintitle character varying(255) not null productionyear integer Indexes: "pkfilm" PRIMARY KEY, btree (filmid) "filmmaintitle" btree (maintitle) Check constraints: "yearrange" CHECK (productionyear >= 1889 AND productionyear <= 2050) jarleso=>
32 Examples jarleso=> SELECT TRIM(p.firstname + ' ' + p.middlename + ' ' + p.surname) AS full_name jarleso=> FROM person AS p jarleso=> WHERE p.surname = 'Aiello'; full_name Danny Aiello Gian Francesco Aiello Lorenzo Aiello Pier Francesco Aiello Rick Aiello Shu Aiello (6 rows)
33 Problems & Documentation Problems logging on: PostgreSQL documentation:
34 Need help? Questions? TinyDB frustrations? Jarle (jarleso at ifi.uio.no) or visit my office (3232)
TAG: A TINY AGGREGATION SERVICE FOR AD-HOC SENSOR NETWORKS
TAG: A TINY AGGREGATION SERVICE FOR AD-HOC SENSOR NETWORKS SAMUEL MADDEN, MICHAEL J. FRANKLIN, JOSEPH HELLERSTEIN, AND WEI HONG Proceedings of the Fifth Symposium on Operating Systems Design and implementation
More informationLesson 13 Transcript: User-Defined Functions
Lesson 13 Transcript: User-Defined Functions Slide 1: Cover Welcome to Lesson 13 of DB2 ON CAMPUS LECTURE SERIES. Today, we are going to talk about User-defined Functions. My name is Raul Chong, and I'm
More informationQuerying the Sensor Network. TinyDB/TAG
Querying the Sensor Network TinyDB/TAG 1 TAG: Tiny Aggregation Query Distribution: aggregate queries are pushed down the network to construct a spanning tree. Root broadcasts the query and specifies its
More informationIntroduction to Databases, Fall 2005 IT University of Copenhagen. Lecture 2: Relations and SQL. September 5, Lecturer: Rasmus Pagh
Introduction to Databases, Fall 2005 IT University of Copenhagen Lecture 2: Relations and SQL September 5, 2005 Lecturer: Rasmus Pagh Today s lecture What, exactly, is the relational data model? What are
More informationINF 315E Introduction to Databases School of Information Fall 2015
INF 315E Introduction to Databases School of Information Fall 2015 Class Hours: Tuesday & Thursday10:30 am-12:00 pm Instructor: Eunyoung Moon Email: eymoon@utexas.edu Course Description Almost every website
More informationTag a Tiny Aggregation Service for Ad-Hoc Sensor Networks. Samuel Madden, Michael Franklin, Joseph Hellerstein,Wei Hong UC Berkeley Usinex OSDI 02
Tag a Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden, Michael Franklin, Joseph Hellerstein,Wei Hong UC Berkeley Usinex OSDI 02 Outline Introduction The Tiny AGgregation Approach Aggregate
More informationQuerying Data with Transact SQL
Course 20761A: Querying Data with Transact SQL Course details Course Outline Module 1: Introduction to Microsoft SQL Server 2016 This module introduces SQL Server, the versions of SQL Server, including
More informationJoins, NULL, and Aggregation
Joins, NULL, and Aggregation FCDB 6.3 6.4 Dr. Chris Mayfield Department of Computer Science James Madison University Jan 29, 2018 Announcements 1. Your proposal is due Friday in class Each group brings
More informationMajor Features: Postgres 10
Major Features: Postgres 10 BRUCE MOMJIAN POSTGRESQL is an open-source, full-featured relational database. This presentation gives an overview of the Postgres 10 release. Creative Commons Attribution License
More informationLearning Alliance Corporation, Inc. For more info: go to
Writing Queries Using Microsoft SQL Server Transact-SQL Length: 3 Day(s) Language(s): English Audience(s): IT Professionals Level: 200 Technology: Microsoft SQL Server Type: Course Delivery Method: Instructor-led
More informationOracle SQL. murach s. and PL/SQL TRAINING & REFERENCE. (Chapter 2)
TRAINING & REFERENCE murach s Oracle SQL and PL/SQL (Chapter 2) works with all versions through 11g Thanks for reviewing this chapter from Murach s Oracle SQL and PL/SQL. To see the expanded table of contents
More informationGEO 425: SPRING 2012 LAB 9: Introduction to Postgresql and SQL
GEO 425: SPRING 2012 LAB 9: Introduction to Postgresql and SQL Objectives: This lab is designed to introduce you to Postgresql, a powerful database management system. This exercise covers: 1. Starting
More informationInformation Management I: Sensor Database, Querying, Publish & Subscribe, Information Summarization + SIGMOD 2003 paper
Information Management I: Sensor Database, Querying, Publish & Subscribe, Information Summarization + SIGMOD 2003 paper CS428: Information Processing for Sensor Networks, and STREAM meeting Presented by
More informationCS 126 Lecture P1: Introduction to C
CS 126 Lecture P1: Introduction to C Administrivia Background Syntax Libraries Algorithms Outline CS126 2-1 Randy Wang To Get Started Visit course web page: - http://www.cs.princeton.edu/courses/cs126
More informationOperating systems fundamentals - B07
Operating systems fundamentals - B07 David Kendall Northumbria University David Kendall (Northumbria University) Operating systems fundamentals - B07 1 / 33 What is SQL? Structured Query Language Used
More informationWriting Queries Using Microsoft SQL Server 2008 Transact-SQL. Overview
Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Overview The course has been extended by one day in response to delegate feedback. This extra day will allow for timely completion of all the
More informationTrue Potential Client Site
True Potential Client Site New Login Process Including the iphone & ipad app process 1 P a g e Account Activation & New Login Process We re changing the way you log into your account on the True Potential
More informationCOURSE OUTLINE MOC 20461: QUERYING MICROSOFT SQL SERVER 2014
COURSE OUTLINE MOC 20461: QUERYING MICROSOFT SQL SERVER 2014 MODULE 1: INTRODUCTION TO MICROSOFT SQL SERVER 2014 This module introduces the SQL Server platform and major tools. It discusses editions, versions,
More informationTinyDB and TASK. Sensor Network in a Box SMARTER SENSORS IN SILICON 1
TinyDB and TASK Sensor Network in a Box SMARTER SENSORS IN SILICON 1 Overview What is TinyDB? A query processing system for extracting information from a network of TinyOS sensors. Requires no embedded
More informationTeacher User Easy Setup Guide. Teacher User Setup Guide - wushka.com.au -
Teacher User Easy Setup Guide - - 5 Easy Steps to Set Up Your Students and Reading Groups Input your students details individually Step 1: Manage Class List Page OR Use the upload tool to set up all students
More informationData Management in Sensor Networks
Data Management in Sensor Networks Ellen Munthe-Kaas Jarle Søberg 1 Outline Sensor networks Characteristics Motes Application domains Data management TinyOS TinyDB 2 Sensor Networks Base station (gateway)
More informationDATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016
DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to
More informationSQL grouping, views & modifying data
SQL grouping, views & modifying data Grouping (GROUP BY) Views INSERT UPDATE DELETE Steen Jensen, autumn 2017 SQL query - grouping Grouping makes it possible to show information listed in groups Conditions
More informationMoteView User s Manual. Presented by Bretny Khamphavong, Nancy White, Chloe Norris, Catherine Greene
MoteView User s Manual Presented by Bretny Khamphavong, Nancy White, Chloe Norris, Catherine Greene Introduction to Crossbow: MoteView User s Manual Presented by Bretny Khamphavong, Wireless Mesh Networking
More informationLesson 3 Transcript: Part 1 of 2 - Tools & Scripting
Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting Slide 1: Cover Welcome to lesson 3 of the db2 on Campus lecture series. Today we're going to talk about tools and scripting, and this is part 1 of 2
More informationCOGS 121 HCI Programming Studio. Week 03 - Tech Lecture
COGS 121 HCI Programming Studio Week 03 - Tech Lecture Housekeeping Assignment #1 extended to Monday night 11:59pm Assignment #2 to be released on Tuesday during lecture Database Management Systems and
More informationMicrosoft Access Illustrated. Unit B: Building and Using Queries
Microsoft Access 2010- Illustrated Unit B: Building and Using Queries Objectives Use the Query Wizard Work with data in a query Use Query Design View Sort and find data (continued) Microsoft Office 2010-Illustrated
More informationCGS 3066: Spring 2017 SQL Reference
CGS 3066: Spring 2017 SQL Reference Can also be used as a study guide. Only covers topics discussed in class. This is by no means a complete guide to SQL. Database accounts are being set up for all students
More information20461: Querying Microsoft SQL Server 2014 Databases
Course Outline 20461: Querying Microsoft SQL Server 2014 Databases Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions,
More informationAssignment 1: PostgreSQL Buffer Manager
UNIVERSITY OF CALIFORNIA College of Engineering Department of EECS, Computer Science Division Assignment 1 Prof. Joe Hellerstein Dr. Minos Garofalakis Assignment 1: PostgreSQL 8.0.3 Buffer Manager In the
More informationWireless Sensor networks: a data centric overview. Politecnico di Milano Joint work with: C. Bolchini F.A. Schreiber other colleagues and students
Wireless Sensor networks: a data centric overview Politecnico di Milano Joint work with: C. Bolchini F.A. Schreiber other colleagues and students Wireless embedded sensor networks Thousands of tiny low
More informationOutline. TinyDB-Overview. TinyDB-Design, Code and implementation. TinyDB Overview TinyDB and Java API TinyDB Internals Extending TinyDB
TinyDB-Design, Code and implementation By Prakash Achutaramaiah Outline TinyDB Overview TinyDB and Java API TinyDB Internals Extending TinyDB TinyDB-Overview TinyDB is a query processing system for extracting
More informationCSCI 320 Group Project
CSCI 320 Group Project Project Description This is a semester long group project. Project Goals Group project of 3-4 students. Groups will not change after assigned. Select a project domain from the list
More informationCS121 MIDTERM REVIEW. CS121: Relational Databases Fall 2017 Lecture 13
CS121 MIDTERM REVIEW CS121: Relational Databases Fall 2017 Lecture 13 2 Before We Start Midterm Overview 3 6 hours, multiple sittings Open book, open notes, open lecture slides No collaboration Possible
More informationNetworks and Web for Health Informatics (HINF 6220)
Networks and Web for Health Informatics (HINF 6220) Tutorial #1 Raheleh Makki Email: niri@cs.dal.ca Tutorial Class Timings Tuesday & Thursday 4:05 5:25 PM Course Outline Database Web Programming SQL PHP
More informationContents. Last updated: 18 th August 2017
DRM Lite in Firefox DRM Lite is the new way for British Library to deliver electronic documents securely. When a document is requested via this service the document is locked so that only one user can
More information(Worth 50% of overall Project 1 grade)
第 1 页共 8 页 2011/11/8 22:18 (Worth 50% of overall Project 1 grade) You will do Part 3 (the final part) of Project 1 with the same team as for Parts 1 and 2. If your team partner dropped the class and you
More informationData! CS 133: Databases. Goals for Today. So, what is a database? What is a database anyway? From the textbook:
CS 133: Databases Fall 2018 Lec 01 09/04 Introduction & Relational Model Data! Need systems to Data is everywhere Banking, airline reservations manage the data Social media, clicking anything on the internet
More informationIndex. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer,
A Access control, 165 granting privileges to users general syntax, GRANT, 170 multiple privileges, 171 PostgreSQL, 166 169 relational databases, 165 REVOKE command, 172 173 SQLite, 166 Aggregate functions
More informationRows and Range, Preceding and Following
Rows and Range, Preceding and Following SQL Server 2012 adds many new features to Transact SQL (T-SQL). One of my favorites is the Rows/Range enhancements to the over clause. These enhancements are often
More informationReminders - IMPORTANT:
CMU - SCS 15-415/15-615 Database Applications Spring 2013, C. Faloutsos Homework 5: Query Optimization Released: Tuesday, 02/26/2013 Deadline: Tuesday, 03/19/2013 Reminders - IMPORTANT: Like all homework,
More informationDSMS Benchmarking. Morten Lindeberg University of Oslo
DSMS Benchmarking Morten Lindeberg University of Oslo Agenda Introduction DSMS Recap General Requirements Metrics Example: Linear Road Example: StreamBench 30. Sep. 2009 INF5100 - Morten Lindeberg 2 Introduction
More informationPart I: Structured Data
Inf1-DA 2011 2012 I: 92 / 117 Part I Structured Data Data Representation: I.1 The entity-relationship (ER) data model I.2 The relational model Data Manipulation: I.3 Relational algebra I.4 Tuple-relational
More informationCS317 File and Database Systems
CS317 File and Database Systems Lecture 2 DBMS DDL & DML Part-1 September 3, 2017 Sam Siewert MySQL on Linux (LAMP) Skills http://dilbert.com/strips/comic/2010-08-02/ DBMS DDL & DML Part-1 (Definition
More informationWriting Queries Using Microsoft SQL Server 2008 Transact- SQL
Writing Queries Using Microsoft SQL Server 2008 Transact- SQL Course 2778-08; 3 Days, Instructor-led Course Description This 3-day instructor led course provides students with the technical skills required
More information1. Data Definition Language.
CSC 468 DBMS Organization Spring 2016 Project, Stage 2, Part 2 FLOPPY SQL This document specifies the version of SQL that FLOPPY must support. We provide the full description of the FLOPPY SQL syntax.
More informationCreating a mytraining Learner Account
Welcome to UF Health Shands! Students are required to access the mytraining online application to complete required training modules prior to being provisioned an EPIC account. If you were previously employed
More informationInternational SOS e-learning Training Hub User Guide
International SOS e-learning Training Hub User Guide WELCOME TO THE INTERNATIONAL SOS TRAINING HUB.... 2 STEP 1. ACCESSING THE INTERNATIONAL SOS TRAINING HUB... 2 STEP 2. LOGGING INTO INTERNATIONAL SOS
More informationRelational Database Design Part I. Announcements (September 5) Relational model: review. CPS 116 Introduction to Database Systems
Relational Database Design Part I CPS 116 Introduction to Database Systems Announcements (September 5) 2 rack040 accounts created; change your password! Let me know if you have NOT received the email Homework
More informationWeek 5 Lesson 5 02/28/18
Week 5 Lesson 5 02/28/18 Important Announcements Extra Credits If you haven t done so, send your pictures to risimms@cabrillo.edu for 3 points EXTRA CREDIT. Join LinkedIn for 3 points Perkins/VTEA Survey
More informationInstructor: Craig Duckett. Lecture 14: Tuesday, May 15 th, 2018 Stored Procedures (SQL Server) and MySQL
Instructor: Craig Duckett Lecture 14: Tuesday, May 15 th, 2018 Stored Procedures (SQL Server) and MySQL 1 Assignment 3 is due LECTURE 20, Tuesday, June 5 th Database Presentation is due LECTURE 20, Tuesday,
More informationCompiling with Multiple Files The Importance of Debugging CS 16: Solving Problems with Computers I Lecture #7
Compiling with Multiple Files The Importance of Debugging CS 16: Solving Problems with Computers I Lecture #7 Ziad Matni Dept. of Computer Science, UCSB Programming in Multiple Files The Magic of Makefiles!
More informationNational Festivals & Participative Events Programme
National Festivals & Participative Events Programme 2018 Learn how to log into Fáilte Ireland s online Trade Portal and apply to the National Festivals & Participative Events Programme 2018. 1. How to
More informationSQL: Part II. Introduction to Databases CompSci 316 Fall 2018
SQL: Part II Introduction to Databases CompSci 316 Fall 2018 2 Announcements (Thu., Sep. 20) Homework #1 sample solution to be posted on Sakai by this weekend Homework #2 due in 1½ weeks Get started on
More informationPartitioning Shines in PostgreSQL 11
Partitioning Shines in PostgreSQL 11 Amit Langote, NTT OSS Center PGConf.ASIA, Tokyo Dec 11, 2018 About me Amit Langote Work at NTT OSS Center developing PostgreSQL Contributed mainly to table partitioning
More informationTable 1 lists the projects and teams. If you want to, you can switch teams with other students.
University of Arizona, Department of Computer Science CSc 620 Assignment 3 40% Christian Collberg August 27, 2008 1 Introduction This is your main project for the class. The project is worth 40% of your
More informationOutline. Assumptions. Key Features. A Content-Based Networking Protocol For Sensor Networks (Technical Report 2004)
A Content-Based Networking Protocol For Sensor Networks (Technical Report 004) Presented by: Kyu-Wook Cho /0/05 Outline Assumptions Direct access only to neighbor nodes Resource-constrained nodes Many
More informationDSMS Part 1, 2 & 3. Data Stream Management. Example: Sensor Networks. Some Sensornet Applications. Data Stream Management Systems
Data Stream Management Systems Data Stream Management Systems Vera Goebel Thomas Plagemann University of Oslo 1 DSMS Part 1, 2 & 3 Introduction: What are DSMS? (terms) Why do we need DSMS? (applications)
More informationBrief Contents. Foreword by Sarah Frostenson...xvii. Acknowledgments... Introduction... xxiii. Chapter 1: Creating Your First Database and Table...
Brief Contents Foreword by Sarah Frostenson....xvii Acknowledgments... xxi Introduction... xxiii Chapter 1: Creating Your First Database and Table... 1 Chapter 2: Beginning Data Exploration with SELECT...
More informationLecture 3 SQL - 2. Today s topic. Recap: Lecture 2. Basic SQL Query. Conceptual Evaluation Strategy 9/3/17. Instructor: Sudeepa Roy
CompSci 516 Data Intensive Computing Systems Lecture 3 SQL - 2 Instructor: Sudeepa Roy Announcements HW1 reminder: Due on 09/21 (Thurs), 11:55 pm, no late days Project proposal reminder: Due on 09/20 (Wed),
More informationIntroduction to C++ Homework Assignment. Fundamental Concepts. rvalues and lvalues. Programming Standards. A Basic Program.
Introduction to A Basic Program 01/15/2009 Kill Leftover VNC Sessions Connect to comphy.fsu.edu:#: ( # is your vnc port number) Check your vncserver(s) If a vncserver is up and running there should be
More informationSetting up PostgreSQL
Setting up PostgreSQL 1 Introduction to PostgreSQL PostgreSQL is an object-relational database management system based on POSTGRES, which was developed at the University of California at Berkeley. PostgreSQL
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and
More informationWhat is SQL? Toolkit for this guide. Learning SQL Using phpmyadmin
http://www.php-editors.com/articles/sql_phpmyadmin.php 1 of 8 Members Login User Name: Article: Learning SQL using phpmyadmin Password: Remember Me? register now! Main Menu PHP Tools PHP Help Request PHP
More informationDistributed Memory Programming With MPI Computer Lab Exercises
Distributed Memory Programming With MPI Computer Lab Exercises Advanced Computational Science II John Burkardt Department of Scientific Computing Florida State University http://people.sc.fsu.edu/ jburkardt/classes/acs2
More informationDATABASE PERFORMANCE AND INDEXES. CS121: Relational Databases Fall 2017 Lecture 11
DATABASE PERFORMANCE AND INDEXES CS121: Relational Databases Fall 2017 Lecture 11 Database Performance 2 Many situations where query performance needs to be improved e.g. as data size grows, query performance
More informationCSC236 Week 4. Larry Zhang
CSC236 Week 4 Larry Zhang 1 Announcements PS2 is out Larry s office hours in the reading week: as usual Tuesday 12-2, Wednesday 2-4 2 NEW TOPIC Recursion To really understand the math of recursion, and
More informationSlide Set 6. for ENCM 339 Fall 2017 Section 01. Steve Norman, PhD, PEng
Slide Set 6 for ENCM 339 Fall 2017 Section 01 Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary October 2017 ENCM 339 Fall 2017 Section 01 Slide
More informationCSE 565 Computer Security Fall 2018
CSE 565 Computer Security Fall 2018 Lecture 12: Database Security Department of Computer Science and Engineering University at Buffalo 1 Review of Access Control Types We previously studied four types
More informationPostgreSQL Documentation. Fast Backward
Prev Fast Backward PostgreSQL 7.4.1 Documentation Fast Forward Next GRANT Name GRANT -- define access privileges Synopsis GRANT { { SELECT INSERT UPDATE DELETE RULE REFERENCES TRIGGER } [,...] ALL [ PRIVILEGES
More informationC++ (Non for C Programmer) (BT307) 40 Hours
C++ (Non for C Programmer) (BT307) 40 Hours Overview C++ is undoubtedly one of the most widely used programming language for implementing object-oriented systems. The C++ language is based on the popular
More informationDatabase Usage (and Construction)
Lecture 7 Database Usage (and Construction) More SQL Queries and Relational Algebra Previously Capacity per campus? name capacity campus HB2 186 Johanneberg HC1 105 Johanneberg HC2 115 Johanneberg Jupiter44
More informationSet theory is a branch of mathematics that studies sets. Sets are a collection of objects.
Set Theory Set theory is a branch of mathematics that studies sets. Sets are a collection of objects. Often, all members of a set have similar properties, such as odd numbers less than 10 or students in
More informationConnecting BioNumerics to MySQL
Connecting BioNumerics to MySQL A brief overview Applied Maths NV - KJ February 2010 MySQL server side MySQL settings file MySQL is a very flexible DBMS and has quite a number of settings that allows one
More informationImplementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations. SQL: Structured Query Language
Implementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations Show Only certain columns and rows from the join of Table A with Table B The implementation of table operations
More informationCopyright 2016 Ramez Elmasri and Shamkant B. Navathe
Chapter 10 Outline Database Programming: Techniques and Issues Embedded SQL, Dynamic SQL, and SQLJ Database Programming with Function Calls: SQL/CLI and JDBC Database Stored Procedures and SQL/PSM Comparing
More informationHTML is a mark-up language, in that it specifies the roles the different parts of the document are to play.
Introduction to HTML (5) HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play. For example you may specify which section of a document is a top level
More informationA LISP Interpreter in ML
UNIVERSITY OF OSLO Department of Informatics A LISP Interpreter in ML Mandatory Assignment 1 INF3110 September 21, 2009 Contents 1 1 Introduction The purpose of this assignment is to write an interpreter,
More informationProject 2: Genetic Programming for Symbolic Regression
Project 2: Genetic Programming for Symbolic Regression Assigned: Tuesday, Oct. 2 Multiple Due Dates (all submissions must be submitted via BlackBoard): Undergrads: Generally complete, compilable code:
More informationAnnouncements (September 18) SQL: Part II. Solution 1. Incomplete information. Solution 3? Solution 2. Homework #1 due today (11:59pm)
Announcements (September 18) 2 SQL: Part II Homework #1 due today (11:59pm) Submit in class, slide underneath my office door Sample solution available Thursday Homework #2 assigned today CPS 116 Introduction
More informationCS 2316 Homework 9a GT Room Reservation Login
CS 2316 Homework 9a GT Room Reservation Login Due: Wednesday November 5th Out of 100 points Files to submit: 1. HW9.py This is an INDIVIDUAL assignment! Collaboration at a reasonable level will not result
More informationTHE RELATIONAL DATA MODEL CHAPTER 3 (6/E) CHAPTER 5 (5/E)
1 THE RELATIONAL DATA MODEL CHAPTER 3 (6/E) CHAPTER 5 (5/E) 2 LECTURE OUTLINE Relational Model Concepts Relational Database Schemas Update Operations Brief History of Database Applications (from Section
More informationRelational Algebra for sets Introduction to relational algebra for bags
Relational Algebra for sets Introduction to relational algebra for bags Thursday, September 27, 2012 1 1 Terminology for Relational Databases Slide repeated from Lecture 1... Account Number Owner Balance
More informationRelational Algebra Homework 0 Due Tonight, 5pm! R & G, Chapter 4 Room Swap for Tuesday Discussion Section Homework 1 will be posted Tomorrow
Relational Algebra R & G, Chapter 4 By relieving the brain of all unnecessary work, a good notation sets it free to concentrate on more advanced problems, and, in effect, increases the mental power of
More informationList Functions, and Higher-Order Functions
List Functions, and Higher-Order Functions Björn Lisper Dept. of Computer Science and Engineering Mälardalen University bjorn.lisper@mdh.se http://www.idt.mdh.se/ blr/ List Functions, and Higher-Order
More informationDevelopment of Emulation Projects for Teaching Wireless Sensor Networks 1
Development of Emulation Projects for Teaching Wireless Sensor Networks Deepesh Jain T. Andrew Yang University of Houston Clear Lake Houston, Texas Abstract In recent years research and development in
More informationUnit Assessment Guide
Unit Assessment Guide Unit Details Unit code Unit name Unit purpose/application ICTWEB425 Apply structured query language to extract and manipulate data This unit describes the skills and knowledge required
More informationQUIZ. How could we disable the automatic creation of copyconstructors
QUIZ How could we disable the automatic creation of copyconstructors pre-c++11? What syntax feature did C++11 introduce to make the disabling clearer and more permanent? Give a code example. Ch. 14: Inheritance
More informationR in Linguistic Analysis. Week 2 Wassink Autumn 2012
R in Linguistic Analysis Week 2 Wassink Autumn 2012 Today R fundamentals The anatomy of an R help file but first... How did you go about learning the R functions in the reading? More help learning functions
More informationLab 1: Silver Dollar Game 1 CSCI 2101B Fall 2018
Lab 1: Silver Dollar Game 1 CSCI 2101B Fall 2018 Due: Tuesday, September 18, 11:59 pm Collaboration Policy: Level 1 (review full policy for details) Group Policy: Individual This lab will give you experience
More informationInformatics 1: Data & Analysis
Informatics 1: Data & Analysis Lecture 5: Relational Algebra Ian Stark School of Informatics The University of Edinburgh Tuesday 31 January 2017 Semester 2 Week 3 https://blog.inf.ed.ac.uk/da17 Tutorial
More informationDATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016
DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to
More informationSQL: Part II. Announcements (September 18) Incomplete information. CPS 116 Introduction to Database Systems. Homework #1 due today (11:59pm)
SQL: Part II CPS 116 Introduction to Database Systems Announcements (September 18) 2 Homework #1 due today (11:59pm) Submit in class, slide underneath my office door Sample solution available Thursday
More informationCSC 101 Spring 2010 Lab #8 Report Gradesheet
CSC 101 Spring 2010 Lab #8 Report Gradesheet Name WFU Username Lab Section: A B C D Partner s Name (if you had one): Topic Points Notes Pre-lab questions 20 total - 5 at 4 points each Lab report questions
More informationSQL language. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c)
SQL language Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c) 2011-2016 SQL - Structured Query Language SQL is a computer language for communicating with DBSM Nonprocedural (declarative) language What
More informationEE221 Databases Practicals Manual
EE221 Databases Practicals Manual Lab 1 An Introduction to SQL Lab 2 Database Creation and Querying using SQL Assignment Data Analysis, Database Design, Implementation and Relation Normalisation School
More informationGetting Started With Oracle
Getting Started With Oracle Ashikur Rahman CSE, BUET July 14, 2016 1 Logging In to Oracle You should be logged onto one of the Windows 7 machine in the database lab. Open the command promt first by typping
More informationCSC Web Programming. Introduction to SQL
CSC 242 - Web Programming Introduction to SQL SQL Statements Data Definition Language CREATE ALTER DROP Data Manipulation Language INSERT UPDATE DELETE Data Query Language SELECT SQL statements end with
More informationAVANTUS TRAINING PTE LTD
[MS20461]: Querying Microsoft SQL Server 2014 Length : 5 Days Audience(s) : IT Professionals Level : 300 Technology : SQL Server Delivery Method : Instructor-led (Classroom) Course Overview This 5-day
More informationFunctions. Lab 4. Introduction: A function : is a collection of statements that are grouped together to perform an operation.
Lab 4 Functions Introduction: A function : is a collection of statements that are grouped together to perform an operation. The following is its format: type name ( parameter1, parameter2,...) { statements
More information