slides: databases

This commit is contained in:
silver 2023-11-05 17:30:47 +00:00
parent 7f451b04c5
commit 0ae7384153
2 changed files with 60 additions and 1 deletions

View file

@ -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.

View file

@ -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//