Top Banner
IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1
66

IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Dec 13, 2015

Download

Documents

Cora Nichols
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

IS 221: DATABASE ADMINISTRATION

Lecture 2: Installing Oracle 10g or 11g & Creating Database.

Information Systems Department

1

Page 2: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Oracle Server:

Information Systems Department

2

The Oracle Server consist of

Database

Data files Control files

Redo log files

Instance

Memory structure

s

Background

processes

Page 3: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

3

Instance

Each database should have at least one instance associated with it.

A database may be accessible from many instances, but an instance will provide access to exactly one database at a time.

Page 4: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

4

Installing Oracle Software

Oracle Database 11g Pre-installation Requirements:Value Requirement

256 MB minimum; 512 MB recommendedOn Windows Vista, the minimum requirement is 512 MB

Physical memory (RAM)

Double the amount of RAM Virtual memory

Basic Installation Type total: 2.04 GBAdvanced Installation Types total: 1.94 GB Disk space

256Colors Video adapter

550 MHz minimumOn Windows Vista, the minimum requirement is 800 MHz

Processor

Page 5: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

5

Installing Oracle Software

Where we can download Oracle from ? You can find Oracle 11g on the

following link :http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

Note: Make sure to select the right file that is compatible with your operating system.

Page 6: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

6

Installing Oracle Software

Page 7: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

7

Installing Oracle Software

Important steps before installation : 1- create a folder in Downloads folder with

name “Oracle 11g”. 2- save the both unzip files in folder Oracle

11g. 3- create another folder in Oracle 11g

folder and name it DB. 4- extract the first one in DB folder location. 5- extract the second one in DB folder

location.

Page 8: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

8

Installing Oracle Software

Page 9: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

9

Installing Oracle Software

Page 10: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

10

Installing Oracle Software

Page 11: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

11

Installing Oracle Software

Page 12: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

12

Installing Oracle Software

Page 13: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

13

Installing Oracle Software

Page 14: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

14

Installing Oracle Software

This dialog will appear just do as bellow.

Page 15: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

15

Page 16: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

16

Page 17: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

17

Page 18: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

18

Page 19: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

19

Page 20: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

20

Page 21: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

21

Page 22: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

22

Page 23: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

23

The instance name

The database name

Page 24: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

24

Page 25: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

25

Page 26: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

26

Page 27: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

27

Page 28: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

28

Page 29: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

29

Page 30: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

30

Page 31: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

31

Page 32: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

32

Page 33: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

33

Page 34: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

34

URL

Page 35: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

35

Page 36: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

36

Page 37: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

37

Page 38: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

38

Page 39: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

39

Creating Database:

Creating an oracle database by:1- Graphical tool, With Database Configuration Assistant (DBCA).2- SQL Commands, With the CREATE DATABASE SQL statement.

You typically create a database during Oracle Database software installation.

Page 40: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

40

Database Configuration Assistant(DBCA)

During the installation(oracle installation), you can create and configure database.

or if you want to create additional databases using the release software, you can do so by using the Database Configuration Assistant (DBCA).

DBCA also use for delete a database, add option to a database, or to manage templates.

Page 41: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

41

Launch (DBCA)

First, Log onto your computer as a member of the administrative group that is authorized to install Oracle software and create and manage the database.

Then, Launch the DBCA on a Windows operating system as follows:

Start > Programs > Oracle - home_name > Configuration and Migration Tools > Database Configuration Assistant.

Page 42: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

42

(DBCA)

Page 43: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

43

1

Page 44: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

442

Page 45: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

45

3

Page 46: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

46

4

Page 47: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

47

5

Page 48: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

48

6

Page 49: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

49

7

Page 50: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

50

8

Page 51: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

519

Page 52: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

529

Page 53: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

53

10

Page 54: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

54

11

Page 55: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

55

12

Page 56: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

56

13

Page 57: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

57

14

Page 58: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

58

15

Page 59: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

59

15

Page 60: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

60

Before..

Before open the oracle enterprise manager page :

Go to control panel > system and security > administrative tools > services

Then make all the services associated with oracle name to start option.

Page 61: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

61

Page 62: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

62

Accessing the oracle enterprise manager database control:

Point your web browser to the following URL:

http://hostname:portnumber/em

Page 63: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

63

Oracle Enterprise Manager 10g

Page 64: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

64

Page 65: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

65

Page 66: IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.

Information Systems Department

66

Oracle Enterprise Manager 11g