Tagged articles

SQL

2820 articles · Page 3 of 29
IT Services Circle
IT Services Circle
Oct 14, 2025 · Databases

How to Efficiently Store IP Addresses in PostgreSQL and MySQL

This article explains how PostgreSQL and MySQL store IP addresses using native data types and functions, showing example table definitions, insertion and query statements for both IPv4 and IPv6, and highlights the advantages of using specialized types over plain VARCHAR.

INET typeIP storageMySQL
0 likes · 4 min read
How to Efficiently Store IP Addresses in PostgreSQL and MySQL
Java Web Project
Java Web Project
Oct 14, 2025 · Databases

Why IN/NOT IN Can Destroy Query Performance and Return Wrong Results

The article explains how using IN and NOT IN in SQL can lead to full‑table scans, ignore indexes, produce incorrect results when columns mismatch or contain NULLs, and shows safer alternatives like EXISTS, NOT EXISTS, and JOIN with concrete code examples and benchmark timings.

EXISTSINNOT IN
0 likes · 6 min read
Why IN/NOT IN Can Destroy Query Performance and Return Wrong Results
Java Tech Enthusiast
Java Tech Enthusiast
Oct 13, 2025 · Databases

Why OR Queries Break MySQL Indexes and How to Fix Them

This article explains how MySQL OR conditions can cause index loss, demonstrates typical scenarios with multi‑field, range, and dynamic filters, and provides practical solutions such as using UNION/UNION ALL or adding appropriate indexes to restore efficient query performance.

Index OptimizationMySQLOR query
0 likes · 7 min read
Why OR Queries Break MySQL Indexes and How to Fix Them
Senior Xiao Ying
Senior Xiao Ying
Oct 13, 2025 · Backend Development

Quick Overview of Spring Boot’s @Sql Annotation for Test Data Management

The article explains how Spring Boot’s @Sql annotation lets you declaratively run SQL scripts before or after test methods to set up or clean up test data, covering placement, default behavior, configuration options, execution timing, transaction handling, and common pitfalls.

Integration TestingJUnitJava
0 likes · 7 min read
Quick Overview of Spring Boot’s @Sql Annotation for Test Data Management
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 11, 2025 · Artificial Intelligence

How Does Kimi‑K2 Stack Up? Inside the September SCALE SQL‑LLM Benchmark

September 2025 SCALE released its latest SQL‑LLM leaderboard, adding Moonshot AI’s Kimi‑K2‑Instruct‑0905 model, detailing its scores on SQL understanding, optimization and dialect conversion, unveiling platform upgrades for fine‑grained metric ranking and visual model comparison, and offering expert analysis of strengths and weaknesses.

AIBenchmarkSQL
0 likes · 11 min read
How Does Kimi‑K2 Stack Up? Inside the September SCALE SQL‑LLM Benchmark
Senior Brother's Insights
Senior Brother's Insights
Oct 7, 2025 · Databases

Why MySQL OR Queries Often Skip Indexes—and How to Fix Them

This article explains how MySQL's OR conditions can cause index loss, provides concrete query examples, analyzes why the optimizer falls back to full table scans, and offers practical solutions such as rewriting with UNION or adding missing indexes to restore efficient index usage.

DatabasesIndex OptimizationMySQL
0 likes · 7 min read
Why MySQL OR Queries Often Skip Indexes—and How to Fix Them
ITPUB
ITPUB
Oct 6, 2025 · Databases

What Happens When a KingbaseES License Expires? A Practical Guide

This article explains the structure of KingbaseES license files, distinguishes commercial and non‑commercial license types, describes the actual behavior of the database when a license expires, and provides step‑by‑step workarounds such as OS date tweaking, license inspection, file replacement, and server reload commands.

Database AdministrationDatabase LicenseKingbaseES
0 likes · 10 min read
What Happens When a KingbaseES License Expires? A Practical Guide
Senior Brother's Insights
Senior Brother's Insights
Oct 5, 2025 · Databases

Master MySQL JSON: From Basics to Advanced CRUD Operations

This article explains MySQL’s native JSON data type introduced in 5.7, covering its binary storage format, built‑in functions, generated‑column indexing, performance advantages over string storage, and detailed CRUD examples with SQL syntax and practical code snippets.

CRUDMySQLSQL
0 likes · 14 min read
Master MySQL JSON: From Basics to Advanced CRUD Operations
IT Services Circle
IT Services Circle
Oct 3, 2025 · Databases

Why Does PostgreSQL’s B‑Tree Index Behave Like a B+ Tree?

PostgreSQL’s index system, officially called a B‑Tree, actually implements B+‑tree functionality, storing only TIDs in leaf nodes, using linked leaf pages for efficient range queries, and includes optimizations like deduplication, index‑only scans, and reverse‑key indexes to boost performance.

