Introduction to Oracle
Database Systems Presented by Rubi Boim
1
Introduction to Oracle Database Systems Presented by Rubi Boim 1 - - PowerPoint PPT Presentation
Introduction to Oracle Database Systems Presented by Rubi Boim 1 Agenda Bureaucracy Database architecture overview Buzzwords SSH Tunneling Intro to Oracle Comments on homework 2 Homework #1 Submission date is
1
2
Submission date is November 17. (No late arrivals will be
Work should be done in pairs Please, please, please, names and ID on the submittals. Submit Hardcopies to Rubi‟s mailbox USE THE FORMAT DESCRIBED IN THE ASSIGNMENT
3
Hard work, but real. Work in groups of 4 Project goal: to tackle and resolve real-life DB related
One Two stages. Use JAVA (SWT) Thinking out of the box will be rewarded
4
5
6
7
8
DB programmer App programmer DBA Gui designer Tester
9
Application DB infrastructure DB driver DB engine Storage Transport
10
Database “hiding” Schema abstraction Encapsulation of db mechanisms
Application DB infrastructure DB driver DB engine Storage Transport
11
Application DB infrastructure DB driver DB engine Storage Transport
12
Application DB infrastructure DB driver DB engine Storage Transport
13
Total management of the DB
Security Scalability Fault tolerant (disaster management) Monitoring Services
Large DB engines include Microsoft SQL Server,
Application DB infrastructure DB driver DB engine Storage Transport
14
Application DB infrastructure DB driver DB engine Storage Transport
15
Application DB infrastructure DB driver DB engine Storage Transport
16
17
18
Various standards have been developed for
Some of the important standards are
ODBC (Open Database Connectivity) is the early
OLE DB is Microsoft‟s object-oriented interface for
ADO (Active Data Objects) is Microsoft‟s standard
19
Open Database Connectivity (ODBC) is a
Maximum interoperability
20
Selecting a data source and connecting to it. Submitting an SQL statement for execution. Retrieving results (if any). Processing errors. Committing or rolling back the transaction
Disconnecting from the data source.
21
22
23
API includes:
DriverManager, Connection, Statement, PreparedStatement,
JDBC Type Driver:
Type 1 - (JDBC-ODBC Bridge) drivers. Type 2 - native API for data access which provide Java wrapper
Type 3 - 100% Java, makes use of a middle-tier between the calling
Type 4 - They are also written in 100% Java and are the most
24
25
For example: Hibernate, EJB3.0, JDO
26
27
28
Application DB infrastructure DB bridge/driver Transport (TCP) DB engine Server Machine Client Machine
Application DB infrastructure DB bridge/driver DB engine Server Machine Client Machine Tunnel machine (SSH server) proxy Proxy Machine TCP SSH TCP
29
Application DB infrastructure Db bridge/driver DB engine Tunnel machine (SSH server) proxy
30
31
32
Oracle database – (at home express edition) SQLDeveloper
33
Host:
Port:
SID:
Schema
Use the connection guide (link on the course
TAU HR user / password: hr_readonly / tiger
34
35
36
Installation Create a user Run a script Query Other database objects Administration tasks Similar tutorial can be found in
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74