IT Xianyu
Author

IT Xianyu

We share common IT technologies (Java, Web, SQL, etc.) and practical applications of emerging software development techniques. New articles are posted daily. Follow IT Xianyu to stay ahead in tech. The IT Xianyu series is being regularly updated.

166
Articles
0
Likes
1.1k
Views
0
Comments
Recent Articles

Latest from IT Xianyu

100 recent articles max
IT Xianyu
IT Xianyu
May 14, 2025 · Databases

Using PostgreSQL Stored Procedures to Batch Update User Tags Efficiently

This article explains how Java developers can replace thousands of individual UPDATE statements with a single PostgreSQL stored procedure call, covering the motivation, procedure creation, Java invocation, scheduling with shell scripts, performance benchmarks, and common pitfalls.

Batch UpdateJavaPostgreSQL
0 likes · 8 min read
Using PostgreSQL Stored Procedures to Batch Update User Tags Efficiently
IT Xianyu
IT Xianyu
May 8, 2025 · Databases

Redis for DBAs: Quick Installation, Core Commands, Caching Design Patterns, and High‑Concurrency Practices

This article explains why Redis is becoming a DBA's favorite, provides a five‑minute installation guide, essential commands, cache‑design pitfalls and solutions, explores Redis data structures with Java examples, demonstrates distributed locking and flash‑sale implementations, and covers clustering, backup, monitoring, and performance tuning.

ClusterJavaRedis
0 likes · 9 min read
Redis for DBAs: Quick Installation, Core Commands, Caching Design Patterns, and High‑Concurrency Practices
IT Xianyu
IT Xianyu
Apr 24, 2025 · Databases

PostgreSQL DBA Guide: Permission Minimization, Log Analysis with pgBadger, and Security Hardening

This tutorial explains why DBAs need security hardening and log analysis, shows how to configure minimal‑privilege roles and precise permissions in PostgreSQL, demonstrates how to detect and revoke redundant privileges, and provides a step‑by‑step guide to installing and using pgBadger for log analysis and automated reporting.

DBADatabase SecurityPostgreSQL
0 likes · 8 min read
PostgreSQL DBA Guide: Permission Minimization, Log Analysis with pgBadger, and Security Hardening
IT Xianyu
IT Xianyu
Apr 21, 2025 · Cloud Native

Step-by-Step Guide to Setting Up a Kubernetes 1.19 Cluster on CentOS 7.9

This guide walks through preparing two CentOS 7.9 servers, installing Docker and Kubernetes 1.19 components, initializing a master node, joining a worker node, and validating the cluster with a sample Nginx deployment, including common troubleshooting tips.

CalicoCentOSCloud Native
0 likes · 10 min read
Step-by-Step Guide to Setting Up a Kubernetes 1.19 Cluster on CentOS 7.9
IT Xianyu
IT Xianyu
Apr 20, 2025 · Operations

How to Replace YUM Repositories with Domestic Mirrors on CentOS 7

This guide explains why the default CentOS 7 YUM repositories are slow for Chinese users and provides step‑by‑step instructions—including backing up existing .repo files, downloading Alibaba Cloud mirrors, adjusting version numbers, refreshing the cache, verifying updates, troubleshooting common errors, and advanced tips such as adding EPEL—so you can achieve faster, more reliable package management.

CentOSDevOpsRepository
0 likes · 6 min read
How to Replace YUM Repositories with Domestic Mirrors on CentOS 7
IT Xianyu
IT Xianyu
Apr 19, 2025 · Operations

Comprehensive Guide to System Monitoring, Text Editing, Permission Management, and Log Analysis for Library Operations

This article provides a detailed, step‑by‑step tutorial on using Linux commands such as top, grep, awk, and bash scripts for performance bottleneck detection, memory‑leak investigation, automated alerts, efficient Vim editing, permission matrix configuration, multi‑condition log analysis, and quick troubleshooting in a library management environment.

Bash ScriptingPermissionssystem monitoring
0 likes · 9 min read
Comprehensive Guide to System Monitoring, Text Editing, Permission Management, and Log Analysis for Library Operations
IT Xianyu
IT Xianyu
Apr 19, 2025 · Databases

Step-by-Step Guide to Setting Up MySQL 5.7 Master‑Slave Replication

This tutorial walks through preparing the Linux environment, installing MySQL 5.7, configuring master and slave servers, creating replication users, verifying synchronization, troubleshooting common issues, and applying advanced options such as GTID and semi‑synchronous replication, all with complete command examples.

ConfigurationGTIDMaster‑Slave
0 likes · 10 min read
Step-by-Step Guide to Setting Up MySQL 5.7 Master‑Slave Replication
IT Xianyu
IT Xianyu
Apr 18, 2025 · Databases

Comprehensive Guide to SQL Basics, Advanced Queries, and Performance Optimization

This article provides a thorough tutorial on SQL fundamentals, including statement order, core clause rules, templates for SELECT/INSERT/UPDATE/DELETE, practical multi‑table query cases, join and subquery techniques, common pitfalls, index optimization strategies, experimental performance data, and a structured learning path for mastering database development.

JoinsPerformance TuningSQL
0 likes · 7 min read
Comprehensive Guide to SQL Basics, Advanced Queries, and Performance Optimization