Tagged articles
2670 articles
Page 27 of 27
ITPUB
ITPUB
Mar 23, 2016 · Databases

Mastering COALESCE in PostgreSQL: Fix NULL Arithmetic Results

This guide shows how NULL values break numeric calculations in PostgreSQL and demonstrates using the COALESCE function to substitute default numbers, with step‑by‑step SQL examples that turn unexpected NULL results into accurate sums.

COALESCEPostgreSQLSQL
0 likes · 4 min read
Mastering COALESCE in PostgreSQL: Fix NULL Arithmetic Results
Qunar Tech Salon
Qunar Tech Salon
Mar 13, 2016 · Fundamentals

Understanding java.util.Date, Calendar, and SimpleDateFormat in Java

This article explains the legacy java.util.Date class, its limited useful constructors and methods, the more flexible java.util.Calendar API, how to format and parse dates with DateFormat and SimpleDateFormat, and best practices for storing timestamps in databases using long values.

CalendarSimpleDateFormatdatabase
0 likes · 9 min read
Understanding java.util.Date, Calendar, and SimpleDateFormat in Java
21CTO
21CTO
Mar 11, 2016 · Backend Development

How WordPress Achieves Extensibility with Meta Tables and Hook System

This article explains how WordPress uses the wp_postmeta table for flexible metadata storage and the hook (action) system for dynamic code insertion, illustrating both the benefits and trade‑offs of these extensibility techniques for plugin development.

MetaPlugin DevelopmentWordPress
0 likes · 8 min read
How WordPress Achieves Extensibility with Meta Tables and Hook System
ITPUB
ITPUB
Mar 11, 2016 · Databases

Unlock Real-Time Analytics with Oracle 12c In-Memory: Architecture & Best Practices

This article explains how Oracle 12c's In-Memory feature enables hybrid OLTP/OLAP workloads by storing columnar data in a dedicated memory area, covering its architecture, data loading, consistency mechanisms, query acceleration techniques, and integration with RAC for high‑availability deployments.

In-MemoryOLAPOracle
0 likes · 19 min read
Unlock Real-Time Analytics with Oracle 12c In-Memory: Architecture & Best Practices
21CTO
21CTO
Mar 6, 2016 · Operations

Inside Stack Overflow’s 2016 Architecture: Handling 61 Million Daily Requests

The article details Stack Overflow’s 2016 infrastructure upgrades—including hardware, networking, load balancing, caching, database, and service layers—that enabled the site to process over 61 million daily requests while reducing processing time by hundreds of hours.

Operationsarchitecturecaching
0 likes · 12 min read
Inside Stack Overflow’s 2016 Architecture: Handling 61 Million Daily Requests
Architect
Architect
Mar 2, 2016 · Databases

InnoDB Full-Text Index Architecture and Operations in MySQL 5.7

This article explains MySQL InnoDB full-text indexing, covering supported modes, auxiliary tables, creation, DML handling, query processing, transaction management, cache synchronization, optimization, background threads, monitoring, stopwords, plugins, and the built‑in n‑gram parser, with code references from MySQL 5.7.

Full‑Text SearchInnoDBdatabase
0 likes · 17 min read
InnoDB Full-Text Index Architecture and Operations in MySQL 5.7
ITPUB
ITPUB
Mar 1, 2016 · Databases

Oracle Database Architecture: Instances, Memory, Processes, and Structures

This article provides a comprehensive overview of Oracle Database architecture, detailing the server components, instance memory structures such as SGA, essential background processes, and the physical and logical storage layers, helping readers understand how Oracle organizes data and manages operations.

InstanceOracleSGA
0 likes · 27 min read
Oracle Database Architecture: Instances, Memory, Processes, and Structures
ITPUB
ITPUB
Feb 23, 2016 · Databases

Uncovering Oracle’s Massive CREATE TABLE Docs: Core Database Concepts Explained

This article reveals why Oracle’s CREATE TABLE documentation spans dozens of pages and walks readers through essential Oracle database concepts such as tables, indexes, sequences, views, clusters, tablespaces, database links, and synonyms to help master the platform efficiently.

