Tagged articles

SQL

2900 articles · Page 29 of 29
ITPUB
ITPUB
Apr 20, 2016 · Backend Development

Top 17 C++ Backend Interview Questions with Answers and Code Samples

This article compiles 17 common C++ backend interview questions covering algorithms, data structures, language nuances, Linux process handling, SQL, networking, and system design, providing concise explanations and complete code examples to help candidates prepare effectively.

AlgorithmsC++Linux
0 likes · 18 min read
Top 17 C++ Backend Interview Questions with Answers and Code Samples
ITPUB
ITPUB
Apr 12, 2016 · Databases

Mastering Oracle Auditing: How to Enable, Configure, and Interpret Audit Trails

This guide explains Oracle's auditing capabilities, covering its purpose, three audit types, how to enable auditing via AUDIT_TRAIL, defining audit policies, controlling record generation, locating audit records, special considerations, and provides practical SQL examples.

DBADatabase AuditingFine-Grained Auditing
0 likes · 9 min read
Mastering Oracle Auditing: How to Enable, Configure, and Interpret Audit Trails
ITPUB
ITPUB
Apr 8, 2016 · Databases

How to Monitor and Analyze Oracle SQL Statements with Powerful Queries

This guide provides Oracle SQL queries to list currently running statements, retrieve historical SQL, identify high‑CPU or high‑disk‑usage queries, find slow statements, and detect uncommitted transactions, enabling DBAs to quickly diagnose performance issues.

OraclePerformance MonitoringQueries
0 likes · 4 min read
How to Monitor and Analyze Oracle SQL Statements with Powerful Queries
ITPUB
ITPUB
Apr 3, 2016 · Databases

Master SQL GROUP BY: From Simple Aggregations to Rollup and Joins

This guide explains how to use SQL's GROUP BY clause with examples covering basic grouping, GROUP_CONCAT, aggregate functions, HAVING filters, multi‑column grouping, WITH ROLLUP, and inner, left, and right joins, illustrating each technique with clear query results.

GROUP BYHAVINGSQL
0 likes · 7 min read
Master SQL GROUP BY: From Simple Aggregations to Rollup and Joins
ITPUB
ITPUB
Mar 30, 2016 · Databases

Understanding Oracle Wait Events: A Deep Dive into 33 Common Waits

This article explains Oracle's idle and non‑idle wait events, shows how to query the v$event_name view, counts and classifies events, introduces related performance views, and provides detailed descriptions and parameters for 33 frequently encountered wait events.

AWROracleSQL
0 likes · 31 min read
Understanding Oracle Wait Events: A Deep Dive into 33 Common Waits
Qunar Tech Salon
Qunar Tech Salon
Mar 26, 2016 · Databases

MySQL User Management, Database and Table Operations Guide

This guide provides step‑by‑step instructions for connecting to MySQL, creating and managing users and permissions, displaying, creating and deleting databases and tables, performing backups and restores, and executing various query operations such as selecting, updating, and aggregating data.

MySQLQueriesRestore
0 likes · 14 min read
MySQL User Management, Database and Table Operations Guide
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.

COALESCENull HandlingPostgreSQL
0 likes · 4 min read
Mastering COALESCE in PostgreSQL: Fix NULL Arithmetic Results
dbaplus Community
dbaplus Community
Mar 16, 2016 · Databases

How to Supercharge SELECT COUNT(*) in Oracle: 6 Proven Optimization Tricks

Discover six powerful techniques—including B‑tree and bitmap indexes, materialized views, result‑set caching, and clever query rewrites—to dramatically reduce logical reads and accelerate Oracle's SELECT COUNT(*) performance, with step‑by‑step examples and measurable improvements.

Materialized ViewOracleResult Cache
0 likes · 6 min read
How to Supercharge SELECT COUNT(*) in Oracle: 6 Proven Optimization Tricks
ITPUB
ITPUB
Mar 11, 2016 · Databases

Essential Oracle SQL Queries for DBAs: Tablespaces, Rollback Segments, and Performance Insights

