From 0ae7384153696c2c932730dd4e9725644f65fe42 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 5 Nov 2023 17:30:47 +0000 Subject: [PATCH] slides: databases --- src/slides/skynet/2_topics.md | 2 +- src/slides/skynet/7_databases.md | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 src/slides/skynet/7_databases.md diff --git a/src/slides/skynet/2_topics.md b/src/slides/skynet/2_topics.md index 5807f63..a23ec40 100644 --- a/src/slides/skynet/2_topics.md +++ b/src/slides/skynet/2_topics.md @@ -12,6 +12,6 @@ Topics that will be covered by teh skynet Training * Email * [CI/CD](./6_cicd.html) * Proxmox/VM/LXC -* Databases (Sqlite) +* [Databases (Sqlite)](./7_databases.html) This list may be added to in teh future, if ye have any ideas feel free to ping. \ No newline at end of file diff --git a/src/slides/skynet/7_databases.md b/src/slides/skynet/7_databases.md new file mode 100644 index 0000000..de21a0c --- /dev/null +++ b/src/slides/skynet/7_databases.md @@ -0,0 +1,59 @@ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +title = "Skynet: Databases" +date = 2023-11-05 +slides = true ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +# Databases + +------------------------------------------------------------------------- + +Skynet 2.0 had databases to manage. + +------------------------------------------------------------------------- + +Now most applications we built use sqlite + +------------------------------------------------------------------------- + +Some programs on nixos use mysql/postgresql + +------------------------------------------------------------------------- + +# Sqlite + +------------------------------------------------------------------------- + +Sqlite is a single file database. + +------------------------------------------------------------------------- + +Uses a subset of SQL + +------------------------------------------------------------------------- + +Very easy to backup (single file) + +------------------------------------------------------------------------- + +# Postgresql + +------------------------------------------------------------------------- + +Full fledged Database server with roles and permissions. + +------------------------------------------------------------------------- + +Full SQL (and sometimes more) + +------------------------------------------------------------------------- + +Our servers are managed by Nixos. + +------------------------------------------------------------------------- + +Not so easy to backup, export command needs to be used. + +------------------------------------------------------------------------- + +//Use this time to explore the nixos repo to explain//