B+TreeB-TreePerformance Optimization
0 likes · 7 min read
Why Does PostgreSQL’s B‑Tree Index Behave Like a B+ Tree?
Su San Talks Tech
Su San Talks Tech
Sep 30, 2025 · Databases

Mastering Sharded Pagination: 3 Proven Techniques to Avoid Performance Pitfalls

This article explains why using traditional LIMIT pagination on sharded databases can cause full‑shard scans and memory‑intensive sorting, and introduces three practical alternatives—anchor pagination, shard‑mark pagination, and reverse pagination—detailing their implementation steps, performance benefits, and common pitfalls to avoid.

SQLdatabasepagination
0 likes · 10 min read
Mastering Sharded Pagination: 3 Proven Techniques to Avoid Performance Pitfalls
macrozheng
macrozheng
Sep 29, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

SQLite, often dismissed as a toy, proves its robustness by adding powerful SQL capabilities in 2018—including boolean literals, window functions, FILTER clauses, upsert syntax, and column renaming—making it a viable choice for production workloads despite lacking a network layer.

New FeaturesSQLSQLite
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Senior Brother's Insights
Senior Brother's Insights
Sep 27, 2025 · Databases

When to Use SELECT DISTINCT vs GROUP BY in MySQL: Features, Performance, and Examples

This article explains the functional differences, performance considerations, and practical use cases of MySQL's SELECT DISTINCT and GROUP BY clauses, providing syntax details, example tables, query results, and a comparison table to help developers choose the right approach for deduplication or aggregation tasks.

AggregationDeduplicationGROUP BY
0 likes · 8 min read
When to Use SELECT DISTINCT vs GROUP BY in MySQL: Features, Performance, and Examples
Senior Brother's Insights
Senior Brother's Insights
Sep 24, 2025 · Databases

Why Your MySQL Index Isn’t Used and How to Fix It

This article explains how to verify whether MySQL uses an index with EXPLAIN, outlines eight common reasons why an index may be ignored—including better alternatives, low selectivity, stale statistics, full‑table scans, structural limitations, function usage, invisible indexes—and provides practical commands and hints to resolve each issue.

Database PerformanceEXPLAINMySQL
0 likes · 9 min read
Why Your MySQL Index Isn’t Used and How to Fix It
Ray's Galactic Tech
Ray's Galactic Tech
Sep 23, 2025 · Backend Development

15 MyBatis Pitfalls and How to Avoid Them

This guide lists the 15 most common MyBatis pitfalls—from SQL injection and mismatched field mappings to N+1 queries and improper pagination—paired with concrete best‑practice solutions, code snippets, and configuration tips to make your persistence layer safer, more efficient, and easier to maintain.

JavaMyBatisORM
0 likes · 8 min read
15 MyBatis Pitfalls and How to Avoid Them
Ray's Galactic Tech
Ray's Galactic Tech
Sep 23, 2025 · Databases

Master PostgreSQL: Installation, Configuration, and Performance Tuning Guide

This comprehensive guide walks you through installing PostgreSQL on Linux, Windows, macOS, and Docker, configuring users, databases, and remote access, using daily psql commands, performing backups, applying advanced features like tablespaces and replication, and optimizing performance with key tuning parameters.

InstallationPerformance TuningPostgreSQL
0 likes · 7 min read
Master PostgreSQL: Installation, Configuration, and Performance Tuning Guide
AI Large Model Application Practice
AI Large Model Application Practice
Sep 23, 2025 · Artificial Intelligence

How MindsDB Turns Any Data Source into an AI‑Powered Query Engine

This article walks through installing MindsDB, configuring its unified data access layer, and demonstrates how to query across relational databases, files, and vector stores while injecting AI models—including traditional ML, LLMs, and embedding models—directly into SQL for intelligent data retrieval and analysis.

AI data integrationLLMMindsDB
0 likes · 16 min read
How MindsDB Turns Any Data Source into an AI‑Powered Query Engine
Raymond Ops
Raymond Ops
Sep 22, 2025 · Databases

Master PostgreSQL: Complete Introduction and Step‑by‑Step Installation Guide

This article introduces PostgreSQL's powerful features and provides detailed, cross‑platform instructions for preparing the host, configuring network interfaces, adjusting system settings, and installing PostgreSQL via native packages or official repositories on major Linux distributions.

InstallationLinuxPostgreSQL
0 likes · 28 min read
Master PostgreSQL: Complete Introduction and Step‑by‑Step Installation Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 22, 2025 · Databases

Master Database Table Naming: Clear, Consistent, and Meaningful Designs

