[80] | 1 | %% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/.
|
---|
| 2 | %% Do not edit unless you really know what you are doing.
|
---|
| 3 | \documentclass[english]{beamer}
|
---|
| 4 | \usepackage{mathptmx}
|
---|
| 5 | \usepackage[T1]{fontenc}
|
---|
| 6 | \usepackage[latin9]{inputenc}
|
---|
| 7 | \usepackage{amsmath}
|
---|
| 8 | \usepackage{graphicx}
|
---|
| 9 | \usepackage{amssymb}
|
---|
| 10 |
|
---|
| 11 | \makeatletter
|
---|
| 12 |
|
---|
| 13 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
|
---|
| 14 | \DeclareRobustCommand*{\lyxarrow}{%
|
---|
| 15 | \@ifstar
|
---|
| 16 | {\leavevmode\,$\triangleleft$\,\allowbreak}
|
---|
| 17 | {\leavevmode\,$\triangleright$\,\allowbreak}}
|
---|
| 18 | %% Because html converters don't know tabularnewline
|
---|
| 19 | \providecommand{\tabularnewline}{\\}
|
---|
| 20 |
|
---|
| 21 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
|
---|
| 22 | % this default might be overridden by plain title style
|
---|
| 23 | \newcommand\makebeamertitle{\frame{\maketitle}}%
|
---|
| 24 | \AtBeginDocument{
|
---|
| 25 | \let\origtableofcontents=\tableofcontents
|
---|
| 26 | \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
|
---|
| 27 | \def\gobbletableofcontents#1{\origtableofcontents}
|
---|
| 28 | }
|
---|
| 29 | \makeatletter
|
---|
| 30 | \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
|
---|
| 31 | \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
|
---|
| 32 | \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
|
---|
| 33 | \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
|
---|
| 34 | \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
|
---|
| 35 | \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
|
---|
| 36 | \frame<#1>[#2][#3]{\frametitle{#4}#5}}
|
---|
| 37 | \makeatother
|
---|
| 38 | \def\lyxframeend{} % In case there is a superfluous frame end
|
---|
| 39 |
|
---|
| 40 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
|
---|
| 41 | \usetheme{Warsaw}
|
---|
| 42 | % or ...
|
---|
| 43 |
|
---|
| 44 | \setbeamercovered{transparent}
|
---|
| 45 | % or whatever (possibly just delete it)
|
---|
| 46 |
|
---|
| 47 | \makeatother
|
---|
| 48 |
|
---|
| 49 | \usepackage{babel}
|
---|
| 50 |
|
---|
| 51 | \begin{document}
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 |
|
---|
| 56 |
|
---|
| 57 | \title[Architectural optimizations in databases]{Architectural optimizations in databases}
|
---|
| 58 |
|
---|
| 59 |
|
---|
[83] | 60 | \subtitle{Data Morphing: An Adaptive, Cache-Conscious Storage Technique}
|
---|
[80] | 61 |
|
---|
| 62 |
|
---|
[82] | 63 | \author[Rick van der Zwet <hvdzwet@liacs.nl>]{Rick van der Zwet }
|
---|
[80] | 64 |
|
---|
| 65 |
|
---|
| 66 | \institute{LIACS - Leiden University}
|
---|
| 67 |
|
---|
| 68 |
|
---|
[83] | 69 | \date[ACA2010]{Advanced Compilers and Architectures, 2010}
|
---|
[80] | 70 |
|
---|
| 71 | \makebeamertitle
|
---|
| 72 |
|
---|
| 73 |
|
---|
| 74 | \pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename}
|
---|
| 75 |
|
---|
| 76 | \logo{\pgfuseimage{institution-logo}}
|
---|
| 77 |
|
---|
| 78 |
|
---|
| 79 |
|
---|
| 80 |
|
---|
| 81 |
|
---|
| 82 | %\beamerdefaultoverlayspecification{<+->}
|
---|
| 83 |
|
---|
| 84 |
|
---|
| 85 | \lyxframeend{}\lyxframe{Outline}
|
---|
| 86 |
|
---|
| 87 | \tableofcontents{}
|
---|
| 88 |
|
---|
| 89 |
|
---|
| 90 |
|
---|
| 91 |
|
---|
| 92 | \lyxframeend{}\section{Data Morphing}
|
---|
| 93 |
|
---|
| 94 |
|
---|
| 95 | \lyxframeend{}\subsection[Basic Problem]{The Basic Problem That We Studied}
|
---|
| 96 |
|
---|
| 97 |
|
---|
| 98 | \lyxframeend{}\lyxframe{Database Storage Methods.}
|
---|
| 99 |
|
---|
| 100 |
|
---|
| 101 | \framesubtitle{The Order Matters}
|
---|
| 102 | \begin{itemize}
|
---|
[83] | 103 | \item Traditional Row Based, Space Oriented Storage
|
---|
[80] | 104 | \item Column based, New Trend. Search Oriented Storage.
|
---|
| 105 | \item Both has advantages and disadvantages
|
---|
| 106 | \end{itemize}
|
---|
| 107 |
|
---|
| 108 | \lyxframeend{}\lyxframe{Row Based Storage.}
|
---|
| 109 | \begin{itemize}
|
---|
| 110 | \item Focused on keeping data of a related entry close to each other
|
---|
| 111 | \item Common implementation N-ary storage model
|
---|
| 112 | \item \begin{tabular}{|c|c|c|}
|
---|
| 113 | \hline
|
---|
| 114 | 1 & 2 & 3\tabularnewline
|
---|
| 115 | \hline
|
---|
| 116 | \hline
|
---|
| 117 | 4 & 5 & 6\tabularnewline
|
---|
| 118 | \hline
|
---|
| 119 | \end{tabular}
|
---|
| 120 | \end{itemize}
|
---|
| 121 |
|
---|
| 122 | \lyxframeend{}\lyxframe{Row Based Storage Engine.}
|
---|
| 123 |
|
---|
| 124 | \includegraphics[width=11cm]{system_arch}
|
---|
| 125 |
|
---|
| 126 |
|
---|
| 127 | \lyxframeend{}\lyxframe{Column Based Storage}
|
---|
| 128 | \begin{itemize}
|
---|
| 129 | \item Focused on allowing fast search on attributes
|
---|
| 130 | \item PAX storage model used.
|
---|
| 131 | \item \begin{tabular}{|c|c|c|}
|
---|
| 132 | \hline
|
---|
| 133 | 1 & 3 & 5\tabularnewline
|
---|
| 134 | \hline
|
---|
| 135 | \hline
|
---|
| 136 | 2 & 4 & 6\tabularnewline
|
---|
| 137 | \hline
|
---|
| 138 | \end{tabular}
|
---|
| 139 | \end{itemize}
|
---|
| 140 |
|
---|
[83] | 141 | \lyxframeend{}\subsection{The Approach}
|
---|
[80] | 142 |
|
---|
| 143 |
|
---|
| 144 | \lyxframeend{}\lyxframe{Definitions}
|
---|
| 145 | \begin{itemize}
|
---|
[83] | 146 | \item \emph{group: }Set of attributes that are writing to consecutive memory
|
---|
[80] | 147 | addresses
|
---|
| 148 | \item \emph{partition: }Set of groups that uniquely defines the position
|
---|
[83] | 149 | of every attribute in a relation
|
---|
[80] | 150 | \item \emph{zone: }Area of a page where all instances of a particular group
|
---|
| 151 | are written
|
---|
[83] | 152 | \item \emph{zone-record: }defines a instance of the attributed in a particular
|
---|
[80] | 153 | group
|
---|
| 154 | \end{itemize}
|
---|
| 155 |
|
---|
[83] | 156 | \lyxframeend{}\lyxframe{The Algorithm}
|
---|
[80] | 157 | \begin{enumerate}
|
---|
[83] | 158 | \item Calculating cache-efficient storage template.
|
---|
| 159 | \item Re-organizing the data into a cache-efficient organization.
|
---|
[80] | 160 |
|
---|
| 161 | \begin{enumerate}
|
---|
| 162 | \item Static evaluation, based on heuristics
|
---|
| 163 | \item Dynamic restructuring based a request recognition.
|
---|
| 164 | \end{enumerate}
|
---|
| 165 | \end{enumerate}
|
---|
| 166 |
|
---|
| 167 | \lyxframeend{}\section{Results}
|
---|
| 168 |
|
---|
| 169 |
|
---|
| 170 | \lyxframeend{}\subsection{Main Results}
|
---|
| 171 |
|
---|
| 172 |
|
---|
| 173 | \lyxframeend{}\lyxframe{Conclusions and Future Work }
|
---|
| 174 | \begin{itemize}
|
---|
[83] | 175 | \item Speed-up made, but only on specific well-defined data-sets.
|
---|
| 176 | \item Finding a general optimization algorithm is hard.
|
---|
[80] | 177 | \item Experiments did only cover memory based databases.
|
---|
| 178 | \end{itemize}
|
---|
| 179 |
|
---|
| 180 | \lyxframeend{}\section*{Summary}
|
---|
| 181 |
|
---|
| 182 |
|
---|
| 183 | \lyxframeend{}\lyxframe{Summary}
|
---|
| 184 | \begin{itemize}
|
---|
| 185 | \item Data Morphing is a Promising Method.
|
---|
| 186 | \item Combining both Row Based Storage and Column Based Storage could lead
|
---|
| 187 | to nice speeds-up.
|
---|
| 188 | \item Depending which method to choose how-ever is really hard.
|
---|
| 189 | \end{itemize}
|
---|
| 190 |
|
---|
| 191 |
|
---|
| 192 | \vskip0pt plus.5fill
|
---|
| 193 | \begin{itemize}
|
---|
| 194 | \item Outlook
|
---|
| 195 |
|
---|
| 196 | \begin{itemize}
|
---|
| 197 | \item Make it scale so it also take the variable 'disk access' into count.
|
---|
| 198 | \item Build a framework to allow easy and proper testing for various combinations.
|
---|
| 199 | \end{itemize}
|
---|
| 200 | \end{itemize}
|
---|
| 201 |
|
---|
| 202 | \lyxframeend{}
|
---|
| 203 |
|
---|
| 204 | \appendix
|
---|
| 205 |
|
---|
| 206 | \lyxframeend{}\section*{Appendix}
|
---|
| 207 |
|
---|
| 208 |
|
---|
| 209 | \lyxframeend{}\subsection*{For Further Reading}
|
---|
| 210 |
|
---|
| 211 |
|
---|
| 212 | \lyxframeend{}\lyxframe{[allowframebreaks]For Further Reading}
|
---|
| 213 |
|
---|
| 214 | \beamertemplatebookbibitems
|
---|
| 215 | \begin{thebibliography}{1}
|
---|
| 216 | \bibitem{DM2003}Richard A. Hankins\newblock\emph{Data Morphing:
|
---|
| 217 | An Adaptive, Cache-Conscious Storage Technique}\newblock Proceedings
|
---|
| 218 | of the 29th VLDB Conference, Berlin, Germany, 2003.\beamertemplatearticlebibitems
|
---|
| 219 |
|
---|
| 220 | \end{thebibliography}
|
---|
| 221 |
|
---|
| 222 | \lyxframeend{}
|
---|
| 223 | \end{document}
|
---|