Tagged articles

SQL

2879 articles · Page 3 of 29
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.

Query OptimizationSQLindexes
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 SearchInnoDBMySQL
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.

DatabaseImplicit ConversionMySQL
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
Programmer1970
Programmer1970
Nov 25, 2025 · Databases

10 Essential MySQL Interview Queries (Part 3) – Solutions and Explanations

This article presents ten practical MySQL interview questions covering consecutive‑login detection, efficient pagination, top‑salary per department, customers without orders, cumulative sales, recursive cycle detection, pivoting rows to columns, duplicate removal, and user retention, each with complete SQL statements, underlying principles, and performance considerations.

CTEDatabaseInterview Questions
0 likes · 11 min read
10 Essential MySQL Interview Queries (Part 3) – Solutions and Explanations
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.

AggregationDWS DesignSQL
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.

MySQLPerformance TuningSQL
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.4Database MigrationDeprecated features
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 PaginationMiddlewareSQL
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.

DatabaseElasticsearchSQL
0 likes · 12 min read
How to Eliminate Duplicate and Missing Data in Backend Pagination
Smart Sea Tide
Smart Sea Tide
Nov 17, 2025 · Big Data

5 Streaming ETL Patterns Using SQL

This article explains five streaming ETL patterns—filter, route, transform (extract, normalize, anonymize), aggregate, and trigger—showing how each can be implemented with SQL statements and illustrating their use cases with concrete code examples.

AggregationData PipelineETL
0 likes · 8 min read
5 Streaming ETL Patterns Using SQL
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.

SQLdata modelingnormalization
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.

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

JOINSQLexists
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+TreeDatabase IndexesHash Table
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.

InnoDBMySQLPerformance Tuning
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.

Rule EngineSQLbackend development
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.

DatabaseQuery OptimizationSQL
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.

Dynamic SQLJavaMyBatis
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.

MySQLPerformance TuningPostgreSQL
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.

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

BIDQLDatabase
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 QueriesSQLSQL injection
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.

Database ComparisonMongoDBMySQL
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.

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

MySQLOR querySQL
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.

AISQLbenchmark
0 likes · 11 min read
How Does Kimi‑K2 Stack Up? Inside the September SCALE SQL‑LLM Benchmark
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.

CRUDDatabaseMySQL
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-TreePostgreSQL
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.

DatabaseNew FeaturesSQL
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 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.

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

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

SQLbest practicesdatabase-design
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_NUMBERSQL
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 LiteralsDatabaseSQL
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.

DatabaseSQLSQLite
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 PerformanceEXPLAINMySQL
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.

DatabaseInstallationLinux
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 PerformanceJOINSQL
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.

E‑commercePythonRFM
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.

ConfigurationDatabase DirectoryInnoDB
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 PaginationMySQLPagination
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.

AIDeepSeekGPT-5
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 InsertDatabaseGORM
0 likes · 26 min read
Deep Dive into GORM: Architecture, Internals, and Common Pitfalls