This guide explains how to design clear and maintainable database schemas by using meaningful prefixes, full English names, consistent suffixes for booleans, timestamps, and foreign keys, and by applying best‑practice naming conventions, redundancy strategies, and relationship modeling to improve readability and performance.

Best PracticesDatabase DesignNaming Conventions
0 likes · 14 min read
Master Database Table Naming: Clear, Consistent, and Meaningful Designs
Code Ape Tech Column
Code Ape Tech Column
Sep 20, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article explores SQLite's 2018 enhancements—including boolean literals, window functions, FILTER clauses, upsert syntax, and column renaming—detailing how each feature works, its syntax, and practical code examples, while also clarifying limitations compared to other major database systems.

Boolean LiteralsDatabase FeaturesFILTER clause
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Lobster Programming
Lobster Programming
Sep 18, 2025 · Databases

Master MySQL Ranking: row_number, rank, and dense_rank Explained

Learn how MySQL window functions—row_number, rank, and dense_rank—can efficiently rank and rank‑tie data such as class scores or sales amounts, with clear syntax examples, differences in handling duplicate values, and practical SQL queries illustrated with real‑world scenarios.

MySQLROW_NUMBERRanking
0 likes · 6 min read
Master MySQL Ranking: row_number, rank, and dense_rank Explained
IT Services Circle
IT Services Circle
Sep 18, 2025 · Backend Development

Bun v1.2.22 Adds Unified SQL Client, Async Stack Traces & 500× Speed Boost

Bun's latest releases (v1.2.21 and v1.2.22) introduce a unified SQL client for MySQL/MariaDB, SQLite and PostgreSQL, native YAML parsing, massive performance improvements such as a 500‑fold postMessage boost, async stack trace support, enhanced security tools, executable compilation features, and extensive Node.js compatibility fixes.

BunSQLasync
0 likes · 9 min read
Bun v1.2.22 Adds Unified SQL Client, Async Stack Traces & 500× Speed Boost
Su San Talks Tech
Su San Talks Tech
Sep 18, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article reviews SQLite's 2018 enhancements, covering Boolean literals, window functions, the FILTER clause, upsert syntax, column renaming, and related API changes, with code examples and comparisons to other databases, highlighting its reliability and suitability for production use.

Boolean LiteralsSQLSQLite
0 likes · 11 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Architect
Architect
Sep 17, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article explores the latest SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0 in 2018, covering boolean literals, window functions, FILTER clauses, upsert syntax, column renaming, and related API changes, with code examples and practical usage notes.

SQLSQLiteUpsert
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
NiuNiu MaTe
NiuNiu MaTe
Sep 17, 2025 · Databases

Why MySQL Indexes Fail and How to Fix Them: 12 Common Scenarios

This article explains the core purpose of MySQL indexes, enumerates twelve typical situations that cause index failure, provides concrete SQL examples and corrections, and shows how to use EXPLAIN to diagnose and verify index usage for better query performance.

Database PerformanceEXPLAINIndex Optimization
0 likes · 16 min read
Why MySQL Indexes Fail and How to Fix Them: 12 Common Scenarios
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 16, 2025 · Databases

Why Oracle VARCHAR2 Fails at 4000 Bytes and How to Fix It

This article analyzes a real‑world OceanBase‑to‑Oracle incremental sync failure caused by VARCHAR2 length limits, explains the role of NLS_LENGTH_SEMANTICS and MAX_STRING_SIZE, and provides three practical solutions—including extending string size, using CLOB fields, and PL/SQL workarounds—to reliably insert data exceeding 4000 bytes.

DatabaseSyncLengthSemanticsOracle
0 likes · 11 min read
Why Oracle VARCHAR2 Fails at 4000 Bytes and How to Fix It
Senior Brother's Insights
Senior Brother's Insights
Sep 11, 2025 · Databases

How to Eliminate the N+1 Query Problem with JOINs in SQLite

This article explains the N+1 query performance issue, demonstrates a naïve Python/SQLite implementation that triggers N+1 queries, compares its runtime, and then shows how using SQL JOINs, GROUP BY, and nested data structures can dramatically improve query efficiency and reduce latency.

JOINN+1 querySQL
0 likes · 9 min read
How to Eliminate the N+1 Query Problem with JOINs in SQLite
Raymond Ops
Raymond Ops
Sep 11, 2025 · Databases

Master MySQL: Installation Guide Across Linux Distros & Key Features

This comprehensive guide introduces MySQL’s core concepts, architecture, and features, then walks you through step‑by‑step installation and configuration on popular Linux distributions—including Rocky, AlmaLinux, CentOS, Ubuntu, Debian, and openSUSE—covering network setup, repository configuration, and post‑install security tweaks.

