Tagged articles
4 articles
Page 1 of 1
Programmer DD
Programmer DD
Apr 16, 2022 · Databases

Mastering MySQL Hierarchical Queries with the Nested Set Model

This article explains how to replace inefficient recursive MySQL tree queries with the nested‑set (preorder traversal) technique, covering descendant retrieval, subtree counting, leaf detection, insertion, deletion, direct‑child lookup, ancestor path queries, and a JavaScript example for building a tree structure.

Database designHierarchical QuerySQL
0 likes · 12 min read
Mastering MySQL Hierarchical Queries with the Nested Set Model
Efficient Ops
Efficient Ops
Oct 25, 2020 · Fundamentals

Mastering DNS: How Domain Names Resolve to IP Addresses

This article explains the fundamentals of the Domain Name System (DNS), detailing how domain names are translated into IP addresses, the multi‑step query process, the role of DNS servers, hierarchical naming, record types, and useful command‑line tools for inspection.

DNSDNS RecordsDomain Name System
0 likes · 15 min read
Mastering DNS: How Domain Names Resolve to IP Addresses
dbaplus Community
dbaplus Community
Jun 5, 2019 · Databases

Boost Oracle Hierarchical Query Performance: Filtering, CBO, and Parallel Strategies

This article examines common performance pitfalls in Oracle hierarchical (CONNECT BY) queries, compares filtering after tree generation versus during traversal, explains why CBO estimates can be wildly inaccurate, and demonstrates how to rewrite queries with pipelined table functions and parallel hints for dramatic speed gains.

CBOHierarchical QueryOracle
0 likes · 9 min read
Boost Oracle Hierarchical Query Performance: Filtering, CBO, and Parallel Strategies
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