Tagged articles

Database

2745 articles · Page 8 of 28
21CTO
21CTO
May 6, 2024 · Databases

How Oracle’s New 23ai Database Brings AI-Powered Vector Search to Enterprises

Oracle’s latest release, Database 23ai, upgrades its 23c platform with AI-driven vector search, RAG capabilities, and enhanced JSON and graph querying, positioning the database as a unified, secure, and scalable solution for handling structured, semi‑structured, and unstructured data across cloud and on‑premises environments.

AIDatabaseOracle
0 likes · 7 min read
How Oracle’s New 23ai Database Brings AI-Powered Vector Search to Enterprises
dbaplus Community
dbaplus Community
May 1, 2024 · Databases

8 Compelling Reasons SQL Still Dominates After 50 Years

This article outlines eight key reasons why SQL and relational databases remain the dominant data management solution half a century after their invention, covering processing power, proven reliability, community support, simplicity, widespread adoption, open‑source growth, practical query power, and their role alongside NoSQL technologies.

CommunityDatabaseRDBMS
0 likes · 9 min read
8 Compelling Reasons SQL Still Dominates After 50 Years
macrozheng
macrozheng
Apr 29, 2024 · Databases

How to Recover Accidentally Deleted MySQL Data: A Step-by-Step Guide

This guide explains how to answer MySQL accidental deletion interview questions and outlines practical recovery methods—including backup restoration, binlog usage, third‑party tools—and essential preventive practices such as regular backups, transaction handling, and permission management.

Data RecoveryDatabasebackup
0 likes · 5 min read
How to Recover Accidentally Deleted MySQL Data: A Step-by-Step Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 25, 2024 · Databases

Redis Cluster: Architecture, Setup, Testing, and High Availability

This article explains Redis Cluster's sharding architecture, demonstrates how to configure multiple Redis nodes on different ports, shows commands for creating and testing the cluster, and illustrates failover behavior, highlighting its scalability and high‑availability advantages over Sentinel mode for large‑scale data workloads.

ClusterDatabaseRedis
0 likes · 11 min read
Redis Cluster: Architecture, Setup, Testing, and High Availability
Selected Java Interview Questions
Selected Java Interview Questions
Apr 25, 2024 · Information Security

Techniques for Fuzzy Search on Encrypted Data: Approaches, Trade‑offs, and Practical Implementations

The article examines why encrypted sensitive fields such as passwords, phone numbers, and bank details need special handling, categorises three families of fuzzy‑search solutions for encrypted data, evaluates their security, performance and storage costs, and recommends a balanced conventional method for production use.

AlgorithmDatabaseEncryption
0 likes · 10 min read
Techniques for Fuzzy Search on Encrypted Data: Approaches, Trade‑offs, and Practical Implementations
Architect's Guide
Architect's Guide
Apr 24, 2024 · Databases

Redis Overview: Features, Data Types, Caching Strategies, Performance, Eviction Policies, Persistence, Replication, and Sentinel

This article provides a comprehensive introduction to Redis, covering its core features, supported data types, common caching use cases in Spring Boot, typical cache‑related problems such as consistency, avalanche, penetration and breakdown, as well as performance reasons, eviction policies, persistence mechanisms, master‑slave replication, and Sentinel high‑availability architecture.

DatabasePerformancePersistence
0 likes · 12 min read
Redis Overview: Features, Data Types, Caching Strategies, Performance, Eviction Policies, Persistence, Replication, and Sentinel
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 24, 2024 · Databases

Summary of the MySQL Transaction Module Series

This article reviews the 14-part series on MySQL's transaction module, covering initialization, transaction types, two‑phase commit, binlog handling, savepoints, and full rollback, and provides links to each detailed post, including discussions on BEGIN statements, read‑only transactions, and the internal mechanisms of InnoDB.

DatabaseInnoDBMySQL
0 likes · 5 min read
Summary of the MySQL Transaction Module Series
Architecture Digest
Architecture Digest
Apr 22, 2024 · Backend Development

Migrating from MyBatis to MyBatis-Plus: Resolving LocalDateTime Conversion Errors and Lessons Learned

This article walks through replacing MyBatis with MyBatis‑Plus in a legacy Java project, demonstrates the LocalDateTime conversion error caused by MySQL‑connector‑java version incompatibility, shows how upgrading the driver resolves the issue, and shares a cautionary tale about unintended bugs after component upgrades.

DatabaseJavaLocalDateTime
0 likes · 15 min read
Migrating from MyBatis to MyBatis-Plus: Resolving LocalDateTime Conversion Errors and Lessons Learned
Top Architect
Top Architect
Apr 19, 2024 · Databases

