Tagged articles
2769 articles
Page 27 of 28
ITPUB
ITPUB
Oct 17, 2016 · Databases

Quickly Diagnose Oracle Lock Contention with AWK and ass109.awk

This guide demonstrates how to use the ass109.awk script and Oracle's oradebug tool to capture, parse, and analyze trace files, quickly identifying lock and deadlock sessions in Oracle 11gR2 without resorting to costly restarts.

Database LocksOracleTrace Analysis
0 likes · 9 min read
Quickly Diagnose Oracle Lock Contention with AWK and ass109.awk
ITPUB
ITPUB
Oct 12, 2016 · Databases

34 Proven Oracle SQL Tricks to Boost Query Performance

This guide compiles 34 practical Oracle SQL optimization techniques—from selecting the optimal table order and rewriting WHERE clauses to leveraging indexes, avoiding costly operators, and fine‑tuning execution plans—helping developers dramatically reduce query execution time and resource consumption.

Oracledatabaseindexes
0 likes · 19 min read
34 Proven Oracle SQL Tricks to Boost Query Performance
dbaplus Community
dbaplus Community
Oct 11, 2016 · Databases

Mastering Oracle Hints: Benefits, Risks, and Best‑Practice Guidance

This article explores Oracle's Hint feature, reviewing its classification, demonstrating how improper use can degrade performance, presenting real‑world negative cases, and summarizing Oracle's official stance and best‑practice recommendations for when and how to apply Hints effectively.

Database OptimizationOracleperformance tuning
0 likes · 14 min read
Mastering Oracle Hints: Benefits, Risks, and Best‑Practice Guidance
ITPUB
ITPUB
Oct 11, 2016 · Databases

How a Simple MySQL UPDATE Solved a Multi‑Threaded Counting Problem

A developer recounts how a seemingly trivial MySQL UPDATE statement—‘UPDATE table_name SET sum = sum + 5 WHERE id = 1’—proved thread‑safe for aggregating file counts across a multi‑threaded module, highlighting the importance of knowledge reserves and cautious evaluation before implementing complex synchronization solutions.

concurrencydatabasemysql
0 likes · 5 min read
How a Simple MySQL UPDATE Solved a Multi‑Threaded Counting Problem
MaGe Linux Operations
MaGe Linux Operations
Oct 9, 2016 · Databases

How to Simplify Permission Management with MariaDB Roles

This article explains why database roles are essential for efficient permission handling, outlines the benefits of using roles, and provides step‑by‑step instructions with screenshots for creating and assigning roles in MariaDB, while noting MySQL's current lack of support.

Database RolesMariaDBUser Administration
0 likes · 3 min read
How to Simplify Permission Management with MariaDB Roles
ITPUB
ITPUB
Oct 9, 2016 · Databases

Master MySQL Data Types and Indexes to Boost Performance

This guide explains MySQL's numeric, temporal, and string data types, their storage implications, and how to choose appropriate types, while detailing index types, creation rules, and optimization tips such as prefix lengths and B+Tree versus HASH strategies for faster queries.

Data TypesInnoDBindexes
0 likes · 11 min read
Master MySQL Data Types and Indexes to Boost Performance
dbaplus Community
dbaplus Community
Oct 9, 2016 · Databases

When Custom Function Indexes Fail: Pitfalls and Best Practices in Oracle

This article explains how Oracle function‑based indexes work, why deterministic keywords are required, the risks of changing function definitions without rebuilding the index, and provides concrete examples illustrating common mistakes and their impact on query results.

DatabaseOptimizationFunctionBasedIndexOracle
0 likes · 7 min read
When Custom Function Indexes Fail: Pitfalls and Best Practices in Oracle
ITPUB
ITPUB
Sep 30, 2016 · Databases

Master Oracle Memory Tuning: Key SGA & PGA Parameters Explained

This guide walks through Oracle's memory architecture, explains SGA and PGA components, details essential memory parameters with recommended values, and provides step‑by‑step SQL checks to diagnose and tune performance on both 32‑bit and 64‑bit systems.

Database PerformanceMemory TuningOracle
0 likes · 14 min read
Master Oracle Memory Tuning: Key SGA & PGA Parameters Explained
Liulishuo Tech Team
Liulishuo Tech Team
Sep 24, 2016 · Backend Development

Developing Custom Presto SQL Functions (UDF) with Java Plugins

