Oracle’s hefty infrastructure costs and rising debt load have weighed on the stock in the past few months.