Optimizing Oracle Query Performance with Hints
This article applies to Oracle versions 10.2.0.5 and higher.
A slow-performing query with the following structure was identified:
SELECT
a.*
FROM (
SELECT
station.ID,
'small_station_info' AS table_name,
(SELECT base.name FROM scene_base_info base WHERE base.id = station.antenna_selection) AS antenna_selection,
station.anten ...
Posted on Mon, 03 Aug 2026 16:31:27 +0000 by Daleeburg
OceanBase Query Hints, Outline Plan Binding, and SQL Plan Management
OceanBase uses a cost-based optimizer with hint syntax similar to Oracle. There are key operational details to note:
When executing hinted SQL via MySQL client, connect with -c to avoid client-side stripping of hint comments
Unrecognized server hints are silently ignored instead of throwing errors
Hints only modify optimizer plan generation lo ...
Posted on Sun, 31 May 2026 18:33:41 +0000 by homer.favenir
Decoding SQL Server Execution Plans
When analyzing a graphical execution plan in SQL Server, always remember to read the flow from right to left.Data Retrieval OperationsConsider the following unindexed table containing approximately 140,000 records:CREATE TABLE Staff(
EmpID int IDENTITY(1,1) NOT NULL,
FullName nvarchar(50) NULL,
YearsExperience int NULL,
SalaryLe ...
Posted on Mon, 18 May 2026 00:20:31 +0000 by biz0r