This tutorial explains how to create, register, and deploy custom scalar, aggregation, and window functions for the Presto distributed query engine using Java annotations, the Presto plugin mechanism, and code examples that illustrate UDF development, plugin packaging, and state handling for aggregation functions.

PrestoUDFaggregation
0 likes · 11 min read
Developing Custom Presto SQL Functions (UDF) with Java Plugins
ITPUB
ITPUB
Sep 21, 2016 · Databases

Why the Same Chinese Text Becomes Garbled in Different Oracle Sessions – A Character Set Deep Dive

The article walks through a hands‑on experiment that shows how inserting the same Chinese string into an Oracle 10g database from clients using different character sets (ZHS16GBK vs AL32UTF8) leads to different stored encodings and results in garbled output, then explains the underlying conversion process and how to avoid it.

Character SetOracleencoding
0 likes · 13 min read
Why the Same Chinese Text Becomes Garbled in Different Oracle Sessions – A Character Set Deep Dive
dbaplus Community
dbaplus Community
Sep 18, 2016 · Databases

Master Oracle Hierarchical Queries: From Basics to Advanced Techniques

This article provides a comprehensive guide to Oracle hierarchical queries, covering fundamental concepts, key clauses and operators, practical examples with the s_emp table, advanced features like SYS_CONNECT_BY_PATH, CONNECT_BY_ISLEAF, NOCYCLE, and real‑world use cases such as reporting, pruning branches, and calculating aggregates in tree structures.

CONNECT BYHierarchical QueryOracle
0 likes · 25 min read
Master Oracle Hierarchical Queries: From Basics to Advanced Techniques
ITPUB
ITPUB
Sep 12, 2016 · Databases

Why Oracle’s Optimizer Misestimates Multi‑Column Filters and How to Fix It

This article explains how Oracle’s Cost‑Based Optimizer can produce incorrect row estimates for queries with multiple column predicates, demonstrates the problem with a test table, and shows that gathering multi‑column statistics resolves the misestimation, improving execution plans.

Multi-Column StatisticsOracleQuery Optimizer
0 likes · 8 min read
Why Oracle’s Optimizer Misestimates Multi‑Column Filters and How to Fix It
dbaplus Community
dbaplus Community
Sep 7, 2016 · Databases

Why Oracle MERGE Triggers ORA-00600 Errors and How to Diagnose Them

This article examines a recurring ORA-00600 crash caused by Oracle MERGE statements, walks through reproducing the issue, analyzes the impact of bound variables and table size, identifies a version‑specific bug, and offers practical work‑arounds and recommendations for DBAs.

Database BugORA-00600Oracle
0 likes · 12 min read
Why Oracle MERGE Triggers ORA-00600 Errors and How to Diagnose Them
ITPUB
ITPUB
Sep 3, 2016 · Databases

8 MySQL Gotchas That Will Make You Rethink Relational Databases

The article lists eight common complaints about MySQL—from deep‑rooted bugs and inflexible relational schemas to confusing forks, storage‑engine chaos, profit‑driven licensing, weak native JSON support, and proprietary extensions—highlighting why many developers consider alternatives.

Database BugsJSONRelational Databases
0 likes · 9 min read
8 MySQL Gotchas That Will Make You Rethink Relational Databases
ITPUB
ITPUB
Sep 2, 2016 · Databases

How to Switch Oracle 11g Between ASMM and AMM – Step-by-Step

This guide demonstrates how to switch Oracle Database 11g between Automatic Shared Memory Management (ASMM) and Automatic Memory Management (AMM), covering environment setup, parameter adjustments, spfile/pfile handling, restart procedures, and troubleshooting, with concrete SQL commands and shared‑memory observations.

AMMASMMDatabase Administration
0 likes · 8 min read
How to Switch Oracle 11g Between ASMM and AMM – Step-by-Step
dbaplus Community
dbaplus Community
Sep 1, 2016 · Databases

Master MySQL Optimization: Essential Commands, Logs, and Tools

This guide walks through practical MySQL optimization steps, including status checks, variable inspection, slow‑query and general‑log configuration, essential management commands, detailed mysqldump usage, mysqldumpslow analysis, and the mysqlsla utility for performance diagnostics.

databasemysqloptimization
0 likes · 8 min read
Master MySQL Optimization: Essential Commands, Logs, and Tools
ITPUB
ITPUB
Aug 25, 2016 · Databases

