Tagged articles

SQL

2820 articles · Page 8 of 29
IT Services Circle
IT Services Circle
Apr 18, 2024 · Databases

Improving MySQL Insert Performance with Batch Operations and MyBatis Flex

This article explains how to boost MySQL insertion speed by adjusting server hardware, tuning database parameters, choosing the MyISAM engine, and especially applying three batch‑insert techniques—SQL concatenation, MyBatis‑Flex saveBatch, and manual transaction batching—while showing test results and configuration tips.

Batch InsertMyBatisMySQL
0 likes · 8 min read
Improving MySQL Insert Performance with Batch Operations and MyBatis Flex
Liangxu Linux
Liangxu Linux
Apr 16, 2024 · Databases

Boost MySQL Performance: Essential Tools and How to Use Them

Learn how to assess and optimize your MySQL database using four powerful open‑source tools—mysqltuner.pl, tuning‑primer.sh, pt‑variable‑advisor, and pt‑query‑digest—complete with download links, command‑line usage examples, and guidance on interpreting their diagnostic reports to improve performance and security.

Database ToolsMySQLPerformance Tuning
0 likes · 9 min read
Boost MySQL Performance: Essential Tools and How to Use Them
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Apr 16, 2024 · Big Data

MaxCompute’s Integrated Offline & Near‑Real‑Time Architecture: Transaction Table 2.0 Explained

This article explains MaxCompute’s new integrated offline‑and‑near‑real‑time architecture, Transaction Table 2.0, detailing its unified storage and compute design, automatic data governance, schema evolution, upsert and time‑travel capabilities, and how it simplifies complex big‑data pipelines while delivering minute‑level latency and lower costs.

Big DataData GovernanceMaxCompute
0 likes · 27 min read
MaxCompute’s Integrated Offline & Near‑Real‑Time Architecture: Transaction Table 2.0 Explained
Sanyou's Java Diary
Sanyou's Java Diary
Apr 15, 2024 · Databases

30 Proven SQL Optimization Tips to Boost Query Performance

This article presents thirty practical SQL optimization techniques, ranging from avoiding SELECT * and using LIMIT 1 to proper indexing, join strategies, and query rewriting, each illustrated with code examples and clear explanations to help developers write faster, more efficient database queries.

IndexingPerformanceQuery Tuning
0 likes · 28 min read
30 Proven SQL Optimization Tips to Boost Query Performance
IT Niuke
IT Niuke
Apr 15, 2024 · Databases

Automate MySQL Tasks with Events: Hands‑Free Scheduling

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

EventsMySQLSQL
0 likes · 11 min read
Automate MySQL Tasks with Events: Hands‑Free Scheduling
Top Architect
Top Architect
Apr 15, 2024 · Backend Development

Implementing Data Masking in SQL, Java, and MyBatis‑Mate Sensitive Jackson

This article demonstrates how to mask sensitive data such as phone numbers, ID cards, and personal information using SQL string functions, a Java library (sensitive‑plus), and the MyBatis‑Mate Sensitive Jackson plugin, providing complete code examples, configuration files, and test results for backend developers.

Backend DevelopmentData MaskingJava
0 likes · 11 min read
Implementing Data Masking in SQL, Java, and MyBatis‑Mate Sensitive Jackson
ITPUB
ITPUB
Apr 12, 2024 · Databases

How to Recover Accidentally Deleted Oracle Databases: Step‑by‑Step Guide

This guide explains how to rescue both physically and logically deleted Oracle databases, covering RMAN file recovery, full database restoration, flashback table techniques, recycle‑bin usage, flashback database configuration, and essential backup strategies to prevent data loss.

Database RecoveryFlashbackOracle
0 likes · 10 min read
How to Recover Accidentally Deleted Oracle Databases: Step‑by‑Step Guide
Code Ape Tech Column
Code Ape Tech Column
Apr 12, 2024 · Databases

Understanding Full-Text Search and Inverted Indexes in MySQL InnoDB

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

Full-Text SearchMySQLSQL
0 likes · 11 min read
Understanding Full-Text Search and Inverted Indexes in MySQL InnoDB
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 9, 2024 · Databases

Understanding Why OceanBase Cannot Use HASH ANTI JOIN and Optimizing NOT IN Queries