Problems with OFFSET/LIMIT Pagination and Cursor‑Based Alternatives

This article explains why using OFFSET and LIMIT for pagination becomes inefficient on large tables, illustrates the performance impact with examples, and proposes a cursor‑based pagination alternative that leverages indexed primary keys to achieve faster, scalable queries.

DatabaseLIMITPagination
0 likes · 8 min read
Problems with OFFSET/LIMIT Pagination and Cursor‑Based Alternatives
21CTO
21CTO
Apr 18, 2024 · Artificial Intelligence

GPT‑6, VAR Models, and the Latest AI Breakthroughs Shaping Tech

The article surveys recent AI and tech developments, from Sam Altman's claim that GPT‑6 will become a universal tool and Baidu's new intelligent computing OS, to Peking University and ByteDance's VAR model outperforming diffusion models, plus updates on Boston Dynamics' Atlas robot, Linux kernel Kconfig, AMD Ryzen Pro CPUs, and SQLite 3.45.3.

DatabaseLinux kernelMachine Learning
0 likes · 11 min read
GPT‑6, VAR Models, and the Latest AI Breakthroughs Shaping Tech
IT Services Circle
IT Services Circle
Apr 17, 2024 · Databases

Comprehensive Didi Interview Review: Redis Persistence, Data Types, Memory Issues, and System Concepts

This article summarizes a Didi second‑round interview covering Redis persistence mechanisms, data structures, memory overflow and leak concepts, thread safety, process vs thread differences, deadlock prevention, TCP/UDP distinctions, and a couple of hand‑written algorithm problems, providing detailed explanations and code examples.

Data StructuresDatabaseInterview
0 likes · 19 min read
Comprehensive Didi Interview Review: Redis Persistence, Data Types, Memory Issues, and System Concepts
Tencent Cloud Developer
Tencent Cloud Developer
Apr 16, 2024 · Databases

Major Updates and New Features of WCDB 2: Multi‑language Support, SQL Builder, Backup & Recovery, Data Migration, Compression, and Performance Optimizations

WCDB 2 introduces multi-language support (C++, Java, Kotlin), a rewritten SQL builder, fast backup and recovery with sub‑second times, incremental WAL‑based backup, automatic data migration, Zstandard compression, on‑the‑fly column addition, and performance enhancements such as an FTS5 optimizer and interruptible transactions, delivering a robust high‑performance mobile database solution.

Data MigrationDatabaseSQL Builder
0 likes · 47 min read
Major Updates and New Features of WCDB 2: Multi‑language Support, SQL Builder, Backup & Recovery, Data Migration, Compression, and Performance Optimizations
IT Niuke
IT Niuke
Apr 15, 2024 · Databases

Automate MySQL Tasks with Events: Hands‑Free Scheduling

This article explains MySQL events as built‑in schedulers, outlines their advantages, shows how to enable the event scheduler, create, view, modify, and drop events, and provides concrete examples for generating real‑time sales data and periodic statistics.

DatabaseEventsMySQL
0 likes · 11 min read
Automate MySQL Tasks with Events: Hands‑Free Scheduling
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 13, 2024 · Databases

Comprehensive Guide to MySQL String Functions

This article provides an in‑depth overview of MySQL string functions, covering concatenation, length, position, replacement, conversion, encryption, comparison, generation, and their syntax and usage examples, helping developers manipulate textual data efficiently in database operations.

Data manipulationDatabaseMySQL
0 likes · 18 min read
Comprehensive Guide to MySQL String Functions
Test Development Learning Exchange
Test Development Learning Exchange
Apr 12, 2024 · Operations

Python Data Backup Scripts and Tools Overview

This article introduces various Python-based data backup techniques, covering standard library modules such as shutil, zipfile, and tarfile, as well as database dump tools like pg_dump and mysqldump, and cloud storage options using awscli or boto3, with example code snippets for each method.

DatabaseOperationsPython
0 likes · 4 min read
Python Data Backup Scripts and Tools Overview
Code Ape Tech Column
Code Ape Tech Column
Apr 12, 2024 · Databases

Understanding Full-Text Search and Inverted Indexes in MySQL InnoDB

This article explains MySQL InnoDB full-text search, covering inverted index structures, creation and usage of full-text indexes, query modes such as natural language, boolean, and query expansion, and provides practical SQL examples and considerations for effective text searching.

DatabaseFull-text SearchMySQL
0 likes · 11 min read
Understanding Full-Text Search and Inverted Indexes in MySQL InnoDB
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 11, 2024 · Databases

