SlideShare una empresa de Scribd logo
1 de 10
Descargar para leer sin conexión
CS5226 Lecture 0
 Course Admin
CS5226: Database Tuning

          ◮    Lectures: Monday, 6:30 - 8:30pm, LT 19 (COM2)
          ◮    Lecturer: Chan Chee Yong
                    ◮    Office: #03-24, COM1 Building
                    ◮    Email: chancy@comp.nus.edu.sg
                    ◮    Phone: 6516-6736
                    ◮    Office hours: TBA or by email appointments
          ◮    Teaching Assistant:
                    ◮    Goh Wei Xiang (g0801429@nus.edu.sg)
          ◮    Course Information:
                    ◮    IVLE: download course material, forum discussions,
                         annoucements


CS5226: Sem 2, 2012/13                         Course Admin                   2
Course Objectives



          ◮    Understanding of database architecture &
               performance tuning
          ◮    Hands-on experience in database system tuning




CS5226: Sem 2, 2012/13                Course Admin             3
Prerequisites


          ◮    CS2102 (Database Systems)
                    ◮    Relational data model & algebra
                    ◮    SQL
                    ◮    Schema design: dependency theory, normal forms
          ◮    CS3223 (Database Systems Implementation)
                    ◮    Storage & indexing techniques
                    ◮    Query optimization & evaluation
                    ◮    Transaction management: concurrency control & data
                         recovery




CS5226: Sem 2, 2012/13                        Course Admin                    4
CS2102 & CS3223 Reference Books

          ◮    Raghu Ramakrishnan & Johannes Gehrke,
               Database Management Systems,
               McGraw-Hill, Third Edition, 2003.
               (QA76.9 Dbm.Ra 2003)

          ◮    Avi Silberschatz, Hank Korth & S. Sudarshan,
               Database Systems Concepts,
               McGraw-Hill, Sixth Edition, 2011.
               (QA76.9 Dbm.Si 2011)

          ◮    Hector Garcia-Molina, Jeffrey Ullman, & Jennifer Widom,
               Database Systems: The Complete Book,
               Prentice Hall, Second Edition, 2009.
               (QA76.9 Dbm.Gar 2009)


CS5226: Sem 2, 2012/13                     Course Admin                  5
CS5226 Course Material
    Research & Industrial Papers

          ◮    Will be made available at IVLE

    Reference Books

          ◮    Nicolas Bruno,
               Automated Physical Database Design and Tuning,
               CRC Press, 2011. (QA76.9 Dat.Bn 2011)

          ◮    Sam Lightstone, Toby Teorey, & Tom Nadeau,
               Physical Database Design: the Database Professional’s Guide
               to Exploiting Indexes, Views, Storage, and More,
               Morgan Kaufmann, 2007. (QA76.9 Dat.Li 2007)

          ◮    Dennis Shasha & Philippe Bonnet,
               Database Tuning: Principles, Experiments, and Troubleshooting
               Techniques, Morgan Kaufmann, 2002. (QA76.9 Dbm.Sh 2002)
CS5226: Sem 2, 2012/13                     Course Admin                        6
Tuning guides for DBMS products


          ◮    IBM DB2 Performance Tuning

          ◮    Microsoft SQL Server Performance (Database Engine)

          ◮    Oracle Database Performance Tuning Guide

          ◮    PostgreSQL Performance Optimization

          ◮    Sybase Performance and Tuning Guide




CS5226: Sem 2, 2012/13                   Course Admin               7
Workload & Assessment
          ◮    Number of credits = 4
          ◮    Workload per week = 9 hours
                    ◮    2 lecture hours
                    ◮    3 assignment hours
                    ◮    4 preparatory work hours
          ◮    Tentative Module Assessment:
                                     Assessment Component     %
                                     Lab Assignments          15
                                     Project                  30
                                     Open-book Midterm Exam   15
                                     Open-book Exam           40
          ◮    Policies:
                    ◮    Zero-tolerance for plagiarism
                          ØØÔ »» ÑÓ ÙÐ ºÒÙ׺ Ùº× » 
»Ð ÙÒ
 º ØÑ

CS5226: Sem 2, 2012/13                         Course Admin        8
Lab Assignments & Project


    Lab Assignments
          ◮    Using Oracle 10g on Solaris server


    Project
          ◮    Team-based programming project - team size to be
               decided in next lecture