This article analyzes a slow NOT IN subquery that OceanBase rewrites into a NESTED‑LOOP ANTI JOIN, explains why HASH ANTI JOIN is not chosen due to NULL‑sensitive semantics and missing NOT NULL constraints, compares the behavior with Oracle's Null‑Aware Anti Join, and provides practical rewrite and hint‑based optimization recommendations.

Anti JoinOceanBaseOptimization
0 likes · 17 min read
Understanding Why OceanBase Cannot Use HASH ANTI JOIN and Optimizing NOT IN Queries
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 8, 2024 · Databases

9 Essential MySQL Index Optimization Techniques You Must Know

This article presents nine practical MySQL index optimization techniques—from selecting high‑selectivity columns and avoiding functions on indexed fields to applying the leftmost‑prefix rule, handling NULLs, using proper LIKE patterns, and leveraging EXPLAIN and LIMIT 1 for faster queries.

Database PerformanceIndex OptimizationMySQL
0 likes · 6 min read
9 Essential MySQL Index Optimization Techniques You Must Know
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 8, 2024 · Databases

How I Rescued a MySQL Table After Massive Bad Data Insertion

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

DDLIndexingMySQL
0 likes · 13 min read
How I Rescued a MySQL Table After Massive Bad Data Insertion
Top Architect
Top Architect
Apr 2, 2024 · Databases

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

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

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

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

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

PHPSQLSQLite
0 likes · 4 min read
Creating SQLite Database Tables with PHP: A Step-by-Step Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 26, 2024 · Databases

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

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

ALTER DATABASEInformation SchemaMySQL
0 likes · 11 min read
MySQL 8.0.22 READ ONLY Database Feature: Overview, Usage, Query Methods, Limitations and Exceptions
Ops Development & AI Practice
Ops Development & AI Practice
Mar 22, 2024 · Databases

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

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

SQLSQLitedatabase
0 likes · 6 min read
How to Use SQLite3 in Go: A Step‑by‑Step Guide
Architecture & Thinking
Architecture & Thinking
Mar 19, 2024 · Databases

Why MySQL Indexes Fail: 9 Common Pitfalls and How to Fix Them

This article enumerates the most frequent situations that cause MySQL indexes to become ineffective—such as violating the left‑most rule, using functions or expressions on indexed columns, type conversions, improper LIKE patterns, OR/IN/NOT IN usage, and inequality operators—and demonstrates how to reproduce and verify each case with sample data and SQL scripts.

IndexingMySQLPerformance
0 likes · 21 min read
Why MySQL Indexes Fail: 9 Common Pitfalls and How to Fix Them
Architect
Architect
Mar 18, 2024 · Databases

MySQL vs PostgreSQL: Overview, Performance Benchmark, and Use‑Case Guidance

The article introduces MySQL and PostgreSQL, compares their performance through a benchmark on identical hardware, discusses each system’s strengths, weaknesses, and suitable application scenarios, and provides guidance on choosing the appropriate database for different workloads.

Data ReplicationDatabase ComparisonMySQL
0 likes · 8 min read
MySQL vs PostgreSQL: Overview, Performance Benchmark, and Use‑Case Guidance
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 18, 2024 · Databases

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

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

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

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

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

EXISTSINJOIN
0 likes · 5 min read
Why IN/NOT IN Slow Down SQL Queries and Safer Alternatives
21CTO
21CTO
Mar 15, 2024 · Cloud Native

Can a Database Become the Next Cloud‑Native Operating System? Inside DBOS

DBOS, a database‑driven cloud‑native operating system founded by Michael Stonebraker and Matei Zaharia, aims to replace traditional OS state management with SQL‑based databases, offering enhanced security, rapid ransomware recovery, and seamless integration with Kubernetes and Firecracker hypervisors.

DBOSDatabase Operating SystemFirecracker
0 likes · 7 min read
Can a Database Become the Next Cloud‑Native Operating System? Inside DBOS
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 14, 2024 · Databases

SQLE vs Yearning: Detailed Feature, Architecture, and Use‑Case Comparison

This article provides an in‑depth comparison of the open‑source SQL quality management platforms SQLE and Yearning, covering their architecture, supported data sources, UI design, SQL workbench capabilities, user management, ticket workflow, system settings, and overall suitability for different database environments.

