Performance Issue with almalinux:8

We have upgraded docker image from centos7 to almalinux:8 .
After Deploying the image in openshift cluster started seeing the performance issue in C++ process which uses oracle 19c database ,
and the application is taking time for processing the messages.
There are no C++ code changes at Application level between both the images.
Performance was good with previous centos image while it is impacted with current upgraded image.
Please suggest some workaround for the same.

What is an “image” and what was “old image”?

Image means docker image.

You may need to profile this application on both images to figure out what particular sub-operation it is that got slower.