CS5226: Sem 2, 2012/13                Course Admin                9
Tentative Schedule
                         Week         Date                         Topic
                          1          Jan 14                    Introduction
                          2          Jan 21                 Query Tuning I
                          3          Jan 28                 Query Tuning II
                          4          Feb 4                    Index Tuning
                          5          Feb 11                 Public Holiday
                          6          Feb 18             Materialized View Tuning
                           -         Feb 25                  Recess Week
                          7          Mar 4                   Midterm Test
                          8          Mar 11              Transaction Tuning I
                          9          Mar 18              Transaction Tuning II
                          10         Mar 25                Data Partitioning
                          11          Apr 1                Statistics Tuning
                          12          Apr 8                 Memory Tuning
                          13         Apr 15               Wrap up & Review
                          14         Apr 22                 Reading Week
                          15    Apr 27 (Saturday)              Final Exam

CS5226: Sem 2, 2012/13                              Course Admin                   10

Más contenido relacionado

Destacado

Thesis about Computerized Payroll System for Barangay Hall, Dita
Thesis about Computerized Payroll System for Barangay Hall, DitaThesis about Computerized Payroll System for Barangay Hall, Dita
Thesis about Computerized Payroll System for Barangay Hall, Dita
Acel Carl David O, Dolindo
 
Computerized payroll system
Computerized payroll systemComputerized payroll system
Computerized payroll system
Francis Genavia
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki
 

Destacado (13)

14. Defining Classes
14. Defining Classes14. Defining Classes
14. Defining Classes
 
Payroll system
Payroll systemPayroll system
Payroll system
 
0. Course Introduction
0. Course Introduction0. Course Introduction
0. Course Introduction
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Thesis about Computerized Payroll System for Barangay Hall, Dita
Thesis about Computerized Payroll System for Barangay Hall, DitaThesis about Computerized Payroll System for Barangay Hall, Dita
Thesis about Computerized Payroll System for Barangay Hall, Dita
 
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL databaseHBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
 
Computerized payroll system
Computerized payroll systemComputerized payroll system
Computerized payroll system
 
Payroll Management System
Payroll Management SystemPayroll Management System
Payroll Management System
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
Computer science project work
Computer science project workComputer science project work
Computer science project work
 
Payroll management
Payroll   managementPayroll   management
Payroll management
 
Payroll Management System SRS
Payroll Management System SRSPayroll Management System SRS
Payroll Management System SRS
 
Payroll management Ppt
Payroll management PptPayroll management Ppt
Payroll management Ppt
 

Similar a database slide 1

Mis582 final exam_study_guide
Mis582 final exam_study_guideMis582 final exam_study_guide
Mis582 final exam_study_guide
dclouds
 
Module BookletUnitUnit17 Database Design Concepts.docx
Module BookletUnitUnit17 Database Design Concepts.docxModule BookletUnitUnit17 Database Design Concepts.docx
Module BookletUnitUnit17 Database Design Concepts.docx
gilpinleeanna
 
B2 2006 sizing_benchmarking (1)
B2 2006 sizing_benchmarking (1)B2 2006 sizing_benchmarking (1)
B2 2006 sizing_benchmarking (1)
Steve Feldman
 
B2 2006 sizing_benchmarking
B2 2006 sizing_benchmarkingB2 2006 sizing_benchmarking
B2 2006 sizing_benchmarking
Steve Feldman
 
Data Science & Big Data - Theory.pdf
Data Science & Big Data - Theory.pdfData Science & Big Data - Theory.pdf
Data Science & Big Data - Theory.pdf
RAKESHG79
 
Bb world 2011 capacity planning
Bb world 2011 capacity planningBb world 2011 capacity planning
Bb world 2011 capacity planning
Steve Feldman
 
