Do you have any options to keep the database connection alive between calls? That is normally done by establishing the connection as a global object as the application starts and maintaining it throughout operations. Having to create a new connection for each transaction can be a major performance killer.