/  22
 
 
2009
Vinay KothaCSC11/5/2009
Interview Tips for SQL & MSBI
 
Au
thor: Vinay Kotha Page 2
Table
of Cont 
e
nts
Rec
ov
er
y Mod
els:
.................................................................................................................................... 4Simp
le
 
Rec
ov
er
y Mod
el:
...................................................................................................................... 4Fu
ll
 
rec
ov
er
y Mod
el:
............................................................................................................................ 5Bu
lk-L
ogg
e
d
:
........................................................................................................................................ 5Ba
ck-
up
s
.................................................................................................................................................. 6Ba
ck-
up S
c
op
es:
................................................................................................................................... 6A) Databa
se
ba
ck
up
s:
................................................................................................................... 6B) Pa
r
tia
l
Ba
ck-
up
s:
....................................................................................................................... 6C) Fi
le
Ba
ck-
up
s:
........................................................................................................................... 6Ba
ck-U
p Typ
es
......................................................................................................................................... 6A) Fu
ll
Ba
ck
up
s:
................................................................................................................................ 6B) Diff 
ere
ntia
l
ba
ck
up
s:
.................................................................................................................... 6SQ 
L
SE
R
VE
R
 
R
EP
LI
CAT
ION
........................................................................................................................ 7A)
L
oad Ba
l
an
c
ing
:
............................................................................................................................ 7B)
O
ff 
l
in
e
P
r
o
cess
ing
:
....................................................................................................................... 7C)
Re
dundan
c
y
:
................................................................................................................................ 7A) Pub
l
i
s
h
ers
.................................................................................................................................... 7B) Sub
scr
ib
ers
.................................................................................................................................. 7A) Snap
s
hot
Re
p
l
i
c
ation
:
................................................................................................................... 7B) T
r
an
s
a
c
tiona
l
 
Re
p
l
i
c
ation
:
............................................................................................................ 7C) M
er
g
e
 
Re
p
l
i
c
ation
:
....................................................................................................................... 8A) Exp
ress
 
e
dition ............................................................................................................................. 8B) Wo
rk
g
r
oup
e
dition ....................................................................................................................... 8C) Standa
r
d
e
dition .......................................................................................................................... 8D) Ent
er
p
r
i
se
 
e
dition ........................................................................................................................ 8Diff 
ere
n
ce
b
e
tw
ee
n T
e
mp tab
les
and Tab
le
va
r
iab
les
in SQ 
L
S
er
v
er
......................................................... 8Sugg
es
tion fo
r
 
c
hoo
s
ing b
e
tw
ee
n th
ese
two
:
....................................................................................... 9Sto
re
d P
r
o
ce
du
res
................................................................................................................................... 9Advantag
es
of Sto
re
d P
r
o
ce
du
res:
....................................................................................................... 9Diff 
ere
n
ces
b
e
tw
ee
n
User
D
e
fin
e
d Fun
c
tion
s
and Sto
re
d P
r
o
ce
du
res
.................................................... 10SSAS ...................................................................................................................................................... 10
 
Au
thor: Vinay Kotha Page 3
Diff 
ere
nt Dim
e
n
s
ion typ
es
by Mi
cr
o
s
oft avai
l
ab
le
in Ana
l
y
s
i
s
S
er
vi
ces
................................................ 10Diff 
ere
nt Typ
es
of Dim
e
n
s
ion
s
............................................................................................................... 11Confi
r
m
e
d Dim
e
n
s
ion
:
....................................................................................................................... 12Jun
ke
d Dim
e
n
s
ion
:
............................................................................................................................. 12D
e
g
e
n
er
at
e
d Dim
e
n
s
ion
:
................................................................................................................... 12S
l
ow
l
y Changing Dim
e
n
s
ion
s:
............................................................................................................. 12Th
ere
a
re
10 typ
es
of dim
e
n
s
ion Tab
les
............................................................................................. 12Diff 
ere
n
ces
b
e
tw
ee
n Ana
l
y
s
i
s
S
er
vi
ces
2005 and 2008 ........................................................................... 12D
e
fin
e
t
e
mpo
r
a
r
y and
e
xt
e
nd
e
d
s
to
re
d p
r
o
ce
du
re
. ............................................................................... 13Diff 
ere
n
ces
b
e
tw
ee
n SS
R
S 2005 and SS
R
S 2008 ..................................................................................... 14P
er
fo
r
man
ce
Tuning of SS
R
S
:
Hand
l
ing a
L
a
r
g
e
wo
rkl
oad ....................................................................... 14St
e
p
s
to
I
mp
r
ov
e
P
er
fo
r
man
ce
........................................................................................................... 14Cont
r
o
l
th
e
Siz
e
of you
r
 
Re
po
r
t
s
..................................................................................................... 14
Use
Ca
c
h
e
Ex
ec
ution ...................................................................................................................... 14Configu
re
and S
c
h
e
du
le
You
r
 
Re
po
r
t
s
............................................................................................ 15D
el
iv
er
 
Re
nd
ere
d
Re
po
r
t
s
fo
r
 
N
on
-
b
r
ow
ser
Fo
r
mat
s
...................................................................... 15Popu
l
at
e
th
e
 
Re
po
r
t Ca
c
h
e
by
Us
ing Data
-
D
r
iv
e
n Sub
scr
iption
s
fo
r
Pa
r
am
e
t
er
iz
e
d
Re
po
r
t
s
........... 15Ba
ck
to
Re
po
r
t Cata
l
og
s
................................................................................................................. 15Tuning with W
e
b S
er
vi
ce
................................................................................................................ 15M
e
mo
r
y
L
imit
s
in SQ 
L
S
er
v
er
 
Re
po
r
ting S
er
vi
ces
2008 ....................................................................... 16M
e
mo
r
y
L
imit ................................................................................................................................ 16Maximum M
e
mo
r
y
L
imit ................................................................................................................ 16P
er
fo
r
man
ce
Tuning of SQ 
L
S
er
v
er
......................................................................................................... 16S
ec
tion A
:
.......................................................................................................................................... 16Mi
cr
o
s
oft Tip
s
on P
er
fo
r
man
ce
Tuning
:
.............................................................................................. 17
 
N
ot
k
nowing th
e
p
er
fo
r
man
ce
and
sc
a
l
abi
l
ity
c
ha
r
a
c
t
er
i
s
ti
cs
of you
r
 
s
y
s
t
e
m
:
......................... 17
 
Re
t
r
i
e
ving too mu
c
h data
:
...................................................................................................... 17
Mi
s
u
se
of T
r
an
s
a
c
tion
s:
.......................................................................................................... 17
Mi
s
u
se
of 
I
nd
e
x
es:
.................................................................................................................. 17
Mixing
OL
TP,
OL
AP and
re
po
r
ting wo
rkl
oad
s:
......................................................................... 17
 
I
n
e
ffi
c
i
e
nt S
c
h
e
ma
s:
............................................................................................................... 17
 
Us
ing an in
e
ffi
c
i
e
nt di
sk
 
s
ub
-s
y
s
t
e
m
:
...................................................................................... 17

Share & Embed

More from this user

Recent Readcasters

Add a Comment

Characters: ...