Database 2019-02: Difference between revisions
Line 115: | Line 115: | ||
<br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/submit.py Answer Template] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/submit.py [English]] | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/submit.py Answer Template] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/submit.py [English]] | ||
<br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/submission_instructions.txt Instructions on submitting the assignment] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/submission_instructions.txt [English]] | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/submission_instructions.txt Instructions on submitting the assignment] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/submission_instructions.txt [English]] | ||
<br> | <br> | ||
<br>Due 20191008 | <br>Due 20191008 | ||
<br> | <br> | ||
<br>[https://docs.google.com/forms/d/e/1FAIpQLSc77xOpv5Pjtgn9rJau3iXshMjMRbjRk_LLeDtLkRG0oi1Yhw/viewform?usp=sf_link quiz] | <br>[https://docs.google.com/forms/d/e/1FAIpQLSc77xOpv5Pjtgn9rJau3iXshMjMRbjRk_LLeDtLkRG0oi1Yhw/viewform?usp=sf_link quiz] | ||
Line 176: | Line 176: | ||
<br> [https://www.youtube.com/watch?v=r_FFYD29fdI&list=PLWm33cHVRby7Av1hirp_TUWAnmWLvw8Nr&index=24 Closure Part 2 (7:43)] | <br> [https://www.youtube.com/watch?v=r_FFYD29fdI&list=PLWm33cHVRby7Av1hirp_TUWAnmWLvw8Nr&index=24 Closure Part 2 (7:43)] | ||
| style="vertical-align: top;"| Ch. 3.2-3.7 | | style="vertical-align: top;"| Ch. 3.2-3.7 | ||
| style="vertical-align: top;"| [[https://docs.google.com/forms/d/e/1FAIpQLSf1zr-cBgxv9f19lBntJpyCgd87R5IRMsQGdPjAagvqkehlyg/viewform?usp=sf_link quiz]] [[http://open.gnu.ac.kr/lecslides/2019-2-DB/Activity/FDandClosure.pdf worksheet]] | | style="vertical-align: top;"| [[https://docs.google.com/forms/d/e/1FAIpQLSf1zr-cBgxv9f19lBntJpyCgd87R5IRMsQGdPjAagvqkehlyg/viewform?usp=sf_link quiz]] [[http://open.gnu.ac.kr/lecslides/2019-2-DB/Activity/FDandClosure.pdf worksheet]] | ||
Line 228: | Line 228: | ||
[http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/txn_viewer_v3.py / python v3] | [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/txn_viewer_v3.py / python v3] | ||
<br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/txnViewer.js Transaction visulation java script] | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/txnViewer.js Transaction visulation java script] | ||
<br> '''Video:''' | |||
<br> [https://www.youtube.com/watch?v=ffIXWmZxY8I&list=PLWm33cHVRby7Av1hirp_TUWAnmWLvw8Nr&index=31 Interleaving and Scheduling (10:15)] | |||
<br> [https://www.youtube.com/watch?v=NqGA_KfsGqI&list=PLWm33cHVRby7Av1hirp_TUWAnmWLvw8Nr&index=32 Conflicts (6:07)] | |||
<br> [https://www.youtube.com/watch?v=F-9hfCO1u8g&list=PLWm33cHVRby7Av1hirp_TUWAnmWLvw8Nr&index=33 Conflict Serializability (11:16)] | |||
<br> [https://www.youtube.com/watch?v=olj00HmP71U&list=PLWm33cHVRby7Av1hirp_TUWAnmWLvw8Nr&index=34 Strict Two-phase locking (9:31)] | |||
| style="vertical-align: top;"| Ch. 18.1-18.4 | | style="vertical-align: top;"| Ch. 18.1-18.4 | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| |
Revision as of 16:57, 7 October 2019
Class Information
Class Info | |
---|---|
Class | ETA00137 - 데이터베이스 |
Lecturer | Seongjin Lee |
Time and Place | 407-202 Tuesday 16:00-20:00 |
Office Hour | Tuesday: 16:00-20:00 |
Contacts | Office: 407-314 |
Email: insight at gnu dot ac dot kr |
Course Introduction
In Database Management System (DBMS), we study the database which is organized and structured collection of data. DBMS is a software system which acts as intermediary between user or application and the data. It allows to navigate through the data and analyze the data. In this course, we are going to learn the core mechanism that holds the system together.
Goal
In this course, we are going to learn the essence of data base management system. Students are going to learn the following concepts.
- Relational model
- Entity-relational model
- SQL
- External, conceptual, physical levels of DMBS
- Data definition language, Data manipulation language, query language
- Data structures
- Index
- Transaction and Concurrency
Text Book
Main Textbook
Not necessarily required to buy the book
- Database Management Systems 3/E, Ramakrishnan , Gehrke, Johannes 지음 | McGraw-Hill 번역본 교보문고 바로가기
Supplementary Textbook
- Database Systems : the Complete Book (Paperback) | Garcia-Molina, Ullman 지음 |Pearson Education Asia [link ][1판 번역본 ]
- 만화로 쉽게 배우는 데이터베이스, Takahashi Mana 지음, 홍희정 옮김, Azuma Shouko 그림, 성안당
- 데이터베이스 시스템 (AN INTRODUCTION TO DATABASE SYSTEMS), C.J. Date, Pearson, 2004
Evaluation
Categories | Ratio | Categories | Ratio |
---|---|---|---|
Attendance | 10 | Quiz | 10 |
Assignments | 10 | Midterm | 30 |
Project | 10 | Final | 30 |
Total | 100% |
- All exams are closed book and closed notes
- Any request for regrade must be made within one week of the time that the paper is returned, with no exception. You should describe in writing why the score is incorrect or graded unfairly. The written argument must be self-contained and can be evaluated based only on what is written on the paper.
Discussion
Please provide your info on this T.B.D.
All discussions and assignments are to be submitted in Piazza. Enroll into the class through the following link.
Lecture Plan
Working Environment Setup
Step 1: Installing Jupiter Notebook
Gentle reminder that, jupyter notebook best works at Linux
Option 1: Installation via Anaconda
It is recommended that you install Jupyter Notebook via Anaconda
- Download & install Anaconda for Python here
- Run
jupyter notebook
to confirm that it is properly installed
If Anaconda doesn't have jupyter: you can try running
conda install jupyter
Option 2: Installation via pip
You can also install via the python package manager pip
- Make sure you have installed
python
andpip
- Make sure
pip
is updated to its latest versionpip install --user --upgrade pip
- Install Jupyter Notebook
pip install --user --upgrade jupyter
Installing other kernels and versions of python
When you are using Python3 and want to switch to Python2 in the notebook,
python2 -m pip install ipykernel
python2 -m ipykernel install —user
After restarting the Jupyter, you can chose different kernel in Jupyter notebook.
Step 2: Installing Other Dependencies
Git
Git is a version control system which we use to store the various course material; you can download from here
- you can download the course material from here
- If you want the up-to-date version of the course material, checkout the course repository from the
git
by typing the following commandgit clone https://github.com/resourceful/lecture_db YourDestination
IPython-SQL
python-sql
allows you to use SQL queries inside jupyter notebooks; install using pip
pip install --user --upgrade ipython-sql
other modules
you will be needing
- markdown
- numpy
- pandas
Step 3: Getting Started
Getting the latest course materials
You can always access the latest course materials on the course website. You can download all at once and keep them synced by using git. To get started with this, run:
git clone https://github.com/resourceful/lecture_db YourDestination
Now you should have all the materials in Database; to get the latest version, run the following command in the repository.
git pull
To read the notebook
In the directory where the relevant course materials are, run:
jupyter notebook
Course Credit
Much of the materials of this lecture is based on CS145 of Stanford.