Logo courtesy Wordclouds.com
California State University Stanislaus
CS 4250: Database Management Systems
12:30 - 1:45 pm, Tu Th, DBH 101, 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
Before the final exam, you may wish to
review the same, small chunk of the midterm you have seen before.
The final exam will also have questions related to that chunk.
||"Latest Internet Crime Report Released:
IC3 Says Victim Losses Exceeded $1.4 Billion in 2017" (FBI's IC3, 7 May 2018)
||"If You Don't Have Sufficient Soft Skills, Google Might Not Hire You" (IEEE's the institute, 13 April 2018)
||Extra credit opportunity:
Create a CAHSI MentorNet Profile. Be sure to check the CAHSI box when creating
Here is a page with more information.
Save a confirmation (screen shot, print out of confirmation screen)
and show it to me by April 30th.
OIT has reported problems with GMail, so I created alternative ways (besides email)
to submit future project parts. You can use the CS Homework web site to submit Project Parts 4, 5, 6 and 7, if you wish.
I'll check there when I check email for project parts.
Here is a 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
The counseling center is offering some interesting workshops this semester, on topics like succeeding (and stuff) as a first generation college student, wellness, mindfulness, anxiety, etc, etc. Check them out!
|| 'Is Your Password on This List?' by IEEE JobSite. Hint: please do not let your password be on that list. Ever.
|| 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,
- 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 "Foundations of Programming: Databases" course --
all videos. You would need to authenticate yourself as a CSU Stanislaus student to
view the videos.
Fun News Items
- "Hard drive teardown", EngineerGuy video
- "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)
"Beyond Just 'Big' Data" (IEEE Spectrum, 28 Jul 2015) -- notice the comment
about jobs related to big data...
"How to Break Into Some of the Fastest-Growing Tech Fields" (theinstitute by IEEE, September 2016)
- XKCD on SQL
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.
- "Job Hunting in the Internet Age: A Techwise Conversation with Mike Junge, Google's senior recruiter"
"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.