A comprehensive collection of Oracle SQL statements helps database administrators quickly retrieve tablespace sizes, data file details, rollback segment information, control and log files, usage statistics, object metadata, version data, long‑running queries, partition parameters, locked objects, resource‑intensive sessions, lock and wait statuses, SGA metrics, cached objects, and SQL area details.

OracleQueriesSQL
0 likes · 10 min read
Essential Oracle SQL Queries for DBAs: Tablespaces, Rollback Segments, and Performance Insights
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.

ConceptsOracleSQL
0 likes · 7 min read
Uncovering Oracle’s Massive CREATE TABLE Docs: Core Database Concepts Explained
dbaplus Community
dbaplus Community
Feb 3, 2016 · Databases

What Makes PostgreSQL Superior? Data Types, Indexes, and Queries Compared

This article examines why PostgreSQL claims to be the most advanced open‑source database by detailing its object‑relational model, extensive native data types, large‑scale size limits, robust ACID compliance, powerful indexing options, flexible virtual table features, built‑in functions, language extensions, and how these capabilities compare to MySQL, MariaDB and Firebird.

CTEData TypesJSON
0 likes · 21 min read
What Makes PostgreSQL Superior? Data Types, Indexes, and Queries Compared
dbaplus Community
dbaplus Community
Feb 2, 2016 · Databases

Unlock SQL Speed: Real-World Optimization Tricks and Techniques

This article walks through practical Oracle SQL optimization methods—explaining execution plans, indexes, statistics, hints, and partitioning—using concrete examples and step‑by‑step case studies that show how to dramatically reduce query runtimes and CPU load.

Index OptimizationOracleSQL
0 likes · 24 min read
Unlock SQL Speed: Real-World Optimization Tricks and Techniques
21CTO
21CTO
Feb 1, 2016 · Big Data

How Solr Supercharges Real‑Time Queries in Big Data Environments

This article examines a real‑world case from Alibaba’s Taobao Jushita platform, showing how traditional SQL queries struggle with multi‑dimensional, high‑volume data and how integrating Solr’s inverted‑index search engine—combined with Hive‑generated wide tables and custom QParser plugins—delivers millisecond‑level, scalable query performance for buyer analytics.

HiveReal-time QuerySQL
0 likes · 11 min read
How Solr Supercharges Real‑Time Queries in Big Data Environments
dbaplus Community
dbaplus Community
Jan 31, 2016 · Databases

Unlock Oracle 12c Performance: Mastering In-Memory Option (IMO)

Oracle 12c’s In‑Memory Option (IMO) lets you store table, partition, and materialized view data in a columnar format within the SGA, offering faster query performance, configurable compression, priority settings, and detailed management via INMEMORY clauses, parameters, and specialized dictionary views.

CompressionIn-MemoryOracle
0 likes · 17 min read
Unlock Oracle 12c Performance: Mastering In-Memory Option (IMO)
dbaplus Community
dbaplus Community
Jan 27, 2016 · Databases

How to Densify Sparse Data with Oracle 10g Partitioned Outer Join

This article explains why sparse data in Oracle tables hampers continuous time‑series reporting, introduces the Partitioned Outer Join syntax introduced in Oracle 10g, and demonstrates step‑by‑step how to transform one‑dimensional and multi‑dimensional gaps into dense datasets using practical SQL examples.

AnalyticsData DensificationOracle
0 likes · 17 min read
How to Densify Sparse Data with Oracle 10g Partitioned Outer Join
ITPUB
ITPUB
Jan 18, 2016 · Databases

Mastering Tic‑Tac‑Toe with Oracle SQL: Generate All Endgames & Find Forced Wins

This article presents two Oracle SQL challenges from the 3rd ITPUB "Shengtou Media Cup" Tic‑Tac‑Toe contest, detailing how to generate every possible terminal game sequence for insertion into a table and how to compute forced win strategies for any given board using pure SQL techniques.

Database ProgrammingOracleSQL
0 likes · 14 min read
Mastering Tic‑Tac‑Toe with Oracle SQL: Generate All Endgames & Find Forced Wins
ITPUB
ITPUB
Jan 14, 2016 · Databases

SQL Tic‑Tac‑Toe Challenge: Generate All Endgames and Find Forced Wins