Data QualityDatabase ManagementSQL
0 likes · 10 min read
SQLE vs Yearning: Detailed Feature, Architecture, and Use‑Case Comparison
dbaplus Community
dbaplus Community
Mar 13, 2024 · Databases

Why Developers Use “WHERE 1=1” in SQL Queries

The article explains the practical reasons for adding the always‑true condition “WHERE 1=1” in SQL, covering its role in preventing syntax errors, facilitating dynamic query building, copying tables, and its historical performance impact on MySQL.

Dynamic QuerySQLSQL Injection
0 likes · 6 min read
Why Developers Use “WHERE 1=1” in SQL Queries
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Mar 13, 2024 · Databases

Unlock SQLite’s 2018 SQL Enhancements: Booleans, Window Functions, Upserts & More

This article explores SQLite’s 2018 SQL feature updates—from boolean literals and truth testing to window functions, FILTER clauses, upsert syntax, column renaming, and related API changes—highlighting syntax details, limitations, and practical examples for developers seeking to leverage these modern capabilities in production.

Database FeaturesSQLSQLite
0 likes · 10 min read
Unlock SQLite’s 2018 SQL Enhancements: Booleans, Window Functions, Upserts & More
StarRocks
StarRocks
Mar 13, 2024 · Databases

Master StarRocks: Simplify Partitioning, Data Import, and Table Optimization

This guide walks you through using StarRocks—covering effortless expression‑based partitioning, streamlined data loading with INSERT FROM FILES and PIPE, powerful in‑flight data transformation using SELECT/JOIN/UNNEST, and flexible table structure tweaks via ALTER TABLE to boost query performance.

PartitioningPipeSQL
0 likes · 16 min read
Master StarRocks: Simplify Partitioning, Data Import, and Table Optimization
Selected Java Interview Questions
Selected Java Interview Questions
Mar 11, 2024 · Databases

Key MySQL Interview Questions and Answers: Joins, Indexes, Transactions, and Optimization

This article provides a comprehensive overview of essential MySQL interview topics, covering join types, differences among DROP, DELETE, TRUNCATE, UNION vs UNION ALL, CHAR vs VARCHAR, transaction properties and isolation levels, database normalization, index types and usage, query execution flow, storage engine differences, and practical SQL optimization techniques.

OptimizationSQLTransaction
0 likes · 20 min read
Key MySQL Interview Questions and Answers: Joins, Indexes, Transactions, and Optimization
macrozheng
macrozheng
Mar 11, 2024 · Databases

Discover Chiner: A Modern Open‑Source Database Design Tool

This article introduces the open‑source database design tool Chiner, compares it with PowerDesigner, and provides step‑by‑step guidance on installation, core concepts, table management, relationship diagram creation, and import/export features for efficient database modeling.

SQLchinerentity modeling
0 likes · 9 min read
Discover Chiner: A Modern Open‑Source Database Design Tool
Efficient Ops
Efficient Ops
Mar 10, 2024 · Databases

How Machine Learning Can Automate MySQL Index Optimization

This article explains how applying machine learning to database operations—specifically AIOps for MySQL—can automate index recommendation by parsing SQL, extracting semantic and statistical features, generating candidate index combinations, and training an XGBoost model to predict optimal indexes, reducing reliance on manual DBA work.

AIOpsIndex OptimizationMachine Learning
0 likes · 10 min read
How Machine Learning Can Automate MySQL Index Optimization
Java Tech Enthusiast
Java Tech Enthusiast
Mar 10, 2024 · Databases

Why IN and NOT IN Should Be Avoided in SQL Queries

Because IN and NOT IN often bypass indexes on large tables, can yield incorrect results when column names differ or NULL values are present, and may cause severe performance penalties, they should be replaced with EXISTS/NOT EXISTS subqueries or appropriate JOINs, reserving IN only for small literal lists.

IN clauseNOT INPerformance
0 likes · 4 min read
Why IN and NOT IN Should Be Avoided in SQL Queries
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 29, 2024 · Databases

Optimizing Nested-Loop Join Performance in OceanBase: Analysis, Rewrites, and Results

This article analyzes a slow Join query on OceanBase 3.2.3.3, examines execution plans and table statistics, proposes two rewrite methods—adding a filter condition and using a hash‑join hint—and demonstrates how these changes reduce execution time from over 500 seconds to just a few seconds.

