The large carbides that form during heat treatment in D2 steel make it somewhat more prone to chipping than the other two steels you mention--especially with a thin edge. If you don't drop below 30 degrees (included) on your edge, this behavior will not show up as much. For a utility knife this geometry is absolutely fine, although thicker than my preference, but this isn't the ideal steel to make a straight razor out of.
D2 does have higher edge retention than O1 and A2 (assuming good heat treat on all) at the same hardness levels, so long as you are talking about edge wear through abrasion or resisting deformation like blunting. However, under impact, its edge retention lags behind these others, as D2's lack of ductility will make it more likely to chip instead of roll. Much like straight razors, you don't tend to see hatchets made out of D2.
The other area where its edge retention will exceed either O1 or A2 has to do with corrosion. While not technically stainless (falls just a little short of the chromium levels to be called such) it seldom rusts if even the barest care is given to it, and this also means that your edge isn't corroding. An O1 knife that will whittle hairs can be left on a desk for a month in non-desert climates and will dull somewhat just do to the oxidation that's taking place. A few swipes will bring it back quickly, though. Where you really see dulling from corrosion is in kitchen applications where lots of acidic cutting mediums are being gone through. All steels suffer from it somewhat, as no steel is truly stainless/rust proof, but D2 would stand well above the other two in such use.
As to O1 versus A2, in my experience most of the difference is in people's heads. I've had excellent and less-than-excellent knives made out of both steels. The quality of the heat treatment and geometry of the blade are always the principle elements that will determine how well a knife performs whatever task you're giving it.
So, in semi-short, don't make D2 your go-to chopper steel, and don't try to take it down to ten-degree-per-side edges, and I think you'll be very happy with it. Oh yes, and diamond/ceramic sharpeners are a good investment if you don't have them already. D2's abrasion resistance makes sharpening on traditional stones a bit of chore.