introduction and simple using of oracle logistics information system yaxian yao [email protected]

46
Introduction and simple using of Oracle Logistics Information System Yaxian Yao [email protected]

Upload: douglas-barker

Post on 26-Dec-2015

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Introduction and simple using of Oracle

Logistics Information System

Yaxian Yao

[email protected]

Page 2: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Outline

Introduction of Oracle 11g

How to install Oracle 11g The steps for installing Create a new Database The difference between 11g and former ones

The basic use of Oracle 11g

The advanced functions of Oracle 11g

Page 3: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Introduction

Oracle 11g is a new software of Database released by Oracle at 2007. 7. 12

Oracle 11g has more than 400 functions

The testing hours reach 15 million for it

Oracle 11g has lots of new functions than former versions

Page 4: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

Download Oracle 11g from internet

Choose the basic way to install Oracle 11g

Page 5: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

Test your computer capacity before installing

Page 6: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

Oracle Configuration Manager register

Page 7: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

Summary looks for your choice

Page 8: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

The process for installing

Page 9: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

The process for installing

Page 10: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

The process for installing

Page 11: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

Finish creating Database, the information we can find in a certain box

Page 12: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

Make passwords

Page 13: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

How to install Oracle 11g

Finish installing

Page 14: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Enter the Database by web page

Page 15: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

We use Database Configuration Assistant to create a new database

Page 16: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

The first step - choose the option you want

Page 17: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

The second step – choose the database module

Page 18: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

The third step – name your Database

Page 19: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step four – deploy enterprise manager

Page 20: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step five - set the password

Page 21: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step six - Set the storage function

Page 22: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new database

Step seven – The place where Database locates

Page 23: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step eight – recover deployment

Page 24: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step nine – content of Database

Page 25: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step ten – initial the characters

Page 26: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step eleven – security deployment

Page 27: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step twelve – open the auto-maintain

Page 28: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step thirteen – Database storage

Page 29: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create a new Database

Step fourteen – create Database

Page 30: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The difference between 11g and former ones

Before Oracle 10g, we must install a client-side on the customer’s computer

For Oracle 10g and 11g, we can operate the database on the web page. So we don’t need to install a client-side on each computer

The defect in my opinion is that it’s not convenient for us to use the web page, so I advice we use the software “Toad for Oracle”

Page 31: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The basic use of Oracle 11g

Like access, we can use it to create table, insert data modify data and save it

Page 32: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Create table

Page 33: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Insert data

Page 34: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

Select data

Page 35: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

1. Database Replay You can use Database Replay to capture a workload on the production

system and replay it on a test system with the exact timing, concurrency, and transaction characteristics of the original workload. This enables you to test the effects of a system change without affecting the production system.

Step 1. On the production system, capture the workload into capture files Step 2. Copy the capture files to the test system and preprocess them Step 3. On the test system, replay the preprocessed files Step 4. Using the reports generated by Database Replay, perform

detailed analysis of both the workload capture and workload replay

Page 36: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

Database Replay Workflow

Page 37: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

2. SQL Plan Management SQL plan management is a preventative mechanism that records and

evaluates the execution plans of SQL statements over time, and builds SQL plan baselines composed of a set of existing plans known to be efficient.

The SQL plan baselines are then used to preserve performance of corresponding SQL statements, regardless of changes occurring in the system.

Page 38: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

3. Automatic Diagnostic Repository (ADR) The ADR is a file-based repository for database diagnostic data

such as traces, dumps, the alert log, health monitor reports, and more.

It has a unified directory structure across multiple instances and multiple products.

Page 39: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11gADR Directory Structure for an Oracle Database Instance

Page 40: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

4. Incident Packaging Service A DBA can automatically and easily gather all diagnostic data

(traces, health check reports, SQL test cases, and more) pertaining to a critical error and package the data into a zip file suitable for transmission to Oracle Support.

Page 41: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

5. Automatic SQL Tuning Advisor Oracle Database automatically runs the SQL Tuning Advisor on selected

high-load SQL statements from the Automatic Workload Repository (AWR) that qualify as tuning candidates.

Once automatic SQL tuning begins, the following steps are performed: 1. Identify SQL candidates in the AWR for tuning. 2. Tune each SQL statement individually by calling the SQL Tuning

Advisor. 3. Test SQL profiles by executing the SQL statement. 4. Optionally implement the SQL profiles provided they meet the criteria

of threefold performance improvement.

Page 42: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

6. Automatic Shared Memory Management Automatic Shared Memory Management simplifies the

configuration of the SGA(System Global Area ). In response to the workload on the system, the automatic SGA

management distributes the memory appropriately for the following memory pools:

• Database buffer cache (default pool)

• Shared pool

• Large pool

• Java pool

• Streams pool

Page 43: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

7. Database Resource Manager The Database Resource Manager solves many resource allocation

problems that an operating system does not manage so well:• Excessive overhead

• Inefficient scheduling

• Inappropriate allocation of resources

• Inability to man

• age database-specific resources

With the Database Resource Manager, you can do the following:• Guarantee certain users a minimum amount of processing resources

regardless of the load on the system and the number of users

• Distribute available processing resources by allocating percentages of CPU time or I/O requests per second to different users and applications

Page 44: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

8. Securefile LOB storage parameter that allows deduplication, encryption,

and compression

9. Automatic Database Diagnostic Monitor (ADDM) This lets Oracle Database diagnose its own performance and

determine how identified problems could be resolved. It runs automatically after each AWR statistics capture, making the performance diagnostic data readily available.

Page 45: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

10. Automatic Workload Repository (AWR) A built-in repository in every Oracle Database. At regular

intervals, the Oracle Database makes a snapshot of all its vital statistics and workload information and stores them here.

Page 46: Introduction and simple using of Oracle Logistics Information System Yaxian Yao yyx@pusan.ac.kr

The advanced functions of Oracle 11g

If we want to know more, we can read the Oracle Database document library.