ase 15 architecture diagram

Post on 14-Oct-2014

131 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Dat

a1

Log

Dat

a1

Dat

a1

Log

Dat

a

Log

Dat

a

Log

Dat

a

Log

Cac

he

4K

Mic

h Ta

lebz

adeh

Ver

sion

3, J

an 2

006

Use

r 1 L

og

Cac

he

Shar

ed M

emor

y

dbcc

db C

ache

*N

amed

Cac

he *

4K b

uffe

r poo

l *

ASE

Sta

tic

Ove

rhea

d

Proc

edur

e C

ache

Sho

rt te

rm m

emor

y ne

eds

Oth

ers

Has

h V

alue

s

16K

buf

fer p

ool *

-Obj

ect

P

erm

issi

ons

-Col

umn

Stat

sSyba

se

Ope

n C

lient

Engi

ne 0

Reg

iste

rsFi

le D

escr

ipto

rs/c

hann

els

CP

Us

CPU

s

Sto

red

proc

edur

es

Trig

gers

Cur

sors

Log

Cac

he

Run

nabl

e Ta

sk Q

ueue

Sle

ep Q

ueue

Lock

Cha

ins

Run

ning

Tas

k

Use

r N L

og

Cac

he

Exe

cutio

n P

lans

-Pro

cedu

res

-Vie

ws

ASE

Ex

ecut

able

Total Physical Memory (read-only)

Maximum Memory (Dynamic)

Fork

ForkEn

gine

1R

egis

ters

File

Des

crip

tors

/cha

nnel

sR

unni

ng T

ask

ASE

Ex

ecut

able

Engi

ne N

Reg

iste

rsFi

le D

escr

ipto

rs/c

hann

els

Run

ning

Tas

k

ASE

Ex

ecut

able

Syba

se

Ope

n C

lient

Appl

icat

ion

Ser

ver

Clie

nt P

C

Spar

e C

apac

ity

ASE

Inte

rnal

Thr

eads

Che

ckpo

int

Wor

ker(

s)M

ain

ASE

ch

eckp

oint

pr

oces

s.

Shu

tdow

n

Dea

dloc

k Tu

neC

heck

s pe

riodi

cally

for

dead

lock

s

Mirr

or

Han

dler

Dis

k m

irror

ing.

H

andl

es A

SE

spec

ific

mirr

orin

g

AST

C

Han

dler

(s)

Intra

-ser

ver

cros

s da

taba

se

two-

phas

e co

mm

it

Che

ckpo

int

Slee

pPe

rform

s pe

riodi

c ch

eckp

oint

s

HK

Was

hH

ouse

keep

er

job.

Was

hes

dirty

buf

fers

. R

uns

at C

PU

id

le ti

me

HK

GC

Hou

seke

eper

jo

b. G

arba

ge

colle

ctor

, ex

ampl

e de

lete

d ro

ws

HK

Cho

res

Flus

hes

tabl

e an

d a

ccou

nt

stat

istic

s.

Han

dles

tim

eout

of

det

ache

d tra

nsac

tions

Port

M

anag

erE

nabl

es

Dyn

amic

ally

to s

tart

and

stop

list

ener

s on

any

giv

en p

ort o

n a

per-

engi

ne b

asis

Net

wor

k H

andl

er(s

)Th

ere

are

as m

any

netw

ork

hand

ler

thre

ads

as th

ere

are

‘mas

ter'

ent

ries

in

the

inte

rface

s fil

e

mas

ter

Sys

tem

C

atal

ogue

&M

DA

Tabl

es

mod

elTe

mpl

ate

data

base

sybs

yste

mpr

ocs

Sys

tem

sto

red

proc

edur

es

sybs

yste

mdb

Two-

phas

e C

omm

it

sybs

ecur

ityA

SE

Aud

it

tem

pdb

Tem

pora

ry W

ork

Area

Add

ition

al

tem

pdbs

Syst

em D

atab

ases

Bac

kup

Serv

erTa

pe

ASE

Job

Sc

hedu

ler

ASE

C

onfig

Fi

le

ASE

R

un

Serv

er

File

ASE

Er

ror l

og

File

Inte

r-fa

ces

File

XP S

erve

r

Stan

dby

Engi

ne(s

)S

tand

by E

ngin

es

Use

r Dat

abas

es sysl

ogs

Dat

a C

ache

O

verh

ead

ULC, One Logical Page each

ASE

Inte

rnal

thre

ads

can

run

on a

ny e

ngin

e

Task

que

ue c

ycle

1-Sl

eep

queu

e2-

Run

nabl

e ta

sk q

ueue

3-R

unni

ng (o

n an

y En

gine

)4-

Slee

p qu

eue

Dat

a C

ache

(with

def

ault

2K p

age

exam

ple)

Use

r 1U

ser 1

thre

ad

initi

ates

“gro

up

com

mit”

and

flu

shes

the

Log

Cac

he

MR

UW

ash

Mar

ker

LRU

tem

pdb

Cac

he *S

pinl

ock

defa

ult d

ata

cach

e

Ope

ratin

g Sy

stem

Has

h Ta

ble

MRU/LRU strategy.

Asynchronous Write of dirty

buffers after the Wash Marker

Buf

fer a

gein

g

CD

DD

1

Initi

al N

etw

ork

Han

dsha

ke b

y an

y en

gine

3

Mas

ter D

evic

e

Net

wor

k af

finity

m

igra

tion

to th

e le

ast

load

ed e

ngin

e2

Par

titio

ned

cach

e

sybs

yste

mpr

ocs

devi

ce

tem

pdbs

, on

sepa

rate

dat

a &

log

devi

ces.

On

file

syst

ems

with

ds

ync

fals

e

Use

r dat

abas

es a

re b

uilt

on s

epar

ate

data

and

log

devi

ces.

Dat

abas

es c

an s

hare

mul

tiple

dev

ices

and

a

devi

ce c

an h

ave

frag

men

ts fr

om m

ultip

le d

atab

ases

Sepa

rate

dat

a an

d lo

g de

vice

s

Hot

loca

l or r

emot

e co

mpr

esse

d ba

ckup

s. P

assw

ord

prot

ecte

d. C

ross

-pl

atfo

rm d

ump

and

load

cap

abili

ty

ASE

reco

mm

ends

raw

dev

ices

. tem

pdbs

can

be

on

file

syst

ems,

tmpf

s or

ram

disk

s

Free

Mem

ory

To a

noth

er A

SE

Pen

ding

I/O

-Pro

cess

Wai

ting

for I

/O-P

roce

ss W

aitin

g fo

r loc

k-P

roce

ss s

ent t

o sl

eep

LRU

Stra

tegy

MR

U (f

etch

-and

-di

scar

d) s

trate

gy

CC

DC

Tran

spor

tabl

eda

taba

ses

Rep

Age

nt *

pick

s up

re

plic

ated

dat

a

Sysl

ogsh

old

tabl

e(D

ynam

ic)

Old

est o

pen

trans

actio

n

Dis

k

Offl

ine

Engi

nes

Lice

nse

Hea

rtbe

atC

heck

s an

d sy

nchr

oniz

es

licen

sing

info

rmat

ion

with

Lic

ense

Ser

ver

Lice

nse

Serv

er

*ind

icat

es

optio

nal s

etup

PLC

Flu

sher

*In

Asy

nchr

onou

s lo

g se

rvic

e, it

flus

hes

the

Use

r Log

Cac

he

to th

e Lo

g C

ache

Log

Writ

er *

In A

sync

hron

ous

log

serv

ice

it flu

shes

the

Log

Cac

he to

dis

k

Sta

tem

ent

Cac

he

top related