diff --git a/chapters/thesis/chapter01.tex b/chapters/thesis/chapter01.tex new file mode 100644 index 0000000..c9842c3 --- /dev/null +++ b/chapters/thesis/chapter01.tex @@ -0,0 +1,4 @@ + +\chapter{Einleitung} +\label{ch:intro} + diff --git a/chapters/thesis/chapter02.tex b/chapters/thesis/chapter02.tex new file mode 100644 index 0000000..e8e7e6e --- /dev/null +++ b/chapters/thesis/chapter02.tex @@ -0,0 +1,3 @@ + +\chapter{Grundlagen} +\label{ch:intro} \ No newline at end of file diff --git a/chapters/thesis/chapter03.tex b/chapters/thesis/chapter03.tex new file mode 100644 index 0000000..a056252 --- /dev/null +++ b/chapters/thesis/chapter03.tex @@ -0,0 +1,13 @@ + +\chapter{Konzept} +\label{ch:concept} + +\section{Aufbau der Umfrage} + +\section{Allgemeine Betrachtung des Systems} + +\section{Das Vorgehen der Optimierung} + +\section{Aktueller Aufbau der Software} + +\section{Vergleich mit anderen Technologien} diff --git a/chapters/thesis/chapter04.tex b/chapters/thesis/chapter04.tex new file mode 100644 index 0000000..e3c4f6c --- /dev/null +++ b/chapters/thesis/chapter04.tex @@ -0,0 +1,11 @@ + +\chapter{Performance-Untersuchung} +\label{ch:performance-checking} + +\section{Auswertung der Umfrage} + +\section{Einbau und Aktivieren von Performance-Messung} + +\section{Statistiken im PostrgreSQL auswerten} + +\section{Überprüfung des PostgreSQL und Servers} diff --git a/chapters/thesis/chapter05.tex b/chapters/thesis/chapter05.tex new file mode 100644 index 0000000..e1f2000 --- /dev/null +++ b/chapters/thesis/chapter05.tex @@ -0,0 +1,15 @@ + +\chapter{Optimierung} +\label{ch:optimizing} + +\section{Ermittlung der Performance-Probleme} + +\section{Analyse der Abfrage} + +\section{Optimierungen der Abfragen} + +\section{Anpassung der Konfiguration} + +und hier ein sql-beispiel \autoref{lst:tester} +\includecode[SQL]{chapters/thesis/chapter05_example.sql}{lst:tester}{ein sql beispiel} + diff --git a/chapters/thesis/chapter05_example.sql b/chapters/thesis/chapter05_example.sql new file mode 100644 index 0000000..83f8eb1 --- /dev/null +++ b/chapters/thesis/chapter05_example.sql @@ -0,0 +1,3 @@ +select * +from tblCPDataX +where szName = N'EDA01' \ No newline at end of file diff --git a/chapters/thesis/chapter06.tex b/chapters/thesis/chapter06.tex new file mode 100644 index 0000000..feebbbe --- /dev/null +++ b/chapters/thesis/chapter06.tex @@ -0,0 +1,11 @@ + +\chapter{Evaluierung} +\label{ch:evaluation} + +\section{Befragung der Benutzer und Entwickler} + +\section{Erneute Laufzeitanalyse starten} + +\section{Statistiken im PostgreSQL auswerten} + +\section{Vergleich der Ergebnisse vor und nach der Optimierung} diff --git a/chapters/thesis/chapter07.tex b/chapters/thesis/chapter07.tex new file mode 100644 index 0000000..995015b --- /dev/null +++ b/chapters/thesis/chapter07.tex @@ -0,0 +1,3 @@ + +\chapter{Zusammenfassung und Ausblick} +\label{ch:summary_and_outlook} diff --git a/thesis.pdf b/thesis.pdf index 7f8a0b9..43244a0 100644 Binary files a/thesis.pdf and b/thesis.pdf differ diff --git a/thesis.tex b/thesis.tex index 749160e..d6869b0 100644 --- a/thesis.tex +++ b/thesis.tex @@ -1,33 +1,3 @@ -%************************************************************************* -% A Classic Thesis Style -% An Homage to The Elements of Typographic Style -% -% Copyright (C) 2017 André Miede and Ivo Pletikosić -% -% If you like the style then I would appreciate a postcard. My address -% can be found in the file ClassicThesis.pdf. A collection of the -% postcards I received so far is available online at -% http://postcards.miede.de -% -% License: -% This program is free software; you can redistribute it and/or modify -% it under the terms of the GNU General Public License as published by -% the Free Software Foundation; either version 2 of the License, or -% (at your option) any later version. -% -% This program is distributed in the hope that it will be useful, -% but WITHOUT ANY WARRANTY; without even the implied warranty of -% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -% GNU General Public License for more details. -% -% You should have received a copy of the GNU General Public License -% along with this program; see the file COPYING. If not, write to -% the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -% Boston, MA 02111-1307, USA. -% -% PLEASE SEE ALSO THE AUTHORS' NOTE REGARDING THIS LICENSE -% IN THE DOCUMENTATION (ClassicThesis.pdf --> Chapter 1 / Chapter01.tex) -%************************************************************************* \RequirePackage{silence} % :-\ \WarningFilter{scrreprt}{Usage of package `titlesec'} %\WarningFilter{scrreprt}{Activating an ugly workaround} @@ -41,18 +11,31 @@ %************************************************************************* % Note: Make all your adjustments in here %************************************************************************* -\input{fernuni-hagen-thesis-config} +\input{marco-galster-config} \input{classicthesis-config} +\renewcommand{\myThesisType}{Bachelorarbeit\xspace} +\renewcommand{\myTime}{01. Januar 2024\xspace} +\renewcommand{\myVersion}{version 1.0\xspace} + +% https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings +%\lstinputlisting[frame=tb,language=SQL,caption={ein sql beispiel},label=lst:tester]{chapters/thesis/chapter05_example.sql} +\newcommand{\includecode}[4][c]{\lstinputlisting[caption=#4,frame=tb,label=#3,language=#1]{#2}} +% Beispiel für externe Datei: +%\includecode[SQL]{chapters/thesis/chapter05_example.sql}{lst:tester}{ein sql beispiel} +% Beispiel für direkte Eingabe: +%\begin{lstlisting}[float=b,language=Pascal,frame=tb,caption={A floating example (\texttt{listings} manual)},label=lst:useless] +% for i:=maxint downto 0 do +% begin +% { do nothing or other things } +% end; +%\end{lstlisting} + %************************************************************************* % Bibliographies %************************************************************************* -\addbibresource{bibliography.bib} +\addbibresource{Expose-ref.bib} -%************************************************************************* -% Hyphenation -%************************************************************************* -%\hyphenation{put special hyphenation here} %************************************************************************* % GO!GO!GO! MOVE IT! @@ -74,15 +57,15 @@ %\cleardoublepage\include{frontbackmatter/Foreword} \cleardoublepage\include{frontbackmatter/Declaration} \condLOCK{\cleardoublepage\include{frontbackmatter/BlockingNotice}} -\cleardoublepage\include{frontbackmatter/AbstractEN} -\cleardoublepage\include{frontbackmatter/AbstractDE} +%%\cleardoublepage\include{frontbackmatter/AbstractEN} +%%\cleardoublepage\include{frontbackmatter/AbstractDE} %\cleardoublepage\include{frontbackmatter/Publications} %\cleardoublepage\include{frontbackmatter/Acknowledgments} \cleardoublepage\include{frontbackmatter/Contents} \cleardoublepage\include{frontbackmatter/Figures} -\cleardoublepage\include{frontbackmatter/Tables} +%\cleardoublepage\include{frontbackmatter/Tables} \cleardoublepage\include{frontbackmatter/Listings} -\cleardoublepage\include{frontbackmatter/Acronyms} +%\cleardoublepage\include{frontbackmatter/Acronyms} %************************************************************************* % Mainmatter %************************************************************************* @@ -92,18 +75,22 @@ % Alwas use \cleardoublepage before \part{...}. \cleardoublepage %\part{Thesis}\label{pt:thesis} -\include{chapters/examples/chapter01} -\include{chapters/examples/chapter02} -\include{chapters/examples/chapter03} +\include{chapters/thesis/chapter01} +\include{chapters/thesis/chapter02} +\include{chapters/thesis/chapter03} +\include{chapters/thesis/chapter04} +\include{chapters/thesis/chapter05} +\include{chapters/thesis/chapter06} +\include{chapters/thesis/chapter07} %************************************************************************* % Backmatter %************************************************************************* \appendix %\renewcommand{\thechapter}{\alph{chapter}} \cleardoublepage -\part{Appendix} -\include{chapters/examples/appendix01} -\include{chapters/examples/appendix02} +%\part{Appendix} +%\include{chapters/examples/appendix01} +%\include{chapters/examples/appendix02} %************************************************************************* % Other Stuff in the Back %************************************************************************* @@ -113,3 +100,15 @@ %************************************************************************* \end{document} %************************************************************************* + +% Performance-Analysen Postgresql: +% https://stackoverflow.com/questions/2430380/is-there-a-postgresql-equivalent-of-sql-server-profiler +% https://www.postgresql.org/docs/current/runtime-config-logging.html#guc-log-statement + +% Allgemeine Webseite: +% https://www.overleaf.com/learn/latex/Bibliography_management_with_natbib +% https://postgrespro.com/docs/postgresql/14/runtime-config-resource + +% Frank Wedekind: +% https://books.google.de/books?hl=de&lr=&id=3qO8DQAAQBAJ&oi=fnd&pg=PA1&dq=frank+wedekind&ots=S4LHWQ0h2e&sig=Mz8PEGF-md4n3AwH9cgXq-5vUac#v=onepage&q=frank%20wedekind&f=false +% https://www.martin.germanistik.uni-mainz.de/forschung/frank-wedekind/ diff --git a/thesis_example.pdf b/thesis_example.pdf new file mode 100644 index 0000000..bb0e183 Binary files /dev/null and b/thesis_example.pdf differ diff --git a/thesis_example.tex b/thesis_example.tex new file mode 100644 index 0000000..749160e --- /dev/null +++ b/thesis_example.tex @@ -0,0 +1,115 @@ +%************************************************************************* +% A Classic Thesis Style +% An Homage to The Elements of Typographic Style +% +% Copyright (C) 2017 André Miede and Ivo Pletikosić +% +% If you like the style then I would appreciate a postcard. My address +% can be found in the file ClassicThesis.pdf. A collection of the +% postcards I received so far is available online at +% http://postcards.miede.de +% +% License: +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation; either version 2 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program; see the file COPYING. If not, write to +% the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +% Boston, MA 02111-1307, USA. +% +% PLEASE SEE ALSO THE AUTHORS' NOTE REGARDING THIS LICENSE +% IN THE DOCUMENTATION (ClassicThesis.pdf --> Chapter 1 / Chapter01.tex) +%************************************************************************* +\RequirePackage{silence} % :-\ + \WarningFilter{scrreprt}{Usage of package `titlesec'} + %\WarningFilter{scrreprt}{Activating an ugly workaround} + \WarningFilter{titlesec}{Non standard sectioning command detected} +\documentclass[ openright,titlepage,numbers=noenddot,headinclude,%twoside, %1headlines,% letterpaper a4paper + footinclude=true,cleardoublepage=empty,abstractoff, % <--- obsolete, remove (todo) + BCOR=5mm,paper=a4,fontsize=11pt,%11pt,a4paper,% + ngerman,american,%lockflag% + ]{scrreprt} + +%************************************************************************* +% Note: Make all your adjustments in here +%************************************************************************* +\input{fernuni-hagen-thesis-config} +\input{classicthesis-config} + +%************************************************************************* +% Bibliographies +%************************************************************************* +\addbibresource{bibliography.bib} + +%************************************************************************* +% Hyphenation +%************************************************************************* +%\hyphenation{put special hyphenation here} + +%************************************************************************* +% GO!GO!GO! MOVE IT! +%************************************************************************* +\begin{document} +\frenchspacing +\raggedbottom +\selectlanguage{ngerman} % ngerman, american +%\renewcommand*{\bibname}{new name} +%\setbibpreamble{} +\pagenumbering{roman} +\pagestyle{plain} +%************************************************************************* +% Frontmatter +%************************************************************************* +\include{frontbackmatter/Titlepage} +\include{frontbackmatter/Titleback} +%\cleardoublepage\include{frontbackmatter/Dedication} +%\cleardoublepage\include{frontbackmatter/Foreword} +\cleardoublepage\include{frontbackmatter/Declaration} +\condLOCK{\cleardoublepage\include{frontbackmatter/BlockingNotice}} +\cleardoublepage\include{frontbackmatter/AbstractEN} +\cleardoublepage\include{frontbackmatter/AbstractDE} +%\cleardoublepage\include{frontbackmatter/Publications} +%\cleardoublepage\include{frontbackmatter/Acknowledgments} +\cleardoublepage\include{frontbackmatter/Contents} +\cleardoublepage\include{frontbackmatter/Figures} +\cleardoublepage\include{frontbackmatter/Tables} +\cleardoublepage\include{frontbackmatter/Listings} +\cleardoublepage\include{frontbackmatter/Acronyms} +%************************************************************************* +% Mainmatter +%************************************************************************* +\cleardoublepage +\pagestyle{scrheadings} +\pagenumbering{arabic} +% Alwas use \cleardoublepage before \part{...}. +\cleardoublepage +%\part{Thesis}\label{pt:thesis} +\include{chapters/examples/chapter01} +\include{chapters/examples/chapter02} +\include{chapters/examples/chapter03} +%************************************************************************* +% Backmatter +%************************************************************************* +\appendix +%\renewcommand{\thechapter}{\alph{chapter}} +\cleardoublepage +\part{Appendix} +\include{chapters/examples/appendix01} +\include{chapters/examples/appendix02} +%************************************************************************* +% Other Stuff in the Back +%************************************************************************* +\cleardoublepage\include{frontbackmatter/Bibliography} +%************************************************************************* +% Game Over: Restore, Restart, or Quit? +%************************************************************************* +\end{document} +%*************************************************************************