In Uranium's case it's difficult because it's 235/238 = 1.28% (actually way worse - Uranium hexafluoride is used, which adds 114 units, bringing the ratio down to 0.86%)
In Oxygen's case the ratio would be at least 6.6% (15 vs 16).
Most importantly in Uranium you are interested in the tiny amount of U235, while in Oxygen you'd be interested in the huge bulk of O16, O17, O18, which are the stable isotopes. O16 alone is 99.762% of all Oxygen, and you can afford to lose half in your centrifuge if it spares you a few cycles, it's not exactly hard to come by.