Decoding Databases: Understanding Types, Interactions, and Best Practices

Merwansky
4 min readMay 12, 2024
Photo by Tobias Fischer on Unsplash

Recently, I started another challenge which was to develop an application that necessitated a robust database solution for data storage and retrieval. This led me to explore and delve deeper into understanding databases, exploring their types, and the various methods of interaction. In this article, I’ll share my discoveries, highlighting the disparities between database types and their respective interaction methods, along with their advantages and drawbacks.

source

Various Methods of Interaction:

Various programming languages and technologies facilitate interaction with databases. One common approach involves utilizing database-specific drivers or libraries tailored to the target database. For instance, to connect to a MySQL database from a Python environment, one can employ the MySQL-connector-python library. Alternatively, a universal database driver such as pyodbc library offers compatibility with a wide array of databases, including MySQL and SQL Server.

Database interaction can be done via command-line interfaces (CLI) or graphical user interface (GUI) tools designed specifically…

--

--

Merwansky

Memento Mori Live in the present, and take advantage of opportunities Stop postponing things til tomorrow #science #technology #computer #vision #book #software