InstallationLinuxMySQL
0 likes · 69 min read
Master MySQL: Installation Guide Across Linux Distros & Key Features
macrozheng
macrozheng
Sep 11, 2025 · Databases

Why IN/NOT IN Can Kill Your SQL Performance and How to Fix It

This article explains why using IN and NOT IN in SQL queries often leads to poor performance and incorrect results, demonstrates common pitfalls with real examples, and shows safer alternatives such as EXISTS, NOT EXISTS, and JOIN to write efficient and reliable database queries.

Database PerformanceEXISTSIN
0 likes · 6 min read
Why IN/NOT IN Can Kill Your SQL Performance and How to Fix It
Python Programming Learning Circle
Python Programming Learning Circle
Sep 8, 2025 · Big Data

Unlocking E‑Commerce Insights: How Python & SQL Reveal User Behavior and Boost Sales

This article analyzes a JD e‑commerce dataset using Python and MySQL to calculate key metrics such as PV, UV, conversion rates, attrition, daily activity, hourly trends, user‑behavior funnels, purchase intervals, retention rates, product sales, and RFM segmentation, and then offers data‑driven recommendations to improve traffic, conversion, and user loyalty.

PythonRFMSQL
0 likes · 37 min read
Unlocking E‑Commerce Insights: How Python & SQL Reveal User Behavior and Boost Sales
Raymond Ops
Raymond Ops
Sep 7, 2025 · Databases

Understanding MySQL 8 Directory Structure and Table Storage

This article explains the main directory layout of MySQL 8, the locations of data files, configuration files, system databases, and how InnoDB and MyISAM storage engines represent tables and indexes on the file system, including the use of system and file‑per‑table tablespaces.

Database DirectoryInnoDBMyISAM
0 likes · 13 min read
Understanding MySQL 8 Directory Structure and Table Storage
ITPUB
ITPUB
Sep 6, 2025 · Databases

Why OFFSET Slows Your API and How Keyset Pagination Boosts Speed

The article explains how using OFFSET for pagination can cause severe performance degradation as data grows, and demonstrates how switching to keyset (seek) pagination, optionally combined with cursor encoding, index‑only OFFSET, or materialized views, dramatically reduces query latency.

Keyset PaginationMySQLPostgreSQL
0 likes · 8 min read
Why OFFSET Slows Your API and How Keyset Pagination Boosts Speed
Liangxu Linux
Liangxu Linux
Sep 6, 2025 · Databases

Why PostgreSQL Is Overtaking MySQL: Survey Data and Real‑World Insights

A recent Stack Overflow survey shows PostgreSQL surpassing MySQL in popularity, and the article explains the technical advantages, real‑world performance tests, and evolving use cases that make PostgreSQL the preferred choice for many developers while still acknowledging MySQL’s enduring role for beginners.

Database ComparisonMySQLPostgreSQL
0 likes · 5 min read
Why PostgreSQL Is Overtaking MySQL: Survey Data and Real‑World Insights
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 4, 2025 · Artificial Intelligence

How GPT‑5, DeepSeek‑V3.1 and SQLShift Stack Up in the August 2025 SQL LLM Benchmark

The August 2025 SCALE benchmark evaluates new AI models—including the GPT‑5 family, DeepSeek‑V3.1, and the SQLShift tool—across SQL understanding, optimization, and dialect conversion, revealing distinct strengths, weaknesses, and the growing advantage of specialized tools over generic large language models.

AIBenchmarkDeepSeek
0 likes · 15 min read
How GPT‑5, DeepSeek‑V3.1 and SQLShift Stack Up in the August 2025 SQL LLM Benchmark
Tencent Cloud Developer
Tencent Cloud Developer
Sep 3, 2025 · Databases

Deep Dive into GORM: Architecture, Internals, and Common Pitfalls

This article provides a comprehensive overview of Go's powerful GORM ORM library, covering its core concepts, architecture, internal logic, common pitfalls, practical tips, and advanced features such as soft deletes, transaction handling, batch operations, and integration with trpc-go, helping developers master GORM's inner workings.

Batch InsertGORMORM
0 likes · 26 min read
Deep Dive into GORM: Architecture, Internals, and Common Pitfalls
Su San Talks Tech
Su San Talks Tech
Sep 3, 2025 · Databases

Why Does MySQL GROUP BY Slow Down and How to Fix It

This article explains why a MySQL GROUP BY query can degrade from seconds to minutes as data grows, shows how to locate the bottlenecks with EXPLAIN and profiling tools, and provides practical indexing, query rewriting, temporary‑table tuning, batch aggregation, and distributed‑database strategies to restore performance.