Mastering Redis Sentinel: Ensuring Automatic High Availability

This article explains Redis Sentinel’s role in providing monitoring, notifications, automatic failover, and configuration updates to achieve high availability, detailing its heartbeat mechanism, master‑down detection, leader election, failover selection criteria, and the trade‑offs of using this solution.

DatabaseFailoverHigh Availability
0 likes · 6 min read
Mastering Redis Sentinel: Ensuring Automatic High Availability
21CTO
21CTO
Apr 11, 2024 · Databases

Why PostgreSQL Is Becoming the Dominant Database Framework

This article traces PostgreSQL’s evolution from an academic project to a versatile data‑management framework, highlights its extensive extensions, performance benchmarks, and the shifting landscape of OLTP/OLAP, showing how its open‑source extensibility is reshaping the entire database world.

DatabaseOLAPOpen Source
0 likes · 18 min read
Why PostgreSQL Is Becoming the Dominant Database Framework
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 8, 2024 · Databases

How I Rescued a MySQL Table After Massive Bad Data Insertion

When a user reported errors, I discovered a MySQL table flooded with millions of bad rows from a new group, causing slow queries and crashes; I detail the step‑by‑step investigation, failed attempts with DELETE and lock‑free changes, and the final successful rebuild using temporary tables, DROP, TRUNCATE, and index reconstruction.

DDLDatabaseMySQL
0 likes · 13 min read
How I Rescued a MySQL Table After Massive Bad Data Insertion
Efficient Ops
Efficient Ops
Apr 6, 2024 · Databases

How to Supercharge MySQL Queries: 8 Proven Optimization Techniques

This article explores eight common MySQL performance pitfalls—from inefficient LIMIT usage and implicit type conversion to subquery joins, mixed ordering, EXISTS clauses, condition pushdown, early result limiting, and intermediate result set optimization—offering concrete rewrites and execution plan analyses to dramatically speed up queries.

DatabaseMySQLPerformance Tuning
0 likes · 14 min read
How to Supercharge MySQL Queries: 8 Proven Optimization Techniques
Java Tech Enthusiast
Java Tech Enthusiast
Apr 5, 2024 · Databases

Efficient Insertion of 300,000 Records Using MyBatis and JDBC

The article shows how to efficiently load 300,000 MySQL rows in Java by comparing MyBatis and plain-JDBC batch inserts, demonstrating that batching 1,000‑5,000 records per transaction with proper transaction control, connection pooling, and MySQL tuning reduces insertion time from hours to seconds.

Batch InsertDatabaseJDBC
0 likes · 13 min read
Efficient Insertion of 300,000 Records Using MyBatis and JDBC
Java Architect Essentials
Java Architect Essentials
Apr 3, 2024 · Databases

MySQL Query Optimization Techniques: LIMIT, Implicit Conversion, Join Updates, Mixed Sorting, EXISTS, Condition Pushdown, Early Limiting, and Intermediate Result Pushdown

This article presents a series of MySQL performance‑enhancing techniques—including smarter LIMIT usage, avoiding implicit type conversion, rewriting UPDATE/DELETE with JOINs, mixed‑order sorting tricks, replacing EXISTS with JOINs, condition push‑down, early result limiting, and intermediate result push‑down—to dramatically reduce query execution time.

DatabaseMySQLindexes
0 likes · 13 min read
MySQL Query Optimization Techniques: LIMIT, Implicit Conversion, Join Updates, Mixed Sorting, EXISTS, Condition Pushdown, Early Limiting, and Intermediate Result Pushdown
Top Architect
Top Architect
Apr 2, 2024 · Databases

Ten Advanced SQL Concepts Every Data‑Science Interview Candidate Should Master

This article explains ten advanced SQL techniques—including common table expressions, recursive CTEs, temporary functions, CASE‑WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking functions, delta calculations, cumulative sums, and date‑time manipulation—providing clear explanations and complete query examples to help readers ace data‑science interview questions.

CTEData Science InterviewsDatabase
0 likes · 14 min read
Ten Advanced SQL Concepts Every Data‑Science Interview Candidate Should Master
php Courses
php Courses
Apr 1, 2024 · Databases

Creating SQLite Database Tables with PHP: A Step-by-Step Guide

This tutorial walks through connecting to an SQLite database with PHP, creating a 'users' table using SQL, and verifying the table’s structure through PRAGMA queries, providing complete code examples for each step to help developers understand SQLite integration in web projects.

