I have also used magnesium diascorbate.
The anion does affect the absorption of the magnesium, so 1g of Mg in MgO is not going to have the same effectiveness as 1g of Mg in magnesium citrate. Also, zinc supplementation interferes with magnesium absorption. Generally speaking, the aqueous solubility of the compound predicts absorption rate by the body.
MgO and MgSO4 (epsom salt) are cheap, but poorly absorbed. They will have a laxative effect.
Your entire body has about 25 g of Mg in it, and your kidneys drop about 120 mg of it per day into your urine if you are not deficient. Low magnesium cannot be detected by a blood test unless you are abysmally deficient; the best way is probably a urinary clearance test.