Database Management Essentials
Database Management
Overview
Database operations involve maintaining and administering database systems. Core responsibilities include executing SQL queries for data manipulation, performing backups, and implementing high availability solutions such as master-slave replication and read-write separation.
A database serves as an organized reposit ...
Posted on Tue, 08 Sep 2026 16:48:46 +0000 by mikster
String Concatenation and Aggregation Functions in MySQL
MySQL offers several functions for string manipulation and aggregation in queries, such as CONCAT(), CONCAT_WS(), and GROUP_CONCAT(). These tools are essential for combining text data and summarizing grouped results efficiently.
The CONCAT() Function
CONCAT() merges multiple strings into a single string. Its syntax is:
CONCAT(string1, string2, ...
Posted on Tue, 08 Sep 2026 16:23:21 +0000 by ossi69
MyBatis Reverse Engineering with Generator Plugin
Forward Engineering
First, create Java entity classes, then the framework generates database tables based on them. Hibernate supports forward engineering.
Reverse Engineering
First, create the database tables, then the framework generates the folloiwng resources from them:
Java entity clases
Mapper interfaces
Mapper XML mapping files
Steps to ...
Posted on Mon, 07 Sep 2026 16:47:24 +0000 by FunkyELF
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