Given what you're shooting at with the 9mm, FMJ ball is the type of ammo you need, in the heaviest bullet you can get. That's going to be about 147 gr, though I've heard of people casting heavier. You need penetration capability, not expanding bullet capability.
Keep in mind that there are serious issues with getting (relatively) high bullet velocities with a heavier bullet.
One is the simple physics...a heavier bullet requires more (or faster burning) powder. And a heavier bullet is a longer bullet (that nearly 25% increase in mass from 115 gr to 147 gr translates into longer a bullet). A longer bullet means less case volume for powder.
Propelling a heavier bullet at higher velocities means more pressure, and more stress, on the gun. This means increased wear as well as increased possibility of a stress failure. Is your gun going to handle your dream load?
These are the limitations you need to solve.
Keep in mind that when it comes to reliable penetration to vital organs through bone, fat, and muscle of large predators, mass over velocity is king. Meaning more mass plus velocity is the order of priority as opposed to more velocity plus mass. A more massive bullet is harder to deflect from its flight path when it hits tissue and bone at any velocity, whereas a lighter bullet is much easier to deflect at any velocity.
This is why many are advising chosing a different gun.
Besides...a handgun in bear or cat country, in my opinion, is really the gun that stays in your holster with you when you have to drop your rifle to start climbing.