Unlock Historical Table Snapshots with Oracle Flashback Data Archive

Oracle 11g’s Flashback Data Archive lets you retain UNDO information for extended periods, enabling point-in-time queries of tables; this guide walks through creating an ASSM tablespace, setting up a flashback archive, assigning tables, and using SCN-based queries to retrieve past data.

Database AdministrationFlashback Data ArchiveOracle
0 likes · 9 min read
Unlock Historical Table Snapshots with Oracle Flashback Data Archive
ITPUB
ITPUB
Aug 23, 2016 · Databases

Uncover Oracle’s Evolving SQL Commands: From Version 6 to 12c

This article walks through Oracle’s massive SQL reference, explains essential database concepts, details the original set of commands in version 6, and then chronicles the new DDL/DML features introduced in each subsequent release up to 12c, helping readers master Oracle’s syntax evolution.

DDLDMLOracle
0 likes · 13 min read
Uncover Oracle’s Evolving SQL Commands: From Version 6 to 12c
ITPUB
ITPUB
Aug 17, 2016 · Databases

Decoding Oracle Enqueue Locks: Queues, Resource Structures, and Hash Buckets

This article explains how Oracle protects shared resources using enqueue queues, details the naming of queue identifiers like TM, describes the creation and composition of resource structures in the SGA, and examines the hash‑bucket mechanism that locates these structures while highlighting relevant parameters and diagnostic queries.

Database InternalsEnqueue LocksOracle
0 likes · 13 min read
Decoding Oracle Enqueue Locks: Queues, Resource Structures, and Hash Buckets
ITPUB
ITPUB
Aug 17, 2016 · Databases

How to Disable and Re‑Enable Oracle 11g Automatic Statistics Collection

This guide explains why Oracle 11g's automatic optimizer statistics collection can affect 24‑hour systems, shows how to check its status, and provides step‑by‑step commands to disable, re‑enable, and verify the task, including differences from Oracle 10g.

DBMS_AUTO_TASK_ADMINDatabase AdministrationOracle
0 likes · 5 min read
How to Disable and Re‑Enable Oracle 11g Automatic Statistics Collection
ITPUB
ITPUB
Aug 16, 2016 · Databases

Mastering Oracle UNDO Tablespace: Monitoring, Tuning, and Space Reclamation

This guide explains how to monitor Oracle UNDO tablespace usage, adjust automatic UNDO management parameters, interpret V$UNDOSTAT statistics, and safely reclaim space by creating a new UNDO tablespace and dropping the old one, helping DBAs avoid ORA‑01555 errors and space shortages.

Database AdministrationOracleTablespace
0 likes · 18 min read
Mastering Oracle UNDO Tablespace: Monitoring, Tuning, and Space Reclamation
dbaplus Community
dbaplus Community
Aug 15, 2016 · Databases

Unlocking SQL: Why It Remains the Key to Databases and How to Optimize It

This comprehensive presentation explores SQL’s history, its enduring relevance amid NoSQL and NewSQL trends, explains the execution order and optimizer mechanics, offers practical optimization rules and step‑by‑step execution processes, and illustrates concepts through multiple real‑world case studies and a detailed Q&A.

Case StudiesDatabase OptimizationQuery Optimizer
0 likes · 23 min read
Unlocking SQL: Why It Remains the Key to Databases and How to Optimize It
ITPUB
ITPUB
Aug 3, 2016 · Databases

How to View and Change Oracle Server and Client Character Sets Safely

This guide explains how to check the character set of an Oracle database and its client, demonstrates queries for server, instance, and session parameters, describes the risks of altering the server charset with ALTER DATABASE CHARACTER SET, provides safe conversion steps, and shows how to adjust client settings on Linux and Windows to avoid garbled Chinese text.

Character SetLinuxNLS_LANG
0 likes · 11 min read
How to View and Change Oracle Server and Client Character Sets Safely
ITPUB
ITPUB
Jul 29, 2016 · Databases

30 Essential SQL Query Optimization Tips to Avoid Full Table Scans

This guide presents thirty practical SQL optimization techniques—ranging from index usage and avoiding costly operators to rewriting expressions and minimizing temp objects—to help developers prevent full table scans and boost database performance.

