66
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

Embed Size (px)

Citation preview

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

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.

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

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.

Information Systems Department

6

Installing Oracle Software

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.

Information Systems Department

8

Installing Oracle Software

Information Systems Department

9

Installing Oracle Software

Information Systems Department

10

Installing Oracle Software

Information Systems Department

11

Installing Oracle Software

Information Systems Department

12

Installing Oracle Software

Information Systems Department

13

Installing Oracle Software

Information Systems Department

14

Installing Oracle Software

This dialog will appear just do as bellow.

Information Systems Department

15

Information Systems Department

16

Information Systems Department

17

Information Systems Department

18

Information Systems Department

19

Information Systems Department

20

Information Systems Department

21

Information Systems Department

22

Information Systems Department

23

The instance name

The database name

Information Systems Department

24

Information Systems Department

25

Information Systems Department

26

Information Systems Department

27

Information Systems Department

28

Information Systems Department

29

Information Systems Department

30

Information Systems Department

31

Information Systems Department

32

Information Systems Department

33

Information Systems Department

34

URL

Information Systems Department

35

Information Systems Department

36

Information Systems Department

37

Information Systems Department

38

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.

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.

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.

Information Systems Department

42

(DBCA)

Information Systems Department

43

1

Information Systems Department

442

Information Systems Department

45

3

Information Systems Department

46

4

Information Systems Department

47

5

Information Systems Department

48

6

Information Systems Department

49

7

Information Systems Department

50

8

Information Systems Department

519

Information Systems Department

529

Information Systems Department

53

10

Information Systems Department

54

11

Information Systems Department

55

12

Information Systems Department

56

13

Information Systems Department

57

14

Information Systems Department

58

15

Information Systems Department

59

15

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.

Information Systems Department

61

Information Systems Department

62

Accessing the oracle enterprise manager database control:

Point your web browser to the following URL:

http://hostname:portnumber/em

Information Systems Department

63

Oracle Enterprise Manager 10g

Information Systems Department

64

Information Systems Department

65

Information Systems Department

66

Oracle Enterprise Manager 11g