GROUP BYIndexingMySQL
0 likes · 13 min read
Why Does MySQL GROUP BY Slow Down and How to Fix It
Code Mala Tang
Code Mala Tang
Sep 1, 2025 · Databases

Boost SQL Query Performance: Practical Tips and Code Examples

This article presents a collection of practical techniques—such as using SELECT TOP, avoiding DISTINCT, preferring IN over OR, indexing key columns, and leveraging stored procedures—to dramatically improve SQL query speed and reduce database load.

IndexesQuery OptimizationSQL
0 likes · 10 min read
Boost SQL Query Performance: Practical Tips and Code Examples
Linux Tech Enthusiast
Linux Tech Enthusiast
Aug 28, 2025 · Databases

Can Weak Backup & Recovery Skills Cost You Your Probation?

The article explains why mastering database backup and recovery—including failure types, logical vs. physical backups, flashback, full and partial restores, a weekly backup strategy, RMAN configuration, shell scripts, and monitoring queries—is essential for avoiding costly mistakes and passing a new‑job probation.

OracleRMANRecovery
0 likes · 7 min read
Can Weak Backup & Recovery Skills Cost You Your Probation?
MaGe Linux Operations
MaGe Linux Operations
Aug 26, 2025 · Databases

How I Cut MySQL Query Time from 20 Seconds to 200 Milliseconds

In this detailed case study, the author walks through a real‑world MySQL slow‑query incident, analyzes execution plans, logs, and profiling data, and applies a four‑step optimization strategy—including index creation, query rewriting, covering indexes, and materialized views—to reduce execution time from 20 seconds to 200 milliseconds, achieving over 100× speedup.

IndexingMySQLSQL
0 likes · 23 min read
How I Cut MySQL Query Time from 20 Seconds to 200 Milliseconds
Su San Talks Tech
Su San Talks Tech
Aug 25, 2025 · Databases

Master Database Indexes: 10 Essential Questions Every Developer Should Know

This article explains the fundamentals of database indexes, how they work, common pitfalls such as slow queries and index misuse, and provides practical solutions, best‑practice design principles, and differences between MySQL and PostgreSQL, all illustrated with clear SQL examples and diagrams.

IndexingMySQLPerformance
0 likes · 13 min read
Master Database Indexes: 10 Essential Questions Every Developer Should Know
Big Data Tech Team
Big Data Tech Team
Aug 24, 2025 · Big Data

Top 18 Data Warehouse Engineer Interview Questions from Meituan and ByteDance

This article compiles 18 essential interview topics for data warehouse engineer roles, covering self‑introduction, architecture layering, dimensional modeling, HDFS operations, Spark vs MapReduce, join implementation, SQL challenges, OLAP selection, real‑time quality assurance, and job transition considerations.

Data WarehouseHDFSOLAP
0 likes · 3 min read
Top 18 Data Warehouse Engineer Interview Questions from Meituan and ByteDance
Selected Java Interview Questions
Selected Java Interview Questions
Aug 22, 2025 · Databases

How to Recover Accidentally Deleted MySQL Data Using Binlog

This guide explains how to restore mistakenly deleted MySQL rows by leveraging binary logs, covering binlog activation, mode configuration, locating relevant log files, extracting the original INSERT statements or generating reverse DELETE statements, and using open‑source tools to automate the recovery process.

BinlogData RecoveryMySQL
0 likes · 17 min read
How to Recover Accidentally Deleted MySQL Data Using Binlog
Big Data Tech Team
Big Data Tech Team
Aug 21, 2025 · Big Data

Crack ByteDance Data Warehouse Engineer Interviews: 30+ Essential Questions

This article compiles the complete set of interview questions used in ByteDance's data warehouse engineer hiring process, covering three interview rounds with topics ranging from self‑introduction and window functions to data skew, shuffle mechanisms, warehouse architecture, data quality, and governance, plus interviewers' feedback and recommended preparation tips.

ByteDanceData WarehouseInterview Questions
0 likes · 6 min read
Crack ByteDance Data Warehouse Engineer Interviews: 30+ Essential Questions
Laravel Tech Community
Laravel Tech Community
Aug 20, 2025 · Databases

Three Powerful Ways to Perform Cumulative Queries in SQL

This article explains three techniques for performing cumulative queries in SQL—using a subquery, a Cartesian product with grouping, and a window function—detailing when each method is appropriate, especially for MySQL versions lacking native window support.

MySQLSQLSubquery
0 likes · 2 min read
Three Powerful Ways to Perform Cumulative Queries in SQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 18, 2025 · Databases

Unlocking LeetCode’s Hardest SQL Problem with Window Functions