DatabasePHPSQL
0 likes · 4 min read
Creating SQLite Database Tables with PHP: A Step-by-Step Guide
21CTO
21CTO
Mar 31, 2024 · Databases

Why Redis Is Changing Licenses and What It Means for the Database Ecosystem

The article examines Redis's shift to a source‑available license, traces its history, analyzes the impact on cloud providers and open‑source communities, and evaluates emerging forks and alternatives such as Valkey, KeyDB, and Redict as potential replacements.

DatabaseLicensingOpen Source
0 likes · 13 min read
Why Redis Is Changing Licenses and What It Means for the Database Ecosystem
DevOps Operations Practice
DevOps Operations Practice
Mar 30, 2024 · Cloud Native

How to Deploy MySQL with Docker: A Step-by-Step Guide

This guide explains how to install Docker, pull the official MySQL image, run a MySQL container with persistent storage, connect to it, perform basic SQL operations, and finally stop and remove the container, demonstrating a complete end‑to‑end deployment using Docker.

DatabaseDevOpsMySQL
0 likes · 5 min read
How to Deploy MySQL with Docker: A Step-by-Step Guide
JD Tech
JD Tech
Mar 29, 2024 · Databases

Root Cause Analysis and Optimization of a Slow MySQL Query Using Index Selection and Force Index

This article examines a MySQL slow‑query incident caused by the optimizer using the primary clustered index instead of an appropriate secondary index, explains the underlying index structures, and presents solutions such as FORCE INDEX and migrating complex queries to Elasticsearch for long‑term performance improvement.

DatabaseElasticsearchSlow Query
0 likes · 9 min read
Root Cause Analysis and Optimization of a Slow MySQL Query Using Index Selection and Force Index
dbaplus Community
dbaplus Community
Mar 27, 2024 · Databases

How Redis Handles Full Cache: Memory Eviction Policies Explained

When Redis memory reaches its configured maxmemory limit, it triggers a set of eviction policies—such as noeviction, allkeys‑lru, volatile‑lfu, and others—to decide which keys to discard, and this article explains how to view, configure, and understand each strategy.

DatabaseLFULRU
0 likes · 9 min read
How Redis Handles Full Cache: Memory Eviction Policies Explained
Python Programming Learning Circle
Python Programming Learning Circle
Mar 27, 2024 · Operations

9 Practical Python Automation Scenarios with Sample Scripts

This article presents nine practical Python automation scenarios—including file management, web scraping, text processing, email handling, Excel manipulation, database interaction, social media posting, system task scheduling, and image editing—each accompanied by clear script examples and explanations to help readers streamline repetitive tasks efficiently.

DatabasePythonScripting
0 likes · 19 min read
9 Practical Python Automation Scenarios with Sample Scripts
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 26, 2024 · Databases

MySQL 8.0.22 READ ONLY Database Feature: Overview, Usage, Query Methods, Limitations and Exceptions

This article explains the MySQL 8.0.22 READ ONLY option for individual databases, demonstrates how to enable and verify the read‑only state with ALTER DATABASE and SHOW CREATE DATABASE commands, shows the impact on DDL/DML operations, lists usage restrictions, and notes exceptional cases and backup considerations.

ALTER DATABASEDatabaseMySQL
0 likes · 11 min read
MySQL 8.0.22 READ ONLY Database Feature: Overview, Usage, Query Methods, Limitations and Exceptions
php Courses
php Courses
Mar 26, 2024 · Backend Development

ThinkPHP 8.x Framework Course Overview and Curriculum

This course provides a comprehensive tutorial on configuring PHP environments and mastering the ThinkPHP 8.x framework, covering installation, coding standards, routing, controllers, database operations, model management, middleware, caching, validation, and deployment techniques for robust backend web development.

DatabaseFrameworkPHP
0 likes · 6 min read
ThinkPHP 8.x Framework Course Overview and Curriculum
Java Tech Enthusiast
Java Tech Enthusiast
Mar 24, 2024 · Databases

Redis Announces Shift to Source‑Available Dual Licensing

Redis announced it will replace its BSD‑3‑Clause license with a source‑available dual licensing model—SSPLv1 and RSALv2—starting with Redis 7.4, keeping the community edition free for developers while requiring cloud providers to secure commercial agreements, yet leaving existing enterprise users and client‑library developers under unchanged, permissive terms.

DatabaseLicenseRSAL
0 likes · 3 min read
Redis Announces Shift to Source‑Available Dual Licensing
Ops Development & AI Practice
Ops Development & AI Practice
Mar 22, 2024 · Databases

How to Use SQLite3 in Go: A Step‑by‑Step Guide

