Logo courtesy Wordclouds.com
California State University Stanislaus
CS 4250: Database Management Systems
11:00 - 12:15 pm, Tu Thu, CX 102, Dr. Megan Thomas
Welcome to CS4250, an introduction to database management systems.
Modeling, development, and implementation of database systems using storage structures,
data definition languages, and data manipulation languages for the relational approach
to database management. Database integrity and security problems. Historical development
of database systems.
Prerequisite: CS 3100.
Announcements and Upcoming Events
||"How To Get Your Data Scientist Career Started", Forbes.com, Apr. 14, 2019.
"Who Hired A Lot in 2018?" by IEEE Job Site - what companies made the most tech job postings in 2018?
"Seven of the Coolest-and Best-Paying-Jobs in Emerging Tech" (eWeek.com, Feb 2019)
Here is one small chunk of the midterm
you will take on Thursday.
To help students practice SQL syntax, you may log in (using SSH or a similar tool) to hopper.csustan.edu and use your local MySQL account to try SQL queries at the MySQL command line.
After you log in to hopper, then
That will set up sample Doctor, Patient and Department tables, with schemas like in Hwk 2.(Note: for simplification, no foreign keys are set up. And real data is likely to have many more duplicates in human name fields, which a good DBA would think about carefully when writing queries.)
- start the MySQL command line (#2 on the account paper you are given)
- copy and paste the text from createHW2tables.txt into the MySQL prompt
- then download and edit loadHW2data.txt so that it refers to whatever location you plan to put the files of sample data (you may need to edit on your local machine, then copy the file onto hopper.csustan.edu
- put doctor.txt, patient.txt, department.txt at the location you specified in loadHW2data.txt
- then copy and paste the text from loadHW2data.txt into the MySQL prompt
|| Homework 1 has been edited to remove a question. (The question was from
a previous semester's homework assignment, and unrelated to this semester's homework.)
|| SERSCA workshops for Spring 2019 -
handling yourself well in public speaking, making a good PowerPoint presentation,
making a good scientific research poster, making good data visualizations.
|| Career Center Event Calendar for Spring 2019 - resume workshops, career and internship fairs on campus
|| "Why data scientist is the most promising job of 2019" TechRepublic (and LinkedIn), Jan 10, 2019.
|| "These Bay Area companies are 'hiring like crazy' in 2019, according to Glassdoor", SFGate.com, Jan 2, 2019.
|| Welcome to CS 4250!
At the CSU Stanislaus library:
- Database Systems: The Complete Book by Garcia-Molina, Ullman and Widom,
three extremely well-respected database researchers and professors at Stanford University.
- Database Management Systems by Raghu Ramakrishnan and Johannes Gherke,
excellent, systems-oriented introduction to the field of database management.
- Database Tuning by Dennis Sasha and Philippe Bonet. A clear
presentation of how database design decisions impact database performance.
Also discusses IBM, Oracle and Microsoft systems and how design choices can impact them.
- MySQL and mSQL by Randy Yarger.
- MySQL by Paul DuBois (electronic).
- Readings in Database Systems by M. Stonebraker. A collection of
influential papers in DBMS research history.
The Ramakrishnan and Garcia-Molina/Ullman/Widom textbooks are both
available at the university library.
CSU Stanislaus Dreamers: Resources
for AB540 and undocumented students
- IBM's DB2, etc
- Microsoft SQL Server
'cd' (Unix/Mac) or 'chdir' (Windows/ Command Prompt) your command line window into
whatever folder you put the files you downloaded and unzipped, and type ./sqlite3
(Unix/Mac) or .\sqlite3 (Windows) and the SQLite command line tool should start up.
- I've put the start-up file of SQL commands here.
I usually copy-and-paste the ch5-demo.sql file's contents into the sqlite3 command
prompt. (There is an import command, but it has occasionally behaved oddly for me.)
- Basic instructions for the command line SQLite are here.
- SQL for Web Nerds by Philip
Greenspun, a free, on-line only database textbook with a focus on Oracle DBMSs
- SQLFiddle.com appears to be a web site
that allows uers to "fiddle around" with SQL.
- JDBC Tutorial,
courtesy Jeff Ullman
- JDBC Tutorial,
- MySQL Tutorial - pure tutorial web site
- Execute PHP
MySQL On-line, a PHP testing facility provided by http://www.tutorialspoint.com/
- XML Tutorial, courtesy w3schools.com
- XML Tutorial, courtesy zvon.com
- Phlonx's Third Normal Form Tutorial,
with numerous illustrative diagrams
- Lynda.com's databases-related courses --
all videos. You would need to authenticate yourself as a CSU Stanislaus student to
view the videos.
- XKCD on SQL
- "Hard drive teardown", EngineerGuy video
Fun News Items
- One reason why you should be doing backups: "City Pays $2K in Ransomware, Stirs 'Never Pay' Debate" (threatpost.com, Oct 23, 2018)
- LinkedIn August 2018 Workforce Report -- what skills are employers looking for? How is hiring going? Interesting quotation: "Demand for data scientists is off the charts"
- "Looking for a tech job? These 8 industries pay the most" (TechRepublic, Feb 2018) (Beware annoying auto-play video at the top of the page.)
- "https://www.fastcompany.com/40420383/i-review-thousands-of-resumes-heres-what-im-really-looking-for" (Fast Company, May 2017)
- "Software Engineering Jobs Dominate List of Best Careers for 2017" (IEEE Spectrum, 22 March 2017)
- "Data Scientist, DevOps Engineer and DBA Among Top IT Jobs for 2017" (Datamation.com, Jan 2017)
Center Love: Tech Chiefs Show Off the Gear That Keeps Everything Humming"
by CIO Journal Staff, of the Wall Street Journal, on Dec. 31, 2015.
"Top secret Visa data center banks on security, even has moat", (USA Today, 3/2012)
Security guards, power back-ups, earthquake and hurricane protection... credit
card companies take protecting data seriously.
- "Data Modeling for Analytical Data Warehouses,"
an interview with Michael Blaha (3/3/2012) ODBMS Industry Watch.
- "Under the Hood at Google and Facebook:
A peek at the data centers, servers, and software that keep us feeling connected"
IEEE Spectrum, June 2011.
Normalization for the Real World: nice article walking
one through the steps of database normalization, with larger- than- can- fit- on- a-
PowerPoint- slide relation examples.