• Tidak ada hasil yang ditemukan

Performance And Scalability In Oracle9i And SQL Server 2000

N/A
N/A
Protected

Academic year: 2025

Membagikan "Performance And Scalability In Oracle9i And SQL Server 2000"

Copied!
18
0
0

Teks penuh

(1)

Performance And Scalability In Performance And Scalability In

Oracle9i And SQL Server 2000 Oracle9i And SQL Server 2000

Presented By : Phathisile Sibanda Presented By : Phathisile Sibanda

Supervisor : John Ebden

Supervisor : John Ebden

(2)

Presentation Overview Presentation Overview

Project Objectives Project Objectives

Motivation Motivation

- -

Why performance & ScalabilityWhy performance & Scalability

--How database vendor fudge benchmark resultsHow database vendor fudge benchmark results

Methodology Methodology

- -

Approach to the research Approach to the research --Tools used Tools used

Analysis and Results Analysis and Results

- -

Oracle9i and SQL Server technical comparisonOracle9i and SQL Server technical comparison
(3)

Project Objectives Project Objectives

To compare performance and scalability To compare performance and scalability capabilities offered by two

capabilities offered by two

RDBMS RDBMS

: Oracle9i and : Oracle9i and SQL server 2000.

SQL server 2000.

- - through using standard benchmarks (TPC through using standard benchmarks (TPC - - C) C)

embedded on third part software, load and stress embedded on third part software, load and stress

testing.

testing.

- - And use a technical comparison (Oracle 9i Vs And use a technical comparison (Oracle 9i Vs SQL server architecture) to explain the results.

SQL server architecture) to explain the results.

(4)

Motivation Motivation

Reasons why performance and Scalability Reasons why performance and Scalability !! !!

How fast a server can respond to client requests How fast a server can respond to client requests

determine how much work can be done per unit time.

determine how much work can be done per unit time.

Scalability determines how many clients can Scalability determines how many clients can

concurrently access a database and simultaneously do concurrently access a database and simultaneously do

meaningful work. Therefore is a function of meaningful work. Therefore is a function of

performance performance

(5)

Motivation (Cont

Motivation (Cont … … ) )

How database vendor fudge benchmark How database vendor fudge benchmark results?

results?

Buffering up data rows in RAMBuffering up data rows in RAM

-preloading the data into the RAM buffers-preloading the data into the RAM buffers

Storing SQL execution plans in RAMStoring SQL execution plans in RAM

-pre-pre-parsing and pre-parsing and pre--computing the execution plans for the SQLcomputing the execution plans for the SQL

PrePre--joining tablesjoining tables

-use special pre-use special pre--aggregation mechanisms to preaggregation mechanisms to pre--join tablesjoin tables

Using high-Using high-speed CPUs and clustersspeed CPUs and clusters

-using special high-using special high--speed machines and cluster architecturesspeed machines and cluster architectures

(6)

Methodology Methodology

Scenario selection and Scripting Scenario selection and Scripting

Functional test (Baseline) Functional test (Baseline)

Performance tests Performance tests - - load testing load testing

- - Stress testing Stress testing

Analysis of results Analysis of results

DBMS technical comparison DBMS technical comparison

(7)

Scenario selection and Script Scenario selection and Script

development development

Possible user paths Possible user paths

- A user login to a database and Search for a record or set of records

-- Updating a database (Add/delete a record from a table )Updating a database (Add/delete a record from a table )

Test Case (Example)Test Case (Example)

-- Number of usersNumber of users: 1000 users : 1000 users --Test durationTest duration: 2 hours : 2 hours

--Think timeThink time: Random think time between 1 and 10 seconds in the : Random think time between 1 and 10 seconds in the test script after each operation

test script after each operation

(8)

Workload model

Workload model

(Percentages of total workload mix)(Percentages of total workload mix)

2020 55

1515 Delete a

Delete a record record

3030 1010

2020 Add a

Add a Record Record

5050 2020

3030 Search DB

Search DB

% Total test mix

% Total test mix //

of the Total load of the Total load

% Concurrent

% Concurrent Users

Users

% Simultaneous

% Simultaneous Users

Users

User Profile User Profile

(9)

Functional test (Baseline) Functional test (Baseline)

Baseline (Functional Tests)Baseline (Functional Tests) ::

““A Baseline is a set of measurements that tell you how a server A Baseline is a set of measurements that tell you how a server behave under normal conditions

behave under normal conditions Kevin KlineKevin Kline. . Quest.comQuest.com

ObjectivesObjectives

These test tell you about the performanceThese test tell you about the performance of a server under normal of a server under normal conditions

conditions

Help you to document and understand as many as possible background Help you to document and understand as many as possible background processes.

processes.

Input to system configuration before testsInput to system configuration before tests

Tools To useTools To use

System Monitor and SpotlightSystem Monitor and Spotlight

(10)

Performance tests Performance tests

Load testingLoad testing:: performed to analyse how the server performs under performed to analyse how the server performs under different kinds of load levels and conditions

different kinds of load levels and conditions

Measurable quantities : Measurable quantities :

-Response times -Response times (transactions/sec)(transactions/sec)

-Throughput rates-Throughput rates