indexesquery optimizationsql
0 likes · 11 min read
30 Essential SQL Query Optimization Tips to Avoid Full Table Scans
ITPUB
ITPUB
Jul 24, 2016 · Databases

10 Proven Techniques to Supercharge Your Database Performance

Learn ten practical strategies—from careful schema design and precise SELECT statements to query caching, index creation, and smart use of JOINs, LIMIT, UNION, and wildcards—that dramatically improve database speed and reduce server load on high‑traffic websites.

Database OptimizationQuery Designcaching
0 likes · 9 min read
10 Proven Techniques to Supercharge Your Database Performance
ITPUB
ITPUB
Jul 23, 2016 · Databases

Hidden MySQL Tricks You Probably Missed

This article compiles a series of lesser‑known MySQL details—from case‑insensitive column names and fuzzy LIKE patterns to REPLACE INTO, INSERT … ON DUPLICATE KEY UPDATE, EXPLAIN usage, index length limits, replication methods, partitioning, slow‑query monitoring, binlog importance, advanced objects like views and stored procedures, and recommended client tools—helping developers avoid common pitfalls and write more efficient queries.

Database TipsReplicationmysql
0 likes · 7 min read
Hidden MySQL Tricks You Probably Missed
ITPUB
ITPUB
Jul 18, 2016 · Databases

How Reference Partition Boosts Oracle Query Performance and Simplifies Management

This article examines Oracle's Reference Partition feature, demonstrating through a series of SQL experiments how it reduces query costs, improves execution plans, and streamlines partition management, while also highlighting its limitations when indexes are involved.

Database ManagementOracleReference Partition
0 likes · 10 min read
How Reference Partition Boosts Oracle Query Performance and Simplifies Management
Qunar Tech Salon
Qunar Tech Salon
Jul 8, 2016 · Databases

Optimizing MySQL Pagination for Large Datasets

The article explains why traditional LIMIT OFFSET pagination becomes inefficient on large MySQL tables, analyzes the performance impact of counting rows and using SQL_CALC_FOUND_ROWS, and presents several optimized techniques—including index‑based counting, keyset pagination, page‑number caching, and temporary‑table approaches—to achieve fast and scalable pagination.

Database Optimizationmysqlpagination
0 likes · 8 min read
Optimizing MySQL Pagination for Large Datasets
Practical DevOps Architecture
Practical DevOps Architecture
Jul 1, 2016 · Databases

SQL Data Import/Export and Table Operations Tutorial

This tutorial demonstrates how to create a MySQL database and table, import data from /etc/passwd, add an auto‑increment primary key, export selected records to a file, and perform common SQL queries, conditions, and table‑record manipulations such as insert, update, and delete.

Data ExportDatabase operationsSQL queries
0 likes · 10 min read
SQL Data Import/Export and Table Operations Tutorial
Practical DevOps Architecture
Practical DevOps Architecture
Jun 30, 2016 · Databases

MySQL Indexes, Primary Keys, Foreign Keys, and Storage Engine Configuration Guide

This article provides a step-by-step guide on creating and managing MySQL indexes (including INDEX and UNIQUE), defining primary keys with AUTO_INCREMENT, establishing foreign key relationships with cascade updates/deletes, and configuring the default storage engine, illustrated with practical SQL commands and examples.

Foreign KeyStorage Engineindexes
0 likes · 11 min read
MySQL Indexes, Primary Keys, Foreign Keys, and Storage Engine Configuration Guide
ITPUB
ITPUB
Jun 27, 2016 · Databases

How to Quickly Recover a Corrupted Oracle 11g Database on Windows

A step‑by‑step guide shows how to reinstall Oracle 11g, adjust environment variables, copy essential files, recreate Oracle services, and verify the database connection to restore a Windows‑based Oracle database that was damaged by antivirus deletions.

Database RecoveryOracleOracle11g
0 likes · 5 min read
How to Quickly Recover a Corrupted Oracle 11g Database on Windows
ITPUB
ITPUB
Jun 23, 2016 · Databases

How to Uncover Oracle Hidden Parameters with Views and Trace

This article explains two practical techniques for identifying Oracle hidden parameters—querying internal views like GV$PARAMETER and X$ tables, and using AUTOTRACE to inspect execution plans—so DBAs can reveal undocumented settings, their defaults, and current values.