OracleSQLconcepts
0 likes · 7 min read
Uncovering Oracle’s Massive CREATE TABLE Docs: Core Database Concepts Explained
Architect
Architect
Jan 31, 2016 · Databases

Understanding Database Vertical and Horizontal Splitting, Their Challenges, and Practical Solutions

The article explains the concepts of vertical and horizontal database splitting, compares their technical difficulties, discusses the impact on joins and transactions, and proposes practical approaches such as careful SQL refactoring, ORM decoupling, and selective use of distributed‑transaction techniques to maintain system stability and scalability.

Distributed TransactionsORMScalability
0 likes · 14 min read
Understanding Database Vertical and Horizontal Splitting, Their Challenges, and Practical Solutions
Java High-Performance Architecture
Java High-Performance Architecture
Jan 30, 2016 · Databases

Understanding Redis 3 Cluster: Key Concepts, Features, and Operations

Redis 3 now officially supports clustering, introducing hash slots and dynamic node management to simplify key distribution, scaling, and fault tolerance, allowing seamless read/write operations across multiple nodes without manual hashing, and offering features like online node addition, automatic slave monitoring, and performance‑aware key allocation.

ClusterHash Slotdatabase
0 likes · 4 min read
Understanding Redis 3 Cluster: Key Concepts, Features, and Operations
21CTO
21CTO
Jan 28, 2016 · Databases

Boost PHP Web Performance with MySQL Asynchronous Queries

By leveraging MySQL's asynchronous query capabilities via mysqlnd and PHP's generator-based coroutines, developers can execute multiple SELECT statements concurrently, reducing total query time from around two seconds to roughly one second, though this approach must consider server load and thread overhead.

AsynchronousPHPcoroutine
0 likes · 7 min read
Boost PHP Web Performance with MySQL Asynchronous Queries
ITPUB
ITPUB
Jan 13, 2016 · Databases

SQL Challenge: Generate All Tic‑Tac‑Toe Endgames and Determine Winning Strategies

The article details the ITPUB "Shengtou Media Cup" SQL contest, presenting two Oracle‑based Tic‑Tac‑Toe problems—one to list every possible terminal game sequence and insert it into a table, and another to compute forced wins from any valid board—along with solution approaches and extra challenges.

Game TheoryOracleRecursive query
0 likes · 9 min read
SQL Challenge: Generate All Tic‑Tac‑Toe Endgames and Determine Winning Strategies
ITPUB
ITPUB
Jan 8, 2016 · Databases

Mastering Oracle RAC: Best Practices, Common Pitfalls, and Real-World Cases

This technical session covers Oracle RAC high‑availability best practices, installation steps, daily operational commands, detailed case studies of auto‑start checks, version‑mix issues, addNode failures, network heartbeat problems, and client connection errors, plus a concise Q&A on uninstall, SCAN vs VIP, and split‑brain detection.

InstallationOracleRAC
0 likes · 21 min read
Mastering Oracle RAC: Best Practices, Common Pitfalls, and Real-World Cases
dbaplus Community
dbaplus Community
Jan 7, 2016 · Databases

Mastering Character Sets: Diagnose and Fix MySQL Garbled Text

This article explains character sets and encodings, shows why MySQL data can become garbled, and provides step‑by‑step methods—including proper configuration, common pitfalls, and reliable repair techniques—to prevent and correct encoding issues such as emoji storage failures.

EmojiGBKUTF-8
0 likes · 24 min read
Mastering Character Sets: Diagnose and Fix MySQL Garbled Text
High Availability Architecture
High Availability Architecture
Jan 3, 2016 · Databases

HBase 2015 Technical Developments

An overview of HBase’s 2015 milestones—including the stable 1.0 release, clearer API with BufferedMutator, multi‑region replicas for high availability, family‑level flush improvements, RPC call‑queue separation, online configuration changes, and various Q&A on performance, replication, and best‑practice design considerations.

APIHBasedatabase
0 likes · 10 min read
HBase 2015 Technical Developments
ITPUB
ITPUB
Dec 30, 2015 · Databases

