A microdiscectomy is useful to relieve pain due to a disc herniation that is pressing on a nerve.