The database software company’s latest results showed the strongest revenue growth in the past six years. Despite this, Oracle’s shares came under pressure due in part to a soft profit forecast for the current quarter as the company boosts investments in one of its key businesses.