Introduction to Database Systems(CLO.pdf
Introduction to Database Systems(CLO.pdfIntroduction to Database Systems(CLO.pdf
Introduction to Database Systems(CLO.pdf
SawairaKazmi
 
Sql based paperless examination system
Sql based paperless examination systemSql based paperless examination system
Sql based paperless examination system
Alexander Decker
 

Similar a database slide 1 (20)

Mba 758 database management system
Mba 758 database management systemMba 758 database management system
Mba 758 database management system
 
Finite Element Simulations with ANSYS Workbench 2012
Finite Element Simulations with ANSYS Workbench 2012Finite Element Simulations with ANSYS Workbench 2012
Finite Element Simulations with ANSYS Workbench 2012
 
Howe Street Basic Project Approach
Howe Street Basic Project ApproachHowe Street Basic Project Approach
Howe Street Basic Project Approach
 
Mis582 final exam_study_guide
Mis582 final exam_study_guideMis582 final exam_study_guide
Mis582 final exam_study_guide
 
Cw comp1640 211453_mo233_20131120_214054_1314
Cw comp1640 211453_mo233_20131120_214054_1314Cw comp1640 211453_mo233_20131120_214054_1314
Cw comp1640 211453_mo233_20131120_214054_1314
 
Winning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editionsWinning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editions
 
Module BookletUnitUnit17 Database Design Concepts.docx
Module BookletUnitUnit17 Database Design Concepts.docxModule BookletUnitUnit17 Database Design Concepts.docx
Module BookletUnitUnit17 Database Design Concepts.docx
 
B2 2006 sizing_benchmarking (1)
B2 2006 sizing_benchmarking (1)B2 2006 sizing_benchmarking (1)
B2 2006 sizing_benchmarking (1)
 
B2 2006 sizing_benchmarking
B2 2006 sizing_benchmarkingB2 2006 sizing_benchmarking
B2 2006 sizing_benchmarking
 
CS3270 – Database Systems Course Outline
CS3270 – Database Systems Course OutlineCS3270 – Database Systems Course Outline
CS3270 – Database Systems Course Outline
 
Methodology Patterns (Agile Cambridge 2014)
Methodology Patterns (Agile Cambridge 2014)Methodology Patterns (Agile Cambridge 2014)
Methodology Patterns (Agile Cambridge 2014)
 
Data Science & Big Data - Theory.pdf
Data Science & Big Data - Theory.pdfData Science & Big Data - Theory.pdf
Data Science & Big Data - Theory.pdf
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and Underscores
 
Md arshad ali
Md arshad aliMd arshad ali
Md arshad ali
 
Bb world 2011 capacity planning
Bb world 2011 capacity planningBb world 2011 capacity planning
Bb world 2011 capacity planning
 
Introduction to Database Systems(CLO.pdf
Introduction to Database Systems(CLO.pdfIntroduction to Database Systems(CLO.pdf
Introduction to Database Systems(CLO.pdf
 
313 IDS _Course_Introduction_PPT.pptx
313 IDS _Course_Introduction_PPT.pptx313 IDS _Course_Introduction_PPT.pptx
313 IDS _Course_Introduction_PPT.pptx
 
BI Environment Technical Analysis
BI Environment Technical AnalysisBI Environment Technical Analysis
BI Environment Technical Analysis
 
How to create a 'Master Test Plan'
How to create a 'Master Test Plan'How to create a 'Master Test Plan'
How to create a 'Master Test Plan'
 
Sql based paperless examination system
Sql based paperless examination systemSql based paperless examination system
Sql based paperless examination system
 

Más de nep_test_account

Large-Scale Machine Learning at Twitter
Large-Scale Machine Learning at TwitterLarge-Scale Machine Learning at Twitter
Large-Scale Machine Learning at Twitter
nep_test_account
 

Más de nep_test_account (18)

Doc2pages
Doc2pagesDoc2pages
Doc2pages
 
Doc2pages
Doc2pagesDoc2pages
Doc2pages
 
PDF TEST
PDF TESTPDF TEST
PDF TEST
 
Baboom!
Baboom!Baboom!
Baboom!
 
Baboom!
Baboom!Baboom!
Baboom!
 
uat
uatuat
uat
 
test pdf
test pdftest pdf
test pdf
 
08 linear classification_2
08 linear classification_208 linear classification_2
08 linear classification_2
 
linear classification
linear classificationlinear classification
linear classification
 
Lecture Notes in Machine Learning
Lecture Notes in Machine LearningLecture Notes in Machine Learning
Lecture Notes in Machine Learning
 
Induction of Decision Trees
Induction of Decision TreesInduction of Decision Trees
Induction of Decision Trees
 
Large-Scale Machine Learning at Twitter
Large-Scale Machine Learning at TwitterLarge-Scale Machine Learning at Twitter
Large-Scale Machine Learning at Twitter
 
A Few Useful Things to Know about Machine Learning
A Few Useful Things to Know about Machine LearningA Few Useful Things to Know about Machine Learning
A Few Useful Things to Know about Machine Learning
 
linear regression part 2
linear regression part 2linear regression part 2
linear regression part 2
 
Linear Regression
Linear RegressionLinear Regression
Linear Regression
 
Probability
ProbabilityProbability
Probability
 
Linear Algebra
Linear AlgebraLinear Algebra
Linear Algebra
 
Introduction
IntroductionIntroduction
Introduction
 

database slide 1

  • 1. CS5226 Lecture 0 Course Admin
  • 2. CS5226: Database Tuning ◮ Lectures: Monday, 6:30 - 8:30pm, LT 19 (COM2) ◮ Lecturer: Chan Chee Yong ◮ Office: #03-24, COM1 Building ◮ Email: chancy@comp.nus.edu.sg ◮ Phone: 6516-6736 ◮ Office hours: TBA or by email appointments ◮ Teaching Assistant: ◮ Goh Wei Xiang (g0801429@nus.edu.sg) ◮ Course Information: ◮ IVLE: download course material, forum discussions, annoucements CS5226: Sem 2, 2012/13 Course Admin 2
  • 3. Course Objectives ◮ Understanding of database architecture & performance tuning ◮ Hands-on experience in database system tuning CS5226: Sem 2, 2012/13 Course Admin 3
  • 4. Prerequisites ◮ CS2102 (Database Systems) ◮ Relational data model & algebra ◮ SQL ◮ Schema design: dependency theory, normal forms ◮ CS3223 (Database Systems Implementation) ◮ Storage & indexing techniques ◮ Query optimization & evaluation ◮ Transaction management: concurrency control & data recovery CS5226: Sem 2, 2012/13 Course Admin 4
  • 5. CS2102 & CS3223 Reference Books ◮ Raghu Ramakrishnan & Johannes Gehrke, Database Management Systems, McGraw-Hill, Third Edition, 2003. (QA76.9 Dbm.Ra 2003) ◮ Avi Silberschatz, Hank Korth & S. Sudarshan, Database Systems Concepts, McGraw-Hill, Sixth Edition, 2011. (QA76.9 Dbm.Si 2011) ◮ Hector Garcia-Molina, Jeffrey Ullman, & Jennifer Widom, Database Systems: The Complete Book, Prentice Hall, Second Edition, 2009. (QA76.9 Dbm.Gar 2009) CS5226: Sem 2, 2012/13 Course Admin 5
  • 6. CS5226 Course Material Research & Industrial Papers ◮ Will be made available at IVLE Reference Books ◮ Nicolas Bruno, Automated Physical Database Design and Tuning, CRC Press, 2011. (QA76.9 Dat.Bn 2011) ◮ Sam Lightstone, Toby Teorey, & Tom Nadeau, Physical Database Design: the Database Professional’s Guide to Exploiting Indexes, Views, Storage, and More, Morgan Kaufmann, 2007. (QA76.9 Dat.Li 2007) ◮ Dennis Shasha & Philippe Bonnet, Database Tuning: Principles, Experiments, and Troubleshooting Techniques, Morgan Kaufmann, 2002. (QA76.9 Dbm.Sh 2002) CS5226: Sem 2, 2012/13 Course Admin 6
  • 7. Tuning guides for DBMS products ◮ IBM DB2 Performance Tuning ◮ Microsoft SQL Server Performance (Database Engine) ◮ Oracle Database Performance Tuning Guide ◮ PostgreSQL Performance Optimization ◮ Sybase Performance and Tuning Guide CS5226: Sem 2, 2012/13 Course Admin 7
  • 8. Workload & Assessment ◮ Number of credits = 4 ◮ Workload per week = 9 hours ◮ 2 lecture hours ◮ 3 assignment hours ◮ 4 preparatory work hours ◮ Tentative Module Assessment: Assessment Component % Lab Assignments 15 Project 30 Open-book Midterm Exam 15 Open-book Exam 40 ◮ Policies: ◮ Zero-tolerance for plagiarism ØØÔ »» ÑÓ ÙÐ ºÒÙ׺ Ùº× » »Ð ÙÒ º ØÑ CS5226: Sem 2, 2012/13 Course Admin 8
  • 9. Lab Assignments & Project Lab Assignments ◮ Using Oracle 10g on Solaris server Project ◮ Team-based programming project - team size to be decided in next lecture CS5226: Sem 2, 2012/13 Course Admin 9
  • 10. Tentative Schedule Week Date Topic 1 Jan 14 Introduction 2 Jan 21 Query Tuning I 3 Jan 28 Query Tuning II 4 Feb 4 Index Tuning 5 Feb 11 Public Holiday 6 Feb 18 Materialized View Tuning - Feb 25 Recess Week 7 Mar 4 Midterm Test 8 Mar 11 Transaction Tuning I 9 Mar 18 Transaction Tuning II 10 Mar 25 Data Partitioning 11 Apr 1 Statistics Tuning 12 Apr 8 Memory Tuning 13 Apr 15 Wrap up & Review 14 Apr 22 Reading Week 15 Apr 27 (Saturday) Final Exam CS5226: Sem 2, 2012/13 Course Admin 10