Introduction to Redis Architecture, Installation, and Data Operations
SQL vs. NoSQL Database Characteristics
FeatureSQL DatabasesNoSQL DatabasesStorage ModelRelational tables with fixed schemasFlexible structures (Key-Value, Document, Column-family, Graph, Time-series)ScalabilityVertical (upgrading single hardware)Horizontal (adding more server nodes)TransactionsACID compliant, high consistencyBASE oriented, even ...
Posted on Tue, 18 Aug 2026 16:52:48 +0000 by szz
Working with MySQL Databases in Python
Database Environment Setup
While Python includes built-in support for SQLite via the sqlite3 module, interacting with a MySQL server requires an external connector like MySQLdb. Before writing code, verify that the database server is operational. The server process is typically named mysqld, whereas mysql refers to the command-line client tool ...
Posted on Sat, 15 Aug 2026 16:35:19 +0000 by Vizzini
Deploying MySQL Server on CentOS 7 Linux
Inspect the system for pre-existing MySQL or MariaDB installations to avoid package conflicts.
rpm -qa | grep -i mariadb
# Remove identified packages if present
sudo rpm -e --nodeps <package_name>
Configure the official MySQL Yum repository by downloading the release package. Using curl is an alternative to wget for fetching resources.
c ...
Posted on Sat, 15 Aug 2026 16:34:14 +0000 by NDK1971
MySQL Architecture Overview
MySQL Architecture
Connection Layer
The connection layer handles interactions between applications and MySQL through SQL commands.
Connection Pool: Manages and buffers user connections, thread handling, and other caching needs.
Management Srevices and Utilities: System management and control tools including backup/restore, replication, and clu ...
Posted on Fri, 14 Aug 2026 16:58:18 +0000 by cjmling
Android Application Development: Database Storage and Network Programming
SQLite Database Management
CRUD Operations Using SQL Statements
The SQLiteOpenHelper class manages database creation and version management. When calling getWritableDatabase() or getReadableDatabase(), the system creates the database if it doesn't exist and returns an existing database instance otherwise.
public class DatabaseActivity extends A ...
Posted on Fri, 14 Aug 2026 16:47:15 +0000 by fireMind
Java MongoDB CRUD Operations
This guide dmeonstrates basic CRUD operations with MongoDB using Java. Requires mongo-java-driver dependency (version 3.2.2 used here).
// Insert operation
public void insertDocument() {
try(MongoClient mongo = new MongoClient("localhost", 27017)) {
DB database = mongo.getDB("sampleDB");
DBCollection coll ...
Posted on Wed, 12 Aug 2026 16:25:28 +0000 by redmonkey
Understanding MySQL Integer Types: The Truth About int(1) vs int(10)
The Misconception
A common confusion arises when working with MySQL integer types. Many developers believe that specifying different values like int(1) or int(10) affects the actual storage capacity or maximum value of the integer field. This misconception often leads to unnecessary debates in code reviews and database design discussions.
Techn ...
Posted on Tue, 11 Aug 2026 16:01:28 +0000 by skeppens
Redis Fundamentals: Core Concepts and Operations
Redis Introduction
NoSQL Concept
Before understanding Redis, let's examine the NoSQL concept. Consider the following scenarios:
High User Volume: During peak periods like Chinese New Year, systems face massive user traffic.
High Concurrency: Applications like 12306 (ticket booking) and Taobao (e-commerce) experience overwhelming concurrent ...
Posted on Mon, 10 Aug 2026 16:22:59 +0000 by idevlin
MySQL User-Defined Functions: Creation, Management, and Usage
User-defined functions (UDFs) in MySQL are procedural database objects similar to stored procedures. Both consist of SQL statements and procedural code that can be invoked by aplications or SQL statements. However, key differences exist between them:
User-defined functions cannot have output parameters since the function itself acts as the out ...
Posted on Sun, 09 Aug 2026 16:43:22 +0000 by JeremyMorgan
Advanced SQL Techniques and Query Optimization
Relational Language
Edgar Codd's seminal work in the early 1970s laid the foundation for relational models through the introduction of relational algebra—a mathematical framework defining operations such as selection, projection, join, Cartesian product, intersection, union, and difference.
Users express their data needs using declarative langu ...
Posted on Sat, 08 Aug 2026 16:59:49 +0000 by soianyc