Database PerformanceNested LoopOceanBase
0 likes · 12 min read
Optimizing Nested-Loop Join Performance in OceanBase: Analysis, Rewrites, and Results
Liangxu Linux
Liangxu Linux
Feb 28, 2024 · Databases

Master MySQL InnoDB Full-Text Search: Indexes, Queries, and Advanced Techniques

This article explains how MySQL InnoDB implements full‑text search, covering the underlying inverted index structures, how to create and drop full‑text indexes, the MATCH…AGAINST syntax, and detailed examples of natural language, boolean, and query‑expansion search modes with practical SQL demos.

Boolean ModeFull-Text SearchMySQL
0 likes · 12 min read
Master MySQL InnoDB Full-Text Search: Indexes, Queries, and Advanced Techniques
JD Tech
JD Tech
Feb 28, 2024 · Databases

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

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

DeadlockEasyBIError handling
0 likes · 8 min read
Detecting and Monitoring Database Deadlocks with EasyBI: A Practical Case Study
DataFunTalk
DataFunTalk
Feb 28, 2024 · Big Data

Building a Data System with Apache Arrow: Design, Modeling, and Execution

This article explains why new data systems are needed, introduces Apache Arrow and its columnar in‑memory format, describes read‑time modeling and dynamic schema handling, and shows how Arrow can be used to build a complete data processing pipeline with indexing, SQL planning, and zero‑copy data exchange.

Apache ArrowBig DataColumnar Storage
0 likes · 20 min read
Building a Data System with Apache Arrow: Design, Modeling, and Execution
dbaplus Community
dbaplus Community
Feb 25, 2024 · Databases

MySQL vs PostgreSQL: Performance Benchmarks, Use Cases, and Choosing the Right Database

An in‑depth comparison of MySQL and PostgreSQL covers their histories, architectural differences, benchmark results showing PostgreSQL’s superior SELECT, INSERT, and UPDATE throughput, and guidance on selecting the appropriate database based on application complexity, scale, and performance requirements.

Database ComparisonMySQLPerformance Benchmark
0 likes · 7 min read
MySQL vs PostgreSQL: Performance Benchmarks, Use Cases, and Choosing the Right Database
dbaplus Community
dbaplus Community
Feb 25, 2024 · Databases

How a Simple UPDATE Wiped My Production Database—and the Lessons I Learned

After a weekend support ticket led to a reckless UPDATE that erased all orders in a production PostgreSQL database, the author details the rapid recovery steps, analyzes the human errors behind the disaster, draws lessons from Chernobyl, and outlines concrete post‑mortem improvements to prevent future data loss.

DatabasesRecoverySQL
0 likes · 7 min read
How a Simple UPDATE Wiped My Production Database—and the Lessons I Learned
Open Source Tech Hub
Open Source Tech Hub
Feb 21, 2024 · Databases

Mastering MySQL JSON: Storage, Queries, and Best Practices

This guide explains MySQL's native JSON data type, its storage format, advantages over text columns, and provides step‑by‑step examples for creating tables, inserting JSON, querying with path operators, using built‑in functions, and handling conditional searches.

Data TypesMySQLSQL
0 likes · 10 min read
Mastering MySQL JSON: Storage, Queries, and Best Practices
MaGe Linux Operations
MaGe Linux Operations
Feb 21, 2024 · Databases

How to Deploy Fine-Grained Disaster Recovery for GaussDB DWS on Cloud

This guide explains step‑by‑step how to manually set up fine‑grained disaster recovery for GaussDB(DWS) in a cloud‑based dual‑cluster environment, covering preparation, configuration files, backup/restore operations, verification, and removal to achieve reliable, cost‑effective data protection.

CloudDisaster RecoveryGaussDB
0 likes · 20 min read
How to Deploy Fine-Grained Disaster Recovery for GaussDB DWS on Cloud
Programmer DD
Programmer DD
Feb 19, 2024 · Backend Development

How to Build a Full‑Text Search API with Spring Boot and PostgreSQL

This guide explains how to implement a searchable user‑story interface using PostgreSQL tables with btree and gin indexes, Java record models, Spring Boot data access, and REST controllers to support range and full‑text queries efficiently.

Full-Text SearchJavaPostgreSQL
0 likes · 9 min read
How to Build a Full‑Text Search API with Spring Boot and PostgreSQL
php Courses
php Courses
Feb 19, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

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

