Understanding MySQL Indexes

Indexes are a fundamental tool in MySQL for improving query performance, much like the table of contents in a book—indexes allow quick access to target data without scanning the entire table. This article covers core concepts, types, usage principles, and best practices from basic to advanced levels. Core Concepts of Indexes 1. Purpose of Inde ...

Posted on Mon, 07 Sep 2026 16:42:31 +0000 by Gaia

Apache Doris Common Technical Queries and Solutions

SQL Queries Q1: Is MySQL's WITH ROLLUP syntax supported? Apache Doris does not currently support the WITH ROLLUP clause. As an alteernative, use the GROUP BY ROLLUP construct: SELECT a, b, c, SUM(d) FROM tab1 GROUP BY ROLLUP(a, b, c); Q2: Why do decimal field queries truncate to six decimal places? By default, decimal values retain six fractio ...

Posted on Sat, 05 Sep 2026 16:17:20 +0000 by lesmith

Deepin 20.9 One-Click Installation of Oracle 11GR2 Standalone

Introduction Oracle one-click installation script demonstrating the process of installing Oracle 11GR2 standalone on Deepin 20.9 (no human intervention required). Script download: Shell script for installing Oracle database More tutorials: Oracle one-click installation script collection, continuously updated Prerequisites The system group ha ...

Posted on Fri, 04 Sep 2026 16:35:30 +0000 by veroaero

MySQL Index Management and Query Optimization Techniques

MySQL indexes are auxiliary data structures that accelerate row retrieval by minimizing scan scope. Rather than reading every row, the storage engine traverses the index to locate qualifying records quickly, trading additional disk space and write-time maintenance for faster reads. Index Categories The InnoDB and MyISAM engines support several ...

Posted on Fri, 04 Sep 2026 16:12:54 +0000 by keithh0427

Converting IdentityServer4 from In-Memory Stores to a Database-Backed User Service

This guide demonstrates how to replace the default in-memory user store in IdentityServer4 with a custom service that queries a database. While IdentityServer4 provides Entity Framework (EF) based data sources, this approach shows how to implement a database-driven user store by extending its core interfaces. The focus will be on the user authe ...

Posted on Thu, 03 Sep 2026 16:33:26 +0000 by inferium

MySQL SQL Fundamentals and Query Operations

SQL Overview SQL (Structured Query Language) serves as the standard communication protocol for relational database systems. It provides a comprehensive command set specifically designed for database operations, enabling users to issue declarative instructions without worrying about implementation details. SQL Syntax Standards SQL keywords are ...

Posted on Thu, 03 Sep 2026 16:01:25 +0000 by BrianWald

Getting Started with GORM in Go Applications

Database Initialization Import the primary library and the specific database driver before establishing a connection. go get -u gorm.io/gorm go get -u gorm.io/driver/mysql Configure the Data Source Name (DSN) and instantiate the client. The configuration object allows customization of naming conventions and other behaviors. import ( " ...

Posted on Wed, 02 Sep 2026 16:31:55 +0000 by Tchelo

Advanced Redis Scripting with Lua

Redis and Lua IntegrationRedis provides built-in support for the Lua scripting language, allowing developers to execute complex logic directly on the server side. This functionality is conceptually similar to stored procedures in SQL databases, enabling efficient data manipulation close to the storage layer.Benefits of Lua ScriptingUtilizing Lu ...

Posted on Tue, 01 Sep 2026 16:47:32 +0000 by jimbo2150

MyBatis Multi-Table Association Queries

Database Schema Company Table Game Table Game-Company Relationship Table Login Table User Information Table Project Structure One-to-One Relationship Queries Retrieving User by User Information QQ 1. Entity Definition (User class with embedded User Information object) package entity; import java.util.List; public class User extends Base { ...

Posted on Tue, 01 Sep 2026 16:35:34 +0000 by ratebuster

Advanced Django ORM Query Techniques: Multi-Table Operations, Aggregation, and Complex Filtering

Foreign Key Relaitonships and CRUD Operations One-to-Many Relationships # Create operation with direct foreign key reference Book.objects.create(title='Analects', price=899.23, publisher_id=1) # Create using related object publisher_instance = Publisher.objects.get(id=2) Book.objects.create(title='Dream of the Red Chamber', price=666.23, publi ...

Posted on Tue, 01 Sep 2026 16:29:29 +0000 by parthatel