Essential MySQL DBA Interview Guide: Key Topics & Evaluation Checklist

This guide outlines a structured MySQL DBA interview process, covering self‑introduction, resume deep‑dive, career‑development questions, fundamental knowledge such as index types, core technical skills like backup, replication and performance troubleshooting, and broader potential areas including Linux and programming language proficiency.

DBAReplicationdatabase
0 likes · 8 min read
Essential MySQL DBA Interview Guide: Key Topics & Evaluation Checklist
ITPUB
ITPUB
Dec 21, 2015 · Databases

Master MySQL Indexes: BTREE, Hash, and Query Optimization Secrets

This article explains MySQL's indexing mechanisms—including BTREE and hash structures, page layout, index types, and practical query patterns—while showing how to interpret EXPLAIN output and avoid common pitfalls for efficient database performance.

BTreeHash Indexdatabase
0 likes · 19 min read
Master MySQL Indexes: BTREE, Hash, and Query Optimization Secrets
Architect
Architect
Dec 14, 2015 · Databases

Redis Cluster: Application Cases, Pros & Cons, and Technical Analysis

This article reviews real‑world Redis Cluster deployments from Youdao, Qihoo 360 and Mango TV, analyzes its architectural drawbacks, client challenges, implementation limitations, performance impact, and summarizes the overall advantages and disadvantages of using Redis Cluster as a distributed database solution.

Case StudyClusterdatabase
0 likes · 13 min read
Redis Cluster: Application Cases, Pros & Cons, and Technical Analysis
Architect
Architect
Dec 12, 2015 · Databases

Understanding Redis Master‑Slave Replication and Its Configuration

This article explains how Redis master‑slave replication works, covering asynchronous copying, partial resynchronization, disk‑less replication, safety considerations when persistence is disabled, read‑only slaves, authentication, and configuration options such as slaveof and write‑restriction based on slave count.

ConfigurationMaster‑SlaveReplication
0 likes · 10 min read
Understanding Redis Master‑Slave Replication and Its Configuration
dbaplus Community
dbaplus Community
Dec 4, 2015 · Databases

Why Storage Choices Make or Break Your Database Performance

In this technical presentation, HP's storage director shares market trends, flash storage evolution, performance metrics, planning considerations, and risk mitigation strategies, highlighting how storage architecture directly impacts database efficiency, reliability, and cost in modern enterprise environments.

FLASHdatabaserisk management
0 likes · 13 min read
Why Storage Choices Make or Break Your Database Performance
ITPUB
ITPUB
Dec 3, 2015 · Databases

Choosing the Right Time‑Series Database: Types, Queries, and Performance Trade‑offs

Time‑series data, defined by a timestamp field, appears everywhere, and the article explains how to choose an appropriate time‑series database by comparing two schema models, their query patterns, performance trade‑offs, and why modern solutions like Elasticsearch, columnar stores, and Druid excel at real‑time massive aggregation.

Big DataElasticsearchSQL
0 likes · 9 min read
Choosing the Right Time‑Series Database: Types, Queries, and Performance Trade‑offs
Architect
Architect
Nov 30, 2015 · Databases

A Historical Overview of Database Models: From Hierarchical to Relational and Beyond

This article traces the evolution of database models—from early hierarchical and network structures through the relational revolution and entity‑relationship diagrams to modern distributed and multi‑tenant designs—highlighting key concepts, technical challenges, and the theoretical foundations that shaped today’s data storage systems.

Hierarchical Modeldata modelingdatabase
0 likes · 27 min read
A Historical Overview of Database Models: From Hierarchical to Relational and Beyond
ITPUB
ITPUB
Nov 26, 2015 · Operations

How to Prevent Split‑Brain in HA Clusters: Arbitration, Fencing, and Practical Strategies

This article explains what split‑brain is in high‑availability systems, compares arbitration and fencing methods, evaluates client‑routing options without fencing devices, discusses data‑loss risks during failover for PostgreSQL and MySQL, and provides concrete implementation guidance using Pacemaker and Corosync.