MySQLPHPSQL
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
MaGe Linux Operations
MaGe Linux Operations
Feb 12, 2024 · Databases

Why Hash Join Beats Nested Loop Join and When It Fails

This article explains why hash joins usually outperform nested‑loop joins, how to force hash joins in SQL, the data‑type restrictions that prevent hash joins, and practical tips for optimizing join performance in TD and Oracle compatibility modes.

Data TypesHash JoinNested Loop
0 likes · 6 min read
Why Hash Join Beats Nested Loop Join and When It Fails
Laravel Tech Community
Laravel Tech Community
Feb 4, 2024 · Databases

Understanding Full-Text Search and Inverted Indexes in MySQL InnoDB

This article explains how MySQL InnoDB implements full‑text search using inverted indexes, covers the creation and usage of FULLTEXT indexes, demonstrates various MATCH…AGAINST query modes such as natural language, boolean, and query expansion, and shows how to manage and delete full‑text indexes with practical SQL examples.

Boolean ModeMySQLQuery Expansion
0 likes · 10 min read
Understanding Full-Text Search and Inverted Indexes in MySQL InnoDB
Open Source Tech Hub
Open Source Tech Hub
Feb 4, 2024 · Backend Development

How to Build a Secure SQL Query Tool for Private Deployments

This article explains why a SQL query tool is essential for on‑premise systems, describes the challenges of remote access and data safety, and provides a step‑by‑step implementation covering frontend encryption, backend whitelist checks, decryption, and query execution with code examples.

Backend DevelopmentEncryptionJavaScript
0 likes · 8 min read
How to Build a Secure SQL Query Tool for Private Deployments
DataFunSummit
DataFunSummit
Jan 31, 2024 · Big Data

iQIYI Magic Mirror: Evolution of a Big Data Analysis Platform

iQIYI's Magic Mirror platform, evolving from 1.0 to 3.0, addresses the growing data analysis demands of the internet industry by empowering self‑service analytics, introducing multi‑stage architectures, advanced computation engines, customizable SQL, and visual dashboards, thereby improving efficiency, scalability, and data security for business users.

Big DataData PlatformSQL
0 likes · 18 min read
iQIYI Magic Mirror: Evolution of a Big Data Analysis Platform
DataFunTalk
DataFunTalk
Jan 29, 2024 · Big Data

Case Study: Deploying RisingWave for Real-Time Stream Processing in a Large-Scale Quantitative Hedge Fund

An ultra‑large hedge fund with over $10 billion AUM replaced ksqlDB and Flink with RisingWave, leveraging its PostgreSQL‑compatible streaming SQL to achieve sub‑10 ms latency, lower learning and operational costs, rich connectors, advanced operators, and comprehensive observability for real‑time trade data processing.

Data IntegrationRisingWaveSQL
0 likes · 10 min read
Case Study: Deploying RisingWave for Real-Time Stream Processing in a Large-Scale Quantitative Hedge Fund
Architect's Guide
Architect's Guide
Jan 29, 2024 · Databases

Performance Comparison of IN vs JOIN in MySQL Queries

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

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

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

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

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

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

This guide walks you through the most commonly used MySQL date functions—CURDATE, NOW, DATE_FORMAT, DATEDIFF, DATE_ADD, DATE_SUB, and DATE—explaining their purpose, syntax, and example results so you can handle date and time data efficiently in your databases.

CURDATEDATEDIFFMySQL
0 likes · 4 min read
Master MySQL Date Functions: CURDATE, NOW, DATE_FORMAT, and More
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 26, 2024 · Databases

Easy-Query: One of the Best Java ORM Libraries

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

Easy-QueryJavaORM
0 likes · 16 min read
Easy-Query: One of the Best Java ORM Libraries
Liangxu Linux
Liangxu Linux
Jan 24, 2024 · Databases

How MySQL Executes a SELECT Query: From Connection to Result

This article explains the complete lifecycle of a MySQL SELECT statement, covering the server and storage‑engine layers, the roles of the connector, query cache, parser, optimizer and executor, and provides concrete command‑line and SQL examples.

