slides: databases
This commit is contained in:
parent
7f451b04c5
commit
0ae7384153
2 changed files with 60 additions and 1 deletions
|
@ -12,6 +12,6 @@ Topics that will be covered by teh skynet Training
|
||||||
* Email
|
* Email
|
||||||
* [CI/CD](./6_cicd.html)
|
* [CI/CD](./6_cicd.html)
|
||||||
* Proxmox/VM/LXC
|
* 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.
|
This list may be added to in teh future, if ye have any ideas feel free to ping.
|
59
src/slides/skynet/7_databases.md
Normal file
59
src/slides/skynet/7_databases.md
Normal 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//
|
Loading…
Reference in a new issue