Presented are two Oracle‑SQL challenges from the 3rd ITPUB “Shengtou Media Cup” Tic‑Tac‑Toe contest: (1) generate every possible terminal move sequence and board state, inserting them into a TICTACTOE table without PL/SQL in WITH clauses, and (2) given any valid board, compute the forced winner and the minimal remaining moves using recursive SQL and minimax logic.

OracleSQLTicTacToe
0 likes · 8 min read
SQL Tic‑Tac‑Toe Challenge: Generate All Endgames and Find Forced Wins
dbaplus Community
dbaplus Community
Jan 13, 2016 · Databases

Simplify Oracle DBA Tasks with the OraZ Automation Toolkit

This article explains how the OraZ toolset streamlines Oracle database administration by automating routine tasks, providing intelligent hang analysis, offering comprehensive health checks, and delivering real‑time instance activity insights, ultimately reducing DBA workload and improving operational efficiency.

DBAHang AnalysisOraZ
0 likes · 15 min read
Simplify Oracle DBA Tasks with the OraZ Automation Toolkit
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.

OracleRecursive querySQL
0 likes · 9 min read
SQL Challenge: Generate All Tic‑Tac‑Toe Endgames and Determine Winning Strategies
ITPUB
ITPUB
Jan 1, 2016 · Databases

10 Essential PostgreSQL Tips to Boost Your Productivity

Discover ten practical PostgreSQL techniques—including CTEs, custom .psqlrc settings, pg_stat_statements, FDWs, array handling, materialized views, window functions, pivot shortcuts, PostGIS, and JSONB—to write cleaner queries, improve performance, and leverage advanced database features.

CTEFDWJSONB
0 likes · 9 min read
10 Essential PostgreSQL Tips to Boost Your Productivity
ITPUB
ITPUB
Dec 18, 2015 · Databases

Mastering Database Schema Design: From Normalization to Sharding and Scaling

This article explains essential database design principles—including normalization, denormalization, join avoidance, and various sharding techniques—while also covering scaling strategies such as vertical upgrades, horizontal partitioning, and the use of flash storage to boost performance.

DenormalizationSQLdatabase design
0 likes · 27 min read
Mastering Database Schema Design: From Normalization to Sharding and Scaling
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.

AggregationElasticsearchSQL
0 likes · 9 min read
Choosing the Right Time‑Series Database: Types, Queries, and Performance Trade‑offs
ITPUB
ITPUB
Dec 3, 2015 · Databases

SQL Tic‑Tac‑Toe Challenge: Generate Endgame Boards and Find Forced Wins

The ITPUB community revived its SQL Database Programming Contest, outlining judges, prize tiers, and detailed rules, then presenting two Oracle‑SQL puzzles—one to generate every possible tic‑tac‑toe endgame board and another to determine a forced winning strategy for a given board—plus an optional extension for larger m,n,k games.

ContestPL/SQLSQL
0 likes · 9 min read
SQL Tic‑Tac‑Toe Challenge: Generate Endgame Boards and Find Forced Wins
dbaplus Community
dbaplus Community
Nov 17, 2015 · Databases

Master Oracle SQL Optimization: Proven Roadmap & Real-World Cases

This comprehensive guide explains the essence of Oracle SQL tuning, presents a step‑by‑step optimization roadmap, walks through real‑world case studies—including a high‑CPU query fixed with hints and query rewrites—and details how to capture and interpret accurate execution plans while addressing optimizer parameters and common pitfalls.

OracleSQLdatabase optimization
0 likes · 24 min read
Master Oracle SQL Optimization: Proven Roadmap & Real-World Cases
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
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Nov 13, 2015 · Fundamentals

Internal Training Courses: XML Serialization, .NET Parallel Programming Basics, and SQL Query Fundamentals

The announcement details three internal technical training sessions covering XML serialization fundamentals, .NET parallel programming basics, and essential SQL query concepts and optimization, including instructors, topics, locations, target audiences, and scheduled times for each course.

.NETParallel ProgrammingSQL
0 likes · 2 min read
Internal Training Courses: XML Serialization, .NET Parallel Programming Basics, and SQL Query Fundamentals
ITPUB
ITPUB
Nov 11, 2015 · Databases

Solve the 5‑Digit Reverse‑Multiplication Puzzle with SQL Queries

A father turned his daughter's third‑grade math challenge—finding a five‑digit number that becomes its reverse when multiplied by four—into a collaborative coding exercise, showcasing three distinct Oracle SQL solutions that generate and test digit permutations to reveal the unique answer.

Digit PermutationMath PuzzleSQL
0 likes · 4 min read
Solve the 5‑Digit Reverse‑Multiplication Puzzle with SQL Queries
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
21CTO
21CTO
Oct 28, 2015 · Databases

Block SELECT * Queries with a One‑Line Computed Column Hack

This article explains why using SELECT * is problematic and demonstrates a simple technique—adding a computed column that triggers a divide‑by‑zero error—to block SELECT * queries while still allowing column‑specific selections.

SQLbest practicescomputed column
0 likes · 3 min read
Block SELECT * Queries with a One‑Line Computed Column Hack
21CTO
21CTO
Oct 23, 2015 · Databases

How to Efficiently Paginate 100M User IDs in MySQL

This article examines three SQL pagination strategies for a 100‑million‑row favorites table, compares their correctness and performance using EXPLAIN analysis, and demonstrates why a GROUP BY approach with proper indexing yields the most reliable and fast results.

Large DataMySQLSQL
0 likes · 5 min read
How to Efficiently Paginate 100M User IDs in MySQL
21CTO
21CTO
Oct 11, 2015 · Databases

From Chaos to Order: Step‑by‑Step Database Normalization up to 4NF

This article explains the purpose of database normalization, outlines its benefits and drawbacks, and walks through a concrete demo that transforms an unnormalized employee table through the first, second, third, BC, and fourth normal forms, illustrating each step with diagrams.

1NF2NF3NF
0 likes · 8 min read
From Chaos to Order: Step‑by‑Step Database Normalization up to 4NF
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.

Code ReadabilityFormattingSQL
0 likes · 2 min read
Why Proper SQL Formatting Boosts Development Efficiency
21CTO
21CTO
Oct 4, 2015 · Databases

When to Choose SQL vs NoSQL: Real-World Scenarios and Schema Design

This article compares SQL and NoSQL databases, outlining their core characteristics, advantages, and trade‑offs, and demonstrates practical schema designs for contact lists, social networks, and warehouse management, helping developers decide which technology best fits their project requirements.

MongoDBNoSQLSQL
0 likes · 11 min read
When to Choose SQL vs NoSQL: Real-World Scenarios and Schema Design
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
21CTO
21CTO
Sep 27, 2015 · Databases

Using Physical Primary Keys as Foreign Keys and Implementing Optimistic Locks

This article explains two key relational database design techniques: using auto‑increment or UUID physical primary keys for foreign key relationships, and employing optimistic locking with a version column to safely handle concurrent updates, while also covering when locks can be omitted.

Foreign KeyOptimistic LockSQL
0 likes · 6 min read
Using Physical Primary Keys as Foreign Keys and Implementing Optimistic Locks
21CTO
21CTO
Sep 16, 2015 · Databases

Why Physical Primary Keys and Optimistic Locks Are Essential for Reliable DB Design

This article explains why using a physical primary key for foreign‑key relationships, how to implement optimistic locking with a version column for concurrent updates, and when it’s safe to update records without any locking, providing practical SQL examples for reliable database design.

Foreign KeyOptimistic LockSQL
0 likes · 6 min read
Why Physical Primary Keys and Optimistic Locks Are Essential for Reliable DB Design
21CTO
21CTO
Sep 12, 2015 · Databases

Master MySQL Optimization: Practical Tips for Performance, Hardware, and Schema

This comprehensive guide explores MySQL's unique characteristics, hardware and OS tuning, configuration tweaks, schema and SQL optimization techniques, and provides actionable recommendations and tools to identify and resolve common performance bottlenecks.

MySQLPerformance OptimizationSQL
0 likes · 13 min read
Master MySQL Optimization: Practical Tips for Performance, Hardware, and Schema
WeChat Client Technology Team
WeChat Client Technology Team
Aug 24, 2015 · Databases

How We Boosted SQLite Chat Performance: Fragment Caching, Table Splitting, and Index Refactoring

