The standard grips this chord is usually shown with.
D9b5 is D, F#, Ab, C and E, a nine flat five. The shape this page opens on is written x54554, lowest string first.
Note by note. D is the root, F# is the major third, Ab is the flat fifth, C is the flat seventh and E is the ninth.

Also written D9(b5), D9-5 or D9♭5. The same chord either way; which spelling you meet depends on who wrote the chart.
There are 5 common shapes for D9b5 on the guitar, and 22 derived voicings in 3 families.
One note away. Change a single note of D9b5 and you have D7b5 (with one note taken away), D9 (with one note moved), Daug9 (with one note moved) or D9#11 (with one note added).
The common shapes, written lowest string first: x54554, x56570, 10-9-10-9-9-10, 10-11-10-11-x-12, x-11-12-11-13-12.
Under the hand. None of the shapes for D9b5 uses an open string, so every one of them is movable; the lowest sits at the 4th fret. 2 of the 5 need a barre. Together they cover the neck from the 4th fret to the 13th.
Where it goes. D9b5 is a dominant with its tension raised, so it still points at G — harder than a plain seventh does, because the altered tones sit a semitone from where they are going.
Shell. Root, third and seventh: the guide tones fix the quality, so the fifth is dropped. That is what leaves a string free, so pick a tension to put on top. D9b5 has x5455x, 10-9-10-9-x-x, x-x-12-11-13-12, x5x574, xx0574, 10-x-10-11-9-x, 10-9-10-13-x-x, x5459x.
Rootless. The root left to the bass player. Frees a finger for a tension. D9b5 has xx2112, xx4554, x7657x, x-9-10-9-9-x, x-x-14-13-13-14, x3415x, x3x152, x7x574.
Open string. An open string left ringing against a fretted grip. Because it costs no finger, it sounds a note the closed shape has none left for -- a tension on top, or a pedal root underneath. Either a familiar grip with open strings added, or a shape so sparse the open strings carry the chord. These belong to their key rather than to a shape, so D, A, G and E have many and Eb a handful. D9b5 has 050574.
Tensions. A shell of D9b5, root, third and seventh, leaves a string free, and the tones that belong over it are the b13 (Bb) and the 13 (B).
What kind of chord this is. D9b5 is an altered chord — a dominant seventh with its fifth or ninth moved. altered dominant chords on every root, and what they are for.
The common shapes and the derived voicings come from different places, and both are explained in where the chords and the theory come from.
Shows each chord the way this style would voice it, and marks which of its alternatives belong to the idiom.