Database InternalsHidden ParametersOracle
0 likes · 5 min read
How to Uncover Oracle Hidden Parameters with Views and Trace
Architect
Architect
Jun 22, 2016 · Databases

Introduction to InnoDB Row Locks, Splitting, Inheritance, and Migration

This article explains InnoDB row lock types, including shared and exclusive locks and GAP variants, describes how locks split, inherit, and migrate during B‑tree operations, provides code examples and SQL demonstrations, and discusses related bugs and lock compatibility.

Database InternalsInnoDBLock Splitting
0 likes · 8 min read
Introduction to InnoDB Row Locks, Splitting, Inheritance, and Migration
ITPUB
ITPUB
Jun 19, 2016 · Databases

Why Oracle User Can Create Tables in Unauthorized Tablespaces

The article explains how a newly created Oracle user with the RESOURCE role inherits the UNLIMITED TABLESPACE privilege, allowing table creation in any tablespace, and how the 11gR2 deferred segment creation feature creates the illusion of permission, while providing methods to disable it globally or per‑session to enforce true tablespace restrictions.

Database_SecurityDeferred_Segment_CreationOracle
0 likes · 8 min read
Why Oracle User Can Create Tables in Unauthorized Tablespaces
ITPUB
ITPUB
Jun 17, 2016 · Databases

Why Do Oracle Buffer Busy Waits Occur and How to Resolve Them?

The article explains the internal steps Oracle follows to acquire buffers, identifies the conditions that trigger buffer busy waits such as hot blocks and freelist limits, and provides practical tuning methods and diagnostic SQL queries to mitigate these performance issues.

Database TuningOraclebuffer busy waits
0 likes · 10 min read
Why Do Oracle Buffer Busy Waits Occur and How to Resolve Them?
21CTO
21CTO
Jun 14, 2016 · Databases

Why Your SSRS Report Is Slowing Down: Real-World SQL Optimization Lessons

An in‑depth case study of a sluggish SSRS report for Siemens China's MES system reveals how missing indexes, full‑table scans on billion‑row tables, and misguided partitioning cripple performance, and demonstrates practical SQL refactoring, stored‑procedure redesign, and indexing strategies that cut query time from hours to seconds.

PartitioningStored Proceduresdatabase indexing
0 likes · 10 min read
Why Your SSRS Report Is Slowing Down: Real-World SQL Optimization Lessons
Architecture Digest
Architecture Digest
Jun 14, 2016 · Databases

Optimizing Large‑Scale MES Reporting Queries: Indexing, Partitioning, and Stored Procedure Refactoring

This article analyzes a poorly performing MES reporting SQL query that scans billions of rows, identifies indexing and partitioning shortcomings, and proposes a redesign using stored procedures, temporary tables, and query‑writing best practices to achieve sub‑second response times.

Database OptimizationPartitioningStored Procedure
0 likes · 9 min read
Optimizing Large‑Scale MES Reporting Queries: Indexing, Partitioning, and Stored Procedure Refactoring
Architecture Digest
Architecture Digest
Jun 7, 2016 · Databases

10 Simple Steps to Fully Understand SQL

This article explains SQL’s declarative nature, the difference between its syntactic and execution order, core concepts like table references, joins, derived tables, GROUP BY, and common keywords, providing ten clear steps and examples to help developers master SQL queries.

DeclarativeJoinsquery
0 likes · 23 min read
10 Simple Steps to Fully Understand SQL
ITPUB
ITPUB
May 30, 2016 · Databases

When to Use UPDATE vs MERGE in Oracle: Performance Tips & Pitfalls

Oracle’s UPDATE and MERGE statements can both modify data, but depending on indexing, join conditions, and query complexity their execution speed varies dramatically; this article explains when each is appropriate, outlines their drawbacks, and provides real‑world examples with execution plans and optimization techniques.

OracleUPDATEmerge
0 likes · 5 min read
When to Use UPDATE vs MERGE in Oracle: Performance Tips & Pitfalls
ITPUB
ITPUB
May 27, 2016 · Databases

How to Log Every Executed Oracle SQL Statement with v$sql and Automated Jobs

This guide explains why a numeric column turned null, compares using the volatile v$sql view with a permanent logging solution, and details step‑by‑step how to create a tablespace, logging table, stored procedure, and scheduled job to capture all Oracle SQL statements.