This article details a multi‑stage performance overhaul of a large‑scale chat application's SQLite database, covering trace‑based I/O analysis, view caching with Fragments, table‑splitting experiments, index size reduction, and the development of a PageTracer tool to quantify page‑level gains.

AndroidDatabase IndexingFragment
0 likes · 21 min read
How We Boosted SQLite Chat Performance: Fragment Caching, Table Splitting, and Index Refactoring
Java High-Performance Architecture
Java High-Performance Architecture
Jul 29, 2015 · Databases

How Indexes Enable Efficient GROUP BY Queries in MySQL

This article explains why GROUP BY requires sorting like ORDER BY, how a suitable index can satisfy both operations, and outlines the precise conditions—including single‑table queries, left‑most index prefixes, constant values, and limited aggregates—that allow MySQL to execute GROUP BY using an index scan.

GROUP BYIndex OptimizationMySQL
0 likes · 3 min read
How Indexes Enable Efficient GROUP BY Queries in MySQL

MySQL Performance Optimization Tips for Web Applications

This article presents a comprehensive set of MySQL performance optimization techniques for web applications, covering query caching, EXPLAIN analysis, LIMIT usage, indexing strategies, join type consistency, avoiding ORDER BY RAND(), selective column retrieval, proper primary keys, ENUM usage, prepared statements, unbuffered queries, IP storage, fixed‑length tables, vertical partitioning, batch deletions, column size reduction, storage engine selection, ORM benefits, and persistent connections.

MySQLPHPSQL
0 likes · 21 min read
MySQL Performance Optimization Tips for Web Applications

Selection and Comparison of Big Data Benchmark Standards with a Focus on TPC‑DS

This article reviews the evolution of big‑data management technologies, discusses the criteria for choosing appropriate big‑data benchmarks, compares existing benchmarks such as MapReduce tests, YCSB, BigBench and BigFrame, and provides an in‑depth analysis of the TPC‑DS benchmark and its certification status.

SQLTPC-DSbenchmark
0 likes · 15 min read
Selection and Comparison of Big Data Benchmark Standards with a Focus on TPC‑DS
Java High-Performance Architecture
Java High-Performance Architecture
Jul 16, 2015 · Databases

When MySQL Indexes Fail: 4 Common Pitfalls to Avoid

This article explains four situations where MySQL will ignore indexes—using a non‑leading column in a composite index, leading wildcards in LIKE queries, OR conditions with non‑indexed fields, and unquoted string literals—offering guidance to improve query performance.

MySQLSQLdatabase optimization
0 likes · 3 min read
When MySQL Indexes Fail: 4 Common Pitfalls to Avoid
Qunar Tech Salon
Qunar Tech Salon
Jul 13, 2015 · Databases

Mapping MySQL Commands and Features to PostgreSQL psql Equivalents

This article compares MySQL client commands and features with their PostgreSQL psql equivalents, covering general command‑line options, SQL‑level operations such as showing tables, creating tables, listing databases, using databases, handling auto‑increment, process lists, global variables, and function‑level differences, plus practical code snippets.

MySQLPostgreSQLSQL
0 likes · 6 min read
Mapping MySQL Commands and Features to PostgreSQL psql Equivalents
MaGe Linux Operations
MaGe Linux Operations
Jul 10, 2015 · Databases

Master SQL Joins: Inner, Outer, and Cross Join Explained with Examples

This article explains the three types of SQL joins—inner, outer, and cross—detailing their variations such as equi‑join, non‑equi‑join, natural join, left/right/full outer joins, and provides clear example queries and result illustrations to help readers understand how to combine tables effectively.

Cross JoinINNER JOINJoins
0 likes · 5 min read
Master SQL Joins: Inner, Outer, and Cross Join Explained with Examples
MaGe Linux Operations
MaGe Linux Operations
Jun 5, 2015 · Databases

Master MySQL: From Database Basics to Full Installation Guide

This comprehensive guide explains what databases are, their evolution, key models, core DBMS components, and provides step‑by‑step instructions for installing, configuring, and securing MySQL on Linux, along with essential SQL commands and concepts.

DBMSDatabase InstallationLinux
0 likes · 18 min read
Master MySQL: From Database Basics to Full Installation Guide
Qunar Tech Salon
Qunar Tech Salon
May 5, 2015 · Databases

Encrypting Sensitive Data with PostgreSQL pgcrypto

This article explains how to protect user privacy by using PostgreSQL's built-in pgcrypto extension to encrypt and decrypt sensitive fields such as phone numbers and ID numbers, showing practical SQL examples for creating tables, altering columns, storing ciphertext, and querying encrypted data.

Database SecurityPostgreSQLSQL
0 likes · 5 min read
Encrypting Sensitive Data with PostgreSQL pgcrypto
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.

MySQLPostgreSQLSQL
0 likes · 3 min read
Comparing MySQL and PostgreSQL Counter Queries
Qunar Tech Salon
Qunar Tech Salon
May 3, 2015 · Databases

Optimizing PostgreSQL Queries for Flight Data Retrieval at Qunar

The article analyzes a slow PostgreSQL query that joins multiple tables to fetch flight numbers, compares several alternative query formulations with their execution plans, and presents a final solution using array aggregation to achieve sub‑millisecond performance despite existing indexes.

PostgreSQLQuery OptimizationSQL
0 likes · 7 min read
Optimizing PostgreSQL Queries for Flight Data Retrieval at Qunar
MaGe Linux Operations
MaGe Linux Operations
Mar 17, 2015 · Databases

Why MySQL Shows Garbled Text and How to Fix It

This article explains the root causes of MySQL character‑set garbling, illustrates the encoding/decoding steps during data insertion and retrieval, and provides practical methods—including dump‑reload and binary conversion—to prevent and repair corrupted text.

Character EncodingMySQLSQL
0 likes · 19 min read
Why MySQL Shows Garbled Text and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Mar 3, 2015 · Databases

Essential MySQL Performance Tuning: Key Metrics & Optimization Tips

Learn how to monitor and optimize MySQL server performance by examining critical variables, status metrics, and configuration parameters such as slow query settings, connection limits, key buffer size, query cache, temporary tables, and thread usage to achieve stable, efficient database operation.

MySQLSQLdatabase optimization
0 likes · 8 min read
Essential MySQL Performance Tuning: Key Metrics & Optimization Tips
ITPUB
ITPUB
Oct 20, 2014 · Databases

Why Indexes Are the Key to Cutting Logical Reads and Speeding Up SQL

The article explains how inefficient SQL statements increase logical reads, why creating effective indexes dramatically reduces those reads and execution time, and discusses practical guidelines for choosing indexed columns, differences between clustered and non‑clustered indexes, and common pitfalls in index design.

Logical ReadsSQLindexes
0 likes · 5 min read
Why Indexes Are the Key to Cutting Logical Reads and Speeding Up SQL
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.

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

Essential Resources to Kickstart Your MySQL DBA Journey

This guide shares a curated list of foundational books and resources for beginners aiming to master SQL, deepen MySQL expertise, and develop the operational and data‑centric mindset needed for a successful DBA career, including links to downloads and a weekly MySQL radio show.

DBALearning ResourcesMySQL
0 likes · 4 min read
Essential Resources to Kickstart Your MySQL DBA Journey
MaGe Linux Operations
MaGe Linux Operations
Jul 11, 2014 · Databases

How to Build a Simple Database from Scratch Using B‑Trees

This article explains how to build a minimal database by storing records in a fixed‑length text file, using B‑tree structures for efficient lookup, creating index files for non‑primary fields, and outlines additional features such as SQL parsing, joins, transactions, backup and remote access.

B+ TreeSQL
0 likes · 7 min read
How to Build a Simple Database from Scratch Using B‑Trees
MaGe Linux Operations
MaGe Linux Operations
Jul 9, 2014 · Databases

SQL Server vs Oracle: 45 Essential Function Equivalents

This article presents a comprehensive side‑by‑side mapping of 45 common SQL Server functions to their Oracle equivalents, covering numeric, string, date, and miscellaneous operations with example queries and notes on usage differences.

Database FunctionsOracleSQL
0 likes · 16 min read
SQL Server vs Oracle: 45 Essential Function Equivalents