This article examines LeetCode problem 185 – the hardest SQL challenge – by preparing the Employee and Department tables, presenting two solution approaches (a subquery and a window‑function version), benchmarking their performance on large test data, and explaining why window functions are the superior choice in MySQL 8+.

LeetCodeMySQLPerformance
0 likes · 10 min read
Unlocking LeetCode’s Hardest SQL Problem with Window Functions
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Aug 15, 2025 · Big Data

How MaxCompute Extends SQL to Match BigQuery – New Features & Compatibility

This article details the challenges of migrating 100,000+ SQL statements from BigQuery to MaxCompute for a leading Southeast Asian tech group, explains the new MaxCompute SQL syntax, auto‑partition and ingestion‑time tables, enhanced built‑in functions, and the BigQuery compatibility mode that ensures seamless query behavior.

BigQueryData MigrationMaxCompute
0 likes · 15 min read
How MaxCompute Extends SQL to Match BigQuery – New Features & Compatibility
Liangxu Linux
Liangxu Linux
Aug 13, 2025 · Databases

Unlock MySQL Mastery: A Complete Theory & Hands‑On Guide

This comprehensive guide walks you through MySQL fundamentals and advanced features, covering database architecture, storage engines, data types, CRUD operations, complex queries, transactions, indexing, performance tuning, replication, JSON handling, full‑text search, and best practices for security and backup.

CRUDMySQLSQL
0 likes · 27 min read
Unlock MySQL Mastery: A Complete Theory & Hands‑On Guide
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Aug 8, 2025 · Databases

GaussDB-Powered Database Textbook: Transforming Teaching & Practice

Facing gaps in database education, Beijing Information Technology University launched a GaussDB‑based textbook project to blend theory with hands‑on practice, producing a four‑part, thirteen‑chapter resource that covers fundamentals, SQL, design, and management, while supporting curriculum reform and industry collaboration.

Database DesignDatabase EducationDatabase Management
0 likes · 10 min read
GaussDB-Powered Database Textbook: Transforming Teaching & Practice
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 8, 2025 · Databases

Master SQL Execution Order, Joins, CTEs & Window Functions

This article provides a comprehensive guide to essential SQL concepts for backend developers and data engineers, covering query execution order, core commands, various join types, common table expressions (including recursive CTEs), window functions, and performance optimization techniques such as table scans and indexing, complete with practical code examples and visual illustrations.

CTEJoinsPerformance Optimization
0 likes · 10 min read
Master SQL Execution Order, Joins, CTEs & Window Functions
Volcano Engine Developer Services
Volcano Engine Developer Services
Aug 7, 2025 · Operations

How to Collect and Analyze JuiceFS Access Logs with Volcengine TLS

This article explains how to gather JuiceFS access logs using the LogCollector agent, parse and structure them with TLS, design index fields, build analytical dashboards, run advanced SQL queries for write‑IO distribution, sequential‑read ratios, overwrite detection, file‑lifecycle analysis, and set up real‑time monitoring and alerting for performance anomalies.

JuiceFSLogCollectorSQL
0 likes · 22 min read
How to Collect and Analyze JuiceFS Access Logs with Volcengine TLS
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 7, 2025 · Databases

Unlock MySQL REST Service: Step‑by‑Step Installation and API Guide

This tutorial walks you through installing MySQL REST Service on Oracle Linux, configuring the metadata schema, using MySQL Shell in VS Code, loading the component, managing variables, handling X‑protocol settings, creating services, and authenticating via MRS, MySQL Internal, cookie or JWT, with full command‑line examples and code snippets.

MySQLMySQL ShellREST Service
0 likes · 17 min read
Unlock MySQL REST Service: Step‑by‑Step Installation and API Guide
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Aug 5, 2025 · Big Data

How MaxQA Supercharges Query Performance for Large‑Scale Data Warehouses

This article details the migration of Southeast Asia's leading tech group GoTerra from Google BigQuery to Alibaba Cloud MaxCompute, explaining the performance challenges, the MaxQA accelerator architecture, optimization techniques, resource‑quota strategies, and future enhancements that together double query efficiency while reducing costs.

Big DataData WarehousePerformance Optimization
0 likes · 19 min read
How MaxQA Supercharges Query Performance for Large‑Scale Data Warehouses
Alibaba Cloud Native
Alibaba Cloud Native
Aug 5, 2025 · Cloud Native

Master JSON Log Analysis in Alibaba Cloud SLS: Flatten, Index & AI Query

This guide explains how to efficiently process and analyze massive JSON logs in Alibaba Cloud Log Service (SLS) by flattening data before storage, configuring indexes, leveraging powerful JSON extraction functions, using unnest for array analysis, and employing the AI‑driven SQL Copilot to generate optimal queries, all with practical code examples.

