The Mycelial SQLite For Beginners Course |
Written by Nikos Vaggalis |
Tuesday, 11 June 2024 |
There's a self-paced. YouTube-based course by Mycelial on In checking the course out I also got to learn about the very interesting endeavors of Mycelial. Mycelial lets you move your data from various sources to your chosen destinations on the cloud with a particular focus on edge data sources, real-time IOT. To give an example, the US Navy uses Mycelial in order to synchronize AI/ML data between submersibles by sharing data seamlessly between the fleet of unmanned vessels, manned vessels, and Cloud environments. Leveraging Mycelial’s Kafka connector, Navy vessels using Kafka or Red Panda as the onboard system of record, synchronize with each other in real-time when connected but remain fully functional when disconnected under the sea. Interoperability is Mycelial bread and butter, having connectors that seamlessly integrates with just about anything:
Looking into SQLite's use on the edge in particular I learned that drones and the Humvees are equipped with local SQLite databases which Mycelial keep in sync across the network by automatically propagating this new state to every node in the network. That way it ensures that when any device queries its local database, it gets this newly inserted data as well. At Iprogrammer we looked at an alternative approach of having SQLite on the edge in "Turn Your SQLite Database Into A Server" which goes through the 'sqld' daemon which allows access to SQLite over the network using the PostgreSQL wire protocol, hence allowing developers to use the SQLite database as a server. Mycelial's credentials have surely predisposed me positively ahead of looking into their SQLite course. And that feeling proved to be right. "SQLite for beginners", consists of 12 videos embossed with their expertise:
From that list you can derive that this is not exactly a course addressed to beginners. It's more likely addressed to already knowledgeable users who want to learn how to use SQLite efficiently. This is something confirmed by If you want to level up your database skills, the area you should probably focus on first is Indexes. In other words, ideally, you should know what the various types of indexes are, how they work when you should use them, and so on. The session explains why you should use indexes and goes over the the various types of indexes you can create. Vacuuming Full Text Search Fixing Slow Queries We've recently look at it too from a PostgreSQL perpective in "Let PostgreSQL Pick An Index For You" where we go through Supabase's Index Advisor, a Postgres extension for recommending indexes that improve query performance, easing the burden off the developer's shoulders. Datatypes We've also looked at the issue in "Load SQLite databases into PostgresSQL", in talking about pgsqlite , a pure python module and command line tool that makes it simple to import a SQLite database into Postgres, saving a ton of time and hassle in the process. On paper such a migration might seem like a simple task, after all it's just structured data out and structured data in but wasn't so in reality. There were many obstacles in the way :
Journal Modes SQLite and the N+1 (no) problem JSON Dates Statistics Finally, Database Backups All the concepts are explained in recipe style "how do I" questions, succinctly and under 10 minutes each.
More Information
Related ArticlesIn Praise Of SQLite pgsqlite - Load SQLite databases into PostgresSQL Let PostgreSQL Pick An Index For You
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |