Tagged articles
2769 articles
Page 2 of 28
JD Tech
JD Tech
Dec 18, 2025 · Backend Development

Can AI Prompts Supercharge Your Backend, Frontend, and Big Data Projects?

This article showcases a series of real‑world development cases—from implementing a guided inventory task in a Java backend and generating Vue rule code, to writing unit tests, analyzing report data, converting SQL to Hive, debugging startup errors, publishing Maven APIs, optimizing slow SQL queries, and resolving MySQL deadlocks—demonstrating how AI‑driven prompts can accelerate coding, testing, and troubleshooting across multiple domains.

Backendbigdatadebugging
0 likes · 31 min read
Can AI Prompts Supercharge Your Backend, Frontend, and Big Data Projects?
dbaplus Community
dbaplus Community
Dec 16, 2025 · Databases

83 Proven SQL Optimization Techniques to Supercharge Your Database

This comprehensive guide presents 83 practical SQL optimization scenarios—from avoiding SELECT * and replacing IN with EXISTS to leveraging materialized views, partitioning, and advanced indexing—each illustrated with real‑world use cases and exact code snippets to help developers dramatically improve query performance and reduce resource consumption.

Database Optimizationindexesperformance tuning
0 likes · 55 min read
83 Proven SQL Optimization Techniques to Supercharge Your Database
Woodpecker Software Testing
Woodpecker Software Testing
Dec 16, 2025 · Backend Development

Generating Password Recovery Backend Code with ChatGPT

This article walks through building a complete password‑recovery feature for a Java web application, detailing the workflow, database schema, validation logic, JSP integration, controller design, and optional email/SMS notification code generated by ChatGPT.

EmailJSPPassword Recovery
0 likes · 37 min read
Generating Password Recovery Backend Code with ChatGPT
Ray's Galactic Tech
Ray's Galactic Tech
Dec 16, 2025 · Databases

PostgreSQL vs MySQL: The Ultimate Production-Ready Database Selection Guide

Choosing between PostgreSQL and MySQL isn’t just a feature checklist; it requires weighing business complexity, team expertise, and future uncertainty, with this guide offering core design philosophies, multi-dimensional capability comparisons, actionable decision paths, and real-world case studies to help you make a production-grade database choice.

GISJSONdatabase selection
0 likes · 12 min read
PostgreSQL vs MySQL: The Ultimate Production-Ready Database Selection Guide
Ray's Galactic Tech
Ray's Galactic Tech
Dec 15, 2025 · Databases

10 Advanced MySQL Techniques to Write Faster, Cleaner SQL

Discover ten powerful MySQL features—including CTEs, window functions, conditional aggregation, JSON handling, generated columns, and UPSERT tricks—illustrated with real‑world examples and performance tips, so you can write SQL that is more efficient, maintainable, and production‑ready.

CTEGenerated ColumnsJSON
0 likes · 15 min read
10 Advanced MySQL Techniques to Write Faster, Cleaner SQL
Senior Tony
Senior Tony
Dec 15, 2025 · Databases

Avoid the 5 Hidden MySQL Pitfalls That Can Kill Your Performance

This article reveals five common MySQL pitfalls—including uncontrolled InnoDB lock granularity, low default IOPS, misleading VARCHAR length handling, undersized InnoDB Buffer Pool, and a fragile Buffer Pool LRU algorithm—and offers practical configuration tips to prevent performance degradation.

Database OptimizationInnoDBmysql
0 likes · 6 min read
Avoid the 5 Hidden MySQL Pitfalls That Can Kill Your Performance
Lobster Programming
Lobster Programming
Dec 15, 2025 · Backend Development

5 Ways to Implement Pagination in MyBatis: From Manual SQL to PageHelper

This article compares five MyBatis pagination techniques—including raw LIMIT SQL, RowBounds, custom window‑function queries, interceptor‑based pagination, and the PageHelper plugin—explaining their principles, code examples, performance trade‑offs, and ideal usage scenarios.

BackendMyBatisRowBounds
0 likes · 6 min read
5 Ways to Implement Pagination in MyBatis: From Manual SQL to PageHelper
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 15, 2025 · Backend Development

5 Efficient Ways to Check Record Existence in Spring Boot 3

