-
Notifications
You must be signed in to change notification settings - Fork 6
/
choke-points.tex
185 lines (150 loc) · 6.69 KB
/
choke-points.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
\chapter{Choke Points}
\label{sec:choke-points}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\tpcCard}[1]{\colorbox{lightgray}{\tt TPC-H #1}}
\newcommand{\tpcCPSection}[4][]{%
\subsection*{%
CP-#2: [#3] #4%
\ifthenelse{\equal{#1}{}}{}{\hfill \tpcCard{#1}}%
}%
\label{choke_point_#2}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\snbCPSection}[4][]{%
\subsection*{%
CP-#2: [#3] #4%
{\hfill {\colorbox{lightgray}{\tt From SNB}}}%
}%
\label{choke_point_#2}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\newCPSection}[4][]{%
\subsection*{%
CP-#2: [#3] #4%
{\hfill {\colorbox{lightgray}{\tt New in FinBench}}}%
}%
\label{choke_point_#2}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{Introduction}
An interesting benchmark should be designed with representative read-world
scenarios and also chokepoints embedded in the deeper technical level.
Chokepoints capture particularly challenging aspects of queries. The
correlations between chokepoints and read queries are displayed in
\autoref{tab:query_choke_point}. To help understand the following chokepoints,
there are some annotations.
\begin{itemize}
\item The capital abbreviations are short for the aspects the chokepoints
affect. \begin{itemize}
\item \emph{QOPT}: Those aimed at testing aspects of the query
optimizer.
\item \emph{QEXE}: Those aimed at testing aspects of the execution
engine.
\item \emph{STORAGE}: Those aimed at testing aspects of the
storage system.
\item \emph{LANG}: Those aimed at testing aspects of the
expression capability of DSL.
\item \emph{UPD}: Those aimed at testing aspects of the update
operation performance.
\end{itemize}
\item The gray boxes in the top right corner annotate the source of the
chokepoints. \begin{itemize}
\item \colorbox{lightgray}{\emph{TPC-H}} means the chokepoint is
from the paper \emph{TPC-H
Analyzed}~\cite{DBLP:conf/tpctc/BonczNE13}. You can refer to
the paper for the chokepoint details.
\item \colorbox{lightgray}{\emph{From SNB}} means the chokepoint
refers to the ones in LDBC SNB~\cite{ldbc_snb_docs}.
\item \colorbox{lightgray}{\emph{New in FinBench}} means the
chokepoint is summarized newly from FinBench.
\end{itemize}
\end{itemize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{
\setlength{\tabcolsep}{.05em}
\input{choke-points/choke-points-queries}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Aggregation Performance}
\input{choke-points/cp-1-1}
\input{choke-points/cp-1-2}
\input{choke-points/cp-1-3}
\input{choke-points/cp-1-4}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Join Performance}
\input{choke-points/cp-2-1}
\input{choke-points/cp-2-2}
\input{choke-points/cp-2-3}
\input{choke-points/cp-2-4}
\input{choke-points/cp-2-5}
\input{choke-points/cp-2-6}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Data Access Locality}
\input{choke-points/cp-3-1}
\input{choke-points/cp-3-2}
\input{choke-points/cp-3-3}
\input{choke-points/cp-3-4}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Expression Calculation}
\input{choke-points/cp-4-1}
\input{choke-points/cp-4-2}
\input{choke-points/cp-4-3}
% \input{choke-points/cp-4-4} % currently not used
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Correlated Sub-Queries}
\input{choke-points/cp-5-1}
\input{choke-points/cp-5-2}
\input{choke-points/cp-5-3}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Parallelism and Concurrency}
\input{choke-points/cp-6-1}
\input{choke-points/cp-6-2}
\input{choke-points/cp-6-3}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Graph Specifics}
\input{choke-points/cp-7-1}
\input{choke-points/cp-7-2}
\input{choke-points/cp-7-3}
\input{choke-points/cp-7-4}
\input{choke-points/cp-7-5}
\input{choke-points/cp-7-6}
\input{choke-points/cp-7-7}
\input{choke-points/cp-7-8}
\input{choke-points/cp-7-9}
\input{choke-points/cp-7-10}
\input{choke-points/cp-7-11}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Language Features}
\input{choke-points/cp-8-1}
\input{choke-points/cp-8-2}
\input{choke-points/cp-8-3}
\input{choke-points/cp-8-4}
\input{choke-points/cp-8-5}
\input{choke-points/cp-8-6}
\input{choke-points/cp-8-7}
\input{choke-points/cp-8-8}
\input{choke-points/cp-8-9}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Update Operations}
\input{choke-points/cp-9-1}
\input{choke-points/cp-9-2}
\input{choke-points/cp-9-3}
\input{choke-points/cp-9-4}
\input{choke-points/cp-9-5}