This guide walks you through installing the Go SQLite3 driver, opening a database connection, creating tables, inserting records, querying data, and provides a complete runnable example, helping developers integrate lightweight SQLite storage into Go applications efficiently.

DatabaseGoSQL
0 likes · 6 min read
How to Use SQLite3 in Go: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Mar 21, 2024 · Databases

Comprehensive Guide to Using PyMySQL for MySQL Interaction in Python

This article provides a detailed tutorial on the PyMySQL library, covering installation, connection setup, cursor operations, executing queries, transaction handling, advanced features like batch processing and connection pooling, as well as best practices for error handling and performance optimization in Python‑MySQL applications.

DatabaseMySQLPython
0 likes · 9 min read
Comprehensive Guide to Using PyMySQL for MySQL Interaction in Python
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 18, 2024 · Databases

Apache Doris 2.1.0 Release: Major Performance Boosts, New Data Types, Optimizer Enhancements and Operational Features

The Apache Doris 2.1.0 release introduces over 100% query performance improvements on TPC‑DS, up to 230% gains on ARM platforms, new Variant and IP data types, async materialized views, auto‑increment columns, auto‑partitioning, group commit, hardened workload groups, TopSQL monitoring, a built‑in job scheduler, and several behavior changes, all aimed at delivering faster, more flexible and more reliable OLAP processing.

ARM OptimizationApache DorisDatabase
0 likes · 42 min read
Apache Doris 2.1.0 Release: Major Performance Boosts, New Data Types, Optimizer Enhancements and Operational Features
dbaplus Community
dbaplus Community
Mar 17, 2024 · Databases

Why IN/NOT IN Slow Down SQL Queries and Safer Alternatives

This article explains why using IN and NOT IN in SQL can lead to poor performance and incorrect results, demonstrates common pitfalls with examples, and shows how to replace them with EXISTS, NOT EXISTS, or JOIN constructs for reliable and faster queries.

DatabaseJOINPerformance
0 likes · 5 min read
Why IN/NOT IN Slow Down SQL Queries and Safer Alternatives
Architect
Architect
Mar 15, 2024 · Databases

How to Diagnose and Optimize Redis Memory Usage: Real‑World Cases

This article dissects Redis's memory architecture, explains each memory component, walks through object encoding rules, buffer handling, fragmentation, and child‑process memory, then presents two production incidents with step‑by‑step analysis and concrete optimization actions to prevent future memory alarms.

DatabasePerformance OptimizationRedis
0 likes · 27 min read
How to Diagnose and Optimize Redis Memory Usage: Real‑World Cases
Su San Talks Tech
Su San Talks Tech
Mar 7, 2024 · Databases

Master MySQL Locks: Types, Mechanisms, and How to Avoid Deadlocks

This article explains why MySQL uses locks, categorizes lock types from global to row level, details their implementation and commands, and shows how intention, metadata, and auto‑increment locks work while offering strategies to prevent deadlocks and lock contention.

DatabaseInnoDBLocks
0 likes · 13 min read
Master MySQL Locks: Types, Mechanisms, and How to Avoid Deadlocks
php Courses
php Courses
Mar 6, 2024 · Databases

MySQL 8 New Features and Network Communication Course Overview

This course introduces MySQL 8's latest features, deep dives into its network communication mechanisms, and teaches advanced performance optimization techniques such as connection pooling, compression, and SSL encryption through hands‑on projects to enhance database efficiency and security.

DatabaseMySQLPerformance Optimization
0 likes · 2 min read
MySQL 8 New Features and Network Communication Course Overview
Architect
Architect
Mar 1, 2024 · Backend Development

Distributed ID Generation: Requirements, Common Solutions, and Implementation Details

This article explains what a distributed ID is, outlines its essential requirements such as global uniqueness, high performance, high availability, and ease of use, and then reviews common generation strategies—including database auto‑increment, segment mode, NoSQL approaches, UUID, Snowflake, and several open‑source frameworks—providing code examples and practical trade‑offs.

DatabaseRedisUID generator
0 likes · 23 min read
Distributed ID Generation: Requirements, Common Solutions, and Implementation Details
Architecture Digest
Architecture Digest
Mar 1, 2024 · Databases

SQL Performance Optimization and Index Tuning in MySQL

This article walks through a MySQL 5.6 scenario with course, student, and score tables, demonstrates why a naïve sub‑query is extremely slow, and shows step‑by‑step how adding single‑column, composite, and covering indexes, as well as rewriting the query to joins, can reduce execution time from hours to milliseconds.