Database LoggingJob SchedulingOracle
0 likes · 5 min read
How to Log Every Executed Oracle SQL Statement with v$sql and Automated Jobs
ITPUB
ITPUB
May 20, 2016 · Databases

Step-by-Step Guide: Migrating DB2 v9.7 PHSDB to K-DB11G

This tutorial details the complete process of moving a single‑node DB2 v9.7 PHSDB database to K‑DB11G, covering schema‑to‑user mapping, object conversion, constraint handling, identity column emulation, manual adjustments for views/functions, and the export‑import scripts required for data migration.

DB2Data MigrationK-DB
0 likes · 10 min read
Step-by-Step Guide: Migrating DB2 v9.7 PHSDB to K-DB11G
ITPUB
ITPUB
May 20, 2016 · Databases

Essential Oracle Monitoring Queries for Performance Tuning

This article compiles a comprehensive set of Oracle SQL queries that monitor wait events, rollback segment contention, tablespace and file system I/O ratios, SGA hit rates, dictionary cache efficiency, MTS activity, fragmentation, and other critical performance metrics, often with recommended threshold values.

Database MonitoringOracleSGA
0 likes · 10 min read
Essential Oracle Monitoring Queries for Performance Tuning
dbaplus Community
dbaplus Community
May 16, 2016 · Databases

Why Does MySQL Feel Slow? Key Factors and Practical Optimization Tips

This article examines the common reasons MySQL performance may lag—outdated hardware, sub‑optimal database design, and poorly written application code—and provides concrete guidance on CPU, memory, storage, schema, and query optimizations to improve response times.

Database OptimizationHardwareInnoDB
0 likes · 15 min read
Why Does MySQL Feel Slow? Key Factors and Practical Optimization Tips
ITPUB
ITPUB
May 4, 2016 · Databases

Master Oracle Triggers: Real‑World Examples and Step‑by‑Step Guide

This article explains Oracle trigger fundamentals, syntax, and a series of practical examples—including preventing weekend updates, auto‑incrementing IDs, logging DML actions, aggregating department salaries, capturing deletions, view‑based inserts, salary change alerts, and tracking CREATE/DROP operations—complete with full SQL code snippets.

OraclePL/SQLTriggers
0 likes · 12 min read
Master Oracle Triggers: Real‑World Examples and Step‑by‑Step Guide
ITPUB
ITPUB
May 3, 2016 · Databases

Practical Tips for Optimizing Oracle SQL Execution Plans

This guide outlines concrete strategies to reduce I/O and CPU overhead in Oracle queries, covering scope reduction, partition pruning, join simplification, hint usage, bind variables, and common pitfalls like Cartesian products and inefficient filters.

Database OptimizationJoinsOracle
0 likes · 8 min read
Practical Tips for Optimizing Oracle SQL Execution Plans
ITPUB
ITPUB
May 2, 2016 · Databases

How to Combine Multiple MyISAM Tables with MySQL’s MERGE Engine

This guide explains how to use MySQL’s MERGE storage engine to merge identically structured MyISAM tables into a single logical table, covering creation, querying, INSERT handling, adding new members, and important caveats such as avoiding primary keys.

MERGE enginedatabase tablesmysql
0 likes · 5 min read
How to Combine Multiple MyISAM Tables with MySQL’s MERGE Engine
dbaplus Community
dbaplus Community
Apr 28, 2016 · Databases

Unlock Oracle 12c Optimizer: New Stats, Adaptive Features & Advanced Techniques

This article explores the major enhancements in Oracle 12c's optimizer, including session‑level statistics for global temporary tables, new DBMS_STATS reporting procedures, adaptive features, advanced join elimination methods, incremental and concurrent statistics collection, and automatic column‑group detection, providing practical guidance for DBAs and developers.

12cDBMS_STATSOracle
0 likes · 23 min read
Unlock Oracle 12c Optimizer: New Stats, Adaptive Features & Advanced Techniques
ITPUB
ITPUB
Apr 25, 2016 · Databases

Common MySQL Errors and How to Fix Them: A Practical Guide

This guide lists frequent MySQL error messages, explains their underlying causes, and provides step‑by‑step solutions—including configuration tweaks, permission adjustments, and server‑side fixes—to help developers quickly resolve database connectivity and query issues.

Error HandlingMySQL configurationdatabase troubleshooting
0 likes · 25 min read
Common MySQL Errors and How to Fix Them: A Practical Guide
ITPUB
ITPUB
Apr 25, 2016 · Databases