PacemakerSplit-Brainarbitration
0 likes · 10 min read
How to Prevent Split‑Brain in HA Clusters: Arbitration, Fencing, and Practical Strategies
dbaplus Community
dbaplus Community
Nov 20, 2015 · Databases

How Hotcopy Can Reduce Oracle library cache: mutex X Contention

This article explains why repeated SQL execution can cause library cache: mutex X contention in Oracle, describes the underlying hash‑bucket and handle locking mechanisms, and demonstrates how creating hotcopy objects—using hidden parameters and APIs—can alleviate hotspot mutex waits, with experimental results showing up to 50% reduction in wait time.

Oracledatabasehotcopy
0 likes · 15 min read
How Hotcopy Can Reduce Oracle library cache: mutex X Contention
ITPUB
ITPUB
Nov 16, 2015 · Databases

Mastering Flash‑Sale (秒杀) Logic: Using Unique Indexes and SQL for Concurrency Control

This guide explains two flash‑sale scenarios—single‑item seckill with a unique index and multi‑item seckill with quantity tracking—detailing table structures, SQL statements, concurrency handling, advantages, drawbacks, and an optimized version without locks, illustrated with step‑by‑step diagrams.

SQLUnique Indexconcurrency
0 likes · 5 min read
Mastering Flash‑Sale (秒杀) Logic: Using Unique Indexes and SQL for Concurrency Control
21CTO
21CTO
Nov 5, 2015 · Backend Development

How CAS Prevents Data Inconsistency in High‑Concurrency Transactions

This article explains why concurrent read‑write operations on a shared balance can cause inconsistencies, illustrates the problem with a purchase‑balance example, and shows how a Compare‑And‑Set (CAS) update clause guarantees atomicity and preserves data integrity.

BackendCASConsistency
0 likes · 7 min read
How CAS Prevents Data Inconsistency in High‑Concurrency Transactions
Qunar Tech Salon
Qunar Tech Salon
Oct 11, 2015 · Databases

Understanding MySQL Indexes: Theory, Implementation, and Optimization Strategies

This article provides a comprehensive overview of MySQL indexing, covering the theoretical foundations of B‑Tree and B+Tree data structures, the differences between MyISAM and InnoDB index implementations, and practical optimization techniques such as left‑most prefix usage, selectivity analysis, and prefix indexing.

B+TreeB-TreeInnoDB
0 likes · 27 min read
Understanding MySQL Indexes: Theory, Implementation, and Optimization Strategies
Java High-Performance Architecture
Java High-Performance Architecture
Oct 5, 2015 · Databases

Why Proper SQL Formatting Boosts Development Efficiency

Formatting SQL statements doesn't speed up execution, but it dramatically enhances readability, maintenance, and development efficiency, making testing easier and reducing errors through clear alias usage, leading commas, and line‑by‑line JOIN placement, as illustrated by practical examples.

SQLcode readabilitydatabase
0 likes · 2 min read
Why Proper SQL Formatting Boosts Development Efficiency
21CTO
21CTO
Oct 1, 2015 · Databases

Visualizing SQL Joins with Venn Diagrams: Inner, Outer & Cross Join Explained

An in‑depth guide shows how to illustrate various SQL join types—including inner, full outer, left outer, and cross joins—using Venn diagrams and concrete table examples, highlighting result sets, null handling, and the pitfalls of Cartesian products for large tables.

Cross JoinINNER JOINJoins
0 likes · 5 min read
Visualizing SQL Joins with Venn Diagrams: Inner, Outer & Cross Join Explained
MaGe Linux Operations
MaGe Linux Operations
Sep 25, 2015 · Databases

How to Deploy Multiple MySQL Instances on a Single Server: Step‑by‑Step Guide

This article explains the concept, use cases, benefits, and challenges of running multiple MySQL instances on one machine, then provides a detailed, command‑line walkthrough—including environment preparation, compilation, configuration files, startup, security measures, and management scripts—to help you set up and manage multi‑instance MySQL deployments.