Database ArchitectureMySQLQuery Execution
0 likes · 10 min read
How MySQL Executes a SELECT Query: From Connection to Result
Senior Brother's Insights
Senior Brother's Insights
Jan 22, 2024 · Databases

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

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

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

How to Use ES|QL in Elasticsearch 8.11: DSL vs SQL Queries Compared

This guide demonstrates how Elasticsearch 8.11's new ES|QL query language matches the traditional DSL syntax, covering basic searches, sorting, wildcard matching, aggregations, REST API nuances, and practical examples that show equivalent DSL and ES|QL statements with visual results.

AggregationES|QLElasticsearch
0 likes · 6 min read
How to Use ES|QL in Elasticsearch 8.11: DSL vs SQL Queries Compared
Java High-Performance Architecture
Java High-Performance Architecture
Jan 19, 2024 · Backend Development

Mastering Data Isolation in Java: MyBatis Interceptor & Custom Annotations

This article walks through the challenges of environment‑specific data isolation in a Java project, explains why adding an env column to every table is impractical, and presents a clean solution using a MyBatis interceptor that rewrites SQL and custom annotations to control filtering, ensuring safe, maintainable code across pre‑release, gray, and production environments.

Data IsolationJavaMyBatis
0 likes · 12 min read
Mastering Data Isolation in Java: MyBatis Interceptor & Custom Annotations
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 15, 2024 · Databases

What Software Developers Should Know About SQL

This article explains essential SQL concepts and common pitfalls—such as overusing SELECT *, choosing appropriate data types, respecting column order, handling NULL differences, leveraging database processing, using connection pools, and applying batch operations—to help developers write efficient, cost‑effective queries and advance their careers.

Best PracticesData TypesJDBC
0 likes · 11 min read
What Software Developers Should Know About SQL
MaGe Linux Operations
MaGe Linux Operations
Jan 12, 2024 · Databases

Master MySQL Flow Control: IF, CASE, LOOP, WHILE, REPEAT & LEAVE Explained

This guide explains MySQL stored procedure flow‑control constructs—including IF, CASE, LOOP, WHILE, REPEAT, LEAVE and ITERATE—detailing their syntax, usage patterns, and practical examples such as salary adjustments and conditional logic, helping developers implement complex database operations efficiently.

Flow ControlMySQLSQL
0 likes · 19 min read
Master MySQL Flow Control: IF, CASE, LOOP, WHILE, REPEAT & LEAVE Explained
Code Ape Tech Column
Code Ape Tech Column
Jan 12, 2024 · Databases

MySQL Event Scheduler: Concepts, Operations, and Practical Examples

This article explains MySQL event scheduler fundamentals, including enabling/disabling the scheduler, creating, altering, and dropping events, scheduling syntax, and practical examples such as generating real-time sales data and periodic statistics, providing code snippets and best‑practice guidance for database automation.

Data GenerationDatabase AutomationEvent Scheduler
0 likes · 9 min read
MySQL Event Scheduler: Concepts, Operations, and Practical Examples
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 11, 2024 · Databases

Step-by-Step Guide to Managing SQL Releases with SQLE

This article provides a detailed walkthrough of using the SQLE platform to create users, configure data sources, submit SQL tickets, perform reviews, and execute releases, illustrating each step with screenshots and practical tips for effective database change management.

Database ManagementMySQLSQL
0 likes · 7 min read
Step-by-Step Guide to Managing SQL Releases with SQLE
php Courses
php Courses
Jan 10, 2024 · Backend Development

How to Query MySQL with PHP and Return Results as an Array

This tutorial demonstrates how to set up a PHP script that connects to a MySQL database, executes a SELECT query, stores the result rows in an array, and displays the data in an HTML table using loops such as while and foreach.

MySQLPHPSQL
0 likes · 5 min read
How to Query MySQL with PHP and Return Results as an Array
NetEase LeiHuo UX Big Data Technology
NetEase LeiHuo UX Big Data Technology
Jan 9, 2024 · Artificial Intelligence

Accelerating Recommendation System Development with MindsDB

The article explains how the data team adopted the open‑source machine‑learning platform MindsDB to simplify data integration, enable SQL‑based model training and inference, manage model versions, and dramatically shorten recommendation system development cycles, achieving up to 30% efficiency gains.

Data IntegrationMachine LearningMindsDB
0 likes · 5 min read
Accelerating Recommendation System Development with MindsDB