This article compares five practical techniques—custom findBy, Query‑by‑Example, existsBy, COUNT aggregation, and native CASE WHEN EXISTS SQL—to determine whether a database record exists in Spring Boot 3.5.0, providing code examples, generated SQL, performance notes, and recommendations for each approach.

Query by ExampleSpring BootexistsBy
0 likes · 9 min read
5 Efficient Ways to Check Record Existence in Spring Boot 3
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 10, 2025 · Databases

Why OceanBase DDL Expansion Can Crash Your Service and How to Fix It

A production migration from Oracle to OceanBase caused a column‑length change to trigger offline DDL, leading to connection errors, INSERT latency spikes, and complete table blockage; the article reproduces the fault, analyzes the OMS conversion and OceanBase DDL rules, and provides a two‑step remediation and a method to verify online DDL execution.

DDLOceanBaseOffline DDL
0 likes · 11 min read
Why OceanBase DDL Expansion Can Crash Your Service and How to Fix It
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 10, 2025 · Big Data

What’s New in Apache Spark 4.0? Deep Dive into 2025 Core Updates

The 2025 release of Apache Spark 4.0 brings a comprehensive overhaul—including default ANSI SQL mode, full SQL scripting support, a new Real‑Time streaming mode, adaptive query execution, dynamic memory management, and GPU‑accelerated MLlib—significantly boosting performance, reliability, and developer productivity across big‑data workloads.

Apache SparkBig DataGPU Acceleration
0 likes · 9 min read
What’s New in Apache Spark 4.0? Deep Dive into 2025 Core Updates
Raymond Ops
Raymond Ops
Dec 9, 2025 · Databases

Deep Dive into MySQL Architecture, SQL Syntax, and Performance Tuning

This comprehensive guide explores MySQL’s layered architecture, core components, storage engines, and detailed SQL language structures, while providing practical commands, optimization techniques, security best practices, and operational procedures for administrators to efficiently manage, tune, and secure MySQL databases.

Operationsdatabasemysql
0 likes · 31 min read
Deep Dive into MySQL Architecture, SQL Syntax, and Performance Tuning
macrozheng
macrozheng
Dec 8, 2025 · Databases

Why LIMIT Pagination Slows Down on Large Tables and How to Optimize It

This tutorial demonstrates how MySQL LIMIT pagination performs on tables with millions of rows, measures query times for various offsets and batch sizes, and presents practical optimization techniques such as sub‑queries, ID‑range filtering, and column selection to improve speed.

LIMITlarge datasetsmysql
0 likes · 9 min read
Why LIMIT Pagination Slows Down on Large Tables and How to Optimize It
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 4, 2025 · Artificial Intelligence

Gemini 3 Pro vs DeepSeek‑V3.2‑Exp: Which LLM Dominates SQL Understanding, Optimization, and Dialect Conversion?

This report evaluates the professional‑grade LLMs Gemini 3 Pro and DeepSeek‑V3.2‑Exp on three SQL‑related dimensions—understanding, optimization, and dialect conversion—using the SCALE benchmark, presenting detailed scores, strengths, weaknesses, and practical recommendations for database engineers and decision makers.

DeepSeekGeminiLLM
0 likes · 16 min read
Gemini 3 Pro vs DeepSeek‑V3.2‑Exp: Which LLM Dominates SQL Understanding, Optimization, and Dialect Conversion?
Senior Brother's Insights
Senior Brother's Insights
Dec 3, 2025 · Databases

Can MySQL Partition Tables Work When created_at Is NULL? Understanding Default Timestamp Partitioning

This article explains why MySQL partitions based on a timestamp column still function correctly even when the application does not explicitly set the column, by detailing the default CURRENT_TIMESTAMP behavior, partition key evaluation, and practical examples with table definitions and insert statements.

DEFAULT CURRENT_TIMESTAMPPartitioningmysql
0 likes · 6 min read
Can MySQL Partition Tables Work When created_at Is NULL? Understanding Default Timestamp Partitioning
JD Tech Talk
JD Tech Talk
Dec 3, 2025 · Databases

How DongSQL’s Syntax Extensions and Concurrency Controls Supercharge E‑commerce Performance

This article provides an in‑depth technical analysis of DongSQL’s kernel redesign—including RETURNING clause, Inventory Hint, CCL concurrency control, Statement Outline, and thread‑pool optimizations—showing how each feature dramatically improves throughput and latency for high‑traffic e‑commerce workloads.