DatabaseIndex TuningMySQL
0 likes · 10 min read
SQL Performance Optimization and Index Tuning in MySQL
php Courses
php Courses
Mar 1, 2024 · Backend Development

Implementing Logistics Tracking and Delivery Management in PHP for E-commerce

This tutorial explains how to build essential logistics tracking and delivery management features for an e‑commerce system using PHP, covering database schema design, code for inserting, updating, and querying tracking and delivery records, and providing complete example snippets.

DatabaseDelivery ManagementE‑commerce
0 likes · 6 min read
Implementing Logistics Tracking and Delivery Management in PHP for E-commerce
JD Tech
JD Tech
Feb 28, 2024 · Databases

Detecting and Monitoring Database Deadlocks with EasyBI: A Practical Case Study

This article recounts how a production database deadlock was uncovered during testing, explains the use of the EasyBI monitoring tool to collect and visualize error and claim statistics, and shares the step‑by‑step configuration, analysis, and lessons learned for preventing similar issues in future systems.

DatabaseDeadlockEasyBI
0 likes · 8 min read
Detecting and Monitoring Database Deadlocks with EasyBI: A Practical Case Study
Architects' Tech Alliance
Architects' Tech Alliance
Feb 28, 2024 · Industry Insights

What Drives China’s “Xinchuang” IT Industry? Deep Dive into Hardware, OS, Middleware & Databases

This article provides an overview of China’s Xinchuang (information technology innovation) ecosystem, explaining the concepts and classifications of operating systems, middleware, databases, and firmware, presenting market share statistics, and highlighting the key components that shape the industry’s autonomous and secure IT landscape.

DatabaseFirmwareIT industry
0 likes · 7 min read
What Drives China’s “Xinchuang” IT Industry? Deep Dive into Hardware, OS, Middleware & Databases
Su San Talks Tech
Su San Talks Tech
Feb 25, 2024 · Databases

Why MySQL Indexes Fail: B+ Tree Mechanics and Common Pitfalls

This article explains how InnoDB stores data pages and builds B+‑tree indexes, illustrates the structure of clustered, secondary and composite indexes, and enumerates typical scenarios—such as left‑most prefix violations, LIKE patterns, and function use—that cause index loss and full‑table scans.

B+ treeDatabaseIndex
0 likes · 16 min read
Why MySQL Indexes Fail: B+ Tree Mechanics and Common Pitfalls
Su San Talks Tech
Su San Talks Tech
Feb 23, 2024 · Databases

Mastering Redis Master‑Slave Replication: How It Works and Why It Matters

This article explains Redis high‑availability through master‑slave replication, covering the architecture, read‑write separation benefits, the three‑stage initial sync process, incremental synchronization, and practical considerations for scaling and fault tolerance in production environments.

DatabaseMaster‑Slavereplication
0 likes · 12 min read
Mastering Redis Master‑Slave Replication: How It Works and Why It Matters
MaGe Linux Operations
MaGe Linux Operations
Feb 22, 2024 · Databases

Mastering PyMySQL: Complete Guide to Python‑MySQL Integration

This article provides a comprehensive guide to using PyMySQL in Python, covering installation, connection setup, CRUD operations, transaction handling, advanced features like parameterized queries and connection pooling, as well as best practices for security, performance, and monitoring.

DatabaseMySQLPython
0 likes · 7 min read
Mastering PyMySQL: Complete Guide to Python‑MySQL Integration
Tencent Cloud Developer
Tencent Cloud Developer
Feb 22, 2024 · Databases

MongoDB Lock Mechanisms and Implementation Details

MongoDB’s locking system uses a hierarchical resource model with four lock modes, RAII‑style acquisition classes, ticket‑based throttling, and a bucketed lock manager that employs bit‑mask conflict checks and priority flags to grant exclusive locks promptly and prevent starvation.

DatabaseLock ManagerLocks
0 likes · 42 min read
MongoDB Lock Mechanisms and Implementation Details
Python Programming Learning Circle
Python Programming Learning Circle
Feb 21, 2024 · Frontend Development

Python Tkinter Vaccine Management System Tutorial with MySQL Integration

This article walks readers through building a complete vaccine management desktop application using Python's Tkinter for the graphical interface and MySQL for data storage, covering UI design, database connection, user registration, login, CRUD operations for vaccine records, and query functionalities, all illustrated with full source code examples.

DatabaseGUIMySQL
0 likes · 25 min read
Python Tkinter Vaccine Management System Tutorial with MySQL Integration
ITPUB
ITPUB
Feb 19, 2024 · Databases

