403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files/Microsoft SQL Server/MSSQL15.MSSQLSERVER/MSSQL/Binn/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files/Microsoft SQL Server/MSSQL15.MSSQLSERVER/MSSQL/Binn/sqlceip.exe
MZ����@���	�!�L�!This program cannot be run in DOS mode.

$PEL�i�"0 n  @ `��`�O 80((@�  H.textt�  `.rsrc8 @@.reloc@ @BPHT�8	Od�#d�{4
*{5
*{6
*{7
*{8
*{9
*{:
*{;
*{<
*{=
*{>
*{?
*{@
*{A
*{B
*{C
*{D
*{E
*{F
*{G
*0�(H
}4
}5
}6
}7
}8
}9
}:
};
	}<

}=
}>
}?

}@
}A
}B
}C
}D
}E
}F
}G
*0u
9	(I
{4
{4
oJ
9�(K
{5
{5
oL
9�(M
{6
{6
oN
9�(O
{7
{7
oP
9�(Q
{8
{8
oR
9�(S
{9
{9
oT
9g(U
{:
{:
oV
9L(W
{;
{;
oX
91(Y
{<
{<
oZ
9([
{=
{=
o\
9�(]
{>
{>
o^
9�(_
{?
{?
o`
9�(a
{@
{@
ob
9�(c
{A
{A
od
9�(e
{B
{B
of
,w(g
{C
{C
oh
,_(i
{D
{D
oj
,G(k
{E
{E
ol
,/(m
{F
{F
on
,(o
{G
{G
op
**0� s�� )UU�Z(I
{4
oq
X )UU�Z(K
{5
or
X )UU�Z(M
{6
os
X )UU�Z(O
{7
ot
X )UU�Z(Q
{8
ou
X )UU�Z(S
{9
ov
X )UU�Z(U
{:
ow
X )UU�Z(W
{;
ox
X )UU�Z(Y
{<
oy
X )UU�Z([
{=
oz
X )UU�Z(]
{>
o{
X )UU�Z(_
{?
o|
X )UU�Z(a
{@
o}
X )UU�Z(c
{A
o~
X )UU�Z(e
{B
o
X )UU�Z(g
{C
o�
X )UU�Z(i
{D
o�
X )UU�Z(k
{E
o�
X )UU�Z(m
{F
o�
X )UU�Z(o
{G
o�
X*0rp�%{4

��-q�-&+�o�
�%{5
�	�-q
	�-&+�o�
�%{6
��-q�-&+�o�
�%{7
��-q�-&+�o�
�%{8
	�	�-q			�-&+�o�
�%{9


��-q�-&+�o�
�%{:

� 
� -q 


� -&+� o�
�%{;
�!�!-q!�!-&+�!o�
�%{<
�"�"-q"�"-&+�"o�
�%	{=
�#�#-q#�#-&+�#o�
�%
{>
�$�$-q$�$-&+�$o�
�%{?
�%�%-q%�%-&+�%o�
�%{@
�&�&-q&�&-&+�&o�
�%
{A
�'�'-q'�'-&+�'o�
�%{B
�(�(-q(�(-&+�(o�
�%{C
�)�)-q)�)-&+�)o�
�%{D
  !�*!�*-q*!!!�*-&+�*o�
�%{E
""#�+#�+-q+###�+-&+�+o�
�%{F
$$%�,%�,-q,%%%�,-&+�,o�
�%{G
&&'�-'�--q-'''�--&+�-o�
�(�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*{�
*0�(H
}�
}�
}�
}�
}�
}�
}�
}�
	}�

}�
}�
}�

}�
}�
}�
}�
}�
*0�u.
9�(I
{�
{�
oJ
9�(K
{�
{�
oL
9�(M
{�
{�
oN
9g(O
{�
{�
oP
9L(Q
{�
{�
oR
91(S
{�
{�
oT
9(U
{�
{�
oV
9�(W
{�
{�
oX
9�(Y
{�
{�
oZ
9�([
{�
{�
o\
9�(]
{�
{�
o^
9�(_
{�
{�
o`
,w(a
{�
{�
ob
,_(c
{�
{�
od
,G(e
{�
{�
of
,/(g
{�
{�
oh
,(i
{�
{�
oj
**0� :P )UU�Z(I
{�
oq
X )UU�Z(K
{�
or
X )UU�Z(M
{�
os
X )UU�Z(O
{�
ot
X )UU�Z(Q
{�
ou
X )UU�Z(S
{�
ov
X )UU�Z(U
{�
ow
X )UU�Z(W
{�
ox
X )UU�Z(Y
{�
oy
X )UU�Z([
{�
oz
X )UU�Z(]
{�
o{
X )UU�Z(_
{�
o|
X )UU�Z(a
{�
o}
X )UU�Z(c
{�
o~
X )UU�Z(e
{�
o
X )UU�Z(g
{�
o�
X )UU�Z(i
{�
o�
X*0Br<p�%{�

��-q�-&+�o�
�%{�
�	�-q
	�-&+�o�
�%{�
��-q�-&+�o�
�%{�
��-q�-&+�o�
�%{�
	�	�-q			�-&+�o�
�%{�


��-q�-&+�o�
�%{�

� 
� -q 


� -&+� o�
�%{�
�!�!-q!�!-&+�!o�
�%{�
�"�"-q"�"-&+�"o�
�%	{�
�#�#-q#�#-&+�#o�
�%
{�
�$�$-q$�$-&+�$o�
�%{�
�%�%-q%�%-&+�%o�
�%{�
�&�&-q&�&-&+�&o�
�%
{�
�'�'-q'�'-&+�'o�
�%{�
�(�(-q(�(-&+�(o�
�%{�
�)�)-q)�)-&+�)o�
�%{�
  !�*!�*-q*!!!�*-&+�*o�
�(�
*{N*"}N*(H
*Z(H
}Q}R*{O*"}O*{P*"}P*{Q*"}Q*{R*"}R*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*V(H
}�}�*{�*"}�*{�*"}�*{�*"}�*6~�o�
*.~�o�
*�s�
%s�
%o�
o�
%jo�
(^*0@(�
o�
o�
r�p(�

(�
o�
%-r�p(�
saz(^*0��(�
s�

o�
t�
r'p	o�
o�
(�
sazs�
o.+H�o6o�
-
s�
o�
o�
o2o4o�
X�i2�*!+0f~�o�
,~�o�
*(�
o�
o�
r�p(�

(�
o�
s�
o�

�,o'
�,o'
�	*G	P
@Z
.s�
��*"(�
*s�
**{�*"}�*{�*"}�*� �}�(d(f(h*&(k*0s�

r}p{�(}�(es�
o�
r�ps�
o�
&�
,o'
��8
	o�
 H.
	o�
 &H3	zr�p	o�
��(�
saz(�
-'o�
�rpo�
��(�
sazs�
(go�
o�
8�s�
8zo�
	o�
~�
3	~�
o�
8!o�
�2(�
(�
,*	o�
�2

(�
(�
o�
8�o�
�3(�
(�
,*	o�
�3(�
(�
o�
8�o�
�4(�
(�
,'	o�
�4(�
(�
o�
+Xo�
Г(�
(�
,'	o�
��

(�
(�
o�
+	o�
o�
o�
	rWpo�
,		o�
(lo�
Xo�
?x���o�
o�
{�/o�
:G���o�
-��,o'
��,o'
��Erepo�
��(�
saz(�
-o�
3r�po�
�,o'
�*A�;	D
)'P80�	�0��������0�"�)��
0_	-~�
s�

s�
(�
o�
�io�
�
,o'
�o�
(�

�,o'
�o�

�	*(3
:K
JU+Rs�
}�(i*^r�p(j(+}�*0ps�

{�o�
+A(�
r�po�
(ko�
�
s�
%r�p	o�
o�
o�
�(�
-���2o'
�*&6N`0ts�
}�~�
}�~�
}�~�
}�s�
}�(irp(_}�{�(w
o�
}�o�
}�*0�
o�
o�
r<p(�
9�s�

rPp(jo�
1o�
rupo�
(s+s�
%r�pr�po�
o�
(r�)
s�
%r�pr�p	o�
(�
o�
o�
�*(t*ow)+09r�p
{�{�o�
-{�
(e(u{�}�*0;
(�
rp(�
o�
o�
8o�
%X
 �2�s�

rp(�
o�
o�
+Ho�
%r�p(�
o�
o�
o�
rp(�
o�
(+o�
			o�
o(
-��,o'
�r*p(�
o�
o�
+Ho�
%r�p(�
o�
o�
o�

rp(�
o�
(+o�
	
o�
o(
-��,o'
�r�p(�
o�
o�
o�
r8p(�
o�
o�
o�
r�p(�
{�o�
9�{�o�
oA
8r
�oN�i��+.�~�
�	o�
,
	o�
�X�i2�oPoV~�
	o�
,
	o�
oPoTsx%oz%o|%o~%oGo�%�
o�
o�%oPoVo�{�o�
-ks�E/&+4s�++s�+"s�+s�+s�+s�{�o�
{�o�
o�
X

�i?����o(
:��
,o'
�*ALWU��U$0
0Js�

{�o�
o�
8�(�
s�

	rHpoyo�
	rRpoo�
orzp(�
,	r�po�o�
	r�po�o�
s�
+C	r�p��(�
o{�o�
r�p��o}�o�
&Xo{�i2�	r�po�
o�
	r�p{�o�
o�o�
	o�
(�
:�����9o'
�{�o�
~�
}�(v*A0Rs�

o�
r�ps�
o�
&�
,o'
�s�
o�
&�,o'
�,o'
�*(	"
4	=
@G
0Urp{�(}�{�(w
o�
}�o�
}��rpo�
(�
saz*==+0l�	(�
s�

s�
s�
%o�
o�
jo�
o�
t	�&s�
�s�

rbps�
o:8��oCo�
	oEo�

		r�p
(�
o
o?o=r�p	
o�
&(�
-o
&rpo
&(�
-o
&r#po�
o
&rMp(+o
&o
&o
&X�i?,���rQpo
&o
&o�
	s�
**2A+{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*2o�
o
*0Hrp��%(y�%(��%(�%(��%rp({(
�(
*6u(�*^,o�
o�
(�
**{�*"}�*{�*"}�*{�*"}�*0'(ds4
oA(�(�(�*f(�rpo�
(�*0�s�

(�s
o	
(�
-o

o�
r
po�
9�s�
o�
o
rp(�
-r0p(�
-R8�s~
rHp	olo�
r^p	ono�
rnp	opo�
r�p	oto�
+\s~
r�p	oro�
r�p	ovo�
r�p	oxo�
rp	ozo�
r&p	o|o�
o�
��s
(�o

o
o
s
o
o
Y��
o
o
+|o+
tEo
o
rNpo
o

s
		
o
o�
o
o
	o
~�	o
o
,
o
o
Y�o(
:x����uF,o'
�o
o
>�8�rdp8�1rfp(�
,_
�-X��%�%rrp�%o
o
o
�%rvp�%o
o�
(D�%r�p�(
+L�%�%rrp�%o
o
o
�%rvp�%o
�%r�p�(
Xo
o
Y?$���o 
�,I�o
o
Y�o
o
Yo!
o�
("
jX(#
o$
8�o%
+@,%
�-o
o�
(Do$
+o
o$
Xo&
Y2�o&
Yo&
Yo
o$
o
o'
o(
:'���+:+Xo(
-�o%
��o$
o
o'
o)
o*
o
o
+`o+
tEs�
+.o
o
o
o!
o�
o�
Xo
o
2�o�
o(
-��+uF,o'
�,o'
�,o'
�*Adx�am�/����
0@(+
s,
%r�po-
&%r�po-
&%r�po-
&%r�po-
&��*&(�*0�s�

r�p(�(+o�
+v(�
r�po�
r�pr�pr�p(�
o.
(�rpo�
(�o�

+(�
o�
(�
-���2o'
�(�
-���2o'
�*j���{�*"}�*0�r�p(/
}�s0
}�s1
}�s2
}�s2
}�s2
}�s3
}�s4
}�s4
}�s5
}�s2
}�s2
}�s6
}�s�
}�(d{�(7
(8
}�}�(���s9
(:
&#$@(;
(<
*0"rp{���(=
(>
�&�*+0�
{�(?
,5{�(@
~]%-&~\��sA
%�](+(+
�{�-oD
(�}��9j(+ �2e(�,]{�
(F
s�
rAprUpo�
rp(+(7
o�
{�o�
�
	,(G
�8��sH
oI
�&ݹ,oJ
�sK
		oL

8a
oM
(�9�~�

�G~�
~�
joN
o-
8o+
tKoO
(� ��;�5@ �mcL5 ��/.t �mcL;8� ,�Ǭ;� ��;�;�8� �;�5 D�;�.v �;�.W8z j�;�.3 ����;� a���;�8TrAp(�
:�8>r�p(�
:�8(r�p(�
:�8r�p(�
:�8�r�p(�
:�8�r�p(�
:�8�r�p(�
:�8�rp(�
:�8�rp(�
:�8�oP
t�+~oP
��
+noP
��+^oP
��+NoP
��+>oP
�G+.oP
t�+oP
t�+oP
��o(
:��uF,o'
�(� ��5C �fV�5 _�M;� �fV�;�8� ���;� ��;�8� +�o�5 ��;� +�o�.g8n �h�. ���.: 0���.s8Nr/p(�
:�88rOp(�
:�8"rmp(�
:�8r�p(�
:8�r�p(�
:08�r�p(�
:-8�r�p(�
:z8�r�p(�
:�8�r#p(�
:8�{�
(+8t{�
(+8_{�
(F
{�oQ
,-{�oR
oS
-2{�oR
oT
&+{�sU
%oT
&oV
��	,(G
�{�(+{�
(+{�(+8�{�(	+8�{�
(F
s�
rApo�
rWpo�
rkp
(7
o�
{�o�
�J	,(G
�{�
(F
s�
rApo�
rkp
(7
o�
ryp(7
o�
r�p(7
o�
{�o�
��	,(G
�{�(
+{�(+{�
(+{�(+8�{�
(F
sW
{�oX
,-{�oY
oS
-2{�oY
oT
&+{�sU
%oT
&oZ
�	,(G
�{�
(F
s�
rApo�
rp
(7
o�
{�o�
ݶ	,(G
�{�(+{�(+{�(+{�(+{�(+{�(
+{�(+{�(+{�(+{�(+{�(+{�
(F
{�o[
�
	,(G
�
o(
:�����
,
o'
��	,	o'
�(\
�&�X�i?���#$@(]
(<
8���ATDF+�J�
�L�
}�:e��PE
Xh�
p��B�
p�
)t� ����+0@
(F
o^
,%o_

	Xo`
�o`
�
,(G
�*15
0L
(F
oa
,ob
(+�&s2
oc
ob
od
�
,(G
�*=A
0
(F
oe
�
,(G
�*
0�	

	
{�

(F
{�
s�
}��,
(G
�{�(F
{�s6
}��,(G
�of
+](g
s�
rApr�po�
r�p(h
o�
o�
rp(i
(7
o�
o�
(j
-���Io'
�{�(F
{�	s2
}��,(G
�	ok
+a(l
s�
rApr�po�
rp(m
(7
o�
rp(n
(7
o�
o�
(o
-���Ko'
�{�(F
{�
s2
}��,(G
�
ok
+a(l
s�
rApr#po�
rkp(m
(7
o�
rp(n
(7
o�
o�
(o
-���Ko'
�{�(F
{�s5
}��,(G
�op
8�(q
(r
ok
+}(l
s�
rAprUpo�
rkp(s
(7
o�
r�p(m
(7
o�
rp(n
(7
o�
o�
(o
:w�����Ko'
�(t
:B�����Mo'
�{�(F
{�s1
}��,(G
�ou
 +] (v
!s�
""rAprmpo�
"rWp!(w
o�
"rp!(x
oy
(7
o�
"o�
 (z
-�� �Oo'
�{�##(F
{�s0
}��,#(G
�o{
$+i$(|
%s�
&&r�p%(}
o~
o�
&r�p%(}
o
o�
&rp%(�
oy
(7
o�
&o�
$(�
-��$�Qo'
�{�(F
{�
s2
}��,(G
�	ok
+a(l
's�
((rApr�po�
(r p'(m
(7
o�
(rp'(n
(7
o�
(o�
(o
-���Ko'
�{�(F
{�s2
}��,(G
�ok
+a(l
)s�
**rApr po�
*rp)(m
(7
o�
*rp)(n
(7
o�
*o�
(o
-���Ko'
�{�(F
{�s2
}��,(G
�ok
+a(l
+s�
,,rApr3 po�
,rkp+(m
(7
o�
,rp+(n
(7
o�
,o�
(o
-���Ko'
�{�--(F
{�s3
}��,-(G
�o�
.+a.(�
/s�
00rApr�po�
0r�p/(�
11(#
o�
0rp/(�
(7
o�
0o�
.(�
-��.�So'
�{�22(F
{�s4
}��,2(G
�o�
38�3(�
44(�
ok
+t(l
5s�
66rApr/po�
6rWp4(�
o�
6rS p5(m
(7
o�
6rp5(n
(7
o�
6o�
(o
-���Ko'
�3(�
:N����3�Uo'
�{�22(F
{�s4
}��,2(G
�o�
38�3(�
77(�
ok
+t(l
8s�
99rAprOpo�
9rWp7(�
o�
9rS p8(m
(7
o�
9rp8(n
(7
o�
9o�
(o
-���Ko'
�3(�
:N����3�Uo'
�*A�.Kb��j�6Kn���ns����h������j8Qn�v�.Bn����nj���n$=[pn��F��*���	K	��	/	��	(�*0�s�

o�
o�
r] p(�
-%rw p(�
:�r� p(�
:8:{�{�(�o�
s�
%o�
o�
o�
�rdpu�,Ou�o�
o�
o�
+o�
r� po�
(�
o(
-��,o'
�o�
s�
%o�
o�
݈r� pr� p(�
o�
�&�(�
o�
�&�s�
%r� po�
o�
s�
%r� po�
o�
++~�(�
s�
%	o�
o�
+r!psaz*4�+�F9�+

,0Crdp
(B-rw!p~�
(
+r�!p~�
(
r�!p(Bo>*0I}b}`}a(�
}_}^{_(+|_(�
*0I}i}h}g(�
}f}e{f(+|f(�
*0	�s�
%s�%r"po�%r-"po�o�
%s�%r�"po�%r�"po�o�
%s�%r
#po�%r#po�%s�
%r�#pr�#po�
%r�#pr�#po�
o�o�
%s�%r�#po�%r�#po�%s�
%r�$pr�$po�
o�o�
}�s�
%r�$pr�$po�
}�(d*.s4��*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*0�(H
s�
(�s�
(�r�$po�
s�
}�{�jo�
{�jo�
{�  jo�
{�!�������o�
s�
}�s�
}�{�r$%ps�
o�
{�r>%ps�
o�
{�rb%ps�
o�
(�
}�*�(�o�
,
(�o�
*r�%p(�
sazZ�s�%}n%}p*v�s�%}v%}x%}}*
*Nr�%p(�
(*08o�
(�
,*(�r�%p(�
r�%p~�
r�%ps�*0� 
(�o�
o�
+](�
(�
	,{�	(\o�
�
�{�o�
-%r�%p(�
{�(]o�
�
�(�
-���co'
�,r�%po�
(�
saz*((<+Zo+j}0`!
r$&pr8&prZ&p(�
,D s�

		o�
rZ&p(�1"	o�
(�
-r�&po�
,
*0P"rdp
r$&pr�&prZ&p(�
,0 s�

		o�
rZ&p(�1	o�

(�

*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*0#��%r�&p�%r'p�%r@'p�}�(�r`'p(�(�rt'p(�}�(�
-(�r�'p(�(�
(�+r�'p(�(�(�
r�'pr(p(�
(�(�
si
(�r.(po�
(��
	o�
o��(�
sm(�rN(po�
(�
sp(�rx(po�
*�	�+0Lo*o�o�(�
-o�+o.o�(�o�(�o�(�*0a$r�(p
obo�
+2(�
r�po�
rA)po�
,rpo�
( �(�
-���2o'
�*?R0p%
(�,(�(�
-*r8&pru)p(rp(�
(B,(�
+r8&po�ru)po�

,{�-o�+`**v�s�%}�%}�%}�*2r�%po�*0"ry)pr�)p(�
(�
-(D**08&
,.+
+
3
r�)p(�
(�(�
�&�*#4+07rdp
(�(�
-(�*(B,(�
+r�&po�
*6r�)p(�*0^ry)pr^p(�
(�
,*r�)prMp{�(
(��%,�o�
}�{�(�
(+*0A'(�
(�
r!*p(�
(�
 �(6�
	o�
o��*--+0,(�(�
-(�+r�'p
 �r{*p(6*0�(rdp
(�,$(�
-r�*p(=

8�r+p
8�rZ&p(�
,q s�
rY+pri+pry+po�
rZ&p(�&o�
ry+p(�
,3o�
(�
,$1  ��/r�+po�
(=
(�
(�
-r�+p(�

+
*0S)
(�r�+p(�
r�+p(�

 �	(6ru)po�
-+
�o�
o��*=?+&(�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*08&
,.+
+
3
r�)p(�
(�(�
�&�*#4+0�*(�rO,p(�(��(o�
(�(�(�(�,(�(�(�+B~�
(�(�
-/(�
r�+p(�
(�r�'p(�(�
(�(�
r�,pr(p(�
(�(�
s�
(�r�,po�
(�
s�(�r�,po�
*nr8&p(�ru)po�
-**2r�&p(�*0v)
r#-p(�
-+r�'p(�
rM-p(�
o�
o�
o�
��(�

 �	(6ru)po�
-+
�o�
o��*`b+0_+r�-p
(�
-+r�'p(�
r�-p(�
o�
o�
o�
��(�
 �(6
	~�
(�
,	**v�s�%}�%}�%}�*2r�%p(�*0f,(�(�
-(�+r�'p
 �r`.p(6(�
r�.p(�
 �(6
�o�
o�~�

�	*LL+{�*"}�*{�*"}�*0e-(�(�
o�
o�

o�
(�rp(���(=
(�(�s�}�(�r8/p{�o�
*0^.(�
rT/p(���(�

~�
 �r8&p(6�
	o�
o��ru)po�
{�o�*!4+06&
,.+
+
3
r�)p(�
(�(>
�&�*#2+0F/(�
rT/p(���(�

~�
 �r�&p(6�o�
o��*!4+{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*{�*"}�*0�(H
(�(D(�rp(�rp(r�/po�
-
r�/po�
,ru)p(�ru)p(+#r�/po�
,rp(�r�/p(��%o\�%rp�%oZ�%rp�%(��(
(�*
*>�s�
%}�
*~r�/p}�(s�
}�*V~�!�o�
*0O0o�(+o�

8!o�
{�o�
~�

o�
 `�1(�
�Go�

8� `�o�
Y(�
o�
{�(�(�o^(�od(�o`(�obo�	o�o�r�/p(�
o�(o�(�(G(�(�s�
~�o�r�/p(�
~�o+ `�Xo�
?#���o(
:����
,o'
�*A3D
0B1r0ps����b(�
!�(�
 (�
��*�(�
o�
rD0po�
(�
o�
%~���s�
o�
&o�
*04(s�
}�{�o�
  jo�
{�o�
(�
rdpo�
{�r�0po�
{�o�
o�
(�o^o�
{�o�
o�
(�(Go�
{�o�
o�
(�o�
{�o�
o�
(�odo�
{�o�
o�
(�o`o�
{�o�
o�
(�obo�
{�o�
o�
(o�
s�
}�*0�2o�(+o�

8�o�
{�o�
{�o�s�
%r�0pr�/po�
%r1po�o�
%r,1po�
(�
(�
o�
%rH1po�(�
(�
o�
%rl1po��io�
o�
%r�1po�
o�
o(
:@����
,o'
�{�o�
*��
{�*"}�*:(H
(
*�o�
(�
rdpo�
(o�
*�~�
}�~�
}~�
}(s�
}*0x3(
{(rMps�

	o�
-rrp+		o�
jYo�
�
	,	o'
�r�1p(�
(�
(�
�o�
}�*"!C
Rf+R{}�}*0C4{(�
,*{(
(�
�,o'
�
	o�
}�*"&
0+�{{�(�
,~�
*{*0%5(�
r�1p(�
r�1p(�

(8
*0�6(�(G(�(�r�/p(�
r�1p(�
(�o`o�o�(�o^(�od(�ob(o�o�o�o�o�
o�s�

{o�
(�
(�
*�~�
�~	o�
~
o�
�~	o�
*0/-r�1p+r�1p(�
(
-*-*(*0U7(�
(�
(
(�
0r2p(�
($��
rr2p	o�
(�
($�*$8+0`8-r�2p(�
($��rMp(
(
��%,�o�
�r�2po�
(�
($�*.B+0Jo�
("~	o
,~	o
o�
*~	o
1rH3p(�
($*F(
o�
(�
*0#
(
(
o

�o�
($�*+0S~
~�%-&~���s
%��~�%-&~���s
%��(+~
o�
*~*�*0�9(
ti
~,o	
rj3p~o

�'s
o
o

tjo
r�3po
�o
s�

	o�
�	,	o'
�,o'
�,o'
�*(i
s
b}
FA�
0�:(�
~(

(
#@4*r�3ps�
r-4p(:o�
rC4pr(po�
rK4p~o�
rY4pr_4po�
ro4pr�4ps4o=(�
o�
(#(�
%($(!s�
o
tkr�4po
tk�	�#
r�4p	o�
(�
($�(�
��*$��+$��0`;r�4ps�

o
+,(
r�4p(
(
(
(
o�
&(
-���no'
�o�
*9K�~
o

2*~
j~�%-&~��s
%��o
&*��r�4p�~�
�s
�	s
�
*0B<�J }�~
}�~�}�o 
s(�*f,*,o!
-*(&*{*"}*{*"}*{
*"}
*{*"}*{*"}*{*"}*0Z(H
!�������()#@(]
(-r�4p(/(1(B,r!5p(+*r55p(+*0"=(�

o"
 j[�
,o'
�*
0,> (7
,* (7,*~�
*0�?(#

o$

-*o%
-*o&
o'
,-o&
o(
Ѕ(�
(�
,rI5ptq(
*o&
o'
,-o&
o(
��(�
(�
,rI5ptr(+*o�
*0*> (9
,* (9,*~�
*0�@(#

o$

-*o*
8��
	o%
-*o&
o'
,/o&
o(
Ѕ(�
(�
,rI5ptq(
*o&
o'
,/o&
o(
��(�
(�
,rI5ptr(+*o�
*�i?a���~�
*V(�
o+
(,
o-
*V(�
o+
(,
o.
*0"rM5p(/
o0
o�

�	&ra5p
�*	+0�A~�

(2(�
-(2+r�'p~�
~�

r�5p(0E'I8� �r{*p(6r�.p(=

8� �r`.p(6r�.p(=

8�(�
o�
o�
 �rT/po�
��(=
r�5p(6
,
~�
(�
,d �r{*p(8,~�
(�
,4 �r`.p(8,~�
(�
, �r�5p(8r�.p(=

,
~�
(�
, �	(6
,~�
(�
-
r/6po1
-o?
~�
(�
,r36p
��%{�%}�o2
*0rB~�
(�
,�\s�
s�

o+s�
o

8(
(
o�
,(
o�
o@o�
:�(
o�
r�6pr�6po.
\��%�o�
s4
o5
>�rdp	rdp
rdpo6
o�
	o7
o5
Yo6
o�

o5
Yo7
r�6p(8
	(IoJ,	(I
(6o�
(
:����no'
�o�
�&�*A41"Skk+09Crdp
(B,*r�6p(�
,r�6ps9
o:

�
,o'
�*$	-
0Dr�6p
rdprdpr�'po1
,F$
��%	�o�
s4
o5
.r�6p*o6
o6
o6
(�
,&(�
,s9
o:

�k,o'
�(�
,K(�
-Cs9
+ o1
,o;
Xo
�?o:
%
-��,o'
�r-7p(�

�	re7p	o�
(�

�**(~
��/�f��+0KE��%r�7p�%r�7p�o<
+�
o�
	o<
,ru)p*X�i2�rp*0%F
 �(H �n���&�*0�G @
�� �(H-U(
o

	  �o�
��o2
	 � �o�
��o2
r�7p(�
��&(=
o�
�
&r�7p�*z�
jy+0lH(�
,~�
o�
o�
��%.�o�

�(Es�
+r�po
&�(Eo
&X�i2�o�
*0I(
o�

s>
o?
(F*0CJ�is�


+%	� /!r8p��o
&X	X
	�i2�o�
*0\K-~�
s�

(@
(�
o�
o�
o?
+ �
r+8p(�
(A
o
&X�i2�o�
*0�Lr18p(�
-CrK8p(�
->rc8p(�
-9r8p(�
-4r�8p(�
-/r�8p(�
-*+0 �
+. �
+& �
+ �
+ �
+ �
+ �
*0eM �.
 �.*r�8p��%;�(�

+1�o�
-r�6p(�
oB
-	o1
,*X�i2�*:(C
}*�*�*�*0N(�
(D
(�
(E
(;( (W
~o�o1~o�o3o�,(P+�w%sK�(F
ݥs4sjs�
s�
%r9pr9p(
o�
o�
s�
%r�po�
o�
o�
s�
%r9poD
o�
o�
r)9pjr)9p~�
s�
%rdps
	ordps	o�*Zn�+0}Oo�-~o,(<
o�,~#>@(;
o-~-Ro�-~s��+8o�3~o*o�s��+o�3
s��~sj�
~:�sG
�~o�s
~o�s		o
~oAru)po�
,~oH
~	oH
+,~	oH
+~oH
o�,
~oI
~o�s~oH
(�
oJ
ra9p��o�~o���(�

~	o�jr�9psG
r�9p(~(Rs�
-(Q
o�~o�o,
+o)

o�o(
-��,o'
��+~o�~o�
(S�
,
o'
�jX~o(1*~o,(<
81���(��S(+�rG0:P(�

oK
o�
r�9po1
, @oL
 @jsM
oN
*0R,-r�9psO
z-r�9p
o�
ra:p(�
-rg:p(�
-+
+

�+
oI
oP

8�(Q
u",,nu!,,bu$,Q~o�(�
-Du$oo-!o(�
-~o�+oH
(R
:q�����uo'
�*b��0US-*s�

ro:po�
o�
o�
oD
%-&~�
o�
d1r9po�
dYo
o�
r�:po�
u0,du0r�poS

(�
(�
o�
r�:poT
(�
(U
o�
r�:po�

(�
(�
o�
+u,r�po�
o�
~odru)po�
,6o�
oV
,(�
oV
o�
(�
r�po�
ro:p(�
ro:p~�
s�o�*0@(W
(;( �YsX
sY
}{oZ
{o[
*0%Ts
}��sA
(+(+*0�U
rdp
~�
r�:p(+
(+,
r�:p(Vr�:p(+
(+,r�:p(Vr�:p(+
(+,Ls4
r�:po\
		Xo5
/)	X�	Xo7
o]
r�:p(Vr�:p(+
(+,r�:p(Vr;p(+
(+,r;p(V~�%-&~��
sA
%��(+(+�i2C�r�'p(^
,rdp�i2%�(+&�i2�( �i2�-,
-	s*V~�
�s4�*2{(P*{*"}*{*"}*{*"}*{ *"} *{!*"}!*{"*"}"*{#*"}#*{$*"}$*0�V(H
o=([o<
(D(goA(e(D
(](:(_(�
�Go�
(ao03(B,(C%-&(k(c*(k(c*0jWr;ps`
(a
(+~�%-&~��
sc
%��(+(+
-r_;p+o�
�&(=
o�
�	&ro;p�*R
_	+QQ+{%*"}%*{&*"}&*{'*"}'*{(*"}(*{)*"})*{**"}**{+*"}+*{,*"},*{-*"}-*0X(H
se
of
sg

r�;pr�;poh
&r�;poi
sj
ok
ol
o
om
o!
o�
on
rHpr#<poo
op
oq
(mr^por
op
oq
(or�pr�<poo
op
oq
(qr=prG=poo
op
oq
(sr�por
op
oq
(uos
ot
su

	r�=pr�<pov
%r�=p	ow
,*r5>p	ow
oq
(x
(y
(w%r_>p	ow
,*r5>p	ow
oq
(x
(y
(y%r�>p	ow
,*r5>p	ow
oq
(x
(y
({r7?p	ow
,*r5>p	ow
		oq
(x
(y
(}*0I(H
(�(�(�(�o�
(�(�(�(�*{.*"}.*{/*"}/*{0*"}0*{1*"}1*{2*"}2*{3*"}3*{4*"}4*{5*"}5*Z}8(H
}7*0FY{7oP

+
(Q
o(R
-���uo'
� �{8[(z
*&br�?p{8(}8*{9*"}9*{:*"}:*{;*"};*{<*"}<*{=*"}=*{>*"}>*{?*"}?*0H(H
(�(�(�(�(�(�~@%jX�@(�*0Z�i(�*fs�
%o�
(�*0	s�
%o�
(�*0�s�
%r�?p(�o
o
&%r�?p(���o
o
&%r@p(�o
o
&%r?@p(�o
o
&%rU@po{
&%ra@p(�~�%-&~��s|
%��(+(8
o{
&o�
*:~P(}
*6~P(~
*01�b! (�
*01�b!@(�
*01�b!�(�
*r��%re@p�%ry@p��P*0,[,' ŝ�
+o
a �Z
Xo�
2�*r�@p*B{QjX}Q*F|Q(�
(�
*(�*"}R*{R*J~�
}R(�*00\(x

{S(�
}S�&r�@p(�
}T�*+�{T,{T*|S(�
(�
*Z#�������}S(�*00\(x

{U(�
}U�&r�@p(�
}V�*+�{V,{V*|U(�
(�
*Z#�������}U(�*0;\(x

{WX}W{XjX}X�&r�@p(�
}Y�*&&+0+\{Y,{Y*{W{Xl[
(�
(�
*0,\(x

{ZX}Z�&r�@p(�
}[�*+�{[,{[*|Z(�
(�
*.s��\*�(�
rApo�
,(�
r7Apo�
**0�]{^
{b9~�
}c{`o

+&(
(
(?
,(
}c+	(
-��/
�no'
�{c(�
9�s�
{ao�
++(�
o�o�o�(�o�
(�
-��/
�yo'
�(+o�


(�
-A%
}^
}d|_
( +ݎ{d
|d�{%
}^
(�
	+%	�o�
,o�
}c+	X		�i2�{c��}^|_(�
��}^|_(�
*AL+3^�8�lz+6|_(�
*0/^{e
,hs�
{g,Z{g(!+,M{go

+"(
o�
(
(
o�
(
-��/
�no'
�,={ho�
o�
(�
->%
}e}j|f("+�{{j|j�}%
}e(�
{i(�
�(#+�)&{i(#+��}e|f(�
��}e|f(�
*(1/`s~�X�+6|f(�
*f(H
}k(�
}m*00_{k
�Y63�..��(��(��*!(0�`{k{nE��Uk�
ݥ}ko�-
ݏ{o �j]-m(��A(�ro:p(�
{oro:p~�
ro:prAApo�
(�
s��,}l}k
�}k{o(�
	,	}l}k
��}k{�o�
o�
}q�}k8�|q(�
{o]-w{�o�
{oo�o,
}r�}k++{ro)
}l}k
�W�}k{ro(
-�(�}r|q(�
:a���(�|q�{�o�
{�r$%po�
{�o�
o�
{�r>%po�
{�o�
o�
{�rb%po�
{�o�
		(�
o�
{o  j]:�o�

,G(�r�)p(�
{or�)p~�
r�)p
s�}l}k
�A}ks�
{�o�
o�
8�(�

{�
o�
s�
r�Ap
o�
r�Apo�
(�
(�
o�
r�Ap(�
(�
(�
o�
r�Ap(�
(�
(�
o�
r�Ap(�
(�
(�
o�
o�
o�
(�
:3������o'
�r�Ap{or�Ap~�
s�}l}k
�}k
�(��*AL[cA+�����f}k|q�o'
*r�}k{r,{ro'
*{l*s�
z0Ca{k�3{m(�
3}k
+s�
{n}n{p}o*(�*f(H
}s(�
}u*00_{s
�Y63�..��(��(��*!(0`b{s{v,;�
�?}sr�Ap2(}}~{�o�
o�
}��}s8�|�(�
}{{�{{o�

	{wo�
9�{{(�}y{yoc	{wo�
}z{zo�
o�
}��}s8|�(�
(�
(�
{y{zo�
ob(�{{(�
{|{zo�
(�
(�
Ys�
s��q	{~

X}~{~{02(�ro:p(�
{|~�
r�p	o�
s�+rBp{~��(�
saz�,}t}s
�l�}s|�(�
:���(�|���}y}z}{|�(�
:"���(�|���
�(��*A4�qjqWWf}s|���o'
*j�}s|���o'
*{t*0Oc{s�3{u(�
3}s
+s�
{v}v{x}w{}}|*(�*f(H
}�(�
}�*0_{�
�.3
�(��*0�d{�{�,.j
ݐ}�{�{�(�o,
}��}�+={�o)

	o�o�
r<p(�
-	}�}�
�-�}�{�o(
-�(�}�
�(��*��n}�{�,{�o'
*{�*0Oe{��3{�(�
3}�
+s�
{�}�{�}�{�}�*(�*f(H
}�(�
}�*0_{�
�.3
�(��*0�f{�{�,.P
�y}�{�{�(�o,
}��}�+&{�o)

	}�}�
�-�}�{�o(
-�(�}�
�(��*��n}�{�,{�o'
*{�*0Og{��3{�(�
3}�
+s�
{�}�{�}�{�}�*(�*f(H
}�
(�
}�
*0h{�

E+�*}�
{�
($+-{�
}�
}�
*}�
*s�
j{�
o�

+$	o�
�o�
o�
Xj(�
	o(
-��
	,	o'
� �j[i(�
}�
+>{�
{�
(%+}�
}�
*}�
{�
{�
(&+}�
{�
($+-�*b0�
{�
*07i{�
�3{�
(�
3}�

+s�

{�
}�
*(�
*.s���*s*.s���*"(�
*0j(�

(�
(�
*jX*0+k�K~�}�(�
(&{�*>(�
(�
*6{�
(*Vo�
{�o�
�*.s	��*>r/6po�
�*.s��*2rYBpo�
*.s��*('+*V�J(�
(�
��*V�K(�
(�
��*BSJBv4.0.30319l�i#~j\X#Stringsl�lB#US�#GUID�(3#BlobW_�	�3�K�~���k��'�+'a&U#.C�#.C�$.C{!5BNC�!�6�#�6�!C�$o0P$�6i$�6�"�6�$�6h#�6�#�6�!�6:#�6�!�6�"C'r6kG�#kGa!*X/!.C�Ko0� 5B�!5B"#5B
J!�>�"5B
�$M,@"6�$6�$6�0o0#6�"6d"6Q"6
z"M,�C)0�n?6H9o0E=�5C�7�My�M�8�M)=�M�o0
Lo0�+o0#0�
0�4��A�o0C�M�:�V7��A�=�Q+C�7tMltM=tM���1��@�G�R��o0�	o0�/�"
�:"�P�:"��:�8���A�C�o0�cF�o0".C�.CXo0T.C.C&�M}:&*9}:
J5B"".C�CO1o0��G
�5Bf4o0*�?/6.=�&.=H�&�o02�MpJ2�@�W2�Vc,�>��P
4Q�K
 �KTo0
�14D{ 4D
�I:XT\9�<\93$\9%*X}	�C;&��R��T�6��Ik'$�B�"*X:�K�M�6tM�K�(N->-�-.�B�&.E�&.�D�&�Cd)o0q=o0?���69:�6�T�6o0R=��7�9b�9�o0=�9-o0�96[o0� �
E�4!'�Q�Po0��:N�:��:�>�:$!�:�So0D7���G1o0�6��o0�>o0�CNo0�*�z6o0�+cF
�)5B�V�B'�9�
��I���+KQp��8o0�.,�9o0�9o0�<o0��6.�,�&4*o02�5�W2�,c,2�=�52�RDJ2;G�52@R�52/R�52"R�52�R�52|R�5�o0�C
8Q�K
�6�K
�6^	
 +:X
 �K
X�KBo0
)74DB%o0
:5B
�F�K
>W�KR0o0�&�Tv0�TJ�T
�I5B�8o0�8C�P':'>�M:7�M�7tM�6�UQ-�M-�-o0.!E�&&+I�H&�H�Hzo0�8o0
C:rK�M>VGmC�+CuaQa�%:a&. ]CaN. �UaO1!��S:!��X: �Ja�: ~Pa�= � a�N 5a�S!���Z!���Z�]=�Va�Z?9�V��a�@�Va�b�@�VD�e�@�VH�m>@�VH�p�>�Va�xd@�VD��_@�VX���?�VD��@�VD���/�Va��{�V������Va��I�Vp����Vp��b�Vp����+�Va���+�V���+�V��	�@�Va��+�V����>�Va��@�Va&�,�Va(��V�KW�V�K�9�VaZ�9�Va%l`H�Va.�*�Va6�W�Va9�4�V�A�~aQ�"5aQ��P�Q�)Q�R��R�S��1�U���W��0�Z�!?a\�3Q^��Qe�[ak��as�_a��.a���a��!?a��!?a����Ba��1���J��O���a�!?a�!?a�!?a�
�>Q�

KQ�!��![
�!�!�
�!�	�!�
�!G
�!�	�!	
�!j�!5�!4
�!�
�!n
�!O�!�
�!�	�!�	!
!�
!�	�!
�!�
�!�
�!n
�!�	�!�	�!4
�!�!�
�!�
�!�!G
�!5�!�	�!��!O�V��(8V�]3�V�j3�V��2�V��,�V��(8V�	(8V��'8V�(8V�(8V�9(8V��'8V��(8V�kS8V��(8V�RS8V�e18V��=8V�b8V��8V�=V8V�@8V�S8V�,S8V�?S8V��28V�m%�"V�Q%�"V�+8V��&8V��'8V��28V�@8V�	8V�/8V��8V�q8V�38V��28V��28�"�8.8�"?�"��V���"V�7%�"V�0B�"V��S�"��V�5	�"V�>1�"V�9L�"V�]'�"V��:�"V��:�"V��"V�V�"V�.5�"V�*'�"V�h'�"V��I�"V��G�"V��"V�M�"V�nV�"V��V�"V���"V��1�"V��"V�O6�"V� �"V��W�"V��F�"V��"V��"V��?�"V�+�"V��5�"V�|>�"V��+�"V���"V�u)�"V�&�"V���"V���"V�,�"V��G�"V���"�"�8�8��"�8�8f8?�"��"��"��"��"�8��"��V���"V���"V���"V���"V���"V���"��V���"V���"V���"�D�"V�X8V��<�V��<�-8���B�CQ�"uI�"T-8V88?88�G#�
8}�"A�"�8�88-8���8
G#Q��8Q��8wV8Y3�~�"�#�.#�I>#"M>#�>#�G#}&P#m&P#	M_#�>#�P>#N?n#�B�"��"�,w#!�/|#!�E�"
8�8��"��V�P:�#V��?�#V�8V��8Q�_V8Q�SV8Q�8V�B�V�}S�V�l+�V��48�
8��#�B�#��#gI�#J�#Q��%8Q�8Q��8V�98-8�
8N8h8��"Q��Q�Q��P�1�"H�"-8�
8N8��"*8N8K��?�#V�v28�#8>8`8/
8�81>�#1v8�#|?�#LT8Q��T8��#|?�#��#�=8�=8F8|?�#V��8V��38Q�6K��&8�38	���#�H�#YS�8��#8��#O
8V��E8��V���#V��#V�!�#�H$�8�,w#�9�#X	$�$MF$�8r8�8�8l8�8O8"8�
8�808&8�88=8�8_8�
�"��#O
8��"�8h8��"��"Q���MF$���
8 88$l
*$�S�-$�*$V��5$V� 5$V�5$V��5$V�:$V�X1:$V��S:$V�T:$V��:$V��:$V��*:$V��*:$V��*:$V�Y?$V�L?$1�J�"�PS.Q8�RD$�?8�1D$�?8�0D$�PS�?8�0D$�?86qG$�L$� ��=U$�E�"�F|#�E]$[8�a$� ��=p$XI�"�/8�8�~$� �P�$���E$�S�SF�$�$� �P�$���E$BT�"=T�"��$��"8�S�S���F�$�$� �P�$���E�$BT�"=T�"�S�SF�$� �P�$���E�$BT�"=T�"�S�SF�$� �P����+��+�n�6q�$6q�$��$:�$�$�SV���$V�h�$��V�]5�$X&86q�$�L$6q�$K%6q%K%�&�"E�"��6�&�"�&�"�?�"�R�"�R�"�J %6�&�"P ��TLX �=0` �\4$%h ��)%p ��.%x �b03%� ��8%� �-=%� ��	B%� �SG%� �h>L%� ��Q%� ��2V%� �[%� �&F`%� ��3e%� ��j%� �Vo%� �)t%� �Gy%� ��A��!��F~%�#���%�L)L�*�VL�*�)0�*�G$%�*��2)%�*�.%�*��3%�*��8%�*��=%�*�\4B%�*��G%+�b0L%
+�$4Q%+��V%+�h>[%"+�-`%*+��Ue%2+�&Fj%<+��A[�+��F~%'�-��(D/�L)L(�3�hU�%(�3�zU�%(�3��A)�3��A)�3��L)�3��)�3��UL*�3��U*�3�!T�%+�3�/T�%+�3�#V�%,�3�0V�%,4�hP�%-4�sP�%-�3��A.4�_ L.4�m .(4�\6L/04�g6/94�bD�%0A4�qD�%0J4��L1R4��1[4��L2c4��2l4�^2L3t4�j23}4�#V�%4�4�0V�%4�4��?5�4��5�3��A6�4�^B�6�4�qB�6�4��4�%7�4��4�%7�3��A8�4��A8�4��7�%8�4��7�%8�4��L9�4��9�4���%:5���%:
5�FP�%;5�
!�%=$5�i(�%=L5��H�%>�5��/�%?X6��J�@�6�B�%A�6��AA�6��B&B7��)C�3��AC7�)LC7�)C7�vQD7��QD(7��A!&EI7��B&GT7��B'&H(;�;J�J�;��A!&K�;��)M�;��B&M�<��A!&N=��B&P�=�z4Q>�2-Q�A�3?8&RC��U�%R�C�ZETD��GG&T�3��AU�E��LU�E��U�E��D�V�E��D�V�E�HB�W�E�SB�W�E��7LX�E��7X�E�sLY�E��Y�E�^2LZ�E�j2ZF��[F�L)L[hF��F~%[vF��FY&\�F�)L]�F�)]�F�vQ^�F��Q^�F��+L_�F�,_�F��A!&`�F��B&bG��B_&c�L�B�%f�L��A!&f�L��B&h�M��4?i�M��4i�M��Aj�N��)kO�DlTY�"?q&l�Y�"?�&nZ�DU�&qTZ��B&r�f�"sg��B&s�h��D�&t i���&uxi�^�&w�i��Az�j�B�%z�j��Lz�j��z�j�s/L{�j��/{k�I�&|	k�I�&|�3��A}�� �'�&}k��L�k���#k��G�&�+k��G'�4k��A�l�,@'�El��V'�\l��V$'�zl��=L�}l�;-��l��V2'���4?���)9'�zl�L�zl�$L��l�e��m��0@'� n��0��|n�)L��n�)��n��L��n����n��L��n����n�9*L��n�K*��n�U?��n�U��n��AD'�p��AL'�hp�!1V'��p��4?�dq��V$'��q�L��q�$L��q��)9'�r��=L�Wr��%�hr�+8?��r�WW��4s�L�ls�D:��Dt�<Y��t�3$'��t�)L��t�)��t��L��t����t��L��t����t��?��t���u�hL�
u��u��)9'�hu��A&�hv��4?��v��=L��v�<Y�(w�����w��V$'��w�L��w��%��t�3$'�Dx��L�Lx���Ux�13�]x�E3�hx��A��x��4?�Xy��)9'��y��=L�z��9\'�z��9b'�!z�#L�)z�0�2z�,L�:z�A�Cz�kL�Kz��Tz�L�\z��ez�%L�mz�6�xz��Ai'���q'�E{��?�H{�hQx'�X{��Ai'�x{��?��{��q'�}�B�%�V}�B�%��}��Ai'��~��q'����Q�'����Q�'����A�'���J��#���Ai'�\���q'�����=����?����6L�����S��؁���'����L�%����%�'����%�'�p��%�'����%��B�����T���������H�'����3������3�	���UP��̅�sE�%����F�'�`��tH�	����B�%�Ї��1�'���N+�'�8���C��@���CA�I��bL�Q��r�Z���*��b���*�'�k���(L�s���(�|���'�����'����aL����q�����A�����'�H���%�'�����%(�,��&(�d��&(�8���2��N��4��d��PL�����L�`���D$(����L�l��7P����,L����0@'�L��Z5�����)������)�����C)�����)��� A5+(h��8&9(���E	@(m���AH(|��NO(	���;FV(
����b(����1h(ĕ��1n(
x���J�%����u(���?�(H���P�7�r:����E�(ț��E�(s��B�%��������L�������6L���C���84L���J4ɝ��Lѝ��ڝ�w3L���3���L ��� ���*L!��*!
���L"���" ���A�(#����3�$T��UL$\��d$e��8L%m��8%v��42L&~��B2&����WL'����W'����,L(����,(���ELL)���YL)���mLL*Ÿ��L*˟��LL+ӟ��L+ܟ��LL,���L,���AG-���A�(.a��?6i��%6r���'7z���'7���aL8���q8����0?9���19���zFL:����F:���9*L;���K*;Ǣ�U?<Ϣ�U<آ�Q?=��Q=���A�(>���Vq'?d��5E@7�N @}���L@����@���@>LA���T>A���TULB���^UB�����(C�����(C�����(Dɣ���(Dң���Eڣ��AE���E�(F��F�(F���A)GH���A)Mk���A2)R����AA)W���L)L]7�B�%]o���A]~���A^���cHK)^���PHK)^ܥ�)HK)^��B�%^ ���)Q)^7�_X���L`�3��A`_��`p���La����Aa���a����Lb����Ab���b����Lc���Ac4��c����Ld����Ad���d���Le����AeH��e����Lf����Af���B�%f�3��Af����Yf���Qg��g8g���QhX��g8hf���Ai���; jج��Q?j��Qj&��jC��	xOV)jK���KjC��	�OQjT��gA\)j����Ahj����Ajȱ�; k ���Q?k���Qkڴ�k���	xOV)kK���Kk���	�OQk��gA\)k[���Ahkc���Ak���; l����Q?l���Ql���	xOV)lK���Kl���	�OQl���gA\)l���Ahl���Al(��; m`���Q?m��Qm,��	xOV)mK���Km,��	�OQm4��gA\)m����Ahm����Am7�; n����Q?nй�	Og)nK���Knй�	�OQnع�A�n���Ahn#��B�%n�3��An/��}q)n7��B�%o�3��AoC���z)oL��Dz)pm��1�)q�� �S�)s�� �1�)wt���S�)x����ANz���*?{�3��A{ɺ�Y{ߺ�B�%|�3��A|��Y|���B�%}�3��A}��g�)}��B�%~�3��A~ ��U�)~(��B�%>��B�%�TA`4��f0�1	�	

Sl>�
�2#*F�3Z-K2&Z-K�2#��	`4
�f0(4
�l>1V*F2&2&2&2&2&2&2&2&2&2&2&2&2&2&2&2&2&2&2&2&`P�(00T�U2&2&2)�Q�U�U}�R2)�Q�U2)�Q�Uo/2)Vo/2&2&2&2&2&2&++2&2&2&2)�Q�U�U}D2)�Q�U2&Z3T�K�T�K�TjT�K�U�U�,�E�F��/XI2&2&2&�7�T�%2&�&k*2&2&��BT���T�2&2&2&2&2&g?��(1�,�H@BT�T��jT����BT�2&2&2&2&2&T�g?���BT��BT�2&2&T�2&2&2&2&2&2&�9A)W�+�9A)W�9A)W2&RI0�9A)W�=�=)W�T�%d7�T�%d7�T�%d7�T�+v2&�/�F%�1>� �1�I2&2&2&2&2&2&}T�T�}T�R�T�}T�T}T�R�T�U�%�0�*_)_)��Q�IU:�&�*J�*H&�E�,]F��E�H��5�E6'R9?83�E�EX&�E2&2&2&2&2&2&2&2&�,2&2&2&2&2&2&2&2&2&27�1��F]*'U"Q2&2&2&2&2&2&2&2&NF)W2&2&2&2&2&2&2&�l>V1*F�l>V1�l>V�K�l>V�2&�SK1111111uww� � � � � R�:�:�+�R�SoRy:�HaRoRy:T , ,{S{S#�-9U:U;
;u;;;<
<u<<<=
=u===>
>u>>>??u???	�A�A�A!�A
1�A9�AA�AI�AQ�AY�Aa�Ai�Aq�Ay�A��A��A��A��A��A��A��A��A ��A��A&��A��A��A�A	�A�A!�A)�A1�A9�A,��A1��Q�g8��A11N !�Q?PL!L!PQ�A^��AhPL$�A^��A���A��A��A,��,[
�,�,�
�,�	�,�
�,G
�,�	�,	
�,j�,5�,4
�,�
�,n
�,O�,�
�,�	�,�	,
,�
��A4�LF4�FP<�LF<�FPD�LFD�FPL�LFL�FPT�LFT�FP\�LF\�FPd�LFd�FPl�LFl�FPt�LFt�FP|�LF|�FP��LF��FP��LF��FP��LF��FP��LF��FP��LF��FP��LF��FP��LF��FP��LF��FP��LF��FP��LF��FP4��<��D��L��T��\��d��l��t��|���������������������������������L)L)kK�t�	�t
�t�
�t�
�tn
�t�	�t�	�t4
�t�t�
�t�
�t�tG
�t5�t�	�t��tO�|@02|�<��A9�A:9!9.*Ii8AA�JIiP�VL)^KVQ�T]Q�/c)^Kj�8�Q�A1Q�&�Y�PI�L��A��T�|�A�@02�70�|�T�|70�a�A:aXLY�A��Aq�Ai~1y�Aq�U��<)^K)Ci q�Qy7=#�.)�70.�,&3)VX8��;��WB�HL�L)R�L)R�L)R�L)R)�*Y��P�r^��P�S?�GM?i� d��Av�h���D�I!���S���'�YL�aQ���A��PL�\�|r2��Q?��A��A�<L��0)�0L)cML)�WT�70Z)�FY�Y ��!L���J���A^�PL�-%��G%L�pQ��G%L��T��70���T��@02�70��LK��A%�PL)�WT��A�eK<��Q?��<��A2��A�@02�5��eK��VX��eK������)�1���A�~1� )k))�A�Q7=%	�+�AK1��P��AhG7	�&=	70B�A)70I�	rP�L�G�	70.)^K^)^Kd�Kj)70.��rL)L)@0w�R}	�P�r�	S?	5 	N ����A��r�);�)�C���A��A��A��A��A�A�AyL)L1Lj9�A-A�93��B<�_:C)kKJI3WPQ�JQD��A-�����S	Y�L��P	Y?%	Y�L,	a�Aa~11	I5 I�AI�A@	PLQHBT	Y�LYG%Q��T��70�$G�$r�$�A�@02,�A2��T��70��@02��<�� �	��D<4�T�470�4@02<�T�<70�<@02�@02D�<�ALP+TWTLTG%0L�Q?��A\P+dWTLdG%0\�Q?�AlP+tG%0tWTLl�Q?��A|P+�WTL�G%0$�P|�Q?��A�P+�WTL,<L,�0�G%0��Q?��A�P+�WTL�G%0��Q?��A�P+�G%0�WTL��Q?AL��LL��1

��H
��A^�PL�L��L��+0
��L�� I
��PS
��+a
�� I
��PS
��+a
��A�r^��A�@02��A�@02��A�A�A@02�J�
��T��70��LK�A%PL�@02��T��Q?��J��A�sW)�F1t*�)kK()NXI3WT)?L_���Gf)kK�yV �)kK�)kK�Q.��^2���?$�A$�+��A	�,�A^4PL�&z)�*9�	��1�)k)���R�<�A�	!��,�B�D$�M&+��,1�'J��=7D�A-��I�R!�A!RZ�EA�=R`�
!�T��i��1o	P$,��5u��n4{�N0�L)R!L)R!�P�!.*1RZ)J�A�A�I�*�I�*A��Q���Q���R��L)T�A[)@���%�\�<d�<yL)R���)kK�)RML\�T�\70�\�P����z'��U)�l�A-�7U�1� 1�HA@0&I�A-ID+"1) )Q�HA70Q�//��6F�(KR�KV|�AtP+|WTLY��|G%0t�Q?d�P��A-d� �\�Ad�AaZ:�aPR�a�J�����qT��_T���%���P��S?��P)�1��&D�Q�4Ly:y�2Ly�3L�JW	�6L)GY)�0�&N��A���P�70Z�UK)�1\a�Aa,L)�&=)�*)P2���A��)��� �qL)�)�*��A�]�&��9��A�r^��<���L��IGa�AA��KN��A��A��PL��Q?���� �qL)RY�8���P���A-��A�����P��&���S�)�F�V ���A��K��b���A-��K�Av7G��A�rN��KV��A��C`�70f�70m�*-�St�D0|RL�S���M������A��d&s���	L)L�_:��5���A-	�A�	�A�)�H���R�	L)R��1�12�12���A��A��PL�r^��Q?A�,n��>��%	?�	��3ML��0�<L�9��=M^�g8��A�3U	�>I!r&�u%��>��%	?�	��3ML)� B�9��=M^�g8)�X�LK��A%�PL�70���Q?�&*70����r^�w�����E�LK�A%PL�P��1���R�����<�Q?1�A�LK�A%PL�70�|LK$�A%,PL��E�L�A^,�Q?�Q?4� �4��4�+�4P�<�A^DPL��R���R�4n�����m:�4�A4�+�4A�LWTLLG%0a-L���A9JN9T�A!&VI[(�Q�&��������������-������������ �S�b�}���� �/�<��	I	�Na�&@a d$�(�,�01@4=@P�TX\d�hlpt"x'|,�1�6�@�;�@�E�J�O�T�@���Y�^�c�h�m�r�w�|��������������������������������<�@DHL"P'U"X�\`h�l�p�	�((�,014R8m<�@�DJH�L�P�Q"]"i"l p. t= xL �@�g �l �o � \!Dk!L�PT���"�"�m
�!
�!
�!
�!�!�!�! �!$�!(�!,�!0�!4�!8�!<�!
��!
�"�"!�^/'�..�*.�*.#�*.+�*.3+.;S+.CY+.K_+.Sy+.[�+.c�+.k,.s,.{,.�Y+.�S+.�m,A�^/C�a�^/c���^/��^/���0�����0���0��81��^/���0�����0���0��^/���0��~1�^/��0�~1!�^/#��0#�#��0#��1#�2A�^/C��0C�C��0C��1a�^/c��0c�c��0c��1��^/���0�����0���1��^/���0��K2��^/���0��K2��^/�^/!�^/A�^/a�^/��^/����^/����^/����^/��^/!�^/A�^/a�^/��^/��^/��^/��^/�^/!�^/A�^/a�^/��^/��^/����2@�`�i��2�������2��	)�2Ii���2���2��		3#�C�c����������#�c�����	�#	�!�g/A�}/���/��/!��/A��/a��/����
0����
�a�$0��;0��U0�i0 �!��0@�`�a��0���������0��� �@�`��� �@�`����������������� �,@-������������ �!�@�A�a��������������`3y-�3�-��� �@�A�`����������������31.������ �@�`������������� �!�@�A�a�� 3�.!�A�a������������������!�A�a�������������� �@�`����������� �� 3/a!��!��!��!��!��!��!�"��#�#�#��#��#�$�!$�A$�a$��$��$��$��$�%�%� %�!%�@%�A%�`%�a%��%��%��%��%��%��%��%��%�&�&� &�!&�@&�A&�`&�a&��&��&�!'�A'�a'��'��'��'��'��)��)� +�@+�`+��+��+��+��+�,� ,�@,�`,��,��,��,��,�-� -��-��-��-��-�.� .�@.�`.��.��.��.��.�/� /�@/�`/��/��/�0� 0�@0�`0��0��0��0��0�1� 1�@1�`1��1��1��1��1��2��2��2��2�3� 3�@3�`3��3��3��3��3�4� 4�9�@9�`9��9�:� :�@:�`:��:��:��:�@;�`;��;��;��;��;�<�`<��<��<��<��<�=� =��=��=��=��=�>� >�@>��>��>��>��>�?�@@�Q/"���Fp��j8��5`��EQe���Y�	�	�	�	�6
k
�
�
3JN{������������
��5[�����%gn����������ASVu����(�����\`��U[eku����&'	+
,469;ADEHJOT V#\%]'^*d+l,u.};�<�=�>�?��T�)A�)`4�)��)��)f0�)��)1�)�	�)
S�)l>�)��)�2�)#�)*F*�3*
*Z*-*K*Z�)-�)K�)�2�)#�)��)�)��)`4�)��)f0�)(4�)��)l>�)1*V**F
*�U!*�'*�U'*3T+*JV0*�P5*q '*z6'*uD;*�'*�'*f4'*JV0*�A*uBE*"5J*
8O*G'*�T*!)'*�QY*�'*�DE*}BE*�7'*�'*f4'*!)'*�QY*,'*�4A*�'*�/'*II]*�'*�Gg*!)'*�'*�'*O*'*UA*!)'*�'*�'*�A*�'*�'*I3Y*�9r*4'*E'*�'*'*:'*�Qx*�3~*�C�*v'*�*�*�('*�*u'*�'*y'*N4'*�'*�3'*�'**'*!'*h'*78'*F2'*�W'*�,'*]L'*�L'*�L'*�L'*)A*�*u'*
1A*�F'*O*'*UA*QA*�'*X>'*�U'*(�*��*��*F�*�N�*�N�*�N�*�N�*�N�*�N�*�N�*�N�*4N�*�N�*	
	

!#%')+-/1357 9!;"=#?$A%C&E'G(I)K.M/M2O3O4Q5Q6S7S8U9U:W;W=Y>Y?[@[A]B]C_D_EaFaGcHcIeJeKgLgNiOiPkQkTmUmVoWoXqYqesfsguhuywzw{y|y}{~{}�}������������������������������������������������������������������������������������������������������������������
�� �(�)�*�+�,�-�.�/�0�1�2�3�Z�[�\�]�^�_�`�a�b�c�d�e�f�g�h�i�l�m�n�o�p�q�r�s�t�u�v�w�x�y�z�{�|�}������������������������������������������������������	��
�������9�I9�K:�I:�K;�O;�Q;�S;�U;�W;�Y;�[<�O<�Q<�S<�U<�W<�Y<�[=�O=�Q=�S=�U=�W=�Y=�[>�O>�Q>�S>�U>�W>�Y>�[?�O?�Q?�]?�U?�W?�_?�[{--CUn{�>X`hpx��������������IPSVY\_behknqtwz}����*���
!��1W���	%�K	Z	k	�	�	�	#7?GO]kz������

'
B
}
�
�
�
�
�
�
�
�
�Vh�=�5���ow��U8l��Tf���/����0EM{���Y�'�A5A�SA�1�9e:6o0-��:�
tM�:}:'%G
'pJ�I�M0mC�-�k-�1.x��-���.��y.��1/ �.123456789:;<=>? @"A%B&C&D'E'F)G)H*I.JBKB�<�;@<�;;�;s;�:8;	�<
W<a;�;
�;p<<!;�:I;�;�:I;�;�;�;;!;a;@<	�;
�;'<s;
W<�:�<p<~�5�7�9�9	�������	�	�	6	4c	4g	4	6c	8s	8x	8}	8�	8�	8�	/[
5�
s	����S�g������!������+76;S+������<>f__AnonymousType0`20<>9__22_0<.ctor>b__22_0<RecordExceptions>b__22_0<>9__33_0<ToString>b__33_0<GetOsVersion>b__33_0<.cctor>b__3_0<>9__24_0<ReadFromXEFiles>b__24_0<>9__15_0<GetExceptions>b__15_0<OnStart>b__16_0<>c__DisplayClass18_0<>9__19_0<ParseInputArgs>b__19_0<RemoveFromInputArgs>b__0<>n__0<>9__15_1<GetExceptions>b__15_1<cloudService>5__1<subListSize>5__1<queryProcessor>5__1<>u__1<Sublist>d__28`1Nullable`1IEnumerable`1Task`1ReadOnlyCollection`1AsyncTaskMethodBuilder`1IEqualityComparer`1TaskAwaiter`1IEnumerator`1HashSet`1List`1get_Item1<>7__wrap1<>m__Finally1<GetPeriodicTelemetry>d__32kernel32Microsoft.Win32ToInt32<telemetryQueries>5__2Func`2Tuple`2KeyValuePair`2IDictionary`2ConcurrentDictionary`2get_Item2<>7__wrap2<>m__Finally2<queryCollectionName>5__3<IdentifyCloudServicesAsync>d__3Func`3<GetPeriodicTelemetry>d__24get_PagedMemorySize64get_PrivateMemorySize64get_WorkingSet64UInt64ToInt64<errorsThisPeriod>5__4<CheckCloudServiceAsync>d__4<GetPeriodicTelemetry>d__25<maxErrorsPerPeriod>5__5<GetPeriodicTelemetry>d__26SHA256<>f__AnonymousType1`17get_UTF8<>9<Module><PrivateImplementationDetails>StretchDBNUMERICTDEAVERAGETELEMETRYFILENAMEDATESTRINGXMLMSSQLBaseURLSUMMINJSONSystem.IOPHADRMSOLAP_VERMSASMDSQDSMSISSSISRLSstrCopyrightITMSstrCopyrightMSSYSTEM_INFORMATION_CLASSSTATUS_INVALID_INFO_CLASSSTATUS_SUCCESSTELEMETRYFILEFORMATCOUNTLASTMAXvalue__bapvExtraPolicyParaSystem.Dataget_Dataset_DataGetAggregatedDataCoreDataQueryableXEventDataConsumeNewDataget_datamscorlib<>cSystem.Collections.GenericCheckCloudServiceAsyncGetStringAsyncIdentifyCloudServicesAsync_tcget_Idset_Idget_CurrentManagedThreadId<>l__initialThreadIdget_InstanceIdset_InstanceIdGetNonWindowsInstanceIdGetWindowsInstanceIdget_InstanceUniqueIdset_InstanceUniqueIdget_instanceUniqueIdget_MachineUniqueIdset_MachineUniqueIdget_SqmIdset_SqmIdGetSqmIdget_SessionIdset_SessionIdget_sessionIdget_CorrelationIdset_CorrelationIdget_correlationIdGetCloudConnectorIdGetDigitalProductIdqueryIdProductDiscoveryIdRead_telemetryCollectorThreadAddencoded_cantAccessDirLoggedcategoryFieldSpecifiedget_CategorySpecifiedset_CategorySpecifiedIsEnabledget_IsClusteredset_IsClustered_lastAccessedAwaitUnsafeOnCompletedget_IsCompletedAlwaysEncryptedIsRegistryCaptureAllowedSystem.Collections.SpecializedSafeHandleZeroOrMinusOneIsInvalidNewGuidget_rowGuid<data>i__Field<instanceUniqueId>i__Field<sessionId>i__Field<correlationId>i__Field<rowGuid>i__Field<isSSEIInstance>i__Field<sequence>i__Field<traceName>i__Field<roleName>i__Field<emitTime>i__Field<isInternalMachine>i__Field<instanceType>i__Field<operatingSystem>i__Field<schemaVersion>i__Field<oneSettingsVersion>i__Field<querySetVersion>i__Field<clientVersion>i__Field<queryIdentifier>i__Field<queryTimeInTicks>i__Field<rowStartIndex>i__Field<PartA_iKey>i__Field<query>i__Fieldget_Fieldset_FieldfieldFieldpackageFieldpropertyNameFieldnameFielddataTypeFieldpredicateField<Data>k__BackingField<InstanceId>k__BackingField<InstanceUniqueId>k__BackingField<MachineUniqueId>k__BackingField<SqmId>k__BackingField<SessionId>k__BackingField<CorrelationId>k__BackingField<IsClustered>k__BackingField<AggregationField>k__BackingField<CloudService>k__BackingField<IsSSEIInstance>k__BackingField<SqlInstance>k__BackingField<Sequence>k__BackingField<IsConsoleMode>k__BackingField<ServerMode>k__BackingField<Name>k__BackingField<TraceName>k__BackingField<InstanceName>k__BackingField<RoleName>k__BackingField<ClusterNetworkName>k__BackingField<EtwApplicationName>k__BackingField<HostName>k__BackingField<SqlHostName>k__BackingField<IsInternalMachine>k__BackingField<ServiceType>k__BackingField<InstanceType>k__BackingField<AuthenticationString>k__BackingField<ConnectionString>k__BackingField<DnsHash>k__BackingField<LocalFilePath>k__BackingField<CycleLength>k__BackingField<IsInternal>k__BackingField<ProductLevel>k__BackingField<MetadataUrl>k__BackingField<ForceOptIn>k__BackingField<Version>k__BackingField<ASVersion>k__BackingField<SqlMajorVersion>k__BackingField<OsVersion>k__BackingField<ClientVersion>k__BackingField<HasPermission>k__BackingField<AggregationFunction>k__BackingField<Edition>k__BackingField<MachineInfo>k__BackingField<QueryIdentifier>k__BackingField<Fields>k__BackingField<MaxTelemetryCycles>k__BackingField<Values>k__BackingField<QueryTimeInTicks>k__BackingField<ForcedCredentials>k__BackingField<QueryCollections>k__BackingField<RequestHeaders>k__BackingField<HardMemoryLimit>k__BackingField<TotalMemoryLimit>k__BackingField<VertiPaqMemoryLimit>k__BackingField<LowMemoryLimit>k__BackingField<IsFast>k__BackingField<CommandTimeout>k__BackingField<Next>k__BackingField<IsLocalOnly>k__BackingField<Query>k__BackingField<DefaultCompatibility>k__BackingFieldHashPiiFieldDropPiiFieldversionFieldget_AggregationFieldset_AggregationFieldaggregationFieldactionFieldfunctionFieldgroupingFieldsFieldaggregatesFieldPublishedEventFieldxEventFieldfrequencyFieldperiodicQueryFieldselectQueryFieldcategoryFieldIndexBuildReadToEndDbCommandAdomdCommandSqlCommandAppendMaxTracesPerSecond_maxTracesPerSecondset_IsBackgroundGetCurrentMethod<>3__fiveMinutePeriodReserved44KeywordCriticalDataKeywordMeasuresKeywordTelemetryKeywordget_CloudReplaceIsNullOrWhiteSpaceget_NamespaceAddNamespaceVersionBIDSHelpNamespaceVersionHelpNamespaceSendTraceget_StackTraceGetTraceget_Deviceget_CloudServiceset_CloudServiceSQLEnginePerformanceget_IsSSEIInstanceset_IsSSEIInstanceget_isSSEIInstanceIsClusteredInstanceset_RoleInstanceget_SqlInstanceset_SqlInstancesqlInstanceinstanceCriticalPersistenceNormalPersistenceget_Sequenceset_Sequence_telemetrySequenceget_sequenceset_SyntheticSourceMicrosoft.Diagnostics.Tracing.EventSourceTelemetryEventSourceSqlServerTelemetrySourceIntegrationServicesTelemetrySourceAnalysisServicesTelemetrySourceSetTelemetrySource_telemetrySourcesourceGetHashCodeget_ErrorCode_errorCodeSqlProductFamilyCodeFileModeget_IsConsoleModeset_IsConsoleModeisConsoleModeCompressionModeget_ServerModeset_ServerModeSelectSingleNodeXmlNodeBase64Decodeget_UnicodeBase64EncodeUrlEncodeget_Packageset_PackageAverage_pqDataSourceUsage_componentUsageGetApplicationMemoryUsageget_MessageexceptionMessageGetErrorMessage_errorMessagemessageAddRangePopulateQueryCollectionCache_queryCollectionCache_settingsCacheTakeGetSchemaTableDataTableget_NameTableXmlNameTableIsAvailableIEnumerableIDisposableToDoubleSafeHandleRuntimeTypeHandleReleaseHandleGetTypeFromHandleSetHandlehandleSingleProductLicenseFilefileTupleXNameget_Nameset_Nameget_TraceNameset_TraceNameget_traceNameget_InstanceNameset_InstanceName_instanceNameeventSourceNamesourceNameset_NodeNamefileNameget_RoleNameset_RoleNameget_roleNamehiveNameGetElementsByTagNameget_ClusterNetworkNameset_ClusterNetworkNameGetClusterNetworkNameget_ColumnNameset_ColumnNameget_EtwApplicationNameset_EtwApplicationNamequeryCollectionNameConfConfigAppNameget_ProcessNameGetNameget_HostNameset_HostNameGetUnsafeHostNameget_SqlHostNameset_SqlHostNamehostNameConfConfigKeyNameAssemblyNameget_PropertyNameset_PropertyNamenameOneTimeDateTime_scaleoutExecutionTime_executionTimeget_TotalProcessorTimeget_emitTimeReadLineAppendLineget_NewLineCombineIAsyncStateMachineSetStateMachinestateMachineget_IsInternalMachineset_IsInternalMachineget_isInternalMachineset_Typeget_DataTypeset_DataTypeGetFieldTypeSQLServiceTypeget_ServiceTypeset_ServiceTypeget_InstanceTypeset_InstanceTypeget_instanceTypeValueTypeOfTypeget_DeclaringTypeLogTypelogTypeFunctionTypeserverTypeGetTypeGetElementTypefrequencyTypecategoryTypeEventLogEntryTypeFileShareWhereSystem.CoreColumnStoreget_InstalledUICultureset_DefaultThreadCurrentUICultureget_InvariantCultureset_DefaultThreadCurrentCulturedatabaseToUseCopySinksToUseMethodBaseServiceBaseInternalDataCollectionBaseget_InvariantCultureIgnoreCaseget_OrdinalIgnoreCaseChangeDatabasePolybaseHttpWebResponseGetResponseCloseSystem.IDisposable.DisposeTryParseget_Predicateset_PredicateX509CertificatecertificateAddOrUpdateCreateXEventsXEventAggregateget_StateDebuggerBrowsableStateConnectionState<>1__stateDeleteWriteClearFileContentOverwriteXAttributeCompilerGeneratedAttributeGeneratedCodeAttributeUnverifiableCodeAttributeDebuggableAttributeDebuggerBrowsableAttributeComVisibleAttributeAssemblyKeyFileAttributeAssemblyTitleAttributeAssemblyKeyNameAttributeAsyncStateMachineAttributeIteratorStateMachineAttributeXmlTypeAttributeXmlIgnoreAttributeXmlAttributeAttributeDefaultValueAttributeDebuggerStepThroughAttributeAssemblyTrademarkAttributeTargetFrameworkAttributeSecurityCriticalAttributeXmlArrayItemAttributeXmlEnumAttributeDebuggerHiddenAttributeAssemblyDelaySignAttributeExtensionAttributeAssemblyFileVersionAttributeAssemblyInformationalVersionAttributeSecurityPermissionAttributeAssemblyDescriptionAttributeCompilationRelaxationsAttributeHandleProcessCorruptedStateExceptionsAttributeReliabilityContractAttributeAssemblyProductAttributeAssemblyCopyrightAttributeCLSCompliantAttributeXmlElementAttributeXmlRootAttributeAssemblyCompanyAttributeDesignerCategoryAttributeRuntimeCompatibilityAttributeSuppressUnmanagedCodeSecurityAttributeFiveMinuteByteget_ValuecurrentReleaseTimeBombValueevalTimeBombValueGetOneSettingValueGetRawOneSettingValueMinValueGetValuedefaultValueConfConfigDefaultNotExistValueGetCpeRegistryValueGetRegistryValueGetFirstRegistryValueGetPropertyValuevalueGetRegistryHivehiveget_ActivetoRemovesqlceip.exe_egressDataSize_ingressDataSizecbSizeStructSizeSerializeDeserializesizeSizeOfIndexOf_eTagWerEventNameSetupConfigSHA256CngMicrosoft.Diagnostics.TracingSystem.ThreadingEncodingDataMaskingisUtcRunningSystem.Runtime.VersioningAutotuningDatabaseMirroringFromBase64StringToBase64StringASUsageMetricsRoleGuidStringSqlEngineUsageMetricsRoleGuidStringGetPrivateProfileStringProductCodeNameStringProductNameStringLongProductNameBrandingStringProductNameShortcutBrandingStringToDebugStringGetQueryGroupsFromXmlStringxmlStringProductVersionStringget_AuthenticationStringset_AuthenticationStringauthenticationStringProductVersionLocationStringget_ConnectionStringset_ConnectionStringconnectionStringByteArrayToStringGetStringinputStringSubstringSQLOSCLRHostingWriteLocalLogWriteLocalErrorLogEventLogInitializeBatchGetSHA256HashComponentWiseHashComputeHashGetSHA256CngHashComputeStringHashget_DnsHashset_DnsHashRefreshFlushMathget_LocalFilePathset_LocalFilePathlocalFilePathfilePathGetFullPathregistryPathpathget_Lengthget_CycleLengthset_CycleLengthSetLengthlengthEndsWithStartsWithHashPiiMarkPiiDropPiiTelemetryApiWerEventNameSetupMsiobjRemoteCertificateValidationCallbackset_ServerCertificateValidationCallbackFiveMinutePeriodsInAWeekUtcTelemetrySinkFileTelemetrySinkAppInsightTelemetrySinkget_Taskget_LocalMarshalSpatialDecimal<>3__originalget_IsInternalset_IsInternalTemporalvalset_ModelSystem.Collections.ObjectModelSystem.ComponentModelMicrosoft.ApplicationInsights.ChannelITelemetryChannelget_TelemetryChannelSPLevelset_Levelget_ProductLevelset_ProductLevelEventLevelUtil_utilWhenAllcrypt32.dllntdll.dllDBNullSystem.XmlLoadXmlParseXmlGetNewQueryCollectionXml_xEventAggregationsXmlMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.PeriodicQueries.xmlMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.SSASPeriodicQueries.xmlMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.PerDbPeriodicQueries.xmlMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.SSASPerDbPeriodicQueries.xmlMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.XeQueries.xmlMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.SSISXeQueries.xmlMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.MachineInfoQueries.xmlMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.XEventAggregations.xmlget_MetadataUrlset_MetadataUrlCloudServiceMetadataUrl_cloudServiceMetadataUrlurlGetManifestResourceStreamFileStreamGetResponseStreamGetQueryGroupsFromStreamGZipStreamMemoryStreamstreamget_Itemset_Itemitemset_OperatingSystemget_operatingSystemHashAlgorithmTrimIsEnabledOnCrossPlatformGetLocalAuditDirectoryForCrossPlatformIsCrossPlatformisCrossPlatformSumEnum_sumget_ForceOptInset_ForceOptIn_forceOptInCheckIfSqlServiceSettingIsOnAlwaysOnBooleanTimeSpanInjectXTokenVersionHelpSettingsTokenOpenFlattenMinTelemetryCollectorMainX509ChainCertFreeCertificateChainCheckChainSafeFreeCertChainchainLogin_minJoinDataColumnconGetExtensionGetFileNameWithoutExtensionget_ASVersionset_ASVersionget_OSVersionget_Versionset_VersionSchemaVersionget_schemaVersionBuildVersionMaxMaintenanceVersionget_FileVersionSqlMajorFileVersionGetFileVersionAzulJreVersionVisualStudio2012ShellVersionVisualStudioShellVersionget_SqlMajorVersionset_SqlMajorVersion_sqlMajorVersionMinorVersionget_OsVersionset_OsVersionGetOsVersionget_OneSettingsVersionset_OneSettingsVersionCurrentOneSettingsVersionget_oneSettingsVersionget_ProductVersionGetProductVersionget_querySetVersionget_ClientVersionset_ClientVersionget_clientVersionget_SessionResetSessionSystem.IO.Compressionget_HasPermissionset_HasPermissionget_LocationConfConfigDefaultFileLocationget_Aggregationset_AggregationXEventsXEventAggregateAggregationDataClassifciationNtQuerySystemInformationGetSystemHostOsDistributionInformationdestinationget_OperationServerConfigurationTelemetryConfigurationMicrosoft.ApplicationInsights.Extensibility.ImplementationSystem.GlobalizationSystem.Xml.SerializationSystem.Web.Script.SerializationOptimizationget_Actionset_ActionSecurityActionop_SubtractionSystem.ReflectionDataTableCollectionNameValueCollectionDataColumnCollectionAdomdRestrictionCollectionWebHeaderCollectionManagementObjectCollectionX509ChainElementCollectionDataRowCollectionKeyCollectionisQueryCollectionset_ConnectionDbConnectionAdomdConnectionSqlConnectionsectionAdomdRestrictionget_Functionset_Functionget_AggregationFunctionset_AggregationFunctionget_Editionset_EditionIsEvaluationEdition_lastSessionDefinition_sessionDefinitionset_Position_telemetryInfoOptionIOExceptionNotSupportedExceptionAggregateExceptionExternalExceptionArgumentNullExceptionSqlExceptionget_InnerExceptionOneSettingsExceptionSetExceptionHttpRequestExceptionTelemetryExceptionexceptionSystem.Runtime.ConstrainedExecutionSystem.Data.CommonStringComparisonRunASInstanceInfoFileInfoget_MachineInfoset_MachineInfo_machineInfoTimeZoneInfoCultureInfoFileVersionInfoGetVersionInfoAssemblyVersionInfoMemberInfoGetSqlServerInfoinfoZeroSleepsqlceipSkipOnStopcppSystem.Net.HttpBackupAvailabilityGroupkvpSystem.Xml.LinqSystem.LinqMicrosoft.SqlServer.XEvent.Linq<data>j__TPar<instanceUniqueId>j__TPar<sessionId>j__TPar<correlationId>j__TPar<rowGuid>j__TPar<isSSEIInstance>j__TPar<sequence>j__TPar<traceName>j__TPar<roleName>j__TPar<emitTime>j__TPar<isInternalMachine>j__TPar<instanceType>j__TPar<operatingSystem>j__TPar<schemaVersion>j__TPar<oneSettingsVersion>j__TPar<querySetVersion>j__TPar<clientVersion>j__TPar<queryIdentifier>j__TPar<queryTimeInTicks>j__TPar<rowStartIndex>j__TPar<PartA_iKey>j__TPar<query>j__TParClearCharCerget_NumberLoginDisabledErrorNumberLoginFailErrorNumberDbDataReaderAdomdDataReaderSqlDataReaderExecuteReaderStreamReaderTextReaderPeriodicQueryReaderIFormatProviderStringBuilderget_TelemetryProcessorChainBuilder<>t__builderSetFolderGetLocalAuditFolderSetupSupportFolder_lastFolder_foldersenderXmlNamespaceManager_loggerManagementObjectSearcherget_QueryIdentifierset_QueryIdentifierget_queryIdentifierServiceBrokerSystem.CodeDom.CompilerXContainerOneSettingsHelperXEGrouperStringComparerChainPolicyParameterGetAwaiterStreamWriterTextWriterEnterloopCounterIncrementCounterGetRecordsFromEventCounter_scaleoutExecutionMasterserverXmlSerializer_jsonSerializerJavaScriptSerializerget_MajorResourceGovernorSendErrordwError_errorSSISXeQueryProcessor_ssisXeQueryProcessorsqlQueryProcessorMachineInfoQueryProcessorGetQueryProcessorXeSessionTelemetryQueryProcessorPerDbSSASServerTelemetryQueryProcessorPerDbSqlServerTelemetryQueryProcessorITelemetryProcessorClearNodeNameTelemetryProcessorServerCertificateValidatorIEnumeratorSystem.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<T>>.GetEnumeratorSystem.Collections.Generic.IEnumerable<Microsoft.Cloud.Sql.Analytics.BoxTelemetry.Telemetry>.GetEnumeratorSystem.Collections.IEnumerable.GetEnumerator.ctor.cctorMonitorIntPtrFiveMinutePeriodsInAnHourSystem.Diagnosticsget_Fieldsset_Fieldsget_GroupingFieldsset_GroupingFieldsFromSecondsNativeMethods_periods_nonAggregateRecordsGetRecords_maxRecordsset_KeywordsEventKeywordsSystem.Runtime.ExceptionServicesSystem.Runtime.InteropServicesSystem.Runtime.CompilerServicesDebuggingModesPeriodicQueriesMicrosoft.SqlServer.Test.Utilitiesget_TablesExpandEnvironmentVariablesget_MaxTelemetryCyclesset_MaxTelemetryCyclesMicrosoft.Win32.SafeHandlesReadFromXEFilesGetFilesobscureNamesGetValueNamesSystem.Security.Cryptography.X509Certificatesget_Aggregatesset_Aggregates_fileContentOverwritesFromMinutesGetBytesget_Valuesset_ValuesGetRegistrySettingValuesGetRegistryValuesset_TagsEventFieldTagsEventTagsset_FlagsdwFlagsEventSourceSettingsGetMaxTracesPerSecondFromOneSettingsGetValuesFromOneSettingsQueryOneSettingssettingsParseInputArgsRemoveFromInputArgsargscloudPaths_cloudServicePathsAllowedregistryPaths<>4__thisget_Ticksget_QueryTimeInTicksset_QueryTimeInTicksget_queryTimeInTicksSetTelemetrySinks_telemetrySinkssinksSystem.Threading.Tasksget_ForcedCredentialsset_ForcedCredentialsforcedCredentialsEqualsProtocolscloudMetadataUrlsGetEncodedQueryParamsqueryParamsDnsContains_nonPIIColumnsget_ColumnsSystem.Web.ExtensionsTelemetryContextExtensionsDictionaryExtensionsSystem.Security.PermissionsParseXEventAggregations_aggregationsSystem.Collectionsget_QueryCollectionsset_QueryCollectionsFeatureRestrictionsWindowRankingFunctions_evaluationEditionsCriticalDataOptionsEventSourceOptionsMeasuresOptionsBoxTelemetryOptionsRecordExceptionsget_InnerExceptionsGetExceptions_exceptions_optionsGetQueryGroupsget_CharsSystem.Net.Http.Headersget_HeadersHttpHeadersget_RequestHeadersset_RequestHeadersHttpRequestHeadersget_DefaultRequestHeadersrequestHeaders_perfCounters_eventCountersSslPolicyErrorssslPolicyErrorsinfoClassset_PriorityClassProcessPriorityClassFileAccessSystem.ServiceProcess_executionProcess_thisProcessGetCurrentProcessset_EndpointAddressCompressMicrosoft.ApplicationInsights.DataContractsMicrosoft.ApplicationInsightstelemetryTraitsSetProcessResourceLimitsDescendantsget_ChainElementsGetContentsXEventsExistsNtStatuspvExtraPolicyStatusChainPolicyStatusget_Rowsget_TotalDaysRefreshIntervalInDaysget_KeysRemoveAtConcatAppendFormatManagementBaseObjectDeserializeObjectManagementObjectSelectdictGetSystem.NetGetSchemaDataSetset_MaxWorkingSetSystem.Collections.IEnumerator.ResetDateTimeOffsetWaitop_Implicitop_ExplicitAuditSplitget_HardMemoryLimitset_HardMemoryLimitget_TotalMemoryLimitset_TotalMemoryLimitget_VertiPaqMemoryLimitset_VertiPaqMemoryLimitget_LowMemoryLimitset_LowMemoryLimitExitget_Defaultget_Result_scaleoutExecutionResult_executionResultGetResultSetResultNextResultToUpperInvariantToLowerInvariantMicrosoft.AnalysisServices.AdomdClientSystem.Data.SqlClientHttpClientTelemetryClientSystem.ManagementXElementXmlElementget_DocumentElementSetTelemetryEnvironmentXDocumentXmlDocumentSystem.Collections.Generic.IEnumerator<System.Collections.Generic.IEnumerable<T>>.CurrentSystem.Collections.Generic.IEnumerator<Microsoft.Cloud.Sql.Analytics.BoxTelemetry.Telemetry>.CurrentSystem.Collections.IEnumerator.CurrentSystem.Collections.Generic.IEnumerator<System.Collections.Generic.IEnumerable<T>>.get_CurrentSystem.Collections.Generic.IEnumerator<Microsoft.Cloud.Sql.Analytics.BoxTelemetry.Telemetry>.get_CurrentSystem.Collections.IEnumerator.get_Current<>2__currentSystem.Collections.ConcurrentGetFileContentSetFileContentGetContentcontentget_XEventset_XEventXEventsXEventPublishedEventTrackEventget_Count_scaleoutMaxExecutedCountget_FieldCount_countThreadStartOnStartConvertMaxLinuxTcpPortget_IsFastset_IsFastisFastLast_lastHttpWebRequest_dbListFieldListXmlNodeListToListSublistFirstget_CommandTimeoutset_CommandTimeoutSqlCommandTimeoutcommandTimeoutinputget_Nextset_NextMoveNextSystem.TextAppendTextAppendAllTextget_InnerTextnextget_ContextCloudContextDeviceContextGetInternalContextget_ChainContextpChainContextchainContextSessionContextOperationContextTelemetryContextvRegistryViewviewget_Nowget_UtcNowDataRowNewRowMax_maxlChainIndexlElementIndexget_rowStartIndexSqlInstanceIDPrefixAsInstanceIDPrefixRsInstanceIDPrefixVersionHelpKeywordPrefixFileVersionSuffixFiveMinutePeriodsInADayGetFileNameForTodayToArrayget_IsArrayCertVerifyCertificateChainPolicyVerifyChainPolicypolicyRealtimeLatencyNormalLatencyConsistencyget_Frequencyset_Frequency<>3__frequency_partAIKeyget_KeyOpenSubKeysubKeyOpenBaseKeyhiveKeyoneSettingKeyget_PartA_iKeyset_InstrumentationKeyContainsKeyRegistryKeykeySystem.Security.CryptographyGetExecutingAssemblyget_IsLocalOnlyset_IsLocalOnlyisLocalOnlyAnyToDictionaryClearDictionaryget_Queryset_Queryget_PeriodicQueryset_PeriodicQueryPeriodicQueriesPeriodicQueryExecuteNonQueryregistrySettingsToQueryget_SelectQueryset_SelectQueryselectQueryget_queryAcceleratedDatabaseRecoveryget_Categoryset_CategoryProductUpdateCategoryPagedMemoryPhysicalMemoryInMemory_telemetryDirectoryInventoryMicrosoft.Diagnostics.TelemetryITelemetryGetPeriodicTelemetrySendTelemetryGetCloudCollectorTelemetryMicrosoft.Cloud.Sql.Analytics.BoxTelemetrytelemetryWriteEntryIPHostEntryGetHostEntryGetInstanceSpecificRegistryget_Capacityop_Equalityop_InequalityProgrammabilityMicrosoft.ApplicationInsights.Extensibilityget_DefaultCompatibilityset_DefaultCompatibilityWebUtilityLowestDeadLockPrioritySystem.SecuritySystem.Net.SecurityIsNullOrEmpty�9{{ PartA_iKey = {0}, roleName = {1}, clientVersion = {2}, isInternalMachine = {3}, sessionId = {4}, operatingSystem = {5}, traceName = {6}, data = {7}, rowGuid = {8}, rowStartIndex = {9}, queryIdentifier = {10}, sequence = {11}, schemaVersion = {12}, emitTime = {13}, queryTimeInTicks = {14}, oneSettingsVersion = {15}, correlationId = {16}, instanceUniqueId = {17}, isSSEIInstance = {18}, instanceType = {19} }}��{{ instanceUniqueId = {0}, isSSEIInstance = {1}, instanceType = {2}, schemaVersion = {3}, emitTime = {4}, sessionId = {5}, correlationId = {6}, sequence = {7}, clientVersion = {8}, isInternalMachine = {9}, operatingSystem = {10}, querySetVersion = {11}, traceName = {12}, queryIdentifier = {13}, data = {14}, query = {15}, queryTimeInTicks = {16} }}.)Could not read from UUnable to parse GetQueryGroupsFromStream: MaxRecords3SET DEADLOCK_PRIORITY -10=Open failed with error number QChangeDatabase failed with error number 
cmprs_OExecuteReader failed with error number 
master�/SELECT  TOP 30 d.[name]

FROM    sys.databases d WITH(nolock)

	   INNER JOIN sys.master_files mf WITH(nolock)

			  ON mf.database_id = d.database_id 

	   LEFT OUTER JOIN sys.database_mirroring dm WITH(nolock)

			  ON dm.database_id = d.database_id

	   LEFT OUTER JOIN sys.dm_hadr_database_replica_states hadr WITH(nolock)

			  ON hadr.[database_id] = d.[database_id]

WHERE d.[state] NOT BETWEEN 1 AND 6 -- online only

AND d.[user_access] NOT IN (1, 2) -- multi user

AND d.[source_database_id] IS NULL -- not snapshot

AND d.[name] NOT IN ('master', 'tempdb', 'model', 'msdb') -- not system

AND ISNULL(dm.[mirroring_role], 1) = 1 -- either principal or not mirrored

AND d.[is_in_standby] = 0 -- not standby

AND DATABASEPROPERTYEX(d.[name], 'Collation') IS NOT NULL -- started

AND ISNULL(hadr.[database_state], 0) = 0 -- online in HADR

GROUP BY d.[name] 

ORDER BY SUM(mf.size) DESC -- sampling using size

	nameMessage-XEventAggregations.xmlxecollect�#SELECT target_data

									FROM sys.dm_xe_session_targets xet WITH(nolock)

									JOIN sys.dm_xe_sessions xes WITH(nolock)

									ON xes.address = xet.event_session_address

									WHERE xes.name = 'telemetry_xevents'

									AND xet.target_name = 'ring_buffer'target_dataWarningNo target_data.)ResetSession failed �if not exists (select * from sys.dm_xe_sessions where name = 'telemetry_xevents')

	alter event session telemetry_xevents on server state=startevent	datavalue
actionpackage	Name'AggregationFunctionCOUNT!AggregationFieldVersionFieldField{0} = {1},FieldMappingAggregatedValueCGetValuesFromOneSettings failed: �qif exists(select * from sys.server_event_sessions where name='telemetry_xevents')

	drop event session telemetry_xevents on server



create event session telemetry_xevents on server

- ADD EVENT [{0}].[{1}](

WHERE {0}

))(

ACTION ([{0}])

),�� ADD EVENT [sqlserver].[server_start_stop]

add target package0.ring_buffer

(set occurrence_number = 100)

with

(

	MAX_DISPATCH_LATENCY = 120 SECONDS,

	MAX_MEMORY = 4 MB,

	startup_state = on

)

if not exists (select * from sys.dm_xe_sessions where name = 'telemetry_xevents')

	alter event session telemetry_xevents on server state=start|0XMLA:InstanceOnceInstanceDayServerModeEditionASVersionProductLevel)DefaultCompatibilityHardMemoryLimit!TotalMemoryLimitLowMemoryLimit'VertiPaqMemoryLimitColumnName AND [] = '' 'Compatibility_Level	TypeTableIDHierarchyID��SELECT [CATALOG_NAME] as [ForEachDBID], 1 as [CountDB] FROM $System.DBSchema_CatalogsForEachDBID{DBName}''' as [Database_ID] 9%ProgramData%\SSISTelemetry\!SQLISService{0}0EventName)MaxNumOfFilesReached
NumberIntValue1IntValue2IntValue3IntValue4	GuidStringValue1StringValue2LongValueIngressDataSizeEgressDataSizeComponentUsage!PackageExecutionErrorCodeOnCloudServiceNumOfWorkers)ScaleOutTaskComplete3PowerQueryDataSourceUsageComponent
ResultNumOfEnabledNumOfDisabled/ScaleOutExecutionMaster
Master+ScaleOutExecutionTime	Time1ScaleOutMaxExecutedCount/ScaleoutExecutionResultExecutedCountDataSourceKind%AuthenticationKind!ExecutionProcessProcessExecutionTimeExecutionResult	Sizecloudservice
osinforegistrykeys->=query encountered an exceptionoslanguageostimezonegQuery not implemented in MachineInfoQueryProcessor.!RegistrySettings;RegistrySettingsForNonWindowsINo Registry Setting from Onesettings
amazon]http://169.254.169.254/latest/meta-data/ami-idopenStackmhttp://169.254.169.254/openstack/latest/meta_data.jsonazurehttp://169.254.169.254/metadata/instance?api-version=2018-10-01Metadata	TrueUser-AgentSQL Server CEIP
google��http://metadata.google.internal/computeMetadata/v1/project/project-idMetadata-Flavor
Googlerackspace5C:\Program Files\Rackspace%MachineInfoQueriesWorkingSet64#PagedMemorySize64%TotalProcessorTime9No QueryProcessor found for 	.xml!CloudConnectorId5Bad xml from OneSettings: Telemetry!CustomerFeedback7c:\var\opt\mssql\mssql.conffalseAUserRequestedLocalAuditDirectory;enterprise evaluation edition#developer editionexpress editionSQLServerMSSQL$MSSQLSERVERuServer={0};Initial Catalog=master;Application Name={1};{2}SQLServerCEIPPeriodicQueries)PerDbPeriodicQueriesXeQueries��SELECT name, value FROM sys.extended_properties WHERE name = 'MS_SQLCEIPSERVICESETTINGS';3MS_SQLCEIPSERVICESETTINGS1Setup!DigitalProductIdKSQLServerCEIP encountered a problem: CPE%EvaluationEditionsYSOFTWARE\Microsoft\Microsoft SQL Server\{0}\uSOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL+\\.\pipe\SQLLocal\{0};\\.\pipe\SQLLocal\MSSQLSERVERnetworktcpportDefaultNotExist	,{0}{0}\{1})SQL_Engine_Core_InstqSOFTWARE\Microsoft\Microsoft SQL Server\{0}\ClusterState1AnalysisServices/Server/GDataSource={0};Application Name={1}'SSASPeriodicQueries1SSASPerDbPeriodicQueries)Analysis_Server_Full��SOFTWARE\Microsoft\Microsoft SQL Server\MSAS{0}.{1}\ClusterStateClusterNamewSOFTWARE\Microsoft\Microsoft SQL Server\MSAS{0}.{1}\ClusterwSOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\OLAP_SOFTWARE\Microsoft\Microsoft SQL Server\{0}\CPESSISXeQueriesYSOFTWARE\Microsoft\Microsoft SQL Server\{0}0
SSEIUI	SSEIdefault2A-MSTelDefault9Collected3Microsoft.Sql.Server.CeipYhttps://vortex.data.microsoft.com/collect/v1QAIF-60c2552d-b619-4925-8d66-30ec0b83d09dSchemaVersionQueryIdentifierCorrelationId#TelemetrySequence!QueryTimeInTicks	Data]yyyy-MM-dd.jsono-::ApplicationSettings:%::QueryCollection:[0 or negative number from onesettings {0} {1}EConvert.ToInt32 failed for {0} {1}3defaultValue is null for [Problem splitting string to array {0} {1} {2}!Missing setting If-None-Match	ETag��https://settings-win.data.microsoft.com/settings/v2.0/sqlserver/sqlserverceipscenarioIdapp
appVerosWindowsdeviceIds:settings/Setting refresh failed ?&{0}={1}1.0.0.01Integrated Security=SSPI127.0.0.1localhost	LocalHostEGetUnsafeHostName_Throws_ExceptionInstallIDsSOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\RS-M{2700eb39-5ff0-4c22-a1dc-a2976f393eab}/\Ic:\var\opt\mssql\.system\instance_id%ReachesFileContent3Malformed KeyValue string7File path does not exist : ?Unable to get data, exception :.microsoft.com#.sys-sqlsvr.local 1Failed to query OS info.
{0:x2}X2LocalMachineClassesRootCurrentConfigCurrentUserPerformanceDataUsersASOFTWARE;HARDWARE;SYSTEM;Control	Args;StackTrace7SQLServerUnhandledExceptioniSqlCeip started  pid: {0} instance: {1} CPEFlag: {2}	bothSinkToUsesqlceipgBoth source and destination have to be initialized.aiutcExceptionQueryIdErrorStateErrorNumber-service-forceoptin-dirPath
-local-fastGSELECT * FROM Win32_OperatingSystemUnknownMOS query had encountered an exception.ObjectExpansionExpandObject+DISCOVER_XML_METADATA{http://schemas.microsoft.com/analysisservices/2011/engine/300shttp://schemas.microsoft.com/analysisservices/2003/engine3DefaultCompatibilityLevel{http://schemas.microsoft.com/analysisservices/2012/engine/400ask//as:ServerProperty[as:Name='Memory\HardMemoryLimit'])descendant::as:Valuem//as:ServerProperty[as:Name='Memory\TotalMemoryLimit']i//as:ServerProperty[as:Name='Memory\LowMemoryLimit']s//as:ServerProperty[as:Name='Memory\VertiPaqMemoryLimit']%MaxTracesPerSecondTraceName: {0}%CorrelationId: {0})QueryIdentifier: {0}Query: {0}Data:
ETW_GROUPM{5ECB0BAC-B930-47F5-A8A4-E8253529EDB7}5Wrong use. Not ImplementedParseError: telemetry_xelog	.xelIPopulateQueryCollectionCache failed CounterNameTotalSamplesMinMaxAveragePerfCounters%MaxErrorsPerPeriod;Too many errors this period: Caption�f��e�(I�����ps$      Q e   �E �U ����  �m��	 �� ����m�m�m	 ����,	

	

.	

�	� ���������	�
���
������ R(		



 	

	�&	

(	

F"		



��  �� 
�! �E�) �� ���������E�- ������  
��������6�������������������������� ��  ��  �E �E	�E�E�I �   �Q����
 ���U�Y   ���m	
����������@	 ������
 �m����(
��T����(����( ���������� :��������(����,,4T���e�i
 �m���i�m������ �q�i�m
��%������T��T���� ��
��T�� ��
��T�� ������������(��-
����$��(������((( �� ��
 �� ����S�������������	�	�
���
��
����� �� � �	 �y ��  �
 �
 �
�� �
  � ���
 ��.�������������� ����������������

����
������ �����q
�q�y�� ���������!�%���)�)�
��-	����������������������=�m�m�=

�m�m �!������
 ���)���) �����


��




���

��

����������������	���:������������������������
�������������������������5�9�����5�9���9�������5���9���9��������5����9�������������5������9��������9���9���9����
�5
�9
��
�����5���9���9���9���9�� �5�5 �9�9�5�9
�5��
�9���5����9����5������9������5
�9

�5��
�9��&	�����A���������A ��
 �����������������M�M	�M0
��	 �A���M���M��
����hD��D��
����������
��
�e����D��D��D	�� ����DDP��
��������y
�y �m�������	��	DD��	� �� �}	���}�������m	 ���E���m���m�������

�m�m�����m�� � ������

+ 	


0��!
����

�� �� � �	�� �� ���=���� ���=���� ������ � � �	 �
(���m���m��
��
��
 ��
 ���!�� �� 
�Y
�������� *
�m����
��%
�m����
% 	

������
���� 
�=�9
%���m�=�=
�9
��������� � �% �) ���q�����q���� 
 ���5�9�5�9��

 ���(  �5�e
�������� �� �m

�� �=�E���} (
�����5�9��0��
�m��
��������	
		�I�� 
��	���U ��������������I��'
��
���������������������e �Y 
����������������  ��  �e�
���� ��	
��� �m
�m�u
��	�=���m�m�=
��
����������
��� �� �q	 ���� �u �	 � �y � �y �} �� ��	 ���

������

�=��

��	 �� ��	 



N
d�5�9���A����hh���Y���������A����h�A�m�A	
��
�A��	 �Y
�Y��
0
�Y������ ��%���]�5�9�Y���m	
�9 ��	 �A�Y
�Y����
Bp������
���q��������
��
��

��
��
 �q����
����
	
�m
	
�m
��+p������
������@������������������	t����	x��������
��
�m��


�m�m	�� ���m�9

�,
�
�E�z\V4���]̀�̑�?_�
:1�8V�6N5��k�m׀�$��$RSA1''6�n_�����1�:�fl/��y�����2}/��R4H�<=\]��Ǽ��(k,Q�\�$+�Au2����I���RmRo����{���l�؂O���1
�ˢ�#V{-��P���b�왹J�|};(���15.0.0.0z15.0(Microsoft SQL Server��{0xbd7f7c0d,0x7c36,0x4721,{0xaf,0xa8,0xb,0xa7,0x0,0xe2,0x6d,0x9e}}SQL Server 20192Microsoft SQL Server 20192019150
sql132SQLServerBooksOnline.15.0SQL2019SQLServer2019L{36436b5d-75f6-462b-9e66-c7613cabcd84}HDBCC23D9-84E0-4B4D-A8B0-9A736B693F4CSQLv15MSSQL15MSAS15MSRS15�SQL140MSISQL140Exception��{0x2414bc1b, 0x1572, 0x4cd9, {0x9c, 0xa5,  0x65, 0x16,  0x6d, 0x8d,  0xef,  0x3d}}:Copyright ???? Microsoft 20198@Copyright ???? Microsoft IT 2019,ms-help://MS.SQLCC.v15*ms-help://MS.VSCC.v9014.011.0.3	

 !"#$%&2SET DEADLOCK_PRIORITY -10H&Htelemetry_xelog.xel CloudConnectorIdSQLServerCEIPWorkingSet64"PagedMemorySize64$TotalProcessorTime �6c:\var\opt\mssql\mssql.confDefaultNotExistnetworktcpportQuerySetStats��9PAIF-60c2552d-b619-4925-8d66-30ec0b83d09d��https://settings-win.data.microsoft.com/settings/v2.0/sqlserver/sqlserverceip1.0.0.0@SOFTWARE;HARDWARE;SYSTEM;Control @� @�����.��System.Security.Permissions.SecurityPermissionAttribute, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089TSkipVerification	 (,048��
������T��	��(������������������
��������������hl	��D	��
������
����
�e`����������������
�q������p	����
�m����
��	�

���=�Md�Y��
�M���Y��	��
	����D��������tx���=�9
	��

���� 
�=���$�=��        	 
   
                ( ( , , 0 0 4 4 8 8���������� ����  ���� ��������( T ����0��0����
0���� �A����h �A����	 ��
 ����
 ��D ��D D �m��

 �m��
 ��
 l 	 ���� D �� �� �� ���m�m�m �� �� ��	��
����
������ �q �� ��
��������
���� 
��		�� �� ��������p������������
���� ��
 �� ���� �m�� �m��   ��
	 ��
 
������
 
���� 
��	 
��	 ��
 ����	 �m ����
 �9
 

��(�,
	��( ��
 ��((((((((((	(
(((
(((((((((( (((,(((0(4(8(	(��
(��D(��(��(
(�q(��(�m��((��
(��(	(�mTWrapNonExceptionThrows Sql Server Telemetry Client>9This tool collects and uploads telemetry from SQL Server.Microsoft SQL Server$Microsoft. All rights reserved.MHMicrosoft SQL Server is a registered trademark of Microsoft Corporation.Microsoft Corporation15.0.2170.1TOF:\dbs\sh\el1q\0415_151203\cmd\1p\Tools\scopas\custom\data\snk\sql2003snkey.snk9.NETFramework,Version=v4.6.2TFrameworkDisplayNamejeMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.MachineInfoQueryProcessor+<IdentifyCloudServicesAsync>d__3faMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.MachineInfoQueryProcessor+<CheckCloudServiceAsync>d__4[VMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.TelemetrySource+<GetPeriodicTelemetry>d__24[VMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.TelemetrySource+<GetPeriodicTelemetry>d__25d_Microsoft.Cloud.Sql.Analytics.BoxTelemetry.SqlServerTelemetrySource+<GetPeriodicTelemetry>d__32kfMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.AnalysisServicesTelemetrySource+<GetPeriodicTelemetry>d__26NIMicrosoft.Cloud.Sql.Analytics.BoxTelemetry.TelemetrySink+<Sublist>d__28`1Always Encrypted	Always OnAvailability Group"Accelerated Database RecoveryData ClassificationData MaskingDatabase MirroringFeature RestrictionsResource GovernorServer ConfigurationService BrokerSQL Engine PerformanceSQLOS CLR Hosting
Stretch DBWindow / Ranking Functionsxsd4.0.30319.33440	codeHT
AnonymousTypeT	Namespace&http://tempuri.org/PeriodicQueries.xsdET	Namespace&http://tempuri.org/PeriodicQueries.xsdT
IsNullable7T	Namespace&http://tempuri.org/PeriodicQueries.xsdKT
AnonymousTypeT	Namespace)http://tempuri.org/XEventAggregations.xsdHT	Namespace)http://tempuri.org/XEventAggregations.xsdT
IsNullable:T	Namespace)http://tempuri.org/XEventAggregations.xsd
PeriodicQueryXEvent	AggregateT
IsNullable"TDataTypenonNegativeIntegerFieldT
IsNullableUFunctionTypeUDataType�<?xml version="1.0" encoding="utf-8"?>
<PeriodicQueries xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/PeriodicQueries.xsd">
  <PeriodicQuery>
    <PropertyName>FileStreamContainer.001</PropertyName>
    <SelectQuery>
      SELECT db_id() AS database_id,
      df.[type] AS DBFileType,
      ds.[type] AS DataSpaceType,
      ds.is_default AS IsDefault,
      ds.is_system AS IsSystem,
      SUM(CAST(df.size AS BIGINT))*8 AS DatabaseSize,
      COUNT_BIG(DISTINCT df.physical_name) AS FileCount
      FROM sys.database_files df
      LEFT OUTER JOIN sys.data_spaces ds
      ON ds.data_space_id = df.data_space_id
      GROUP BY df.type, ds.type, ds.is_default, ds.is_system
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MemoryOptimizedScalarUDFCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id, COUNT_BIG(*) as MemoryOptimizedScalarUDFCount
      FROM sys.sql_modules m WITH(nolock) JOIN sys.objects o WITH(nolock) ON m.object_id=o.object_id
      WHERE uses_native_compilation=1 and o.type='FN'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MemoryOptimizedTriggerCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id, COUNT_BIG(*) as MemoryOptimizedTriggerCount
      FROM sys.sql_modules m WITH(nolock) JOIN sys.triggers t WITH(nolock) ON m.object_id=t.object_id
      WHERE uses_native_compilation=1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>TableProperties.002</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id,
      is_remote_data_archive_enabled,
      temporal_type,
      is_memory_optimized,
      lock_escalation,
      type,
      COUNT_BIG(*) AS NumTables,
      is_node,
      is_edge
      FROM sys.tables WITH(nolock)
      GROUP BY
      is_remote_data_archive_enabled,
      temporal_type,
      is_memory_optimized,
      lock_escalation,
      type,
      is_node,
      is_edge
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>QueryStoreOptions.001</PropertyName>
    <SelectQuery>
    SELECT
    db_id() AS database_id,
    desired_state AS QueryStoreDesiredState,
    actual_state AS QueryStoreActualState,
    current_storage_size_mb AS QueryStoreCurrentStorageSizeMb
    FROM sys.database_query_store_options WITH(nolock)</SelectQuery>
    <Frequency>Day</Frequency>
    <Category>QDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AlwaysEncryptedColumnMasterKeyCountByProviderName.002</PropertyName>
    <SelectQuery>
      select
      db_id() as database_id,
      COUNT_BIG(*) AS ColumnMasterKeyCount,
      CASE WHEN key_store_provider_name IN ('MSSQL_CERTIFICATE_STORE', 'MSSQL_CSP_PROVIDER', 'MSSQL_CNG_STORE', 'Azure_Key_Vault', 'MSSQL_JAVA_KEYSTORE') THEN key_store_provider_name ELSE 'CustomKeyStoreProvider' END AS KeyStoreProviderName,
      allow_enclave_computations AS AllowEnclaveComputations
      FROM sys.column_master_keys WITH(nolock)
      group by key_store_provider_name, allow_enclave_computations
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Always Encrypted</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AlwaysEncryptedColumnEncryptionKeyCountByAlgorithm.002</PropertyName>
    <SelectQuery>
      SELECT
      db_id() as database_id,
      COUNT_BIG(DISTINCT(V.column_encryption_key_id)) AS [ColumnEncryptionKeyCount],
      CASE
      WHEN V.encryption_algorithm_name = 'RSA_OAEP' THEN encryption_algorithm_name
      ELSE 'CustomAlgorithm'
      END AS encryption_algorithm_name,
      M.allow_enclave_computations
      FROM sys.column_encryption_keys K WITH(nolock)
      INNER JOIN sys.column_encryption_key_values V WITH(nolock)
      ON K.column_encryption_key_id = V.column_encryption_key_id
      INNER JOIN sys.column_master_keys M WITH(nolock)
      ON M.column_master_key_id = V.column_master_key_id
      GROUP BY
      CASE
      WHEN V.encryption_algorithm_name = 'RSA_OAEP' THEN encryption_algorithm_name
      ELSE 'CustomAlgorithm'
      END,
      M.allow_enclave_computations
      HAVING
      COUNT_BIG(DISTINCT(V.column_encryption_key_id)) &gt;  0
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Always Encrypted</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AlwaysEncryptedUsageInfo.002</PropertyName>
    <SelectQuery>
      WITH COL_VAL(object_id,EncryptedColumns,AllowEnclaveComputations) AS
      (SELECT object_id,
      COUNT_BIG(*) AS EncryptedColumns,
      max(M.allow_enclave_computations) AS AllowEnclaveComputations
      FROM  sys.columns C WITH(nolock) inner join sys.column_encryption_key_values V ON V.column_encryption_key_id = C.column_encryption_key_id
      JOIN sys.column_master_keys M ON M.column_master_key_id = V.column_master_key_id
      WHERE C.column_encryption_key_id IS NOT NULL
      GROUP BY object_id
      HAVING COUNT(DISTINCT(V.column_encryption_key_id)) &gt; 0)
      SELECT
      db_id() AS database_id,
      COL_VAL.*,
      P.rows
      FROM COL_VAL join sys.partitions P WITH(nolock) ON COL_VAL.object_id = P.object_id
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Always Encrypted</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AlwaysEncryptedColumnInfo.002</PropertyName>
    <SelectQuery>
      SELECT
      db_id() as database_id,
      C.object_id,
      C.column_id,
      C.user_type_id,
      C.max_length,
      C.precision,
      C.scale,
      C.collation_name,
      C.is_nullable,
      CASE
      WHEN C.encryption_algorithm_name = 'AEAD_AES_256_CBC_HMAC_SHA_256'
      THEN C.encryption_algorithm_name
      ELSE 'CustomAlgorithm'
      END AS encryption_algorithm_name,
      C.encryption_type_desc,
      M.allow_enclave_computations
      FROM sys.columns C WITH(nolock)
      INNER JOIN sys.column_encryption_key_values V WITH(nolock)
      ON V.column_encryption_key_id = C.column_encryption_key_id
      INNER JOIN sys.column_master_keys M WITH(nolock)
      ON M.column_master_key_id = V.column_master_key_id
      WHERE C.column_encryption_key_id IS NOT NULL
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Always Encrypted</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ExternalTableCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id, eds.type AS ExternalDataSource, COUNT_BIG(*) AS NumberOfTables
      FROM sys.external_tables et WITH(nolock)
      INNER JOIN sys.external_data_sources eds WITH(nolock)
      ON et.data_source_id = eds.data_source_id
      GROUP BY eds.type
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Polybase</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>RLSSecurityPoliciesCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id,
      is_schema_bound,
      COUNT_BIG(*) AS RLSSecurityPoliciesCount
      FROM sys.security_policies WITH(nolock)
      GROUP BY is_schema_bound
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>RLS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>RLSPredicateCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id, predicate_type, operation, COUNT_BIG(*) AS Count
      FROM sys.security_predicates WITH(nolock)
      GROUP BY predicate_type, operation
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>RLS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>RLSUniqueCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id, COUNT_BIG(DISTINCT target_object_id) AS RLSTablesWithSecurityPredicateCount, COUNT_BIG(DISTINCT predicate_definition) AS RLSUniqueFunctionCount
      FROM sys.security_predicates WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>RLS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SqlDbAssmPermSetStream.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS [database_id], permission_set AS [sPermissionSet], COUNT_BIG(*) AS [sNumObjects]
      FROM sys.assemblies WITH(nolock)
      WHERE is_user_defined = 1
      GROUP BY permission_set
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>SQLOS CLR Hosting</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SqlDbClrStream.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS [database_id], (SELECT COUNT_BIG(*) FROM sys.assemblies WITH(nolock) WHERE is_user_defined = 1) AS [sNumObjects], COUNT_BIG(*) AS [sNumUDT]
      FROM sys.assembly_types WITH(nolock)
      WHERE is_user_defined = 1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>SQLOS CLR Hosting</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ExternalLibrarySizeCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS [database_id],
      MIN(DATALENGTH(content)) AS [external_libraries_min_size],
      AVG(DATALENGTH(content)) AS [external_libraries_avg_size],
      MAX(DATALENGTH(content)) AS [external_libraries_max_size],
      COUNT(DISTINCT external_library_id) AS [external_libraries_count]
      FROM sys.external_library_files
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>R</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SqlDbFtStream.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS [database_id],
      (SELECT COUNT_BIG(fulltext_catalog_id)
      FROM sys.fulltext_catalogs WITH(nolock)) AS [sNumCatalogs],
      (SELECT COUNT_BIG(distinct t.object_id)
      FROM sys.fulltext_indexes f WITH(nolock) JOIN sys.tables t WITH(nolock)
      ON (f.object_id=t.object_id) WHERE f.is_enabled=1) AS [sNumTables]
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>TVPStoredProcs.001</PropertyName>
    <SelectQuery>
      SELECT db_id() AS database_id, COUNT_BIG(*) AS [TVPStoredProcsCount]
      FROM sys.types t WITH(nolock)
      JOIN sys.parameters p WITH(nolock) ON t.system_type_id = p.system_type_id AND t.user_type_id=p.user_type_id
      JOIN sys.objects o WITH(nolock) ON o.object_id = p.object_id
      WHERE is_table_type = 1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ColumnProperties.001</PropertyName>
    <SelectQuery>
      SELECT
      db_id() AS database_id,
      c.system_type_id,
      c.user_type_id,
      c.is_sparse,
      c.is_column_set,
      c.is_filestream,
      c.encryption_type,
      CASE WHEN o.object_id IS NOT NULL THEN 1 ELSE 0 END AS is_user,
      COUNT_BIG(*) AS [ColCount],
      CASE WHEN c.collation_name IS NULL THEN CONVERT(VARCHAR(128), SERVERPROPERTY('Collation')) ELSE c.collation_name END AS collation_name,
      AVG(c.max_length) AS avg_max_length
      FROM sys.columns c WITH (NOLOCK)
      LEFT OUTER JOIN sys.objects o WITH (NOLOCK)
      ON o.object_id = c.object_id
      AND o.type = 'U'
      GROUP BY
      c.system_type_id,
      c.user_type_id,
      c.is_sparse,
      c.is_column_set,
      c.encryption_type,
      c.is_filestream,
      CASE WHEN o.object_id IS NOT NULL THEN 1 ELSE 0 END,
      CASE WHEN c.collation_name IS NULL THEN CONVERT(VARCHAR(128), SERVERPROPERTY('Collation')) ELSE c.collation_name END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>TableTypes.001</PropertyName>
    <SelectQuery>
      SELECT db_id() AS database_id, COUNT_BIG(*) AS [TableTypes]
      FROM sys.types WITH(nolock)
      WHERE is_table_type = 1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumFilteredIndicesOnSparse.001</PropertyName>
    <SelectQuery>
      WITH CTE AS (
      SELECT DISTINCT i.object_id oid, i.index_id iid
      FROM sys.indexes i WITH(nolock)
      JOIN sys.index_columns ic ON i.object_id = ic.object_id
      JOIN sys.columns c WITH(nolock) ON ic.column_id = c.column_id AND c.object_id = i.object_id
      WHERE c.is_sparse = 1
      AND ic.key_ordinal != 0
      AND i.has_filter = 1
      )
      SELECT COUNT_BIG(*) AS NumFilteredIndicesOnSparse
      , db_id() AS database_id
      FROM CTE
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumFilteredStatsManuallyCreated.001</PropertyName>
    <SelectQuery>
      select COUNT_BIG(*) AS NumFilteredStatsManuallyCreated
      , db_id() AS database_id
      from sys.stats WITH(nolock) where has_filter =1 and user_created =1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>CellsPerObjectAvg.001</PropertyName>
    <SelectQuery>
      SELECT AVG(cells_per_object) AS CellsPerObjectAvg
      , db_id() AS database_id
      FROM sys.spatial_index_tessellations WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Spatial</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>TableAndIndexStorage.001</PropertyName>
    <SelectQuery>
      SELECT
      db_id() AS database_id,
      o.[type] AS object_type,
      i.[type] AS index_type,
      p.[data_compression],
      COUNT_BIG(DISTINCT p.[object_id]) AS NumTables,
      COUNT_BIG(DISTINCT CAST(p.[object_id] AS VARCHAR(30)) + '|' + CAST(p.[index_id] AS VARCHAR(10))) AS NumIndexes,
      ISNULL(px.[IsPartitioned], 0) AS IsPartitioned,
      IIF(px.[IsPartitioned] = 1, COUNT_BIG(1), 0) NumPartitions,
      SUM(p.[rows]) NumRows
      FROM sys.partitions p
      INNER JOIN sys.objects o
      ON o.[object_id] = p.[object_id]
      INNER JOIN sys.indexes i
      ON i.[object_id] = p.[object_id]
      AND i.[index_id] = p.[index_id]
      OUTER APPLY (SELECT
      x.[object_id], 1 AS [IsPartitioned]
      FROM sys.partitions x
      WHERE x.[object_id] = p.[object_id]
      GROUP by
      x.[object_id]
      HAVING MAX(x.partition_number) > 1) px
      WHERE o.[type] NOT IN ('S', 'IT')
      GROUP BY
      o.[type]
      ,i.[type]
      ,p.[data_compression]
      ,px.[IsPartitioned]
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DataMaskingMaskedColumnsCount.001</PropertyName>
    <SelectQuery>SELECT DB_ID() AS database_id, COUNT_BIG(*) AS DataMaskingMaskedColumnsCount FROM sys.masked_columns WITH(nolock)</SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Data Masking</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DataMaskingMaskedColumnsCountPerType.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id, MaskingFunction + '_' + CAST(TypeId AS VARCHAR(10)) AS PropertyType, COUNT_BIG(*) as DataMaskingMaskedColumnsCountPerType
      FROM
      (
      SELECT SUBSTRING(masking_function, 1, CHARINDEX('(', masking_function) - 1) AS MaskingFunction, system_type_id AS TypeId
      FROM sys.masked_columns WITH(nolock)
      ) a
      GROUP BY MaskingFunction, TypeId
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Data Masking</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSTables.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS MdsTables
      , db_id() AS database_id
      FROM INFORMATION_SCHEMA.TABLES WITH(nolock)
      WHERE TABLE_TYPE = 'BASE TABLE'
      AND TABLE_NAME = 'tblSystem'
      AND TABLE_SCHEMA = 'mdm'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSUserCount.001</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblUser') IS NOT NULL
      BEGIN
      SELECT db_id() as database_id, row_count AS count
      FROM sys.tables t WITH(nolock)
      JOIN sys.dm_db_partition_stats ps WITH(nolock)
      ON t.object_id = ps.object_id
      WHERE t.name = 'tblUser' AND t.schema_id = SCHEMA_ID('mdm') AND ps.index_id &lt; 2
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSModelCount.001</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblModel') IS NOT NULL
      BEGIN
      SELECT db_id() as database_id, row_count AS count
      FROM sys.tables t WITH(nolock)
      JOIN sys.dm_db_partition_stats ps WITH(nolock)
      ON t.object_id = ps.object_id
      WHERE t.name = 'tblModel' AND t.schema_id = SCHEMA_ID('mdm') AND ps.index_id &lt; 2
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSEntityCount.001</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblEntity') IS NOT NULL
      BEGIN
      SELECT db_id() as database_id, row_count AS count
      FROM sys.tables t WITH(nolock)
      JOIN sys.dm_db_partition_stats ps WITH(nolock)
      ON t.object_id = ps.object_id
      WHERE t.name = 'tblEntity' AND t.schema_id = SCHEMA_ID('mdm') AND ps.index_id &lt; 2
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSAttributeCount.001</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblAttribute') IS NOT NULL
      BEGIN
      SELECT db_id() as database_id, row_count AS count
      FROM sys.tables t WITH(nolock)
      JOIN sys.dm_db_partition_stats ps WITH(nolock)
      ON t.object_id = ps.object_id
      WHERE t.name = 'tblAttribute' AND t.schema_id = SCHEMA_ID('mdm') AND ps.index_id &lt; 2
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSExplicitHierarchyCount.001</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblHierarchy') IS NOT NULL
      BEGIN
      SELECT db_id() as database_id, row_count AS count
      FROM sys.tables t WITH(nolock)
      JOIN sys.dm_db_partition_stats ps WITH(nolock)
      ON t.object_id = ps.object_id
      WHERE t.name = 'tblHierarchy'  AND t.schema_id = SCHEMA_ID('mdm') AND ps.index_id &lt; 2
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSSyncRelationshipCount.001</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblSyncRelationship') IS NOT NULL
      BEGIN
      SELECT db_id() as database_id, row_count AS count
      FROM sys.tables t WITH(nolock)
      JOIN sys.dm_db_partition_stats ps WITH(nolock)
      ON t.object_id = ps.object_id
      WHERE t.name = 'tblSyncRelationship' AND t.schema_id = SCHEMA_ID('mdm') AND ps.index_id &lt; 2
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSLeafMemberCount.001</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblSystem') IS NOT NULL
      BEGIN
      SELECT db_id() as database_id, SUM(row_count) AS count
      FROM sys.tables t WITH(nolock)
      JOIN sys.dm_db_partition_stats ps WITH(nolock)
      ON t.object_id = ps.object_id
      WHERE t.name like '%_EN' AND t.schema_id = SCHEMA_ID('mdm') AND ps.index_id &lt; 2
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSCollectionInUseCount.001</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblSystem') IS NOT NULL
      BEGIN
      SELECT db_id() as database_id, COUNT_BIG(*) AS count
      FROM sys.tables WITH(nolock)
      WHERE name like '%_CN' AND schema_id = SCHEMA_ID('mdm')
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>MDSVersion.002</PropertyName>
    <SelectQuery>
      IF OBJECT_ID('mdm.tblSystem') IS NOT NULL
      BEGIN
      SELECT db_id() AS database_id, SchemaVersion
      FROM mdm.tblSystem WITH(nolock)
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>MDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>IndexCount.001</PropertyName>
    <SelectQuery>
      WITH TablesAndViews AS
      (SELECT object_id, 'table' AS object_type FROM sys.tables WITH(nolock) UNION ALL SELECT object_id, 'view' AS object_type FROM sys.views WITH(nolock))
      SELECT
      db_id() as database_id,
      i.type,
      i.is_unique,
      i.is_primary_key,
      i.is_unique_constraint,
      i.is_disabled,
      i.has_filter,
      COUNT_BIG(1) CountOfIndexes,
      t.object_type
      FROM sys.indexes i WITH(nolock)
      INNER JOIN TablesAndViews t
      ON t.object_id = i.object_id
      GROUP BY i.type,
      i.is_unique,
      i.is_primary_key,
      i.is_unique_constraint,
      i.has_filter,
      t.object_type,
      i.is_disabled
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBMessageTypes.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_message_types
      , db_id() AS database_id
      FROM sys.service_message_types WITH(nolock)
      WHERE message_type_id &gt; 65535
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBContracts.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_contracts
      , db_id() AS database_id
      FROM sys.service_contracts WITH(nolock)
      WHERE service_contract_id &gt; 65535
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBQueues.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_queues
      , db_id() AS database_id
      FROM sys.service_queues WITH(nolock)
      WHERE is_ms_shipped != 1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBQueuesEnabled.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_enabled_queues
      , db_id() AS database_id
      FROM sys.service_queues WITH(nolock)
      WHERE is_ms_shipped != 1 AND is_receive_enabled = 1 AND is_enqueue_enabled = 1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBQueuesWithActivationOn.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_activated_queues
      , db_id() AS database_id
      FROM sys.service_queues WITH(nolock)
      WHERE is_activation_enabled = 1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBServices.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_services
      , db_id() AS database_id
      FROM sys.services WITH(nolock)
      WHERE service_id &gt; 65535
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBRoutes.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_routes
      , db_id() AS database_id
      FROM sys.routes WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBConversations.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(DISTINCT conversation_id) AS number_of_conversations
      , db_id() AS database_id
      FROM sys.conversation_endpoints WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBEncryptedConversations.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(DISTINCT conversation_id) AS number_of_encrypted_conversations
      , db_id() AS database_id
      FROM sys.conversation_endpoints WITH(nolock)
      WHERE outbound_session_key_identifier &lt;&gt; '00000000-0000-0000-0000-000000000000' OR
      inbound_session_key_identifier &lt;&gt; '00000000-0000-0000-0000-000000000000'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBReadersPerQueueAvg.001</PropertyName>
    <SelectQuery>
      SELECT SUM(max_readers) AS number_of_queue_readers
      , db_id() AS database_id
      FROM sys.service_queues WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBQueuesWithRetention.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_queues_with_retention
      , db_id() AS database_id
      FROM sys.service_queues WITH(nolock)
      WHERE is_retention_enabled = 1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumTimeIndices.001</PropertyName>
    <SelectQuery>
      WITH CTE AS (
      SELECT DISTINCT i.object_id oid, i.index_id iid
      FROM sys.indexes i WITH(nolock)
      JOIN sys.index_columns ic WITH(nolock) ON i.object_id = ic.object_id
      JOIN sys.columns c WITH(nolock) ON ic.column_id = c.column_id AND c.object_id = i.object_id
      WHERE c.system_type_id = 41 AND c.user_type_id = 41 -- only time columns
      AND ic.key_ordinal != 0 -- only key columns
      )
      SELECT COUNT_BIG(*) AS [NumTimeIndices], db_id() AS database_id
      FROM CTE
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumDatetime2Indices.001</PropertyName>
    <SelectQuery>
      WITH CTE AS (
      SELECT DISTINCT i.object_id oid, i.index_id iid
      FROM sys.indexes i WITH(nolock)
      JOIN sys.index_columns ic WITH(nolock) ON i.object_id = ic.object_id
      JOIN sys.columns c WITH(nolock) ON ic.column_id = c.column_id AND c.object_id = i.object_id
      WHERE c.system_type_id = 42 AND c.user_type_id = 42 -- only datetime2 columns
      AND ic.key_ordinal != 0 -- only key columns
      )
      SELECT COUNT_BIG(*) AS [NumDatetime2Indices], db_id() AS database_id
      FROM CTE
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumDatetimeoffsetIndices.001</PropertyName>
    <SelectQuery>
      WITH CTE AS (
      SELECT DISTINCT i.object_id oid, i.index_id iid
      FROM sys.indexes i WITH(nolock)
      JOIN sys.index_columns ic WITH(nolock) ON i.object_id = ic.object_id
      JOIN sys.columns c WITH(nolock) ON ic.column_id = c.column_id AND c.object_id = i.object_id
      WHERE c.system_type_id = 43 AND c.user_type_id = 43 -- only datetimeoffset columns
      AND ic.key_ordinal != 0 -- only key columns
      )
      SELECT COUNT_BIG(*) AS [NumDatetimeoffsetCols], db_id() AS database_id
      FROM CTE
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumOfMODFilegroups.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS [NumOfMODFilegroups], db_id() AS database_id FROM sys.data_spaces WITH(nolock) WHERE type='FX'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPMemoryAllocatedForUserDataKb.001</PropertyName>
    <SelectQuery>
      SELECT
      ISNULL(sum(memory_allocated_for_table_kb+memory_allocated_for_indexes_kb) ,0) AS total_memory_allocated_for_user_data_kb, db_id() AS database_id
      FROM sys.dm_db_xtp_table_memory_stats WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPMemoryUsed.001</PropertyName>
    <SelectQuery>
      SELECT
      ISNULL(SUM(memory_used_by_table_kb),0) AS total_memory_used_by_tables_kb,
      ISNULL(SUM(memory_used_by_indexes_kb),0) AS total_memory_used_by_indexes_kb, db_id() AS database_id
      FROM sys.dm_db_xtp_table_memory_stats WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPCheckpointFileCount.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS [XTPCheckpointFileCount], db_id() AS database_id FROM sys.dm_db_xtp_checkpoint_files WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumOfMemoryOptimizedNDTs.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS [NumOfMemoryOptimizedNDTs], db_id() AS database_id FROM sys.tables WITH(nolock) WHERE is_memory_optimized=1 AND durability=1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumOfNativeProcs.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS [NumOfNativeProcs], db_id() AS database_id FROM sys.sql_modules m WITH(nolock) JOIN sys.procedures p WITH(nolock) ON m.object_id=p.object_id WHERE uses_native_compilation=1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumOfMemoryOptimizedTableTypes.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS [NumOfMemoryOptimizedTableTypes], db_id() AS database_id FROM sys.table_types WITH(nolock) WHERE is_memory_optimized=1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPNumOfIndexes.001</PropertyName>
    <SelectQuery>
      SELECT ISNULL(AVG(c),0) AS [XTPAvgNumOfIndexes],
      ISNULL(MAX(c),0) AS [XTPMaxNumOfIndexes], db_id() AS database_id
      FROM (SELECT COUNT_BIG(*) AS c
      FROM sys.indexes i WITH(nolock) JOIN sys.tables t WITH(nolock) ON i.object_id=t.object_id WHERE t.is_memory_optimized=1
      GROUP BY i.object_id) a
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPObjects.001</PropertyName>
    <SelectQuery>
      SELECT
      ISNULL(SUM(row_update_attempts)+SUM(row_delete_attempts),0) AS rows_touched,
      ISNULL(SUM(write_conflicts),0) AS write_conflicts, db_id() AS database_id
      FROM sys.dm_db_xtp_object_stats WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPNumOfHashIndexes.001</PropertyName>
    <SelectQuery>
      SELECT ISNULL(AVG(c),0) AS [XTPAvgNumOfHashIndexes],
      ISNULL(MAX(c),0)  AS [XTPMaxNumOfHashIndexes], db_id() AS database_id
      FROM (SELECT COUNT_BIG(*) AS c FROM sys.indexes i WITH(nolock) JOIN sys.tables t WITH(nolock) ON i.object_id=t.object_id WHERE t.is_memory_optimized=1 and i.type=7
      GROUP BY i.object_id) a
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPRGUsage.001</PropertyName>
    <SelectQuery>
      select COUNT_BIG(*) AS [XTPRGUsageCount],
      isnull(sum(rp.max_memory_kb), 0) as [XTPRGMaxMemoryKB],
      isnull(sum(rp.max_memory_percent), 0) AS [XTPRGMaxMemoryPercent], db_id() AS database_id
      from sys.databases d WITH(nolock) join sys.dm_resource_governor_resource_pools rp WITH(nolock) on d.resource_pool_id=rp.pool_id
      where database_id=db_id() and isnull(resource_pool_id, 2) &gt; 2 and exists (select * from sys.data_spaces WITH(nolock) where type='FX')
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPAlwaysOnAG.001</PropertyName>
    <SelectQuery>
      select count_big(*) AS [XTPAlwaysOnAG],
      isnull(sum(ar.availability_mode),0) AS [XTPAlwaysOnAGSync], db_id() AS database_id
      from sys.databases d WITH (NOLOCK)
      join sys.availability_databases_cluster adb WITH (NOLOCK)
      on d.group_database_id=adb.group_database_id
      join sys.availability_replicas ar  WITH (NOLOCK)
      on d.replica_id=ar.replica_id
      where database_id=db_id() and exists (select * from sys.data_spaces  WITH (NOLOCK) where type='FX')
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumDBsWithSpatialIndexes.001</PropertyName>
    <SelectQuery>
      select case
      when COUNT_BIG(*)&gt;0 then 1
      else 0
      End AS [NumDBsWithSpatialIndexes], db_id() AS database_id
      from sys.spatial_index_tessellations WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Spatial</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DatabaseAuditAction.002</PropertyName>
    <SelectQuery>
      select db_id() AS database_id, COUNT_BIG(DISTINCT audit_action_name) AS AuditActionCount
      from sys.database_audit_specification_details WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Audit</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ColumnstoreIndexType.001</PropertyName>
    <SelectQuery>
      select object_id, type_desc, data_space_id, db_id() AS database_id from sys.indexes WITH(nolock) where type = 5 or type = 6
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>ColumnStore</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ProgrammabilityModulesAndConstructs.001</PropertyName>
    <SelectQuery>
      SELECT db_id() AS database_id, o.[type] as ModuleType, COUNT_BIG(*) as ModuleCount
      FROM sys.objects AS o WITH(nolock)
      WHERE o.type in ('AF', 'F', 'FN', 'FS', 'FT', 'IF', 'P', 'PC', 'TA', 'TF', 'TR', 'X', 'C', 'D', 'PG', 'SN', 'SO', 'SQ', 'TT', 'UQ', 'V')
      GROUP BY o.[type]
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Programmability</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>TablesWithIndexOnXmlColumnCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id, COUNT_BIG(DISTINCT ic.object_id) as table_count
      FROM  sys.index_columns ic WITH(nolock)
      INNER JOIN sys.columns col WITH(nolock) ON ic.object_id = col.object_id and ic.column_id = col.column_id
      WHERE col.system_type_id = 241
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>XML</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>TablesWithIndexOnSpatialColumnCount.001</PropertyName>
    <SelectQuery>
      SELECT DB_ID() AS database_id, COUNT_BIG(DISTINCT ic.object_id) as table_count
      FROM  sys.index_columns ic WITH(nolock)
      INNER JOIN sys.columns col WITH(nolock) ON ic.object_id = col.object_id and ic.column_id = col.column_id
      WHERE col.user_type_id = 129 OR col.user_type_id = 130
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Spatial</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>PolybaseDataSource.002</PropertyName>
    <SelectQuery>
      SELECT
        db_id() AS database_id,
        SUM([SqlPbIsHdfs]) AS [SqlPbCountHdfs],
        SUM([SqlPbIsWasb]) AS [SqlPbCountWasb],
        SUM([SqlPbHasResourceMgr]) AS [SqlPbCountResourceMgr],
        SUM([SqlPbIsSqlServer]) AS [SqlPbIsSqlServer],
        SUM([SqlPbIsOracle]) AS [SqlPbIsOracle],
        SUM([SqlPbIsTeradata]) AS [SqlPbIsTeradata],
        SUM([SqlPbIsMongoDB]) AS [SqlPbIsMongoDB],
        SUM([SqlPbIsGenericOdbc]) AS [SqlPbIsGenericOdbc]
      FROM
      (
        SELECT
          CASE WHEN resource_manager_location IS NOT NULL THEN 1 ELSE 0 END AS [SqlPbHasResourceMgr],
          CASE WHEN location LIKE 'hdfs%' THEN 1 ELSE 0 END AS [SqlPbIsHdfs],
          CASE WHEN location LIKE 'wasb%' THEN 1 ELSE 0 END AS [SqlPbIsWasb],
          CASE WHEN location LIKE 'sqlserver%' THEN 1 ELSE 0 END AS [SqlPbIsSqlServer],
          CASE WHEN location LIKE 'oracle%' THEN 1 ELSE 0 END AS [SqlPbIsOracle],
          CASE WHEN location LIKE 'teradata%' THEN 1 ELSE 0 END AS [SqlPbIsTeradata],
          CASE WHEN location LIKE 'mongodb%' THEN 1 ELSE 0 END AS [SqlPbIsMongoDB],
          CASE WHEN location LIKE 'odbc%' THEN 1 ELSE 0 END AS [SqlPbIsGenericOdbc]
        FROM
          sys.external_data_sources WITH(nolock)
        WHERE
          type in (0, 6)
      ) S
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Polybase</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>PolybaseFileFormat.002</PropertyName>
    <SelectQuery>
      SELECT
      db_id() AS database_id,
      format_type AS [SqlPbFormatType],
      data_compression AS [sqlPbDataCompression],
      COUNT_BIG(*) AS CountFileFormat
      FROM sys.external_file_formats WITH(nolock)
      GROUP BY
      format_type,
      data_compression
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Polybase</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ExternalTableInfo.001</PropertyName>
    <SelectQuery>
      SELECT db_id() AS database_id,
      COUNT_BIG(*) AS [NumExternalTables],
      MAX([NumColumns]) AS [MaxNumColumns],
      MIN([NumColumns]) AS [MinNumColumns],
      AVG([NumColumns]) AS [AvgNumColumns],
      MAX([MaxRowWidth]) AS [MaxFullRowWidth],
      MIN([MaxRowWidth]) AS [MinFullRowWidth],
      AVG([MaxRowWidth]) AS [AvgFullRowWidth]
      FROM ( SELECT COUNT_BIG(*) AS [NumColumns],
      SUM(CASE WHEN max_length &gt; 0 THEN max_length ELSE 0 END) AS [MaxRowWidth]
      FROM sys.tables t WITH(nolock) INNER JOIN sys.columns c WITH(nolock) ON t.object_id = c.object_id
      WHERE t.is_external=1
      GROUP BY t.object_id ) S
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Polybase</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ExternalStatsCount.001</PropertyName>
    <SelectQuery>
      SELECT db_id() AS database_id,
      COUNT_BIG(*) AS [NumExternalStats]
      FROM sys.tables t WITH(nolock) INNER JOIN sys.stats s WITH(nolock) ON t.object_id = s.object_id
      WHERE t.is_external=1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Polybase</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ColumnStoreOldDeltaStoreCountPerBucket.001</PropertyName>
    <!-- Used to find all delta stores that have been created more than a day old and are still open and per bucket. -->
    <SelectQuery>
      SELECT db_id() AS database_id,
      CASE
      WHEN total_rows &lt; 10000 THEN '&lt; 10k'
      WHEN total_rows &lt; 100000 THEN '&gt;= 10K and &lt; 100K'
      WHEN total_rows &gt; 100000 THEN '&gt; 100K'
      END DeltaStoresCategory
      ,COUNT_BIG(*) as [DeltaStoresCount]
      FROM sys.dm_db_column_store_row_group_physical_stats
      WHERE STATE = 1 AND  created_time &lt; DATEADD(day, -1, GETDATE())
      GROUP BY
      CASE
      WHEN total_rows &lt; 10000 THEN '&lt; 10k'
      WHEN total_rows &lt; 100000 THEN '&gt;= 10K and &lt; 100K'
      WHEN total_rows &gt; 100000 THEN '&gt; 100K'
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>ColumnStore</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ColumnStorePercentageOfRowsInDeltaStore.001</PropertyName>
    <!-- Used to collect information about average of percentage of rows in deltastore to total rows in the database-->
    <SelectQuery>
      select db_id() AS database_id,
      ISNULL(AVG(convert(decimal(10,2),(100 *((cs2.[rowsin_deltastore_count] *1.0) /
      ((CASE WHEN  cs1.[total_rows_count] = 0 THEN 1 ELSE cs1.[total_rows_count] END)* 1.0))))),0)
      as [percent_open_deltastore]  from
      (select object_id, index_id, SUM(total_rows) as [total_rows_count] from sys.dm_db_column_store_row_group_physical_stats
      group by object_id, index_id) as  cs1
      join
      (select object_id, index_id, SUM(total_rows) as [rowsin_deltastore_count]
      from sys.dm_db_column_store_row_group_physical_stats where state = 1 group by object_id, index_id) as cs2
      on cs1.object_id = cs2.object_id and cs1.index_id = cs2.index_id
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>ColumnStore</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DatabaseAutomaticTuningOptions.002</PropertyName>
    <!-- Used to collect information which Automatic tuning options (like force_last_good_plan) are enabled on a database and their state.
    Returns exactly one row for each automatic tuning option, for SQL17 it should be only one. -->
    <SelectQuery>
      select db_id() AS database_id,
      name AS automatic_tuning_option_name,
      desired_state,
      actual_state,
      reason
      from sys.database_automatic_tuning_options
      where desired_state > 0
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Autotuning</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ColumnStoreRowGroupsQuality.001</PropertyName>
    <!-- Used to find the quality of the rowgroups in terms of percentage of deleted rows compared to total rows-->
    <SelectQuery>
      SELECT db_id() AS database_id, ISNULL(AVG(100*(((total_rows - ISNULL(deleted_rows,0)) *1.0)/
      ISNULL(((CASE WHEN total_rows = 0 THEN 1 ELSE total_rows END) * 1.0),1))), 0) AS PercentFull
      FROM sys.column_store_row_groups
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>ColumnStore</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ColumnStoreOpenDeltaStore.001</PropertyName>
    <!-- Used to collect information about total number of open delta store as a percentage of total number of rowgroups-->
    <SelectQuery>
      select db_id() AS database_id, ISNULL(AVG(100 *((cs2.[open_deltastore_count] * 1.0) /
      ((CASE WHEN  cs1.[total_row_group_count] = 0 THEN 1 ELSE cs1.[total_row_group_count] END)* 1.0))),0) as [percent_open_deltastore]  from
      (select object_id, index_id, COUNT_BIG(*) as [total_row_group_count] from sys.column_store_row_groups
      group by object_id, index_id) as  cs1
      join
      (select object_id, index_id, COUNT_BIG(*) as [open_deltastore_count], AVG(total_rows) as [avg_rows_in_deltastore]
      from sys.column_store_row_groups where state = 1 group by object_id, index_id) as cs2
      on cs1.object_id = cs2.object_id and cs1.index_id = cs2.index_id
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>ColumnStore</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DataClassification.001</PropertyName>
    <!-- Used to collect Data Classification feature usage.-->
    <SelectQuery>
      SELECT
        DB_ID() AS database_id,
        COUNT_BIG(*) AS TotalNumberOfClassifiedColumns,
        COUNT_BIG(DISTINCT Totals.major_id) AS TotalNumberOfClassifiedTables,
        COUNT_BIG(DISTINCT Totals.information_type_name) AS TotalNumberOfUniqueInformationTypes,
        COUNT_BIG(DISTINCT Totals.sensitivity_label_name) AS TotalNumberOfUniqueSenstivityLabels
      FROM (SELECT
        C1.major_id,
        C1.minor_id,
        C1.information_type_name,
        C2.sensitivity_label_name
      FROM (SELECT
        major_id,
        minor_id,
        value AS information_type_name
      FROM sys.extended_properties
      WHERE NAME = 'sys_information_type_name') C1
      FULL OUTER JOIN (SELECT
        major_id,
        minor_id,
        value AS sensitivity_label_name
      FROM sys.extended_properties
      WHERE NAME = 'sys_sensitivity_label_name') C2
        ON (C1.major_id = C2.major_id AND C1.minor_id = C2.minor_id)) AS Totals
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>FullTextIndex.001</PropertyName>
    <!-- Used to collect Full Text index info on language filters.-->
    <SelectQuery>
      SELECT  db_id() AS database_id,
             f.[language_id],
             IIF(f.[type_column_id] IS NOT NULL, 1, 0) HasFilter,
             COUNT_BIG(DISTINCT f.[object_id]) TableCount,
             COUNT_BIG(*) IndexCount
             FROM sys.fulltext_index_columns f
             GROUP BY
             f.language_id,
             IIF(f.type_column_id IS NOT NULL, 1, 0)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>QDSQueries.001</PropertyName>
    <!-- Used to collect overview of queries executed if they turn on QDS.-->
    <SelectQuery>
      SELECT db_id() AS database_id,
       COUNT_BIG(1) QueryCount,
       SUM(count_compiles) TotalCompiles,
       MAX(last_compile_duration) MaxLastCompileDuration,
       MIN(last_compile_duration) MinLastCompileDuration,
       AVG(last_compile_duration) AvgLastCompileDuration,
       SUM(last_compile_duration) TotalLastCompileDuration
       FROM sys.query_store_query AS Qry
       WHERE qry.last_execution_time >= DATEADD(HOUR, -24, GETDATE())
       AND qry.is_internal_query = 0
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SSISPackageExecution.001</PropertyName>
    <!-- Used to collect Data Classification feature usage.-->
    <SelectQuery>
      IF ((SELECT db_name()) LIKE 'SSISDB%'
      AND EXISTS (SELECT TOP 1 1
                           FROM INFORMATION_SCHEMA.COLUMNS
                           WHERE TABLE_NAME IN ('packages', 'executions')
                           AND TABLE_SCHEMA = 'catalog'
                           AND COLUMN_NAME IN ('package_id', 'execution_id')
                           )
      )
      BEGIN
             SELECT
                    (SELECT COUNT(DISTINCT p.[package_id]) AS PackageCount
                    FROM [catalog].[packages] p) AS PackageCount,
                    (SELECT COUNT(DISTINCT e.[execution_id]) AS ExecutionCount
                    FROM [catalog].[executions] e) AS ExecutionCount;
      END
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
</PeriodicQueries>
�<?xml version="1.0" encoding="utf-8"?>
<PeriodicQueries xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/PeriodicQueries.xsd">
  <PeriodicQuery>
    <PropertyName>ISOLanguage.001</PropertyName>
    <SelectQuery>
      exec xp_msver 'Language'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NonStandardSettings.001</PropertyName>
    <SelectQuery>
      DECLARE @ConfigDefault TABLE (
      Name NVARCHAR(35) PRIMARY KEY,
      DefaultValue SQL_VARIANT
      );

      INSERT INTO @ConfigDefault (Name, DefaultValue)
      VALUES ('access check cache bucket count',0)
      ,('access check cache quota',0)
      ,('Ad Hoc Distributed Queries',0)
      ,('affinity I/O mask',0)
      ,('affinity mask',0)
      ,('affinity64 I/O mask',0)
      ,('affinity64 mask',0)
      ,('Agent XPs',1)
      ,('allow polybase export',0)
      ,('allow updates',0)
      ,('awe enabled',0)
      ,('backup compression default',0)
      ,('blocked process threshold (s)',0)
      ,('c2 audit mode',0)
      ,('clr enabled',0)
      ,('common criteria compliance enabled',0)
      ,('cost threshold for parallelism',5)
      ,('cross db ownership chaining',0)
      ,('cursor threshold',-1)
      ,('Database Mail XPs',0)
      ,('default full-text language',1033)
      ,('default language',0)
      ,('default trace enabled',1)
      ,('disallow results from triggers',0)
      ,('EKM provider enabled',0)
      ,('external scripts enabled',0)
      ,('filestream access level',0)
      ,('fill factor (%)',0)
      ,('ft crawl bandwidth (max)',100)
      ,('ft crawl bandwidth (min)',0)
      ,('ft notify bandwidth (max)',100)
      ,('ft notify bandwidth (min)',0)
      ,('hadoop connectivity',0)
      ,('index create memory (KB)',0)
      ,('in-doubt xact resolution',0)
      ,('lightweight pooling',0)
      ,('locks',0)
      ,('max degree of parallelism',0)
      ,('max full-text crawl range',4)
      ,('max server memory (MB)',2147483647)
      ,('max text repl size (B)',65536)
      ,('max worker threads',0)
      ,('media retention',0)
      ,('min memory per query (KB)',1024)
      ,('min server memory (MB)',0)
      ,('nested triggers',1)
      ,('network packet size (B)',4096)
      ,('Ole Automation Procedures',0)
      ,('open objects',0)
      ,('optimize for ad hoc workloads',0)
      ,('PH timeout (s)',60)
      ,('polybase network encryption',1)
      ,('precompute rank',0)
      ,('priority boost',0)
      ,('query governor cost limit',0)
      ,('query wait (s)',-1)
      ,('recovery interval (min)',0)
      ,('remote access',1)
      ,('remote admin connections',0)
      ,('remote login timeout (s)',10) --20
      ,('remote proc trans',0)
      ,('remote query timeout (s)',600)
      ,('Replication XPs',0)
      ,('scan for startup procs',0)
      ,('server trigger recursion',1)
      ,('set working set size',0)
      ,('show advanced options',0)
      ,('SMO and DMO XPs',1)
      ,('SQL Mail XPs',0)
      ,('transform noise words',0)
      ,('two digit year cutoff',2049)
      ,('user connections',0)
      ,('user options',0)
      ,('xp_cmdshell',0)
      ,('column encryption enclave type',0);

      SELECT
      c.name ConfigName,
      c.value ValueSet,
      c.value_in_use ValueInUse,
      d.DefaultValue DefaultValue
      FROM sys.configurations c WITH(nolock)
      INNER JOIN @ConfigDefault d ON c.name = d.Name
      WHERE
      c.value != c.value_in_use
      OR c.value_in_use != d.DefaultValue;
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DatabaseGuid.004</PropertyName>
    <SelectQuery>
      SELECT database_id, database_guid,
      CASE
      WHEN db_name(database_id) LIKE '%WideWorldImportersDW%' THEN 'WideWorldImportersDW'
      WHEN db_name(database_id) LIKE '%WideWorldImporters%' THEN 'WideWorldImporters'
      WHEN db_name(database_id) LIKE '%AdventureWorks2016CTP3%' THEN 'AdventureWorks2016CTP3'
      WHEN db_name(database_id) LIKE '%AdventureWorksDW2016CTP3%' THEN 'AdventureWorksDW2016CTP3'
      WHEN db_name(database_id) LIKE '%AdventureWorks2014%' THEN 'AdventureWorks2014'
      WHEN db_name(database_id) LIKE '%AdventureWorksDW2014%' THEN 'AdventureWorksDW2014'
      WHEN db_name(database_id) LIKE '%AdventureWorks2012%' THEN 'AdventureWorks2012'
      WHEN db_name(database_id) LIKE '%AdventureWorksDW2012%' THEN 'AdventureWorksDW2012'
      WHEN db_name(database_id) LIKE '%AdventureWorks2008%' THEN 'AdventureWorks2008'
      WHEN db_name(database_id) LIKE '%AdventureWorksDW2008%' THEN 'AdventureWorksDW2008'
      WHEN db_name(database_id) LIKE '%AdventureWorksDW%' THEN 'AdventureWorksDW'
      WHEN db_name(database_id) LIKE '%AdventureWorks%' THEN 'AdventureWorks'
      WHEN db_name(database_id) LIKE '%ReportServerTempDB%' THEN 'ReportServerTempDB'
      WHEN db_name(database_id) LIKE '%ReportServer%' THEN 'ReportServer'
      WHEN db_name(database_id) LIKE '%WSS_Content%' THEN 'WSS_Content'
      WHEN db_name(database_id) LIKE '%MDW%' THEN 'MDW'
      WHEN db_name(database_id) LIKE '%MicrosoftDynamicsAX_baseline%' THEN 'MicrosoftDynamicsAX_baseline'
      WHEN db_name(database_id) LIKE '%MicrosoftDynamicsAX%' THEN 'MicrosoftDynamicsAX'
      WHEN db_name(database_id) = 'master' THEN 'master'
      WHEN db_name(database_id) = 'msdb' THEN 'msdb'
      WHEN db_name(database_id) = 'tempdb' THEN 'tempdb'
      WHEN db_name(database_id) = 'model' THEN 'model'
      WHEN db_name(database_id) LIKE '%SharePoint_Config%' THEN 'SharePoint_Config'
      WHEN db_name(database_id) LIKE '%SharePoint_AdminContent%' THEN 'SharePoint_AdminContent'
      WHEN db_name(database_id) LIKE '%AppManagement%' THEN 'AppManagement'
      WHEN db_name(database_id) LIKE '%Bdc_Service_DB%' THEN 'Bdc_Service_DB'
      WHEN db_name(database_id) LIKE '%Search_Service_Application_DB%' THEN 'Search_Service_Application_DB'
      WHEN db_name(database_id) LIKE '%Search_Service_Application_AnalyticsReportingStoreDB%' THEN 'Search_Service_Application_AnalyticsReportingStoreDB'
      WHEN db_name(database_id) LIKE '%Search_Service_Application_CrawlStoreDB%' THEN 'Search_Service_Application_CrawlStoreDB'
      WHEN db_name(database_id) LIKE '%Search_Service_Application_LinkStoreDB%' THEN 'Search_Service_Application_LinkStoreDB'
      WHEN db_name(database_id) LIKE '%Secure_Store_Service_DB%' THEN 'Secure_Store_Service_DB'
      WHEN db_name(database_id) LIKE '%SharePoint_Logging%' THEN 'SharePoint_Logging'
      WHEN db_name(database_id) LIKE '%SettingsServiceDB%' THEN 'SettingsServiceDB'
      WHEN db_name(database_id) LIKE '%User Profile Service Application_ProfileDB%' THEN 'User Profile Service Application_ProfileDB'
      WHEN db_name(database_id) LIKE '%User Profile Service Application_SyncDB%' THEN 'User Profile Service Application_SyncDB'
      WHEN db_name(database_id) LIKE '%User Profile Service Application_SocialDB%' THEN 'User Profile Service Application_SocialDB'
      WHEN db_name(database_id) LIKE '%WordAutomationServices%' THEN 'WordAutomationServices'
      WHEN db_name(database_id) LIKE '%Managed Metadata Service Application_Metadata%' THEN 'Managed Metadata Service Application_Metadata'
      WHEN db_name(database_id) LIKE '%SharePoint Translation Services%' THEN 'SharePoint Translation Services'
      WHEN db_name(database_id) LIKE '%ProjectWebApp%' THEN 'ProjectWebApp'
      WHEN db_name(database_id) LIKE '%DefaultPowerPivotServiceApplicationDB%' THEN 'DefaultPowerPivotServiceApplicationDB'
      WHEN db_name(database_id) LIKE '%PerformancePoint Service%' THEN 'PerformancePoint Service'
      WHEN db_name(database_id) LIKE '%SessionStateService%' THEN 'SessionStateService'
      WHEN db_name(database_id) = 'SSISDB' THEN 'SSISDB'
      WHEN db_name(database_id) = 'DQS_MAIN' THEN 'DQS_MAIN'
      ELSE 'Other'
      END AS default_database_class
      FROM sys.database_recovery_status WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ServerServices.002</PropertyName>
    <SelectQuery>
      SELECT startup_type, status
      FROM sys.dm_server_services WITH(nolock)
      WHERE servicename LIKE 'SQL Server Agent (%'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ServerRegistry.001</PropertyName>
    <SelectQuery>
      SELECT
      value_name,
      value_data
      FROM sys.dm_server_registry WITH(nolock)
      WHERE value_name = 'InstallId'
      OR (registry_key LIKE '%Polybase%' AND value_name = 'ScaleOutReady')
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
    <PeriodicQuery>
    <PropertyName>AlwaysEncryptedColumnEncryptionEnclaveEnclave.001</PropertyName>
    <SelectQuery>
      Select
      current_enclave_session_count,
      current_column_encryption_key_count,
      current_memory_size_kb,
      total_evicted_session_count
      from sys.dm_column_encryption_enclave WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Always Encrypted</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AlwaysEncryptedColumnEncryptionEnclaveEnclaveOperationStats.001</PropertyName>
    <SelectQuery>
      Select
      operation_type,
      total_operation_count
      from sys.dm_column_encryption_enclave_operation_stats WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Always Encrypted</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>HadrAvailabilityReplicaStates.001</PropertyName>
    <SelectQuery>
      SELECT replica_id, group_id, is_local, role, operational_state, recovery_health, synchronization_health, connected_state, last_connect_error_number, last_connect_error_timestamp FROM sys.dm_hadr_availability_replica_states WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>HADR</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SqlServerMemory.001</PropertyName>
    <SelectQuery>
      SELECT cntr_value AS SqlServerMemory FROM sys.dm_os_performance_counters WITH(nolock) WHERE object_name = 'SQLServer:Memory Manager' AND counter_name = 'Total Server Memory (KB)'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DatabaseProperties.002</PropertyName>
    <SelectQuery>
      SELECT
      database_id,
      source_database_id AS SDID,
      create_date,
      compatibility_level,
      user_access,
      is_read_only,
      is_auto_close_on,
      is_auto_shrink_on,
      state,
      is_in_standby,
      is_cleanly_shutdown,
      is_supplemental_logging_enabled AS SLE,
      recovery_model,
      page_verify_option,
      is_auto_create_stats_on AS ACS,
      is_auto_create_stats_incremental_on AS ACSI,
      is_auto_update_stats_on AS AUS,
      is_auto_update_stats_async_on AUSA,
      is_fulltext_enabled AS FTE,
      is_trustworthy_on AS TW,
      is_db_chaining_on AS DBC,
      is_parameterization_forced AS PF,
      is_master_key_encrypted_by_server AS MKEBS,
      is_query_store_on AS QS,
      is_published AS TREPL,
      is_merge_published AS MREPL,
      is_distributor,
      is_sync_with_backup AS SWB,
      is_broker_enabled AS BE,
      log_reuse_wait,
      is_cdc_enabled AS CDC,
      is_encrypted,
      is_honor_broker_priority_on AS HBP,
      replica_id AS RID,
      group_database_id AS GDID,
      resource_pool_id AS RPID,
      containment,
      target_recovery_time_in_seconds AS TRT,
      delayed_durability,
      is_memory_optimized_elevate_to_snapshot_on AS MOES,
      is_remote_data_archive_enabled AS RDAE,
      collation_name AS DBCollation
      FROM sys.databases WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>TempDbDataFileCount.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS TempDbDataFileCount FROM sys.master_files WITH(nolock) WHERE database_id = 2 AND [type] = 0
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DatabaseSize.001</PropertyName>
    <SelectQuery>SELECT database_id, type, SUM(CAST(size AS BIGINT))*8 as DatabaseSize FROM sys.master_files WITH(nolock) GROUP BY database_id, type</SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ReadOnlyRoutingRuleCount.001</PropertyName>
    <SelectQuery>select COUNT_BIG(*) AS ReadOnlyRoutingRuleCount from sys.availability_read_only_routing_lists WITH(nolock)</SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Always On</Category>
  </PeriodicQuery>
  <!--The following queries help to understand how Transparent Data Encryption (TDE) is being used and configured by the SQL Server instance.
      This helps the service understand where changes and investments can be made in encryption-at-rest, including deprecations and further improvements.-->
  <PeriodicQuery>
    <PropertyName>AsymmetricKeysInfo.001</PropertyName>
    <SelectQuery>
      -- In the following query, the EKM provider type (cryptographic provider or not) and the asymmetric key algorithm for TDE are collected.
      SELECT provider_type, algorithm_desc, COUNT_BIG(*) AS key_count FROM sys.asymmetric_keys WITH(nolock) GROUP BY provider_type, algorithm_desc
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>TDE</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>EncryptionCertificateInfo.001</PropertyName>
    <SelectQuery>
      --In the following query, the certificate certificate key length, and the certificate encryption type for TDE are collected.
      SELECT key_length, pvt_key_encryption_type, COUNT_BIG(*) AS cert_count FROM sys.certificates WITH(nolock) GROUP BY key_length, pvt_key_encryption_type
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>TDE</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>EncryptionKeyInfo.001</PropertyName>
    <SelectQuery>
      -- In the following query, the corresponding database ID, symmetric database encryption key algorithm, TDE state, and database encryption key encryptor type are collected.
      SELECT database_id, key_algorithm, key_length, encryption_state, encryptor_type, COUNT_BIG(*) AS key_count FROM sys.dm_database_encryption_keys WITH(nolock) GROUP BY database_id, key_algorithm, key_length, encryption_state, encryptor_type
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>TDE</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SQLServerProperties.003</PropertyName>
    <SelectQuery>
      SELECT
      SERVERPROPERTY('Collation') AS [Collation],
      SERVERPROPERTY('IsFullTextInstalled') AS [SqlFTinstalled],
      SERVERPROPERTY('IsIntegratedSecurityOnly') AS [SqlIntSec],
      SERVERPROPERTY('IsSingleUser') AS [IsSingleUser],
      SERVERPROPERTY ('FileStreamEffectiveLevel') AS [SqlFilestreamMode],
      SERVERPROPERTY('IsPolybaseInstalled') AS [SqlPbInstalled],
      SERVERPROPERTY('PolybaseRole') AS [SqlPbNodeRole],
      SERVERPROPERTY('ProductMajorVersion') AS [SqlVersionMajor],
      SERVERPROPERTY('ProductMinorVersion') AS [SqlVersionMinor],
      SERVERPROPERTY('ProductBuild') AS [SqlVersionBuild],
      SERVERPROPERTY('ProductBuildType') AS ProductBuildType,
      SERVERPROPERTY('ProductLevel') AS ProductLevel,
      SERVERPROPERTY('ProductUpdateLevel') AS ProductUpdateLevel,
      SERVERPROPERTY('ProductUpdateReference') AS ProductUpdateReference,
      RIGHT(CAST(SERVERPROPERTY('ProductVersion') AS NVARCHAR(30)),CHARINDEX('.', REVERSE(CAST(SERVERPROPERTY('ProductVersion') AS NVARCHAR(30)))) - 1) AS ProductRevision,
      SERVERPROPERTY('EditionID') AS SQLEditionId,
      SERVERPROPERTY('IsClustered') AS IsClustered,
      SERVERPROPERTY('IsHadrEnabled') AS IsHadrEnabled,
      SERVERPROPERTY('IsAdvancedAnalyticsInstalled') AS [SqlAdvAInstalled],
      @@PACK_RECEIVED AS PacketReceived,
      @@VERSION AS Version,
      SERVERPROPERTY('IsLocalDB') AS IsLocalDB,
      SERVERPROPERTY('IsNonGolden') AS IsNonGolden,
      SERVERPROPERTY('IsTempdbMetadataMemoryOptimized') AS IsTempdbMetadataMemoryOptimized
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SQLQueryOptimizer.001</PropertyName>
    <SelectQuery>
      DECLARE @i bigint
      SET @i = (SELECT CASE WHEN occurrence = 0 THEN NULL ELSE occurrence END FROM sys.dm_exec_query_optimizer_info WITH(nolock) WHERE counter = N'optimizations')

      SELECT
      MAX(CASE counter WHEN N'trivial plan' THEN CONVERT(INT, 100000000 * (occurrence * 1.0) / @i) END) AS [SqlQOFracTrivPlan],
      MAX(CASE counter WHEN N'search 0' THEN CONVERT(INT, 100000000 * (occurrence * 1.0) / @i) END) AS [SqlQOFracSearch0],
      MAX(CASE counter WHEN N'search 1' THEN CONVERT(INT, 100000000 * (occurrence * 1.0) / @i) END) AS [SqlQOFracSearch1],
      MAX(CASE counter WHEN N'search 2' THEN CONVERT(INT, 100000000 * (occurrence * 1.0) / @i) END) AS [SqlQOFracSearch2],
      MAX(CASE counter WHEN N'timeout' THEN CONVERT(INT, 100000000 * (occurrence * 1.0) / @i) END) AS [SqlQOFracTimeout],
      MAX(CASE counter WHEN N'memory limit exceeded' THEN CONVERT(INT, 100000000 * (occurrence * 1.0) / @i) END) AS [SqlQOFracMemLimit],
      MAX(CASE counter WHEN N'search 0 time' THEN CONVERT(INT, IsNull(value,0) * 10000) END) AS [SqlQOAvgSearch0time],
      MAX(CASE counter WHEN N'search 1 time' THEN CONVERT(INT, IsNull(value,0) * 10000) END) AS [SqlQOAvgSearch1time],
      MAX(CASE counter WHEN N'search 2 time' THEN CONVERT(INT, IsNull(value,0) * 10000) END) AS [SqlQOAvgSearch2time],
      MAX(CASE counter WHEN N'search 0 tasks' THEN CONVERT(INT, IsNull(value,0)) END) AS [SqlQOAvgSearch0tasks],
      MAX(CASE counter WHEN N'search 1 tasks' THEN CONVERT(INT, IsNull(value,0)) END) AS [SqlQOAvgSearch1tasks],
      MAX(CASE counter WHEN N'search 2 tasks' THEN CONVERT(INT, IsNull(value,0)) END) AS [SqlQOAvgSearch2tasks],
      MAX(CASE counter WHEN N'gain stage 0 to stage 1' THEN CONVERT(INT, IsNull(value,0) * 1000) END) AS [SqlQOAvgStage1gain],
      MAX(CASE counter WHEN N'gain stage 1 to stage 2' THEN CONVERT(INT, IsNull(value,0) * 1000) END) AS [SqlQOAvgStage2gain]
      FROM sys.dm_exec_query_optimizer_info WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>QDS</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SqlEndPointsProtocolStream.001</PropertyName>
    <SelectQuery>
      SELECT protocol AS [sProtocolId], COUNT_BIG(*) AS [sNumProtocols] FROM master.sys.endpoints WITH(nolock) GROUP BY protocol
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Protocols</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBConnections.001</PropertyName>
    <!-- Checks whether SSB has any cross-instance connections. If >0 then SQL is using SSB across instances -->
    <SelectQuery>
      SELECT COUNT_BIG(*) AS SBConnections FROM sys.dm_broker_connections WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SBForwarderInstances.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS number_of_forwarders
      FROM sys.service_broker_endpoints WITH(nolock)
      WHERE is_message_forwarding_enabled = 1
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Service Broker</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>OsSysInfo.003</PropertyName>
    <SelectQuery>
      SELECT
      cpu_count AS LogicalCPUCount,
      hyperthread_ratio AS HyperthreadRatio,
      physical_memory_kb/1024.0 AS PhysicalMemoryMB,
      CONVERT(VARCHAR(20), sqlserver_start_time,  120) AS SQLServerStartTime,
      affinity_type_desc AS AffinityTypeDesc,
      virtual_machine_type AS VirtualMachineType,
      socket_count as SocketCount,
      cores_per_socket as CoresPerSocket,
      numa_node_count as NumaNodeCount,
      container_type as ContainerType,
      container_type_desc as ContainerDescription
      FROM sys.dm_os_sys_info WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>Auditing.001</PropertyName>
    <SelectQuery>
      select
      type_desc,
      on_failure_desc,
      queue_delay,
      is_state_enabled
      from sys.server_audits WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Audit</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ServerAuditAction.002</PropertyName>
    <SelectQuery>
      select COUNT_BIG(distinct audit_action_name) AS ServerAuditActionCount
      from sys.server_audit_specification_details WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Audit</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumAGinServer.001</PropertyName>
    <SelectQuery>
      select COUNT_BIG(*) as [NumAGinServer] from sys.availability_groups WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Availability Group</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumDBperAG.001</PropertyName>
    <SelectQuery>
      select COUNT_BIG(*) AS [NumDBperAG] from sys.dm_hadr_database_replica_states where group_id in
      (select group_id from sys.dm_hadr_availability_replica_states WITH(nolock) where is_local = 1 and role = 1) and is_local = 1 group by group_id
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Availability Group</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumReplicaPerAG.001</PropertyName>
    <SelectQuery>
      select COUNT_BIG(*) AS [NumReplicaPerAG]
      from sys.dm_hadr_availability_replica_states where group_id in
      (select group_id from sys.dm_hadr_availability_replica_states WITH(nolock) where is_local = 1 and role = 1) group by group_id
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Availability Group</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AvailabilityGroups.003</PropertyName>
    <SelectQuery>
      select
      group_id,
      automated_backup_preference AS [BackupPreference],
      failure_condition_level,
      health_check_timeout,
      dtc_support,
      db_failover,
      is_distributed,
      required_synchronized_secondaries_to_commit,
      cluster_type,
      sequence_number
      from sys.availability_groups where group_id in
      (select group_id from sys.dm_hadr_availability_replica_states WITH(nolock) where is_local = 1 and role = 1)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Availability Group</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ListenerUsed.001</PropertyName>
    <SelectQuery>
      select
      case
      when (listener_id IS NOT NULL) then 1
      else 0
      end AS [listener_used]
      from sys.availability_group_listeners WITH(nolock) where group_id in
      (select group_id from sys.dm_hadr_availability_replica_states WITH(nolock) where is_local = 1 and role = 1)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Availability Group</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AvailabilityReplicas.002</PropertyName>
    <SelectQuery>
      select
      group_id,
      replica_id,
      availability_mode,
      failover_mode,
      primary_role_allow_connections,
      secondary_role_allow_connections,
      LEN(ISNULL(read_only_routing_url, '')) as read_only_routing_url_length,
      seeding_mode,
      session_timeout
      from sys.availability_replicas WITH(nolock) where group_id in
      (select group_id from sys.dm_hadr_availability_replica_states WITH(nolock) where is_local = 1 and role = 1)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Availability Group</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SqlBackupStatistics.001</PropertyName>
    <SelectQuery>
      SELECT b1.device_type,
      ISNULL(b1.[type],'NULL') AS backup_type,
      b1.is_copy_only,
      b1.time_bucket,
      b1.compressed_backup_size_bucket,
      b1.compression_percent_bucket,
      b1.backup_throughput_bucket,
      COUNT_BIG(b1.device_type) AS 'count',
      b1.encryption
      FROM
      (
      SELECT
      mf.device_type,
      bset.[type],
      CAST(bset.[is_copy_only] AS INT) AS [is_copy_only],
      CASE
      WHEN DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0                    THEN 0
      WHEN DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date])      BETWEEN 1 AND 30       THEN 1
      WHEN DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date])      BETWEEN 30 AND 60      THEN 2
      WHEN DATEDIFF(MINUTE, bset.[backup_start_date], bset.[backup_finish_date])      BETWEEN 1 AND 5        THEN 3
      WHEN DATEDIFF(MINUTE, bset.[backup_start_date], bset.[backup_finish_date])      BETWEEN 5 AND 10       THEN 4
      WHEN DATEDIFF(MINUTE, bset.[backup_start_date], bset.[backup_finish_date])      BETWEEN 10 AND 30      THEN 5
      WHEN DATEDIFF(MINUTE, bset.[backup_start_date], bset.[backup_finish_date])      BETWEEN 30 AND 60      THEN 6
      WHEN DATEDIFF(HOUR, bset.[backup_start_date], bset.[backup_finish_date])        BETWEEN 1 AND 2        THEN 7
      WHEN DATEDIFF(HOUR, bset.[backup_start_date], bset.[backup_finish_date])        BETWEEN 2 AND 6        THEN 8
      WHEN DATEDIFF(HOUR, bset.[backup_start_date], bset.[backup_finish_date])        BETWEEN 6 AND 12       THEN 9
      WHEN DATEDIFF(HOUR, bset.[backup_start_date], bset.[backup_finish_date])        BETWEEN 12 AND 24      THEN 10
      ELSE 99
      END
      AS 'time_bucket',
      CASE
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 0 AND 1          THEN 0
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 1 AND 5          THEN 1
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 5 AND 25         THEN 2
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 25 AND 100       THEN 3
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 100 AND 500      THEN 4
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 500 AND 1000     THEN 5
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 1000 AND 5000    THEN 6
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 5000 AND 10000   THEN 7
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 10000 AND 50000  THEN 8
      WHEN CAST(ISNULL(bset.compressed_backup_size, 0) / 1048576 AS FLOAT) BETWEEN 50000 AND 100000 THEN 9
      ELSE 99
      END
      AS compressed_backup_size_bucket,
      CASE
      WHEN CAST(((ISNULL(bset.backup_size,0) - ISNULL(bset.compressed_backup_size,0)) /
      CASE WHEN bset.backup_size &lt;= 0 THEN 1
      ELSE ISNULL(bset.backup_size, 1)
      END
      ) * 100  AS FLOAT) = 0.0 THEN 0
      ELSE (CAST(((ISNULL(bset.backup_size,0) - ISNULL(bset.compressed_backup_size,0)) /
      CASE WHEN bset.backup_size &lt;= 0 THEN 1
      ELSE ISNULL(bset.backup_size, 1)
      END
      ) * 100  AS INT)/10) + 1
      END
      AS compression_percent_bucket,
      CASE
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) = 0.0                       THEN 0
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  0 AND 100          THEN 1
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  100 AND 500        THEN 2
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  500 AND 1000       THEN 3
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  1000 AND 5000      THEN 4
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  5000 AND 10000     THEN 5
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  10000 AND 20000    THEN 6
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  20000 AND 30000    THEN 7
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  30000 AND 50000    THEN 8
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  50000 AND 100000   THEN 9
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  100000 AND 500000  THEN 10
      WHEN CAST(CAST(ISNULL(bset.compressed_backup_size, 0) / 1024 AS FLOAT) / (CASE WHEN  DATEDIFF(SECOND, bset.[backup_start_date], bset.[backup_finish_date]) = 0 THEN 1 END) AS FLOAT) BETWEEN  500000 AND 1000000 THEN 11
      ELSE 99
      END
      AS backup_throughput_bucket, -- in KB
      CASE
      WHEN bset.encryptor_type like '%CERTIFICATE%' THEN 1
      WHEN bset.encryptor_type like '%ASYMMETRIC KEY%' THEN 2
      ELSE 0
      END
      AS encryption
      FROM [msdb].[dbo].[backupset] bset WITH (READUNCOMMITTED)
      JOIN [msdb].[dbo].[backupmediafamily]  mf WITH (READUNCOMMITTED) ON  mf.media_set_id = bset.media_set_id
      WHERE
      backup_finish_date &lt;= GETDATE() and backup_finish_date &gt; DATEADD(hh, -24, GETDATE() )
      ) AS b1
      GROUP BY
      b1.device_type,
      b1.[type],
      b1.is_copy_only,
      b1.time_bucket,
      b1.compressed_backup_size_bucket,
      b1.compression_percent_bucket,
      b1.backup_throughput_bucket,
      b1.encryption

    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Backup</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DatabaseIOStream.001</PropertyName>
    <SelectQuery>
      select 1 as name, -- Temp DB
      case mf.type_desc
      when 'ROWS' then 1
      when 'LOG' then 2
      end as 'type',
      CAST(SUM(num_of_reads) as nvarchar(128)) as total_num_of_reads,
      CAST(SUM(num_of_bytes_read) as nvarchar(128)) as total_num_of_bytes_read,
      CAST(SUM(io_stall_read_ms) as nvarchar(128)) as total_io_stall_read_ms,
      CAST(SUM(num_of_writes) as nvarchar(128)) as total_num_of_writes,
      CAST(SUM(num_of_bytes_written) as nvarchar(128)) as total_num_of_bytes_written,
      CAST(SUM(io_stall_write_ms) as nvarchar(128)) as total_io_stall_write_ms,
      COUNT_BIG(*) as total
      from sys.dm_io_virtual_file_stats(NULL, NULL) fs, sys.master_files mf
      where fs.database_id = mf.database_id and fs.file_id = mf.file_id and fs.database_id = 2 and (fs.num_of_reads != 0 OR fs.num_of_writes != 0)
      group by mf.name, mf.type, mf.type_desc

      UNION ALL

      select 2 as name, -- User DBs
      case mf.type_desc
      when 'ROWS' then 1
      when 'LOG' then 2
      end as 'type',
      CAST(SUM(num_of_reads) as nvarchar(128)) as total_num_of_reads,
      CAST(SUM(num_of_bytes_read) as nvarchar(128)) as total_num_of_bytes_read,
      CAST(SUM(io_stall_read_ms) as nvarchar(128)) as total_io_stall_read_ms,
      CAST(SUM(num_of_writes) as nvarchar(128)) as total_num_of_writes,
      CAST(SUM(num_of_bytes_written) as nvarchar(128)) as total_num_of_bytes_written,
      CAST(SUM(io_stall_write_ms) as nvarchar(128)) as total_io_stall_write_ms,
      COUNT_BIG(*) as total
      from sys.dm_io_virtual_file_stats(NULL, NULL) fs, sys.master_files mf
      where fs.database_id = mf.database_id and fs.file_id = mf.file_id and fs.database_id &gt; 4 and (fs.num_of_reads != 0 OR fs.num_of_writes != 0)
      group by mf.type, mf.type_desc

      UNION ALL

      select 3 as name, -- System DBs
      case mf.type_desc
      when 'ROWS' then 1
      when 'LOG' then 2
      end as 'type',
      CAST(SUM(num_of_reads) as nvarchar(128)) as total_num_of_reads,
      CAST(SUM(num_of_bytes_read) as nvarchar(128)) as total_num_of_bytes_read,
      CAST(SUM(io_stall_read_ms) as nvarchar(128)) as total_io_stall_read_ms,
      CAST(SUM(num_of_writes) as nvarchar(128)) as total_num_of_writes,
      CAST(SUM(num_of_bytes_written) as nvarchar(128)) as total_num_of_bytes_written,
      CAST(SUM(io_stall_write_ms) as nvarchar(128)) as total_io_stall_write_ms,
      COUNT_BIG(*) as total
      from sys.dm_io_virtual_file_stats(NULL, NULL) fs, sys.master_files mf WITH(nolock)
      where fs.database_id = mf.database_id and fs.file_id = mf.file_id and (fs.database_id = 1 OR fs.database_id = 3 OR fs.database_id = 4) and (fs.num_of_reads != 0 OR fs.num_of_writes != 0)
      group by mf.type, mf.type_desc

    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>SQL Engine Performance</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPMemoryAllocatedForSystemKb.001</PropertyName>
    <SelectQuery>
      SELECT
      ISNULL(sum(allocated_bytes)/1024,0) AS total_memory_allocated_for_system_kb
      FROM sys.dm_xtp_system_memory_consumers WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>XTPTransactionStatistics.001</PropertyName>
    <SelectQuery>
      SELECT
      total_count,
      rows_touched,
      dependencies_taken,
      dependencies_failed,
      validation_failures
      FROM sys.dm_xtp_transaction_stats WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>InMemory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SQLXIDBFileCount.001</PropertyName>
    <SelectQuery>
      -- SQLXI datapoint - count of db files in XI path
      SELECT COUNT_BIG(name) AS xi_db_file_count
      FROM sys.master_files WITH(nolock)
      WHERE credential_id IS NOT NULL
      AND state = 0
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>HADR</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ColumnstoreMergePolicy.001</PropertyName>
    <SelectQuery>
      select cntr_value as merge_policy_evaluation
      from sys.dm_os_performance_counters WITH(nolock)
      where
      object_name like '%columnstore%' and
      counter_name ='Total Merge Policy Evaluations' and
      instance_name = '_Total'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>ColumnStore</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DbccTraceStatus.001</PropertyName>
    <SelectQuery>
      DBCC TRACESTATUS
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>SQL Engine Performance</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ExternalScriptStats.001</PropertyName>
    <SelectQuery>
      select counter_name, cntr_value from sys.dm_os_performance_counters where object_name like '%External Scripts%'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>R</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ExternalResourcePools.001</PropertyName>
    <SelectQuery>
      SELECT count_big(*) AS external_resource_pools from sys.resource_governor_external_resource_pools WHERE name != 'default'
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>R</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ExternalScriptExecStats.001</PropertyName>
    <SelectQuery>
      select language, counter_name, counter_value from sys.dm_external_script_execution_stats
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>R</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SQLConnectorInfo.001</PropertyName>
    <SelectQuery>

      /*The following query helps to understand how the Microsoft SQL Server Connector for Azure Key Vault (EKM Provider) is being used for those configuring Azure Key Vault for Transparent Data Encryption (TDE), Cell Level Encryption (CLE), and/or Backup encryption.
      The count of cryptographic EKM providers and the version number of SQL Server Connector on the SQL Server instance are collected. For non-Microsoft EKM providers, no specific information other than the count of non-Microsoft providers is being queried.
      Note: 'A16BA7DE-26E0-43C4-871C-4ED750C65597' is the provider guid for the Microsoft SQL Server Connector, and is used only to help identify its use by the instance.*/

      SELECT
      'Other' as ProviderType,
      null as ProviderVersion,
      count_big(*) as ProviderCount
      FROM sys.dm_cryptographic_provider_properties
      WHERE guid != 'A16BA7DE-26E0-43C4-871C-4ED750C65597'
      UNION ALL
      SELECT
      'SQLServerConnector' as ProviderType,
      provider_version as ProviderVersion,
      1 as ProviderCount
      FROM sys.dm_cryptographic_provider_properties
      WHERE guid = 'A16BA7DE-26E0-43C4-871C-4ED750C65597'
      ORDER BY ProviderType, ProviderVersion
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>TDE</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>BPEConfiguration.001</PropertyName>
    <!-- Used to collect configuration information about Buffer Pool Extension (BPE)-->
    <SelectQuery>
      SELECT state, current_size_in_kb FROM sys.dm_os_buffer_pool_extension_configuration WITH(nolock)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>SQL Engine Performance</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>HostInformation.001</PropertyName>
    <!-- Used to collect OS related information about the host -->
    <SelectQuery>
      SELECT
      host_platform,
      host_distribution,
      host_release,
      host_service_pack_level,
      host_sku,
      os_language_version
      FROM sys.dm_os_host_info
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AvailabilityGroupsWithDtcSupport.001</PropertyName>
    <SelectQuery>
      select count(*) as AgsWithDtcSupportOn
      from sys.availability_groups WITH(nolock) where dtc_support = 1 and group_id in
      (select group_id from sys.dm_hadr_availability_replica_states WITH(nolock) where is_local = 1 and role = 1)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>HADR</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>AvailabilityGroupListeners.002</PropertyName>
    <SelectQuery>
      select group_id, listener_id, LEN(ISNULL(dns_name,'')) AS dns_length, is_conformant
      from sys.availability_group_listeners WITH(nolock)
      where group_id in (select group_id from sys.dm_hadr_availability_replica_states WITH(nolock) where is_local = 1 and role = 1)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>HADR</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DmHadrDatabaseReplicaStates.002</PropertyName>
    <SelectQuery>
      SELECT top 1000
      group_id, replica_id, group_database_id,group_database_id, is_local, is_primary_replica, synchronization_state, is_commit_participant, synchronization_health, database_state, is_suspended
      FROM sys.dm_hadr_database_replica_states WITH(nolock)
      where group_id in (select group_id from sys.dm_hadr_availability_replica_states WITH(nolock) where is_local = 1 and role = 1)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>HADR</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>LinkedServerInstances.001</PropertyName>
    <!--Collect information on Linked Server and distribution of OLE DB providers used for Linked Servers. Assume that non-default server entries indicate some Distributed Query operations are being done-->
    <SelectQuery>
      SELECT COUNT(*) as provider_count, provider FROM sys.servers WITH(nolock) WHERE is_linked=1 GROUP BY provider
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
     <PropertyName>CPUUtilization.001</PropertyName>
     <SelectQuery>

       DECLARE @msticks bigint, @mstickstime datetime, @LastHour datetime
                SELECT @mstickstime = GETDATE(), @msticks = ms_ticks from sys.dm_os_sys_info
                SELECT @LastHour = DATEADD(HOUR, -1, @mstickstime);

                WITH Quartiles AS (
                SELECT DISTINCT
                    CONVERT(VARCHAR(10), CAST(DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime) AS DATE), 112) EventDate,
                       CONVERT(VARCHAR(30), TIMEFROMPARTS(DATEPART(HOUR, DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime)), 00,00,00,00), 114) AS [EventTime],
                       PERCENTILE_DISC(0.5) WITHIN GROUP (ORDER BY record.value('(Record/SchedulerMonitorEvent/SystemHealth/ProcessUtilization)[1]', 'int')
                           )
                           OVER (PARTITION BY CONVERT(VARCHAR(10), CAST(DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime) AS DATE), 112),
                                  CONVERT(VARCHAR(30), TIMEFROMPARTS(DATEPART(HOUR, DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime)), 00,00,00,00), 114)
                           ) AS MedianSQLCPU
                           ,
                       PERCENTILE_CONT(0.75) WITHIN GROUP (ORDER BY record.value('(Record/SchedulerMonitorEvent/SystemHealth/ProcessUtilization)[1]', 'int')
                           )
                           OVER (PARTITION BY CONVERT(VARCHAR(10), CAST(DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime) AS DATE), 112),
                                  CONVERT(VARCHAR(30), TIMEFROMPARTS(DATEPART(HOUR, DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime)), 00,00,00,00), 114)
                           ) AS Q3SQLCPU
                     ,
                       PERCENTILE_CONT(0.25) WITHIN GROUP (ORDER BY record.value('(Record/SchedulerMonitorEvent/SystemHealth/ProcessUtilization)[1]', 'int')
                           )
                           OVER (PARTITION BY CONVERT(VARCHAR(10), CAST(DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime) AS DATE), 112),
                                  CONVERT(VARCHAR(30), TIMEFROMPARTS(DATEPART(HOUR, DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime)), 00,00,00,00), 114)
                           ) AS Q1SQLCPU
                  FROM (
                    SELECT timestamp, CONVERT (xml, record) AS 'record'
                    FROM sys.dm_os_ring_buffers
                    WHERE ring_buffer_type = 'RING_BUFFER_SCHEDULER_MONITOR'
                      AND record LIKE '%&lt;SystemHealth&gt;%'
                            ) AS t
                     WHERE DATEPART(HOUR, DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime)) = DATEPART(HOUR, @LastHour)
                     AND CAST(DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime) AS DATE) = CAST(@LastHour AS DATE)
              ),
              SimpleStats AS (
                SELECT
                    CONVERT(VARCHAR(10), CAST(DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime) AS DATE), 112) EventDate,
                       CONVERT(VARCHAR(30), TIMEFROMPARTS(DATEPART(HOUR, DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime)), 00,00,00,00), 114) AS [EventTime],
                    MAX(record.value('(Record/SchedulerMonitorEvent/SystemHealth/ProcessUtilization)[1]', 'int')) AS [MaxSQLCPU],
                       MIN(record.value('(Record/SchedulerMonitorEvent/SystemHealth/ProcessUtilization)[1]', 'int')) AS [MinSQLCPU],
                       AVG(record.value('(Record/SchedulerMonitorEvent/SystemHealth/ProcessUtilization)[1]', 'int')) AS [AvgSQLCPU]
                  FROM (
                    SELECT timestamp, CONVERT (xml, record) AS 'record'
                    FROM sys.dm_os_ring_buffers
                    WHERE ring_buffer_type = 'RING_BUFFER_SCHEDULER_MONITOR'
                      AND record LIKE '%&lt;SystemHealth&gt;%'
                            ) AS t
              WHERE DATEPART(HOUR, DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime)) = DATEPART(HOUR, @LastHour)
                     AND CAST(DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime) AS DATE) = CAST(@LastHour AS DATE)
              GROUP BY
                     CONVERT(VARCHAR(10), CAST(DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime) AS DATE), 112) ,
                     CONVERT(VARCHAR(30), TIMEFROMPARTS(DATEPART(HOUR, DATEADD (ms, -1 * (@msticks - [timestamp]),@mstickstime)), 00,00,00,00), 114)
              )
              SELECT
                     ss.EventDate AS EventDate,
                     ss.EventTime AS EventTime,
                     ss.MaxSQLCPU,
                     ss.MinSQLCPU,
                     ss.AvgSQLCPU,
                     q.MedianSQLCPU,
                     q.Q1SQLCPU,
                     q.Q3SQLCPU
              FROM SimpleStats ss
                     INNER JOIN Quartiles q
                           ON q.EventDate = ss.EventDate
                           AND q.EventTime = ss.EventTime
     </SelectQuery>
     <Frequency>Hour</Frequency>
     <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>SQLServerLoginStats.001</PropertyName>
    <SelectQuery>
      SELECT pr.type PrincipalType,
      pr.default_language_name DefaultLanguageName,
      COUNT_BIG(DISTINCT pr.principal_id) PrincipalCount
      FROM sys.server_principals AS pr
      GROUP BY
      pr.type, pr.default_language_name
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>QuorumConfiguration.001</PropertyName>
    <SelectQuery>
      SELECT quorum_type_desc FROM [sys].[dm_hadr_cluster]
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>HADR</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>NumNodesInCluster.001</PropertyName>
    <SelectQuery>
      SELECT COUNT_BIG(*) AS NumOfNodes FROM [sys].[dm_hadr_cluster_members] WHERE member_type = 0
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>HADR</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ChangeTrackingDatabases.001</PropertyName>
    <SelectQuery>
      SELECT
        database_id,
        is_auto_cleanup_on,
        retention_period,
        retention_period_units_desc,
        retention_period_units
      FROM sys.change_tracking_databases
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>PolybaseCluster.002</PropertyName>
    <SelectQuery>
      select 1 IsPolybaseCluster
      where exists (select * from sys.dm_cluster_endpoints)
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Server Configuration</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DTCActiveTransactions.001</PropertyName>
    <SelectQuery>
	SELECT COUNT_BIG(DISTINCT transaction_uow) DTCActiveTransactions
        FROM sys.dm_tran_active_transactions WITH (NOLOCK)
        WHERE name = 'DTC Transaction';
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>HADR</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>DistributedModules.001</PropertyName>
    <SelectQuery>
	SELECT
	CASE
		WHEN name like  '%msdtcprx.dll%' THEN 'msdtcprx'
		WHEN name like  '%sqljdbc_xa.dll%' THEN 'sqljdbc_xa'
		ELSE NULL
	END AS LoadedModules,
	COUNT(1) AS ModuleCount
        FROM sys.dm_os_loaded_modules WITH (NOLOCK)
        WHERE name like  '%msdtcprx.dll%'
	OR name like  '%sqljdbc_xa.dll%'
        GROUP BY
	CASE WHEN name like  '%msdtcprx.dll%' THEN 'msdtcprx'
		WHEN name like  '%sqljdbc_xa.dll%' THEN 'sqljdbc_xa'
		ELSE NULL
	END;
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
</PeriodicQueries><?xml version="1.0" encoding="utf-8"?>
<PeriodicQueries xmlns="http://tempuri.org/PeriodicQueries.xsd">
</PeriodicQueries><?xml version="1.0" encoding="utf-8"?>
<PeriodicQueries xmlns="http://tempuri.org/PeriodicQueries.xsd">
  <PeriodicQuery>
    <PropertyName>DBCompatibilityType</PropertyName>
    <SelectQuery>
      SELECT [Compatibility_Level], [Type], 1 as [CountDBCompatibilityType] FROM [$system].[DBSCHEMA_CATALOGS] Order by [Compatibility_Level]
    </SelectQuery>
    <Frequency>Day</Frequency>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ASInstanceDaily</PropertyName>
    <SelectQuery>
      XMLA:InstanceDay
    </SelectQuery>
    <Frequency>Day</Frequency>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>ASInstanceOnce</PropertyName>
    <SelectQuery>
      XMLA:InstanceOnce
    </SelectQuery>
    <Frequency>Day</Frequency>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>CurrentConnections</PropertyName>
    <SelectQuery>
      select 1 as [ConnectionCount] from [$SYSTEM].[DISCOVER_CONNECTIONS]
    </SelectQuery>
    <Frequency>Hour</Frequency>
  </PeriodicQuery>
</PeriodicQueries><?xml version="1.0" encoding="utf-8"?>
<PeriodicQueries xmlns="http://tempuri.org/PeriodicQueries.xsd">
	<PeriodicQuery>
		<PropertyName>SSISXeQuery</PropertyName>
		<SelectQuery>
			xequery
		</SelectQuery>
		<Frequency>Hour</Frequency>
	</PeriodicQuery>
</PeriodicQueries>�<?xml version="1.0" encoding="utf-8"?>
<PeriodicQueries xmlns="http://tempuri.org/PeriodicQueries.xsd">
	<PeriodicQuery>
		<PropertyName>XeQuery</PropertyName>
		<SelectQuery>
			xequery
		</SelectQuery>
		<Frequency>Hour</Frequency>
	</PeriodicQuery>
	<PeriodicQuery>
		<PropertyName>XeCollect</PropertyName>
		<SelectQuery>
			xecollect
		</SelectQuery>
		<Frequency>FiveMinute</Frequency>
	</PeriodicQuery>
</PeriodicQueries>��<?xml version="1.0" encoding="utf-8"?>
<XEvents xmlns="http://tempuri.org/XEventAggregations.xsd">
	<XEvent Package="sqlserver" Name="error_reported" Version="1" Category="Errors">
		<Predicate>severity &gt;= 16
or (error_number = 18456
    or error_number = 17803 or error_number = 701 or error_number = 802 or error_number = 8645 or error_number = 8651
    or error_number = 8657 or error_number = 8902 or error_number = 41354 or error_number = 41355 or error_number = 41367
    or error_number = 41384 or error_number = 41336 or error_number = 41309 or error_number = 41312 or error_number = 41313
    or error_number = 33065 or error_number = 33066)</Predicate>
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>error_number</Field>
					<Field>state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="missing_column_statistics" Version="1" Category="QDS">
		<Aggregates>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="missing_join_predicate" Version="1" Category="QDS">
		<Aggregates>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="server_memory_change" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>new_memory_size_mb</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_database_disable_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_database_enable_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_database_reauthorize_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_index_reconciliation_codegen_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="LAST" Field="message" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_remote_column_execution_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_remote_column_reconciliation_codegen_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_remote_index_execution_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_codegen_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="LAST" Field="message" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_alter_ddl" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_create_ddl" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_predicate_not_specified" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_predicate_specified" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_remote_creation_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_row_migration_results_event" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_row_unmigration_results_event" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_data_reconciliation_results_event" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_unprovision_completed" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_validation_error" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="LAST" Field="message" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_hinted_admin_update_event" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_hinted_admin_delete_event" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_table_query_error" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
					<Field>error_state</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_remote_error" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>error_number</Field>
					<Field>error_state</Field>
					<Field>stretch_operation_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="stretch_query_telemetry" Version="1" Category="Stretch DB">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>loop_joins</Field>
					<Field>hash_joins</Field>
					<Field>merge_joins</Field>
					<Field>not_stretched_tables</Field>
					<Field>stretched_tables</Field>
					<Field>stretch_remote_tables</Field>
					<Field>aggregates</Field>
					<Field>query_type</Field>
					<Field>elapsed_time</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="temporal_ddl_system_versioning" Version="1" Category="Temporal">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="temporal_dml_transaction_fail" Version="1" Category="Temporal">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="temporal_ddl_period_add" Version="1" Category="Temporal">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="temporal_ddl_period_drop" Version="1" Category="Temporal">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="temporal_ddl_schema_check_fail" Version="1" Category="Temporal">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="data_masking_ddl_column_definition" Version="1" Category="Data Masking">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="data_masking_traffic" Version="1" Category="Data Masking">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>component</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="data_masking_traffic_masked_only" Version="1" Category="Data Masking">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>component</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="data_classification_ddl_column_definition" Version="1" Category="Data Classification">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="data_classification_traffic" Version="1" Category="Data Classification">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="data_classification_auditing_traffic" Version="1" Category="Data Classification">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
  <XEvent Package="sqlserver" Name="feature_restriction_ddl" Version="1" Category="Feature Restrictions">
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
        </GroupingFields>
        <Aggregation Function="COUNT" Field="not_required_for_count" />
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="feature_restriction_usage" Version="1" Category="Feature Restrictions">
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
        </GroupingFields>
        <Aggregation Function="COUNT" Field="not_required_for_count" />
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="always_encrypted_query_count" Version="1" Category="Always Encrypted">
		<Aggregates>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="LAST" Field="message" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="rls_query_count" Version="1" Category="RLS">
		<Aggregates>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="LAST" Field="message" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="auto_stats" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="database_cmptlevel_change" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>previous_value</Field>
					<Field>new_value</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="database_created" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="database_dropped" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="reason_many_foreign_keys_operator_not_used" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>number_of_fk_tables</Field>
					<Field>reason_operator_not_used</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="interleaved_exec_status" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>operator_code</Field>
					<Field>event_type</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="table_variable_deferred_compilation" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>event_type</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="graph_match_query_compiled" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="approximate_count_distinct_query_compiled" Version="1" Category="SQL Engine Performance">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="login_protocol_count" Version="1" Category="Login">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>protocol</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="column_store_index_build_low_memory" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="column_store_index_build_throttle" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="columnstore_delete_buffer_flush_failed" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="columnstore_delta_rowgroup_closed" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="columnstore_index_reorg_failed" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>error_number</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="columnstore_log_exception" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="columnstore_rowgroup_merge_failed" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="columnstore_tuple_mover_delete_buffer_truncate_timed_out" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="columnstore_tuple_mover_end_compress" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="query_memory_grant_blocking" Version="1" Category="ColumnStore">
		<Aggregates>
			<Aggregate>
				<GroupingFields />
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="natively_compiled_module_inefficiency_detected" Version="1" Category="Inventory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>reason</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="natively_compiled_proc_slow_parameter_passing" Version="1" Category="Inventory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>reason</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="xtp_alter_table" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="xtp_db_delete_only_mode_updatedhktrimlsn" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="xtp_stgif_container_added" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="xtp_stgif_container_deleted" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="xtpcompile" Name="cl_duration" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>duration</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="xtpengine" Name="xtp_physical_db_restarted" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="xtpengine" Name="xtp_db_delete_only_mode_enter" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="xtpengine" Name="xtp_db_delete_only_mode_update" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="xtpengine" Name="xtp_db_delete_only_mode_exit" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="xtpengine" Name="parallel_alter_stats" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>elapsed_time_ms</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="xtpengine" Name="serial_alter_stats" Version="1" Category="InMemory">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>elapsed_time_ms</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="json_function_compiled" Version="1" Category="JSON">
		<Action>database_id</Action>
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>json_function_name</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="string_escape_compiled" Version="1" Category="JSON">
		<Action>database_id</Action>
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>escape_type</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="window_function_used" Version="1" Category="Window / Ranking Functions">
		<Action>database_id</Action>
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>execution_details</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="sequence_function_used" Version="1" Category="Window / Ranking Functions">
		<Action>database_id</Action>
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
					<Field>execution_details</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="qds" Name="query_store_db_diagnostics" Version="1" Category="QDS">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
		</Aggregates>
	</XEvent>
<!-- Index Build Telemetry Start -->
	<XEvent Package="sqlserver" Name="index_defragmentation" Version="1" Category="IndexBuild">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>online</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="online" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>index_type</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="index_type" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>index_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="index_id" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>partition_id</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="partition_id" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>kill_lock_option</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="kill_lock_option" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>max_duration</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="max_duration" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>resumable</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="resumable" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="MAX" Field="index_build_duration_sec" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="create_index_event" Version="1" Category="IndexBuild">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>index_type</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="index_type" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="MAX" Field="index_build_duration_sec" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>online</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="online" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>max_duration</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="max_duration" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>resumable</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="resumable" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>is_clustered</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="is_clustered" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="index_build_error_event" Version="1" Category="IndexBuild">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>error_number</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="MAX" Field="index_build_duration_sec" />
			</Aggregate>
		</Aggregates>
	</XEvent>
	<XEvent Package="sqlserver" Name="alter_column_event" Version="1" Category="IndexBuild">
		<Aggregates>
			<Aggregate>
				<GroupingFields>
					<Field>online</Field>
				</GroupingFields>
				<Aggregation Function="COUNT" Field="not_required_for_count" />
			</Aggregate>
			<Aggregate>
				<GroupingFields>
					<Field>database_id</Field>
				</GroupingFields>
				<Aggregation Function="MAX" Field="index_build_duration_sec" />
			</Aggregate>
		</Aggregates>
	</XEvent>
<!-- Index Build Telemetry End -->
  <XEvent Package="sqlserver" Name="cardinality_estimation_version_usage" Version="1" Category="Optimization">
    <Aggregates>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="default_ce_count" />
      </Aggregate>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="legacy_ce_from_queryhint_count" />
      </Aggregate>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="default_ce_from_queryhint_count" />
      </Aggregate>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="conflict_in_ce_request_count" />
      </Aggregate>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="legacy_ce_from_dbscopedconfig_count" />
      </Aggregate>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="legacy_ce_from_global_tf_count" />
      </Aggregate>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="legacy_ce_from_session_tf_count" />
      </Aggregate>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="ce_atleast120_from_global_tf_count" />
      </Aggregate>
      <Aggregate>
        <GroupingFields />
        <Aggregation Function="SUM" Field="ce_atleast120_from_session_tf_count" />
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="query_optimizer_compatibility_level_hint_usage" Version="1" Category="Optimization">
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>compat_level_hint_value</Field>
          <Field>current_db_compat_level</Field>
        </GroupingFields>
        <Aggregation Function="COUNT" Field="not_required_for_count" />
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="query_tsql_scalar_udf_inlined" Version="1" Category="SQL Engine Performance">
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
        </GroupingFields>
        <Aggregation Function="COUNT" Field="not_required_for_count" />
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="tsql_scalar_udf_not_inlineable" Version="1" Category="SQL Engine Performance">
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
          <Field>stmt_type</Field>
          <Field>blocked_reason</Field>
        </GroupingFields>
        <Aggregation Function="COUNT" Field="not_required_for_count" />
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="recovery_checkpoint_stats" Version="1" Category="SQL Engine Performance">
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
          <Field>dirty_page_mgr_config</Field>
          <Field>target_recovery_time_sec</Field>
        </GroupingFields>
        <Aggregation Function="MAX" Field="dplist_lock_backoffs_per_min" />
      </Aggregate>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
          <Field>dirty_page_mgr_config</Field>
          <Field>target_recovery_time_sec</Field>
        </GroupingFields>
        <Aggregation Function="MAX" Field="dplist_lock_collisions_per_min" />
      </Aggregate>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
          <Field>dirty_page_mgr_config</Field>
          <Field>target_recovery_time_sec</Field>
        </GroupingFields>
        <Aggregation Function="MAX" Field="dplist_lock_spins_per_collision" />
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="multistep_execution" Version="1" Category="SQL Engine Performance">
    <Action>database_id</Action>
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
          <Field>step_count</Field>
        </GroupingFields>
        <Aggregation Function="COUNT" Field="Not required for count."/>
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="fulltext_filter_usage" Version="1" Category="SQL Engine Performance">
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
          <Field>filter_type</Field>
        </GroupingFields>
        <Aggregation Function="SUM" Field="filter_count" />
      </Aggregate>
    </Aggregates>
  </XEvent>
  <XEvent Package="sqlserver" Name="tx_commit_abort_stats" Version="1" Category="Accelerated Database Recovery">
    <Aggregates>
      <Aggregate>
        <GroupingFields>
          <Field>database_id</Field>
          <Field>is_adr_enabled</Field>
          <Field>current_abort_count</Field>
          <Field>persisted_version_store_kb</Field>
        </GroupingFields>
        <Aggregation Function="MAX" Field="persisted_version_store_kb" />
      </Aggregate>
    </Aggregates>
  </XEvent>
</XEvents>
�<?xml version="1.0" encoding="utf-8"?>
<PeriodicQueries xmlns="http://tempuri.org/PeriodicQueries.xsd">
	<PeriodicQuery>
		<PropertyName>CloudService</PropertyName>
		<SelectQuery>
			cloudservice
		</SelectQuery>
		<Frequency>Day</Frequency>
    <Category>Inventory</Category>
	</PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>OsInfo</PropertyName>
    <SelectQuery>
      osinfo
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
  <PeriodicQuery>
    <PropertyName>RegistryKeys</PropertyName>
    <SelectQuery>
      registrykeys
    </SelectQuery>
    <Frequency>Day</Frequency>
    <Category>Inventory</Category>
  </PeriodicQuery>
</PeriodicQueries>����̨xA���@b���Fq
ެ�D�xj�!�eG��z݅O��a�`0�s�k���uhw�+dSdjN�tv��Ŝ\
C�VJ)���0�?���f��Ş�Ű�}t&N��=O	E-\nT���쀠��iRSDS�7�AA�v�����F:\dbs\sh\el1q\0415_151203\cmd\1p\obj\x64retail\sql\ntdbms\sqlceip\boxtelemetry.csproj\sqlceip.pdbD^ P_CorExeMainmscoree.dll�% @ �P�8��h�8� ��4VS_VERSION_INFO��zz?DVarFileInfo$Translation�StringFileInfo�000004b0�:CommentsThis tool collects and uploads telemetry from SQL Server.LCompanyNameMicrosoft Corporation`FileDescriptionSql Server Telemetry Client8FileVersion15.0.2170.18InternalNamesqlceip.exed LegalCopyrightMicrosoft. All rights reserved.�ILegalTrademarksMicrosoft SQL Server is a registered trademark of Microsoft Corporation.@OriginalFilenamesqlceip.exeJProductNameMicrosoft SQL Server<ProductVersion15.0.2170.1:	Assembly Version15.0.0.0H%�<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
        <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>p8((0�(	*�H��
��(
0�(10
	`�He0\
+�7�N0L0
+�70	���010
	`�He �ӧ��K-�~[Q��	��e+, ����IEڠ�
v0��0�ܠ3�^��Y/���0
	*�H��
0~10	UUS10U
Washington10URedmond10U
Microsoft Corporation1(0&UMicrosoft Code Signing PCA 20110
250619182137Z
260617182137Z0t10	UUS10U
Washington10URedmond10U
Microsoft Corporation10UMicrosoft Corporation0�"0
	*�H��
�0�
��JHur��R�۫�{��Hq�SA|Q8��E�kuA�x�Wg?o0�哸��?��?�>Z��SҦq�e���x�$W$-�^��B�(t��Q$"��>�.]� ��M�2B��Z�YH�uB-��d~��p��O��$�����,�}�@T'�VC�+JC����G�W��R��q��	��o�*�p���I�g�u�
�Ee5�'�	�����vY(�}j����5
l��ڞ	u|^P��Z�t�^;�N$W
rO��s0�o0U%0
+�7L+0U�&r �-�4iN��1jcNd��0EU>0<�:0810UMicrosoft Corporation10U
230012+5053590U#0�Hnd�Pӂ�77"�m��u�0TUM0K0I�G�E�Chttp://www.microsoft.com/pkiops/crl/MicCodSigPCA2011_2011-07-08.crl0a+U0S0Q+0�Ehttp://www.microsoft.com/pkiops/certs/MicCodSigPCA2011_2011-07-08.crt0U�00
	*�H��
�(�
v
.,Lv\�ꤴ@
�Y9�F+%�ڱF^�{rӁ�S�������ﷂ;ˆ���#/.
Ĵ�ٰ�������Tb��V��<W~���&E���>�-����������r��%��,_�5���4}E�_��ɲ���Aᠹ��~�*��Y���쭄!Ot.ލ��3;�𝥷\��|�~�wf\ϒ )B�]�{L����l�'.=NN�����g��	��|R
�������v�=
kނ���͆�)Yk|���1�Y�a�l�����@]5b�*WVYa$|�*�C	&����m�Z Y�֝h[Q#ȑ��F�鷥��	[�g2��1[�S�
�e[%��u����e'��t�a�]����*�.�x=9��Ml����D�K�f3�s|����<��I*>}��g�p�qC�����k�l�pvF���S��6'��3,�a�Cd��K�G�]mP����6L��M�L��G��L�I:���9��OC��8%Y0�z0�b�
a��0
	*�H��
0��10	UUS10U
Washington10URedmond10U
Microsoft Corporation1200U)Microsoft Root Certificate Authority 20110
110708205909Z
260708210909Z0~10	UUS10U
Washington10URedmond10U
Microsoft Corporation1(0&UMicrosoft Code Signing PCA 20110�"0
	*�H��
�0�
���r.��n��M4��X!�B*k�ZP��8I���7k���8™��9�1BӉ
yd�~�`$l��I��h^�ߛS�
,ï٩+�z	�זY�`�fv�2R&/�PϳD�]��.u�h��m�:\��F��8d�nd5x��c-�@����
�\y�I)�
��w��=��+ZMV(�zr�:�I^���C���{�{��>��]�O��/Y�;-�3Xŷ>�2ӳ=����8~ҝ�,�NV�!5%�9ndS���#������_��R������!t%_(��'(8%�9J6�|���#��f�aj�(I�_��%]�!K>RĵW?$��z[/�#�p]QFw��Ἤ�_����UK�9��#I��D|E��rz�r�$߿F����Wۃ��MI0�����[���ݰf��{���K�I)�(��}g��bx_�/��W�\�w((��m�(�,�@7O��D��	L�ԥC/t��n�x X,]`��>O3�ڰ�ޞN�F�l���ֈ����0��0	+�70UHnd�Pӂ�77"�m��u�0	+�7
SubCA0U�0U�0�0U#0�r-:1�C�N���1�#�40ZUS0Q0O�M�K�Ihttp://crl.microsoft.com/pki/crl/products/MicRooCerAut2011_2011_03_22.crl0^+R0P0N+0�Bhttp://www.microsoft.com/pki/certs/MicRooCerAut2011_2011_03_22.crt0��U ��0��0��	+�7.0��0?+3http://www.microsoft.com/pkiops/docs/primarycps.htm0@+042 Legal_policy_statement. 0
	*�H��
�g򆥘�Ty.��tg"���c��B�}�y��e_.,>��r�m���?�
�;�G���i�c�"5��]e��}�FPU��|�K�<B�Rа�k�>.)��=�Եw�9��d�D=xz#�}��t����&F*Š�����h�h.��*?*kXIc	inZ�����F+�;н5�n%��'������(��M=����2���-�[��I9
�
�ƭ�����QEX82q'��'��,: i��Y�hno��t�@�*(>�?Mf��M��o}E�v�@*e��]Rb��c6��������'�ͥ���]cA�[��>w��u�aa������A�(��e/��\��֡F�Y�	KH���)ű��?Ew5�Ң��zz"�H���G#�����k�K���ux��7�yK�ֳ#hu������i;��0�L���umc�=ѝVNO��W"�x2!z�A
�?��̤]����WqVNHE�Bɛv[
�Hk�y���mmj�Rs
zP�1�0�0��0~10	UUS10U
Washington10URedmond10U
Microsoft Corporation1(0&UMicrosoft Code Signing PCA 20113�^��Y/���0
	`�He���0	*�H��
	1
+�70
+�710
+�70/	*�H��
	1" kb�Ɵ�}�(��oZ/��.�Ycb0V"<�il�M0N
+�71@0>� �SQL Server 2019��http://www.microsoft.com0
	*�H��
��_�2MSю�=7�&e�p.7���3X��?�Iw�5�Mՙ{����� \h@/?>�����e���"�Jء�6�L�{�+�uR�>�e���=B�Dkv����3��-�'3%����H�Չmv�j7\%��b��U����o�ɸ�OuHX_�r�&$��S�P^�|7�f-���%�*6�Ɖ9IO�6b�~Ei���?m�Lxi�J���t���J�N���+$J���8g��M�&|�#�W��<���0��
+�71��0�|	*�H��
��m0�i10
	`�He0�R*�H��
	��A�=0�9
+�Y
010
	`�He �=�|#3��p ��7(���
1"�v�Hi�H��20260415223308.415Z0��Ѥ��0��10	UUS10U
Washington10URedmond10U
Microsoft Corporation1%0#UMicrosoft America Operations1'0%UnShield TSS ESN:7F00-05E0-D9471%0#UMicrosoft Time-Stamp Service���0� 0��3���n9o|I0
	*�H��
0|10	UUS10U
Washington10URedmond10U
Microsoft Corporation1&0$UMicrosoft Time-Stamp PCA 20100
260219193949Z
270517193949Z0��10	UUS10U
Washington10URedmond10U
Microsoft Corporation1%0#UMicrosoft America Operations1'0%UnShield TSS ESN:7F00-05E0-D9471%0#UMicrosoft Time-Stamp Service0�"0
	*�H��
�0�
���8�l<,G�^�:�^l�8mN�vj\�K�ѹ�d��sy$	
CӪ�s�\�~�׼��[�Z0���!*��'����
aY<���0��/��/�L��z�X�(,�X�-tW�=$߯HN�����]�X�H�uR�ne����{�kbEE]����j�ᐗ��oA����Me��i.Y��F��<�[�\Z܋��0��I9�9��S�>��t	���aċ�l�3�IԪ��+����&�U4�����o���.�5_oW&�?�4�:�k�O��f�+|!Y����*OBN5ƹ�;xLb=�(�]��b�6�-%�ԑJn�4S����2�����y
�;L�Y�1��R��A�=���.]���f�V�T�]�o]����v�m�]O(%5�uJ��*+P�����������GD�3�5^�R�N�����8���hZj���<9՝����Nv��&sE�_�Ut�d�1��b�(]�sFՉ�S�*�Kw,+3{�+V'�[>�����-��I0�E0U�
��	fb\.<���d0U#0���]^b]����e�S5�r0_UX0V0T�R�P�Nhttp://www.microsoft.com/pkiops/crl/Microsoft%20Time-Stamp%20PCA%202010(1).crl0l+`0^0\+0�Phttp://www.microsoft.com/pkiops/certs/Microsoft%20Time-Stamp%20PCA%202010(1).crt0U�00U%�0
+0U��0
	*�H��
����y6rU�p)�Ѣy9�ƶLX��2������`�O6�H�|&zS��}�t�o�I353
�O��H���
Ik�\@,�&Noq쪥CY3ױ�v5�ٕ8	�4k�2�j$��.6)1f�X��b��}+��<([�4}�0?L'-G�(�jTՔK�}n_G�$��5�S�dw��S8�����n����:-�t���xXZ��4�@�B���u8ۧw�߄�Tpu���~�jC��
��7(}\w��<�B`�PĴ����-�_y���>��E-I|��(-�}���x$�`B���ѣq�q���x�+*�:�p��mG������,����(:WFD�O0}
�Y$��^Ԋ>���I���5u1Z�y��)nw�
���d'�:2��7|(�|B>�%��N#����Yơ�\_���͑8�ߘ�vw�/�}E*^��@ʋj%!f����q��j�W�Uv�b[4��,�C�i\��k��M�����Z�0���!��6��0�q0�Y�3��k��I�0
	*�H��
0��10	UUS10U
Washington10URedmond10U
Microsoft Corporation1200U)Microsoft Root Certificate Authority 20100
210930182225Z
300930183225Z0|10	UUS10U
Washington10URedmond10U
Microsoft Corporation1&0$UMicrosoft Time-Stamp PCA 20100�"0
	*�H��
�0�
���L�r!y���$y�Ղ��ҩlNu��5W�lJ�⽹>`3�\O�f��SqZ�~JZ��6g�F#���w2��`}jR�D���Fk��v��P�D�q\Q17�
8n����&S|9azĪ�ri����6�5&dژ;�{3��[~��R���b%�j�]�S���VM�ݼ��㑏�9,Q��pi
�6-p�1�5(�㴇$��ɏ~�T��U�mh;�F��z)7���E�Fn�2��0\O,�b�͹⍈䖬J��q�[g`���=� �s}A�Fu��_4���� }~�ٞE߶r/�}_��۪~6�6L�+n�Q���s�M7t�4���G��|?Lۯ^����s=CN�39L��Bh.�QF�ѽjZas�g�^�(v�3rק ��
�co�6d�[���!]_0t���عP��a�65�G������k�\RQ]�%��Pzl�r�Rą��<�7�?x�E���^ڏ�riƮ{��>j�.����0��0	+�70#	+�7*�R�dĚ���<F5)��/�0U��]^b]����e�S5�r0\U U0S0Q+�7L�}0A0?+3http://www.microsoft.com/pkiops/Docs/Repository.htm0U%0
+0	+�7
SubCA0U�0U�0�0U#0��Vˏ�\bh�=��[�Κ�0VUO0M0K�I�G�Ehttp://crl.microsoft.com/pki/crl/products/MicRooCerAut_2010-06-23.crl0Z+N0L0J+0�>http://www.microsoft.com/pki/certs/MicRooCerAut_2010-06-23.crt0
	*�H��
��U}�*��,g1$[�rK��o�\�>NGdx���=13�9��q6?�dl|�u9m�1��lѡ�"��fg:SMݘ��x�6.���V����i�	�{�jo�)�n�?Hu��m��m#T�xSu$W�ݟ�=��h�e��V����(U'�$�@���]='�@�8���)�ü�T�B�������j�BRu�6��as.,k{n?,	x鑲�[�I�t�쑀�=�J>f;O���2ٖ����t��Lro�u0�4�z�P�
X�@<�Tm�ctH,�NG-�q�d�$�smʎ	��WITd�s�[D�Z�k
��(�g($�8K�n�!TkjEG����^O���Lv�WT	�iD~|�als�
��Af=i��AI~~���;����>�1Q������{��p���(��6ںL���
�4�$5g+�
�挙��"��'B=%��tt[jў>�~�13}���{�8pDѐ�ȫ:�:b�pcSM��m��qj�U3X��pf�M0�50����Ѥ��0��10	UUS10U
Washington10URedmond10U
Microsoft Corporation1%0#UMicrosoft America Operations1'0%UnShield TSS ESN:7F00-05E0-D9471%0#UMicrosoft Time-Stamp Service�#
0+��d(2�R�=�j������0���~0|10	UUS10U
Washington10URedmond10U
Microsoft Corporation1&0$UMicrosoft Time-Stamp PCA 20100
	*�H��
��0"20260415212133Z20260416212133Z0t0:
+�Y
1,0*0
��0 =0l0
��]06
+�Y
1(0&0
+�Y
�
0� �
0��0
	*�H��
���ۅ�􎝪�R����nb�_i�e�uȡ������߁�
[
/w�P�/�H�Q�z/�6-U�9K��.玅$4o�
[A6�M&
{K�zo���ٛ��7�A��#�<@�Q���%�Ľ-'@-�V�&N;�BI�������Ͼ8$Eo�a�H��
���a��'*=U��P���~xT��2�u6;U�CF/IA���%�c�g������y��#j���體'X�M��Д�8��PM����.�lk_�M�1�
0�	0��0|10	UUS10U
Washington10URedmond10U
Microsoft Corporation1&0$UMicrosoft Time-Stamp PCA 20103���n9o|I0
	`�He��J0	*�H��
	1
*�H��
	0/	*�H��
	1" [z��HD���ٚ�c_�BQ��C6Cbww��0��*�H��
	/1��0��0��0�� /�]j�������u����2#
��0��0���~0|10	UUS10U
Washington10URedmond10U
Microsoft Corporation1&0$UMicrosoft Time-Stamp PCA 20103���n9o|I0" :��H4���Z0�2�ɮ1ޘW}�ݕI��16]#�0
	*�H��
�C]�X�ut�ϳ���x��/쌭J+	����V��9�]O)%���
q]KL]�uK]�)PŹ��{?7��Z����ule�u��U� �d�$ۉ6�'���]�Id')���
!C���#S��4&~Ρ�C�Kdy�|v�ė �����i�W�Ï,���}wM2�����${7��D8�E��$x��W�F&��O.��%N��U�eKh�⾵I.j����S]�e�~��s9�����0&�
�e�35o\J�~.JV��B�Iؖ:�^�5D�2��Jkf�;/��>��xv�}����exv�Yڍ5WY��34/�E�fb��,ϕͼ�V�3�Y�GQۓo�^�r����)�Ѹ��kQK�rJ�Z8��pŵ߰�Rϱ!���/o�t�����'y��|`��(M�x�F|/���`�]9�%:�ɵ��qU�#��"�'�r����ڴ��Y~��\e�u� �W#a~�B���=G��r~���,d��]�s�ǂ�Z��yG

Youez - 2016 - github.com/yon3zu
LinuXploit