AILog ServiceSLS
0 likes · 12 min read
Master JSON Log Analysis in Alibaba Cloud SLS: Flatten, Index & AI Query
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 5, 2025 · Databases

How PolarDB IMCI Unifies Vector Search and Embedding in One SQL Engine

This article explains how PolarDB IMCI integrates vector indexing and embedding directly into the database kernel, offering a unified, transactional, and real‑time vector lifecycle management service that lets developers build RAG knowledge bases and AI applications using only standard SQL, dramatically reducing development and operational complexity.

AIPolardbRAG
0 likes · 11 min read
How PolarDB IMCI Unifies Vector Search and Embedding in One SQL Engine
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 5, 2025 · Artificial Intelligence

How Model Size Shapes SQL Mastery: Insights from 1.5B‑32B LLMs

This article examines how the parameter count of large language models influences their ability to generate and understand SQL, comparing small (1.5B), medium (7B), and large (32B) models through a complex query case study, and highlights the trade‑offs between accuracy, reasoning depth, and resource consumption.

Artificial IntelligenceModel ScalingSQL
0 likes · 14 min read
How Model Size Shapes SQL Mastery: Insights from 1.5B‑32B LLMs
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 4, 2025 · Artificial Intelligence

July 2025 AI SQL Benchmark: New Leaders & Deep Dive into Large SQL & DB Migration

The July 2025 SCALE report evaluates the latest AI large models on advanced SQL tasks, introduces new entrants like Claude 3.5 Sonnet and Gemini 2.5 stable releases, upgrades the benchmark with large‑SQL and domestic database conversion metrics, and provides detailed rankings and analyses of model performance across optimization, dialect translation, and understanding.

AISQL
0 likes · 11 min read
July 2025 AI SQL Benchmark: New Leaders & Deep Dive into Large SQL & DB Migration
Java Baker
Java Baker
Aug 4, 2025 · Operations

How to Build Real‑Time and Offline Data Reconciliation for System Consistency

This article explains why cross‑system data inconsistencies occur, defines key reconciliation metrics—completeness, timeliness, and automatic repair—and provides step‑by‑step designs for both real‑time (seconds‑to‑minutes) and offline (hour‑to‑day) reconciliation, including message‑driven triggers, batch processing, and SQL examples for detecting and fixing mismatches.

Data ReconciliationOfflineOperations
0 likes · 8 min read
How to Build Real‑Time and Offline Data Reconciliation for System Consistency
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Jul 29, 2025 · Big Data

How GoTerra Cut Costs and Boost Speed: BigQuery‑to‑MaxCompute Performance Secrets

This article details the real‑world migration of a leading Southeast Asian tech group from BigQuery to MaxCompute, exposing the three major challenges, the data‑driven performance‑optimization methodology, and the concrete techniques—Auto Partition, UNNEST redesign, large‑query graph optimizations, and intelligent tuning—that delivered dramatic cost reductions and query‑speed gains.

Auto PartitionBig DataData Warehouse Migration
0 likes · 17 min read
How GoTerra Cut Costs and Boost Speed: BigQuery‑to‑MaxCompute Performance Secrets
Wukong Talks Architecture
Wukong Talks Architecture
Jul 25, 2025 · Databases

Testing T‑SQL Compatibility in KingbaseES: Key Findings and Tips

This article walks through installing KingbaseES's SQL Server compatible edition, evaluates core T‑SQL features such as GO, PRINT, RAISERROR, THROW, statement terminators, and trailing commas in CREATE TABLE, provides practical code examples, and offers solutions to common Windows installation errors.

KingbaseESSQLSQL Server compatibility
0 likes · 15 min read
Testing T‑SQL Compatibility in KingbaseES: Key Findings and Tips
php Courses
php Courses
Jul 22, 2025 · Databases

10 Must‑Know Advanced SQL Tricks to Boost Your Development Efficiency

This article presents ten essential advanced SQL techniques—including EXPLAIN, window functions, CTEs, bulk operations, index optimization, transactions, JSON handling, temporary tables, proper NULL handling, and recursive queries—to help developers write more efficient, maintainable, and powerful database code.

Advanced QueriesCTEIndexes
0 likes · 8 min read
10 Must‑Know Advanced SQL Tricks to Boost Your Development Efficiency
IT Xianyu
IT Xianyu
Jul 22, 2025 · Databases

Master DataGrip: Connect, Insert, Update, and Delete PostgreSQL in Minutes

This guide walks you through using JetBrains DataGrip on AlmaLinux to connect to a PostgreSQL server, then demonstrates step‑by‑step how to insert, modify, and delete records via the graphical interface and optional SQL console, highlighting key settings and safety tips.

