Making Non-Row-Key Queries Fast in Apache Phoenix with Global Secondary Indexes
Phoenix only queries fast on the row key. A global secondary index fixes attribute lookups — here's how it's structured, a worked CREATE INDEX example verified with EXPLAIN, and the write-path costs that decide whether you should use one.