-Resource utilization :-Resource utilization :--CPU Usage CPU Usage (% Processor Time) (% Processor Time)

-Virtual Memory -Virtual Memory (Utilization(UtilizationAvailable Mbytes)Available Mbytes)

-Disk I/O -Disk I/O (Avg. Disk sec/Transfer)(Avg. Disk sec/Transfer)

-Network latency -Network latency (Bytes Received/sec)(Bytes Received/sec)

Tools To be use: -Tools To be use: -System MonitorSystem Monitor -Quest Central -Quest Central

-Data and Virtual User generators (Benchmark Factory)-Data and Virtual User generators (Benchmark Factory) -SQL Tuning-SQL Tuningtoolstools

-Performance Monitoring toolkit-Performance Monitoring toolkit

(11)

Performance tests Performance tests

Stress testing

Stress testing :: performed to determine how a server will performed to determine how a server will behave under extreme load, beyond the servers capacity.

behave under extreme load, beyond the servers capacity.

Identifies system

Identifies system’’s breaking point.s breaking point.

--Will be implemented by Load generators (the concept of Will be implemented by Load generators (the concept of simultaneous and concurrent users will be integral)

simultaneous and concurrent users will be integral)

Issues to track Issues to track

--Synchronization issuesSynchronization issues --Race conditionsRace conditions

--Memory leaksMemory leaks --Loss of data Loss of data

-"server busy" errors.-"server busy" errors.

(12)

Analysis and Results Analysis and Results

Results for analysis will be in different forms :Results for analysis will be in different forms :

Tables Tables

Graphs comparing Oracle9i and SQL server Graphs comparing Oracle9i and SQL server 2000 in the following ways :

2000 in the following ways :

- -

throughput Vs user loadthroughput Vs user load

--response time Vs user load response time Vs user load --resource utilisation Vs loadresource utilisation Vs load

Thesis writeThesis write--upup

(13)

Testing Environment Testing Environment

Load Simulation

Thousands of virtual users perform real-life transactions on the DBMS to simulate real production traffic.

Tools Used:Benchmark Factory

Controller/Client Machine

The controller is the central console from which the experiment is managed and monitored.

Tools Used:Quest Central software ques

ts per second

200 400 700

Throughput Vs load

0

Results

Results are plotted, analyzed

& compared.

Tools Used: Spotlight , System monitor, Spotlight and Ms Access

Data Collection

System and third part monitors capture performance data across all tiers , the network and display information on the Controller.

Tools Used: Spotlight , System monitor SQL Server and Profiler / Statspack

SQL server Oracle9i

Spotlight/System Monitor

(14)

Oracle9i & SQL Server technical Oracle9i & SQL Server technical

comparison comparison

The concurrency model The concurrency model

Indexing capabilities Indexing capabilities

Partitioning capabilities Partitioning capabilities

Parallel execution and clustering design of the Parallel execution and clustering design of the

(15)

Time Line Time Line

44thth term term Write

Write--upup

33rdrd term (2 weeks)term (2 weeks) Test results analysis and

Test results analysis and presentation

presentation

33rd rd term (2 weeks)term (2 weeks) Run performance tests

Run performance tests

33rd rd term (first 2 weeks) term (first 2 weeks) Test the Dummy database ,

Test the Dummy database , Benchmark Factory and Quest Benchmark Factory and Quest Central software. Test the

Central software. Test the system and do all required system and do all required system configurations

system configurations

(16)

Conclusion Conclusion

At the completion of performance tests a

conclusively write-up comparing the two DBMS with respect to performance and Scalability

excluding matters of integrity, security……will be produced.

A technical comparison of Oracle9i and SQL Server 2000 will be used to explain the results

(17)

Extensions to the Project Extensions to the Project

Apply knowledge gained from this search to Apply knowledge gained from this search to open source databases.

open source databases.

Perform the same experiment but on a different Perform the same experiment but on a different Operating System e.g. Linux

Operating System e.g. Linux

(18)

Questions ! Questions !

Thank You

Thank You …… ……

Referensi

Dokumen terkait

The objectives of this study are: ( 1) to identify how Theme and Rheme are structured, (2) to describe what type of pattern is dominantly used, and (3) to elaborate

This paper investigates how Anti-Corruption Authorities (ACA) make use of performance measurement in order to improve performance management.. The research framework has been

Abstract The research objectives are effect of transformational leadership style on employee performance through work motivation of employees of the Culture and Tourism Office of

Keeping this in view the present study is planned for performance evaluation of Kotwal- Pillowa joint irrigation project with the specific objectives such as estimation of crop-water

1.4 Research objectives Main Objective To explore the effect of Sustainable Responsible Investment on firm financial performance of corporates in Harare, Zimbabwe Sub objectives 1

Our objectives were: i to provide a descriptive, broad, regional overview of frag- mentation patterns in the South Coast Renosterveld, ii to describe how these patterns change from west

Second, the coefficient value of the work motivation variable X1 is 0.411, meaning that if work motivation X1 increases by 1 unit score, the teacher's performance Y will increase by

The objectives of the study was to evaluate how organizational culture influences employee performance and job satisfaction and the relationship between organizational culture, employee