AlmaLinuxCRUDDataGrip
0 likes · 10 min read
Master DataGrip: Connect, Insert, Update, and Delete PostgreSQL in Minutes
Su San Talks Tech
Su San Talks Tech
Jul 21, 2025 · Databases

Master MySQL Table Lookups and Index Condition Pushdown

The article explains MySQL’s table lookup (回表) and index condition pushdown (索引下推), illustrating their mechanisms with sample tables, SQL statements, execution plans, performance drawbacks, and practical techniques such as covering indexes to reduce I/O and improve query efficiency.

MySQLSQLTable Lookup
0 likes · 9 min read
Master MySQL Table Lookups and Index Condition Pushdown
Architect
Architect
Jul 20, 2025 · Databases

Master Druid Monitoring: Configure, Filter, and Remove Ads in Spring Boot

This guide explains how to integrate Alibaba Druid as a Java database connection pool, add Maven dependencies, configure core properties, enable SQL and slow‑SQL monitoring, set up WebStatFilter and Spring AOP monitoring, remove the built‑in advertisement, and retrieve monitoring data via DruidStatManagerFacade.

Connection PoolDatabase MonitoringDruid
0 likes · 15 min read
Master Druid Monitoring: Configure, Filter, and Remove Ads in Spring Boot
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2025 · Databases

Master MySQL 8.0 Performance: 20+ Proven Optimization Tips

This guide presents more than twenty practical MySQL 8.0 optimization recommendations—including hardware tuning, InnoDB configuration, index design, query rewriting, security hardening, monitoring, backup strategies, and benchmarking—to help engineers dramatically improve database throughput, latency, and stability.

InnoDBMySQLPerformance Tuning
0 likes · 15 min read
Master MySQL 8.0 Performance: 20+ Proven Optimization Tips
Senior Tony
Senior Tony
Jul 19, 2025 · Databases

Why Your MySQL Index Fails: 8 Common Pitfalls and How to Fix Them

This article examines eight typical situations that cause MySQL indexes to become ineffective—such as violating the leftmost‑prefix rule, leading‑wildcard LIKE patterns, OR conditions, functions, calculations, implicit type conversions, large result sets, and mismatched ORDER BY directions—providing SQL examples, execution‑plan screenshots, and practical explanations.

Index OptimizationMySQLSQL
0 likes · 11 min read
Why Your MySQL Index Fails: 8 Common Pitfalls and How to Fix Them
Big Data Tech Team
Big Data Tech Team
Jul 17, 2025 · Big Data

Master Hive SQL: 10 Advanced Use Cases & Performance Optimizations for Hive 3.x

This article presents ten practical Hive SQL advanced scenarios—including session segmentation, funnel conversion, median calculation, array explosion, hierarchical recursion, deduplication, small‑file merging, conditional aggregation, approximate statistics, and data‑quality checks—each with full SQL code, key technical points, and optimization tips for Hive 3.x.

Data WarehouseHiveOptimization
0 likes · 9 min read
Master Hive SQL: 10 Advanced Use Cases & Performance Optimizations for Hive 3.x
IT Services Circle
IT Services Circle
Jul 17, 2025 · Databases

Understanding MySQL Table Lookups and Index Condition Pushdown

This article explains the concepts of table lookups (回表) and index condition pushdown (索引下推) in MySQL, demonstrates how they work with example tables and queries, discusses their performance impact, and provides practical techniques such as covering indexes and selective column queries to minimize costly table lookups.

MySQLSQLTable Lookup
0 likes · 8 min read
Understanding MySQL Table Lookups and Index Condition Pushdown
StarRocks
StarRocks
Jul 16, 2025 · Cloud Native

Build a Decoupled Storage‑Compute Data Platform with StarRocks and MinIO

This step‑by‑step tutorial shows how to deploy StarRocks and MinIO in a decoupled storage‑compute architecture using Docker Compose and Kubernetes, configure local caching, create storage volumes, load public datasets, and run SQL queries to explore the combined data.

Data LakehouseDecoupled StorageDocker Compose
0 likes · 14 min read
Build a Decoupled Storage‑Compute Data Platform with StarRocks and MinIO
Java Tech Enthusiast
Java Tech Enthusiast
Jul 14, 2025 · Databases

13 Proven SQL Optimization Tricks to Supercharge Your Queries

This article presents a comprehensive set of practical SQL optimization techniques—including proper indexing, selective column retrieval, efficient joins, query planning, and database‑specific features—to dramatically improve query speed, reduce resource consumption, and enhance overall application performance.

IndexesJoinsPerformance
0 likes · 12 min read
13 Proven SQL Optimization Tricks to Supercharge Your Queries