ConfigurationDeploymentLinux
0 likes · 9 min read
How to Deploy Multiple MySQL Instances on a Single Server: Step‑by‑Step Guide
Architect
Architect
Sep 14, 2015 · Databases

MySQL High Availability Solutions: Selection Guide

This article reviews various MySQL high‑availability architectures—including master‑slave replication with keepalived or MHA, Galera‑based clusters, and other approaches—detailing their deployment methods, advantages, limitations, and practical considerations for selecting an appropriate HA solution.

GaleraMHAReplication
0 likes · 9 min read
MySQL High Availability Solutions: Selection Guide
Architect
Architect
Aug 31, 2015 · Databases

MySQL High Availability: Replication, Monitoring, and Failover Strategies

This article discusses MySQL high‑availability solutions, covering asynchronous and semi‑synchronous replication, monitoring with keepalived, Zookeeper, and custom agents, failover procedures using binlog positions, GTID and pseudo‑GTID techniques, and the author's practical experiences and future plans.

GTIDReplicationdatabase
0 likes · 17 min read
MySQL High Availability: Replication, Monitoring, and Failover Strategies
Efficient Ops
Efficient Ops
Jul 5, 2015 · Databases

What’s New in MySQL InnoDB 5.7? Performance Boosts and Fresh Features

The article reviews MySQL InnoDB 5.7’s major performance enhancements—such as transaction pooling, temporary‑table redesign, buffer and DDL optimizations—and introduces new capabilities like native partitioning, dynamic buffer sizing, GIS support, virtual columns, and advanced compression, all illustrated with benchmark graphics.

InnoDBNew Featuresdatabase
0 likes · 11 min read
What’s New in MySQL InnoDB 5.7? Performance Boosts and Fresh Features
Java High-Performance Architecture
Java High-Performance Architecture
Jun 13, 2015 · Databases

How to Set Up and Test a Redis 3 Cluster on Linux

This guide explains how Redis 3’s native clustering works, details the hash‑slot mechanism, and provides step‑by‑step instructions for installing Redis and its Ruby dependencies, configuring multiple nodes, creating a six‑node cluster, and testing key distribution across the cluster.

ClusterInstallationdatabase
0 likes · 7 min read
How to Set Up and Test a Redis 3 Cluster on Linux
Architect
Architect
Jun 9, 2015 · Databases

MySQL Cluster Architecture, Configuration, and Deployment Guide

This article explains the fundamentals of MySQL Cluster, its shared‑nothing architecture, NDB storage engine advantages and drawbacks, the roles of management, data, and API nodes, and provides a step‑by‑step guide with configuration files and commands to set up a high‑availability MySQL Cluster on multiple servers.

ClusterConfigurationNDB
0 likes · 14 min read
MySQL Cluster Architecture, Configuration, and Deployment Guide
Qunar Tech Salon
Qunar Tech Salon
May 4, 2015 · Databases

Comparing MySQL and PostgreSQL Counter Queries

This article compares two SQL counter queries, presenting a detailed MySQL version with CASE statements and variable counters alongside a concise PostgreSQL version using ROW_NUMBER, and includes an explanation of the differences and a brief author biography.

ComparisonPostgreSQLSQL
0 likes · 3 min read
Comparing MySQL and PostgreSQL Counter Queries
MaGe Linux Operations
MaGe Linux Operations
Apr 14, 2015 · Databases

Unlocking MySQL 5.7 JSON: Native Support, Indexing, and Virtual Columns

This article explains how MySQL 5.7 introduced native JSON support with validity checks, performance improvements, and virtual column indexing, compares it to MariaDB's dynamic column and PostgreSQL, and provides step‑by‑step SQL examples for creating, inserting, querying, and indexing JSON data.

JSONVirtual Columnsdatabase
0 likes · 5 min read
Unlocking MySQL 5.7 JSON: Native Support, Indexing, and Virtual Columns
MaGe Linux Operations
MaGe Linux Operations
Mar 31, 2015 · Databases

Why MySQL Replication Shows Zero Lag Yet Fails to Sync Changes