Concurrency Controldatabasessql
0 likes · 12 min read
How DongSQL’s Syntax Extensions and Concurrency Controls Supercharge E‑commerce Performance
Top Architect
Top Architect
Dec 2, 2025 · Databases

30 Essential SQL Query Optimization Tips from a Senior Architect

This article compiles thirty practical SQL performance tips, covering index usage, avoiding full table scans, proper handling of NULLs, OR/IN clauses, functions, temporary tables, cursors, and transaction size, each illustrated with clear example queries and recommended rewrites.

indexesquery optimizationsql
0 likes · 12 min read
30 Essential SQL Query Optimization Tips from a Senior Architect
Java Tech Enthusiast
Java Tech Enthusiast
Dec 1, 2025 · Databases

Master MySQL Full‑Text Search: Inverted Index, Query Modes, and Practical Examples

This guide explains how InnoDB implements full‑text search with inverted indexes, shows how to create and drop full‑text indexes, demonstrates MATCH() AGAINST() syntax across natural language, boolean, and query‑expansion modes, and covers relevance scoring, stopwords, token size limits, and real‑world query examples.

Full‑Text SearchInnoDBinverted index
0 likes · 14 min read
Master MySQL Full‑Text Search: Inverted Index, Query Modes, and Practical Examples
Ray's Galactic Tech
Ray's Galactic Tech
Nov 27, 2025 · Databases

Why Implicit Type Conversion Breaks Indexes and How to Fix It

This article explains how implicit type conversion can silently invalidate database indexes, outlines the underlying rules and type‑precedence logic, provides real‑world MySQL examples, shows how to detect the issue with EXPLAIN, and offers concrete best‑practice solutions.

Implicit ConversionIndex Optimizationdatabase
0 likes · 10 min read
Why Implicit Type Conversion Breaks Indexes and How to Fix It
Su San Talks Tech
Su San Talks Tech
Nov 26, 2025 · Databases

Master Database Indexes: 10 Essential Questions and Best Practices

This guide explores the fundamentals of database indexing, answering ten common questions about index design, performance pitfalls, composite indexes, covering indexes, NULL handling, and maintenance, while providing practical SQL examples, B+‑tree concepts, and best‑practice recommendations for MySQL and PostgreSQL.

B+Treeindexingmysql
0 likes · 13 min read
Master Database Indexes: 10 Essential Questions and Best Practices
Old Meng AI Explorer
Old Meng AI Explorer
Nov 24, 2025 · Databases

Why DBeaver Is the Ultimate All‑In‑One Database Management Tool

Developers, data analysts, and ops engineers can eliminate the hassle of juggling multiple database clients by adopting DBeaver, an open‑source, cross‑platform tool that supports over 100 databases, offers powerful SQL editing, visual design, data migration, and backup features—all for free.

DBeaverData MigrationDatabase Management
0 likes · 11 min read
Why DBeaver Is the Ultimate All‑In‑One Database Management Tool
Big Data Tech Team
Big Data Tech Team
Nov 24, 2025 · Big Data

Avoid the 5 Common DWS Design Traps and Build Scalable Data Warehouses

This article analyzes the five typical pitfalls when designing DWS aggregation tables—from chimney‑style schemas to performance blind spots—explains their consequences, and provides concrete, production‑ready recommendations, code examples, and design principles to create reusable, efficient data‑warehouse layers.

DWS Designaggregationdata-warehouse
0 likes · 10 min read
Avoid the 5 Common DWS Design Traps and Build Scalable Data Warehouses
Ops Community
Ops Community
Nov 22, 2025 · Databases

Why Is Your SQL Slow? 7 Common MySQL Index Failure Scenarios Explained

This article examines why MySQL queries can become sluggish by analyzing seven typical situations where indexes become ineffective, provides step‑by‑step testing procedures, performance comparisons, troubleshooting tips, and best‑practice recommendations to restore optimal query performance.

Index Optimizationmysqlperformance tuning
0 likes · 37 min read
Why Is Your SQL Slow? 7 Common MySQL Index Failure Scenarios Explained
dbaplus Community
dbaplus Community
Nov 22, 2025 · Databases

MySQL 8.4 Upgrade: Removed & Deprecated Features You Must Know

With MySQL 8.0 reaching end‑of‑life in April 2026, DBAs must migrate to the LTS 8.4 release, updating tools and replacing removed system variables, deprecated options, and old commands to avoid breakage in applications, monitoring, and replication setups.

