When is the non-negative derived category compactly generated?
This is true more generally for every qcqs spectral algebraic space (assuming that D(X) has the meaning that I think it does). This is proven in (the current version of) Spectral Algebraic Geometry as 9.6.1.2. Probably there is some more classical reference in the case of schemes (it follows by a mild variation on Thomason's argument), but I'm not sure where to find it.
For qcqs algebraic spaces (non-spectral), this is lemma 2.7 in Algebraization and Tannaka Duality by Bhatt.