How to Move Oracle Tablespaces and Datafiles to a New Location

This guide explains step‑by‑step how to offline Oracle datafiles or tablespaces, copy them to a new directory, rename them, recover if needed, bring them back online, and safely shut down and restart the database to complete the migration.

DatafileOracleTablespace
0 likes · 4 min read
How to Move Oracle Tablespaces and Datafiles to a New Location
ITPUB
ITPUB
Apr 24, 2016 · Big Data

12 Essential Hive Performance Tips for Faster Hadoop Queries

This guide presents twelve practical Hive tuning techniques—including avoiding MapReduce, limiting string concatenation, steering clear of subqueries, choosing the right file formats, managing vectorization, sizing containers, enabling statistics, and optimizing joins—to dramatically improve query speed on Hadoop.

Big DataHadoophive
0 likes · 7 min read
12 Essential Hive Performance Tips for Faster Hadoop Queries
ITPUB
ITPUB
Apr 22, 2016 · Databases

Boost Oracle Performance: Master Parallel Execution Techniques

This article explains Oracle's parallel execution features—including parallel query, DML, and DDL—covers object, session, and statement level settings, provides practical SQL examples, discusses common pitfalls, and presents performance test results that demonstrate significant speed improvements for large data migration tasks.

OracleParallel Executionperformance tuning
0 likes · 10 min read
Boost Oracle Performance: Master Parallel Execution Techniques
ITPUB
ITPUB
Apr 22, 2016 · Databases

Unlock Oracle Error Codes with the oerr Shell Script: A Deep Dive

This article explains how the Oracle oerr utility works as a shell script, shows how it maps facilities to components, locates the appropriate message files, and demonstrates using sed and awk to extract detailed error descriptions, causes, and actions for any ORA code.

Error HandlingOracledatabases
0 likes · 7 min read
Unlock Oracle Error Codes with the oerr Shell Script: A Deep Dive
ITPUB
ITPUB
Apr 21, 2016 · Databases

13 MySQL Tips You Probably Missed: From Case Sensitivity to Binlog

This article highlights thirteen often‑overlooked MySQL details—including case‑insensitive column names, LIKE pattern rules, REPLACE and INSERT ON DUPLICATE KEY syntax, EXPLAIN usage, index limits, replication methods, partitioning, slow‑query logging, binlog, advanced objects, and useful client tools.

Database TipsReplicationmysql
0 likes · 7 min read
13 MySQL Tips You Probably Missed: From Case Sensitivity to Binlog
ITPUB
ITPUB
Apr 21, 2016 · Databases

Master Oracle Profiles: Limits, Parameters, and Example Creation

Oracle profiles let administrators enforce password policies and resource limits such as CPU time, I/O, session count, and idle periods, with detailed parameters for both kernel resources and password rules, and the article provides a complete example of creating a custom profile using SQL.

OracleProfilesdatabase
0 likes · 5 min read
Master Oracle Profiles: Limits, Parameters, and Example Creation
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.

Database AdministrationOraclePerformance Monitoring
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 BYHAVINGWITH ROLLUP
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.

AWROracleWait events
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.

BackupDatabase operationsQueries
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.

COALESCEdatabasenull handling
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.

OracleResult Cacheindexes
0 likes · 6 min read
How to Supercharge SELECT COUNT(*) in Oracle: 6 Proven Optimization Tricks
Qunar Tech Salon
Qunar Tech Salon
Mar 15, 2016 · Databases

Analysis of MySQL InnoDB Locking Mechanisms and Deadlock Scenarios

This report details a series of MySQL InnoDB experiments that examine transaction locking, lock types, gap and next‑key locks, and deadlock behavior across various SQL operations, providing practical insights for optimizing concurrency and preventing deadlocks.

InnoDBTransactionsdeadlock
0 likes · 16 min read
Analysis of MySQL InnoDB Locking Mechanisms and Deadlock Scenarios
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.

Database AdministrationOracleQueries
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.

Oracleconceptsdatabase
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 OptimizationOracleperformance tuning
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.

Big DataReal-time QuerySolr
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.

In-MemoryOraclecompression
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 ProgrammingGame TheoryOracle
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.

Game TheoryOracleTicTacToe
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.

Game TheoryOracleRecursive query
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