8.4Deprecated featuresRemoved Variables
0 likes · 7 min read
MySQL 8.4 Upgrade: Removed & Deprecated Features You Must Know
Architect-Kip
Architect-Kip
Nov 21, 2025 · Backend Development

Mastering Pagination Performance: Single‑DB and Cross‑DB Strategies

This guide explores common pagination bottlenecks and presents practical solutions for single‑database and sharded environments, covering keyset pagination, bidirectional paging, join‑based paging, index design, middleware rewriting, approximate paging, and two‑phase query techniques.

Keyset Paginationmiddlewaresharding
0 likes · 14 min read
Mastering Pagination Performance: Single‑DB and Cross‑DB Strategies
Zhuanzhuan Tech
Zhuanzhuan Tech
Nov 17, 2025 · Backend Development

How to Eliminate Duplicate and Missing Data in Backend Pagination

This article explains why offset‑based pagination can cause duplicate or missing records when data changes, compares three practical solutions—including cursor pagination with timestamps and IDs, fixed‑window timestamp filtering, and Elasticsearch search_after—and provides concrete SQL and code examples along with their trade‑offs and suitable scenarios.

BackendCursorElasticsearch
0 likes · 12 min read
How to Eliminate Duplicate and Missing Data in Backend Pagination
Advanced AI Application Practice
Advanced AI Application Practice
Nov 14, 2025 · Fundamentals

How to Verify Data Correctness Without Knowing SQL

When UI checks can be misleading, this guide shows testers three practical ways—getting ready‑made queries from developers, using friendly graphical database clients, and mentally mapping UI actions to DB changes—to directly validate data in the database without deep SQL expertise.

Data verificationGUI database clientQA
0 likes · 7 min read
How to Verify Data Correctness Without Knowing SQL
Architect-Kip
Architect-Kip
Nov 13, 2025 · Databases

Mastering Database Table Design: 12 Essential Table Types and Best Practices

Effective data modeling is crucial for system stability, and this guide walks you through core principles, twelve common table patterns—from batch and log tables to hierarchical and bitmap structures—detailing design rules, trade‑offs, usage scenarios, and practical examples to help you avoid costly redesigns.

data modelingnormalizationsql
0 likes · 24 min read
Mastering Database Table Design: 12 Essential Table Types and Best Practices
Data STUDIO
Data STUDIO
Nov 12, 2025 · Databases

7 Reusable DuckDB SQL Patterns for Fast Local Data Analysis

This article presents seven practical DuckDB SQL patterns—querying files directly, treating partition folders as tables, deduplicating with QUALIFY, computing rolling metrics with window functions, pivot/unpivot, handling JSON arrays, and exporting results to Parquet—plus tips and a mini case study that show how to turn a notebook into a lightweight OLAP engine without leaving the Python environment.

DuckDBJSONParquet
0 likes · 12 min read
7 Reusable DuckDB SQL Patterns for Fast Local Data Analysis
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 10, 2025 · Artificial Intelligence

Ling‑1T vs Ring‑1T: SQL Optimization, Dialect Conversion & Understanding

October 2025’s SCALE report introduces Ant Bailing’s trillion‑parameter models Ling‑1T and Ring‑1T, evaluates them across three dimensions—SQL optimization, dialect conversion, and SQL understanding—reveals Ling‑1T’s strength in domestic database conversion and Ring‑1T’s balanced performance, and provides expert commentary on their implications for AI‑driven database solutions.

AI modelsLing-1TRing-1T
0 likes · 13 min read
Ling‑1T vs Ring‑1T: SQL Optimization, Dialect Conversion & Understanding
Architect
Architect
Nov 8, 2025 · Databases

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

This article explains why using IN and NOT IN in SQL queries often leads to poor performance and subtle bugs, especially with large tables and NULL values, and demonstrates safer alternatives such as EXISTS, NOT EXISTS, and JOIN with clear code examples.

EXISTSINJOIN
0 likes · 6 min read
Why IN/NOT IN Can Kill Your Query Performance and How to Fix It
Architect's Guide
Architect's Guide
Nov 8, 2025 · Databases

Mastering MySQL Indexes: From Hash Tables to B+ Trees Explained