What Caused Linear’s Massive Data Loss and How They Recovered It

Linear, the SaaS project‑management tool, suffered a catastrophic data loss when a TRUNCATE CASCADE command unintentionally wiped production tables, prompting a detailed post‑mortem that outlines the timeline, root cause, recovery steps, impact, and a set of concrete preventive measures.

CI/CDDataRecoveryDatabase
0 likes · 10 min read
What Caused Linear’s Massive Data Loss and How They Recovered It
JD Tech
JD Tech
Feb 19, 2024 · Databases

Choosing and Generating Sharding Keys for Database Partitioning

This article explains how to select appropriate sharding keys based on business requirements and data access patterns, describes vertical and horizontal partitioning methods, and presents common techniques such as equal‑value, index, and gene methods along with key generation strategies like auto‑increment, UUID, Snowflake algorithm, and open‑source middleware.

DatabaseHorizontal PartitionSharding
0 likes · 10 min read
Choosing and Generating Sharding Keys for Database Partitioning
php Courses
php Courses
Feb 19, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to perform MySQL operations such as SELECT, INSERT, UPDATE, and DELETE, providing a step‑by‑step example that creates a connection, runs a SELECT query, processes results, and handles errors and cleanup.

DatabaseMySQLPHP
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
Cognitive Technology Team
Cognitive Technology Team
Feb 19, 2024 · Databases

Understanding MySQL Deadlocks and How to Prevent Them

This article explains MySQL deadlocks, describing how they occur in InnoDB due to resource contention, outlines common causes such as race conditions, poor indexing, long transactions, lock upgrades, and provides practical prevention strategies including deadlock detection, short transactions, query optimization, lock timeouts, monitoring tools, lock ordering, and appropriate lock levels.

DatabaseDeadlockInnoDB
0 likes · 5 min read
Understanding MySQL Deadlocks and How to Prevent Them
Java Captain
Java Captain
Feb 16, 2024 · Databases

Key MySQL Concepts and Best Practices

This article summarizes essential MySQL concepts—including basic terminology, data types, SQL commands, indexes, views, storage engines, backup methods, and performance tuning techniques—to help developers understand and effectively apply this powerful open‑source relational database in real‑world projects.

DatabaseMySQLPerformance
0 likes · 4 min read
Key MySQL Concepts and Best Practices
php Courses
php Courses
Feb 5, 2024 · Databases

How to Properly Close MySQL Connection Pools in PHP

This article explains the concept of MySQL connection pools in PHP, demonstrates how to create, use, and correctly close both individual connections and pooled connections using mysqli functions and a custom pool class, and highlights the importance of releasing resources to maintain application performance.

DatabaseMySQLPHP
0 likes · 5 min read
How to Properly Close MySQL Connection Pools in PHP
php Courses
php Courses
Feb 4, 2024 · Backend Development

Implementing Product Promotion Push Functionality in a PHP E‑commerce Site

This article outlines the step‑by‑step process for implementing a product promotion push feature in a PHP‑based e‑commerce platform, covering target user identification, promotion table design, message templating, script development, database queries, cron scheduling, and result monitoring to boost user engagement and sales.

CronDatabaseE‑commerce
0 likes · 5 min read
Implementing Product Promotion Push Functionality in a PHP E‑commerce Site
Java Architect Essentials
Java Architect Essentials
Feb 2, 2024 · Databases

Understanding KeyDB: Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica

This article introduces KeyDB, a high‑performance multithreaded fork of Redis, explaining its architecture, thread model, connection management, fastlock mechanism, and active‑replica features, while providing code examples and performance comparisons, and highlighting their impact on throughput and latency.

DatabaseKeyDBLock
0 likes · 10 min read
Understanding KeyDB: Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica
ITPUB
ITPUB
Feb 1, 2024 · Databases

Why MySQL Now Lets You Write Stored Procedures in JavaScript

Oracle announced preview support for JavaScript‑based stored procedures in MySQL, showing how to write, call, and debug them using GraalVM, while industry reactions highlight both excitement and concerns about mixing languages in database logic.

DatabaseGraalVMJavaScript
0 likes · 4 min read
Why MySQL Now Lets You Write Stored Procedures in JavaScript
php Courses
php Courses
Feb 1, 2024 · Backend Development

Implementing Product Promotion Push Functionality in a PHP E‑commerce Site

This article outlines a step‑by‑step guide for building a PHP‑based product promotion push system for e‑commerce platforms, covering recipient identification, database schema design, message templating, script development, scheduling with crontab, and result monitoring to boost user engagement and sales.

