MongoDB shares skyrocketed more than 30% on Wednesday after the database software company posted better-than-expected fiscal results and gave an upbeat forecast. Here's how the company did in comparison with LSEG consensus: Earnings per share: $1.00 adjusted vs. 66 cents expected $1.00 adjusted vs. 66 cents expected Revenue: $591 million vs. $556 million expected MongoDB's revenue increased 24% from a year ago in the fiscal second quarter that ended July 31. The company had a net loss of $47.04 million, or 58 cents per share, compared with a net loss of $54.5 million, or 74 cents per share, in the year-ago period. Sales of MongoDB Atlas, the company's cloud database service, rose 29% year over year. MongoDB said it added more than 5,000 customers year to date, "the highest ever in the first half of the year." "We think that's a good sign of future growth because a lot of these companies are AI native companies who are coming to MongoDB to run their business," CEO Dev Ittycheria said in an interview on CNBC's "Squawk Box."