summaryrefslogtreecommitdiff
path: root/design/database.tex
diff options
context:
space:
mode:
authordeva <deva>2007-09-03 09:14:09 +0000
committerdeva <deva>2007-09-03 09:14:09 +0000
commitf49186b63888caedd5e0dad4a52a680fb28834a4 (patch)
tree694915bf85ecf9cded539aacb7606ea003f26a22 /design/database.tex
parenta34402b79b38624a29ed8ea4e059af817266e6b8 (diff)
Added new XML format.
Diffstat (limited to 'design/database.tex')
-rw-r--r--design/database.tex25
1 files changed, 25 insertions, 0 deletions
diff --git a/design/database.tex b/design/database.tex
new file mode 100644
index 0000000..0375202
--- /dev/null
+++ b/design/database.tex
@@ -0,0 +1,25 @@
+\section{Database layout}
+\begin{figure}
+\begin{center}
+\includegraphics[width=120mm]{database.eps}\\
+\end{center}
+\label{database}
+\caption{Databasens indhold og et foreslået tabel design.}
+\end{figure}
+\begin{verbatim}
+Database designformål:
+- Hurtig skrivning af en transaktion.
+- Hurtig genfinding af en tidligere skrevet transaktion.
+- Robusthed overfor ændringer i makroers layout.
+- Gode muligheder for at lave statistik udtræk.
+
+Estimat af datastørrelser:
+200 patienter pr. dag.
+10 fields pr. patient.
+----
+2000 fields + 200 headere = 2200 entries i databasen pr. dag.
+
+Hvis en entry i gennemsnit består af 200 tegn er det
+2200 * 200 = 440000 bytes/dag.
+eller 153.16Mbytes/år
+\end{verbatim}