B?n c kinh nghi?m hi?u su?t t?m nh?n th?p khi b?n s? d?ng t?m th?y th?i gian c s?n trong Microsoft Dynamics CRM 2011

D?ch tiu ? D?ch tiu ?
ID c?a bi: 2651621 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TRI?U CH?NG

Khi b?n c? g?ng s? d?ng cc tnh nng l?p l?ch tr?nh ngu?n l?c t?m th?i gian c s?n trong Microsoft Dynamics CRM, b?n tr?i nghi?m hi?u su?t t?m nh?n th?p. N?u b?n s? d?ng t?m th?y th?i gian c s?n m?t l?n n?a v B?t ?u m?t truy v?n m?i, c?i thi?n hi?u su?t, v k?t qu? m?t th?i gian t hn nhi?u.

NGUYN NHN

V?n ? ny x?y ra b?i v? vi?c tri?n khai Microsoft Dynamics CRM ch?a nhi?u th?c th? c lin quan ?n l?ch tr?nh, v nhi?u truy v?n SQL ang ch?y ? l?y h? s c nhn trong l?p l?ch ti?n tr?nh ti nguyn t?m th?i gian c s?n.

GI?I PHP

? gi?i quy?t v?n ? ny, t?i v? v sau ci ?t chuyn bi?t Update Rollup 8 cho Microsoft Dynamics CRM. ? lm i?u ny, xem bi vi?t sau trong c s? ki?n th?c Microsoft:
2600644 Update Rollup 8 cho Microsoft Dynamics CRM 2011 c s?n

Sau khi b?n ci ?t chuyn bi?t b?n C?p Nh?t rollup, b?n nn t?o kha registry sau trn my ch? CRM cho cc th?c th? c lin quan ?n l?ch tr?nh:
SchedulingEngine.CacheConfiguration
Sau khi b?n lm i?u ny, cc th?c th? s? ?c thm vo b? nh? cache ? t?i u ha hi?u su?t.

T?o kha s? ki?m nh?p, h?y lm theo cc b?c sau:
  1. Trn my ch? Microsoft Dynamics CRM, tr? ?n cc B?t ?u tr?nh n, v sau g? regedit trong h?p tra c?u ? m? Registry Editor.
  2. Xc ?nh v? tr registry subkey sau y:
    HKEY_Local_Machine\Software\Microsoft\MSCRM
  3. B?m chu?t ph?i MSCRM, i?m ?n M?i, sau b?m Chu?i gi tr?.
  4. Lo?i SchedulingEngine.CacheConfiguration.
  5. B?m chu?t ph?i vo phm m?i, v sau nh?p vo S?a ?i. S?a ?i m b?n th?c hi?n s? gi?ng v?i XML sau y. Tuy nhin, s?a ?i c?a b?n s? ph? thu?c vo cc th?c th? v cc ty ch?n m b?n mu?n s? d?ng. H?y xem ph?n "Thng tin thm" thong tin chi tiet.
    <CachingModes>
    <CachingMode name="BookCaching">
    <Calendar>DefaultCache</Calendar>
    <CalendarRule>DefaultCache</CalendarRule>
    <Commitment>DefaultCache</Commitment>
    <ConstraintGroup>DefaultCache</ConstraintGroup>
    <Equipment>Direct</Equipment>
    <PluginType>DefaultCache</PluginType>
    <Resource>Direct</Resource>
    <ResourceGroup>DefaultCache</ResourceGroup>
    <ResourceExpansion>DefaultCache</ResourceExpansion>
    <ResourceGroupExpansion>DefaultCache</ResourceGroupExpansion>
    <ResourceSpec>Direct</ResourceSpec>
    <Schedule>DefaultCache</Schedule>
    <Service>DefaultCache</Service>
    <SystemUser>Direct</SystemUser>
    <Team>DefaultCache</Team>
    </CachingMode> 
    <CachingMode name="SearchCaching">
    <Calendar>DefaultCache</Calendar>
    ... (and other entities like above)
    </CachingMode>
    <CachingMode name="PublishResourceGroupsCaching">
    <Calendar>Direct</Calendar>
    (v cc t? ch?c tng t? khc)
    </CachingMode>
    </CachingModes>

THNG TIN THM

?i v?i m?i th?c th? m b?n thm vo b? ?m ?n, c hai gi tr? c th?: Tr?c ti?p v DefaultCache.
  • M?t gi tr? c?a DefaultCachec? g?ng ? t?i u ha v? s? l?ng cc truy v?n SQL v l?y t?t c? h? s t?i m?t th?i gian b?ng cch s? d?ng m?t truy v?n duy nh?t. Sau khi t?t c? h? s ?c l?y, cc d? li?u ?c lu tr? trong b? nh? cache HTTP.
  • M?t gi tr? c?a Tr?c ti?p truy v?n cho m?i b?n ghi b?ng cch s? d?ng m?t truy v?n SQL ring bi?t.

Lu ? N?u b?n thm nhi?u th?c th? b? nh? cache, S? d?ng B? nh? c th? lm tng m?t cht v? c?a kch th?c b? nh? cache tng ln.

C ba lo?i h?nh ch? ?:
  • SearchCaching.Khi ?c s? d?ng "t?m c s?n l?n" ho?c xc nh?n c?a cu?c h?n b?n ghi d?ch v? ang ?c th?c hi?n
  • BookCaching.?c s? d?ng khi m?t cu?c h?n b?n ghi d?ch v? ?c lu
  • PublishResourceGroupCaching.?c s? d?ng khi cc nhm ti nguyn ?c t? ch?c l?i v "xu?t b?n ti nguyn cy" ?c th?c hi?n
Ch? ? cho m?t s? c quan c th? ?c thi?t l?p chung b?ng cch s? d?ng cc ngu?n l?c t? kha v cc t? kha ResourceGroups . Ho?c, cc th?c th? c th? ?c thi?t l?p m?t cch ring bi?t ? m?c Powder.

Ti nguyn th?c th? bao g?m cc tr?ng sau:
  • Thi?t b?
  • SystemUsers
  • ResourceSpec
ResourceGroups th?c th? bao g?m cc tr?ng sau:
  • ConstraintBasedGroup
  • ?i ng?

Thu?c tnh

ID c?a bi: 2651621 - L?n xem xt sau cng: 13 Thang Nm 2012 - Xem xt l?i: 1.0
p d?ng
  • Microsoft Dynamics CRM 2011
T? kha:
kbautohotfix kbqfe kbhotfixserver kbfix kbmt KB2651621 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:2651621

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com