CronDatabaseE‑commerce
0 likes · 4 min read
Implementing Product Promotion Push Functionality in a PHP E‑commerce Site
Architect's Guide
Architect's Guide
Jan 29, 2024 · Databases

Performance Comparison of IN vs JOIN in MySQL Queries

This article experimentally compares the efficiency of using IN clauses versus JOIN operations in MySQL by testing small, medium, and large datasets, measuring query costs, execution times, and highlighting the scalability limits of IN statements.

DatabaseJOINMySQL
0 likes · 8 min read
Performance Comparison of IN vs JOIN in MySQL Queries
Liangxu Linux
Liangxu Linux
Jan 28, 2024 · Databases

Master MySQL Date Functions: CURDATE, NOW, DATE_FORMAT, DATEDIFF, and More

This guide explains MySQL’s most useful date and time functions—including CURDATE(), NOW(), DATE_FORMAT(), DATEDIFF(), DATE_ADD(), DATE_SUB(), and DATE()—with clear syntax examples and sample results, helping developers manipulate temporal data efficiently in their databases.

DatabaseDate FunctionsMySQL
0 likes · 4 min read
Master MySQL Date Functions: CURDATE, NOW, DATE_FORMAT, DATEDIFF, and More
Liangxu Linux
Liangxu Linux
Jan 28, 2024 · Databases

Why Lotus Notes Still Matters: Lessons from a Forgotten Collaboration Platform

The article reflects on the rise and fall of Lotus Notes, illustrating how this once‑dominant email, database, and workflow platform once unified company operations, why it was eventually eclipsed by web‑based apps and Microsoft tools, and what its lingering legacy reveals about technology evolution.

DatabaseEnterprise CollaborationLegacy Software
0 likes · 6 min read
Why Lotus Notes Still Matters: Lessons from a Forgotten Collaboration Platform
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 26, 2024 · Databases

Easy-Query: One of the Best Java ORM Libraries

Easy-Query is a Java ORM framework offering strong-typed, database-agnostic CRUD operations, complex SQL generation, multi-table joins, group awareness, and extensive function support, demonstrated through numerous code examples covering queries, joins, subqueries, pagination, and advanced features like enum handling and anonymous type alternatives.

DatabaseEasy-QueryJava
0 likes · 16 min read
Easy-Query: One of the Best Java ORM Libraries
Nullbody Notes
Nullbody Notes
Jan 23, 2024 · Databases

Implementing Redis Transactions in Go: A Complete Walkthrough

This article walks through building a functional Redis server in Go, focusing on transaction support (MULTI, EXEC, WATCH, UNWATCH, DISCARD), using locks for atomicity, version tracking for watch, and an undo‑log mechanism for rollback, with code examples and demo screenshots.

DatabaseGoLock
0 likes · 11 min read
Implementing Redis Transactions in Go: A Complete Walkthrough
Senior Brother's Insights
Senior Brother's Insights
Jan 22, 2024 · Databases

Mastering SQL: Clear Guide to DDL, DML, DQL, DCL, and TCL Commands

An in‑depth tutorial walks through the five core SQL language families—DDL, DML, DQL, DCL, and TCL—explaining their purposes, key commands, and practical examples, while highlighting differences and usage tips for database schema definition, data manipulation, querying, permission control, and transaction management.

DCLDDLDML
0 likes · 11 min read
Mastering SQL: Clear Guide to DDL, DML, DQL, DCL, and TCL Commands
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 22, 2024 · Databases

MySQL 8.3 New Features and Removed Functionality

Version 8.3 of MySQL introduces tagged GTID replication, a selectable JSON EXPLAIN format version, enhanced thread‑pool plugin information, changes to binlog transaction dependency tracking and new CMake options, while removing several C API functions, the FLUSH HOSTS statement, and outdated replication flags.

DatabaseEXPLAINFeature Removal
0 likes · 6 min read
MySQL 8.3 New Features and Removed Functionality
Su San Talks Tech
Su San Talks Tech
Jan 22, 2024 · Backend Development

How to Supercharge Excel-to-Database Imports with Async and Thread‑Pool Tuning in Java

This article walks through the common slow Excel‑to‑DB import pattern, shows why it becomes a bottleneck, and presents three progressive optimizations—including caching, asynchronous multi‑threaded reading, and double‑async processing—along with detailed Spring @Async thread‑pool configuration and EasyExcel alternatives, all illustrated with complete Java code samples.

AsyncDatabaseExcel
0 likes · 17 min read
How to Supercharge Excel-to-Database Imports with Async and Thread‑Pool Tuning in Java