-
Notifications
You must be signed in to change notification settings - Fork 14
/
update-operations.tex
30 lines (21 loc) · 1.06 KB
/
update-operations.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
\chapter{Update operations}
\label{sec:update-operations}
This chapter contains the specifications of the Insert and Delete operations in the SNB suite. Inserts are used in the BI workload as well as the Interactive v1 and v2 workloads. Deletes are only used in the \interactivevtwo and BI workloads.
\section{Insert Operations}
\label{sec:insert-operations}
Each insert operations creates
\begin{enumerate}
\item either a single node of a certain type, along with its edges to other existing nodes
\item or a single edge of a certain type between two existing nodes.
\end{enumerate}
In \interactivevone, these operations were called ``updates''.
In \interactivevtwo, they are called ``inserts''.
\input{inserts}
\section{Delete Operations}
\label{sec:delete-operations}
Each delete operation removes
\begin{enumerate}
\item a single edge between two existing nodes
\item or a node, all its edges and, in certain cases, nodes and edges that are transitively reachable on a certain path (thus performing a cascading delete).
\end{enumerate}
\input{deletes}