This article explains the fundamentals of database indexing, covering what indexes are, their advantages and drawbacks, underlying structures such as hash tables, B‑tree and B+‑tree, different index types (clustered, non‑clustered, primary, secondary) in MySQL, and practical examples with code snippets.

B+TreeClustered IndexDatabase Indexes
0 likes · 9 min read
Mastering MySQL Indexes: From Hash Tables to B+ Trees Explained
MaGe Linux Operations
MaGe Linux Operations
Nov 6, 2025 · Databases

Boost MySQL InnoDB Performance 300%: Complete Buffer Pool Tuning Guide for 32GB‑256GB

This comprehensive guide walks you through MySQL InnoDB buffer pool optimization—from assessing current settings and calculating optimal sizes for 32 GB to 256 GB servers, to configuring instances, enabling pre‑warming, tuning dirty‑page flushing, monitoring key metrics, and troubleshooting common issues—to achieve up to a 300 % throughput increase in production environments.

Database OptimizationInnoDBbuffer pool
0 likes · 33 min read
Boost MySQL InnoDB Performance 300%: Complete Buffer Pool Tuning Guide for 32GB‑256GB
Huolala Tech
Huolala Tech
Nov 5, 2025 · Backend Development

How SQL‑Based Rule Configuration Cuts Release Cycles from Days to Minutes

This article explains how transforming data‑validation rules into configurable SQL statements eliminates lengthy development‑test‑release cycles, improves cost efficiency, and boosts performance through architecture features such as plug‑in event triggers, memory‑snapshot isolation, data‑fingerprint grouping, and an online SQL debugger.

backend-developmentdata validationrule engine
0 likes · 13 min read
How SQL‑Based Rule Configuration Cuts Release Cycles from Days to Minutes
Architect's Guide
Architect's Guide
Nov 5, 2025 · Databases

25 Essential SQL Query Optimization Tips to Avoid Full Table Scans

This article presents a comprehensive set of SQL performance guidelines, covering index creation, avoiding costly operators, rewriting predicates, using proper joins, limiting temporary objects, and best practices for query design to prevent full table scans and improve overall database efficiency.

databaseindexesperformance
0 likes · 9 min read
25 Essential SQL Query Optimization Tips to Avoid Full Table Scans
Code Ape Tech Column
Code Ape Tech Column
Nov 4, 2025 · Backend Development

Master MyBatis Dynamic SQL: 9 Essential Tags and Best Practices

This article walks through nine powerful MyBatis dynamic SQL tags—including foreach, if, choose, selectKey, trim, and sql fragments—explaining their attributes, common pitfalls, and providing complete XML and Java examples to help developers write cleaner, error‑free queries and updates.

BackendDynamic SQLMyBatis
0 likes · 17 min read
Master MyBatis Dynamic SQL: 9 Essential Tags and Best Practices
21CTO
21CTO
Nov 2, 2025 · Databases

How to Slash Database Costs by 60% Without Sacrificing Performance

This article explains why database expenses balloon, then walks through ten practical techniques—including smart indexing, selective column queries, caching, partitioning, archiving, data‑type tuning, simplifying joins, regular maintenance, query monitoring, and right‑sized hardware—to cut costs up to 60% while preserving or even boosting query speed.

Cost reductionDatabase Optimizationmysql
0 likes · 10 min read
How to Slash Database Costs by 60% Without Sacrificing Performance
Java Captain
Java Captain
Nov 1, 2025 · Databases

Why IN/NOT IN Slows Queries and How to Use EXISTS or JOIN Instead

The article explains why the SQL IN and NOT IN operators often cause poor performance and incorrect results—especially with large tables or NULL values—and demonstrates safer alternatives such as EXISTS, NOT EXISTS, and JOIN with clear code examples.

EXISTSINJOIN
0 likes · 5 min read
Why IN/NOT IN Slows Queries and How to Use EXISTS or JOIN Instead
Big Data Tech Team
Big Data Tech Team
Oct 30, 2025 · Big Data

Mastering the ADS Layer: Design Principles, Modeling, and Real‑Time Data Services

This article provides a comprehensive analysis of the ADS (Application Data Service) layer in a data‑warehouse architecture, covering its core positioning, design goals, modeling strategies, dimension‑optimization techniques, API services, typical challenges, and practical best‑practice recommendations for high‑performance, flexible, and secure data delivery.