This article explains a rare MySQL replication scenario where Seconds_Behind_Master stays at zero while the slave cannot receive updates, analyzes the underlying push‑based replication mechanism, and offers practical steps and configuration tweaks to detect and prevent the issue.

Master‑SlaveReplicationSeconds_Behind_Master
0 likes · 8 min read
Why MySQL Replication Shows Zero Lag Yet Fails to Sync Changes

Percona Server vs. MariaDB: Features, Compatibility, and Performance Compared to MySQL

The article examines the impact of Oracle's acquisition of MySQL, introduces Percona XtraDB and Percona Server, outlines MariaDB's origins and compatibility, compares their storage engines, performance, and version histories, and provides resources for further comparison of these MySQL alternatives.

MariaDBPerconaStorage Engine
0 likes · 7 min read
Percona Server vs. MariaDB: Features, Compatibility, and Performance Compared to MySQL
MaGe Linux Operations
MaGe Linux Operations
Dec 24, 2014 · Backend Development

Essential Roadmap for Beginner Python/Django Web Developers

This guide outlines the fundamental topics and resources a novice web developer should master across web concepts, frontend basics, Python programming, Django framework, databases, tooling, development processes, soft skills, and a capstone project to build a functional Django application.

Djangodatabase
0 likes · 7 min read
Essential Roadmap for Beginner Python/Django Web Developers
MaGe Linux Operations
MaGe Linux Operations
Dec 17, 2014 · Databases

Mastering Redis Configuration: Essential Settings for Performance & Security

This guide presents a comprehensive collection of Redis configuration directives, covering daemonization, networking, persistence, replication, security, memory management, AOF, Lua scripting, slow log, event notifications, and advanced tuning options, enabling administrators to optimize performance, reliability, and safety of their Redis deployments.

databaseredis
0 likes · 23 min read
Mastering Redis Configuration: Essential Settings for Performance & Security
Baidu Tech Salon
Baidu Tech Salon
Sep 11, 2014 · Backend Development

The Benefits of Software Maintenance and Debugging for Developers

Software maintenance and debugging sharpen analytical and coding skills, expose developers to diverse tools and legacy systems, improve performance optimization and database knowledge, foster client relationships and referrals, provide steady income, and allow quick, focused work that deepens business understanding while avoiding large‑scale outsourcing.

Backend DevelopmentDebuggingLegacy Code
0 likes · 9 min read
The Benefits of Software Maintenance and Debugging for Developers
MaGe Linux Operations
MaGe Linux Operations
Aug 22, 2014 · Databases

Essential MySQL Q&A: Master Version, Queries, Functions, and More

This article provides concise MySQL Q&A covering how to retrieve server version and database name, filter records with NOT operators, combine AND/OR conditions, use IFNULL, limit query results, choose between Oracle and MySQL, obtain the current date, export tables to XML, understand persistent connections, list table indexes, and explain CSV tables.

LinuxSQLdatabase
0 likes · 9 min read
Essential MySQL Q&A: Master Version, Queries, Functions, and More
MaGe Linux Operations
MaGe Linux Operations
Aug 8, 2014 · Databases

Master MongoDB Indexes: Query Plans, Creation, and Optimization Tips

This guide walks through MongoDB index fundamentals, showing how to view query plans, create single and compound indexes, manage index types like unique, sparse, and multikey, force specific indexes or full scans, and handle in‑memory sorting and index management for optimal performance.

MongoDBdatabaseindexes
0 likes · 6 min read
Master MongoDB Indexes: Query Plans, Creation, and Optimization Tips
MaGe Linux Operations
MaGe Linux Operations
Jul 9, 2014 · Databases

Top 15 NoSQL Databases You Should Know in 2024

An extensive overview of fifteen popular NoSQL databases—including MongoDB, CouchDB, HBase, Cassandra, Redis, and more—detailing their architectures, key features, performance characteristics, and typical applications, helping readers choose the right solution for high‑scale, high‑concurrency data storage needs.

MongoDBNoSQLcassandra
0 likes · 33 min read
Top 15 NoSQL Databases You Should Know in 2024