1
1
Aaron Stevens
16 March 2009
CS108 Lecture 20: Introduction to Databases and SQL
2
Overview/Questions How is data stored within a computer? What is - - PDF document
CS108 Lecture 20: Introduction to Databases and SQL Aaron Stevens 16 March 2009 1 Overview/Questions How is data stored within a computer? What is a database? How does a database fit into an application? What are the
1
2
3
– LOAD, STOR operations
– Read/write times in nanoseconds (10-9 sec)
– relatively expensive ($/byte) – “volatile”
4
5
– relatively inexpensive ($/byte) – not “volatile”
– Read times in milliseconds (10-3 sec). – in 10 ms, a modern CPU can perform millions of operations!
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
1- install Mark Hammond's pywin32-210 for python 2.5 http://starship.python.net/crew/mhammond/win32/Downloads.html 2- download adodbapi.zip from http://adodbapi.sourceforge.net/ Unzip adodbapi.zip into C:\Python25\Lib\site-packages\ This is only available for Windows!
27
http://www.cs.bu.edu/courses/cs108/slides/CS108.PythonCard.Install.pdf
http://www.cs.bu.edu/courses/cs108/util/sqliteClient.zip
28