ADS layerETLsql
0 likes · 8 min read
Mastering the ADS Layer: Design Principles, Modeling, and Real‑Time Data Services
BirdNest Tech Talk
BirdNest Tech Talk
Oct 30, 2025 · Artificial Intelligence

Master LangChain Toolkits to Build Powerful AI Agents Quickly

This guide explains what LangChain toolkits are, why they simplify building domain‑specific AI agents, lists common built‑in toolkits, and walks through the step‑by‑step process of instantiating a toolkit, retrieving its tools, and creating an OpenAI‑powered agent, illustrated with a SQL database example.

AI agentsLangChainPython
0 likes · 5 min read
Master LangChain Toolkits to Build Powerful AI Agents Quickly
Data STUDIO
Data STUDIO
Oct 30, 2025 · Databases

From Table‑Centric to Object‑Centric: How DQL Redefines Join Queries

The article explains how Dimensional Query Language (DQL) replaces traditional multi‑table JOIN syntax with object‑dot notation and dimension‑alignment concepts, offering simpler, more business‑focused queries for BI scenarios, and demonstrates its implementation through concrete SQL examples and a real‑world engine integration.

BIDQLDimensional Query
0 likes · 10 min read
From Table‑Centric to Object‑Centric: How DQL Redefines Join Queries
Code Mala Tang
Code Mala Tang
Oct 26, 2025 · Databases

Why Parameterized Queries Supercharge SQL Performance (And Prevent Injection)

This article explains how using bound (parameterized) queries in SQL Server improves performance by enabling execution plan reuse, reducing compilation overhead and memory usage, while also preventing SQL injection, and discusses potential pitfalls like parameter sniffing and how to mitigate them with OPTION (RECOMPILE).

Parameterized QueriesSQL injectionexecution plan
0 likes · 6 min read
Why Parameterized Queries Supercharge SQL Performance (And Prevent Injection)
Ray's Galactic Tech
Ray's Galactic Tech
Oct 24, 2025 · Databases

How to Choose Between MySQL, PostgreSQL, and MongoDB: The Ultimate Guide

This comprehensive guide compares MySQL, PostgreSQL, and MongoDB across core features, transaction models, indexing, scalability, and real‑world use cases, offering a step‑by‑step selection method, detailed pros and cons, and a practical decision flowchart to help engineers pick the right database for their projects.

MongoDBNoSQLSelection Guide
0 likes · 9 min read
How to Choose Between MySQL, PostgreSQL, and MongoDB: The Ultimate Guide
php Courses
php Courses
Oct 23, 2025 · Databases

How Ecotone Simplifies PHP Database Mapping, Queries, and Conversions

This article explains how the Ecotone framework lets PHP developers map classes to database tables, hide low‑level SQL behind repository interfaces, customize parameter conversion with converters and expression language, and efficiently query, update, and stream large result sets while keeping business logic clean.

Database MappingEcotonePHP
0 likes · 20 min read
How Ecotone Simplifies PHP Database Mapping, Queries, and Conversions
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 OptimizationOR queryUNION
0 likes · 7 min read
Why OR Queries Break MySQL Indexes and How to Fix Them
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.

AIbenchmarklarge-language-model
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 8, 2025 · Databases

Choosing the Right MySQL Date and Time Type: A Complete Guide

This article explains the five MySQL temporal column types—DATE, DATETIME, TIMESTAMP, YEAR, and TIME—detailing their storage size, valid ranges, typical use‑cases, timezone behavior, and the 2038 problem, helping developers pick the most suitable type for any scenario.

Temporal Typesdatetimemysql
0 likes · 9 min read
Choosing the Right MySQL Date and Time Type: A Complete Guide
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.

Index OptimizationOR queryUNION
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.

CRUDJSONdatabase
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-Treedatabase indexing
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.

databasepaginationsql
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 FeaturesSQLiteUpsert
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.

GROUP BYSELECT DISTINCTaggregation
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.

MyBatisORMjava
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.

BackupConfigurationInstallation
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.

ConfigurationInstallationLinux
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.

Database designbest practicesnaming 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.

ROW_NUMBERdense_rankmysql
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.

AsyncBunbuild
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 LiteralsSQLiteUpsert
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.

SQLiteUpsertboolean
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 PerformanceIndex Optimizationexplain
0 likes · 16 min read
Why MySQL Indexes Fail and How to Fix Them: 12 Common Scenarios