Longtime Oracle Corp. general counsel Dorian Daley will retire in August, according to a Friday securities filing, which said she gave notice to the tech giant on Monday.