But 2008 is too old. Maybe you could code in PHP + MySQL databases for company's lunch portal or something "simpler", but yeah…It's too old. You can still make a game in Godot though. Unity would be too much for this little fella:/.
I personally have been thinking about getting PowerBook G4 to program (make a YouTube app) for PowerPC for example, but later came to my senses.
Never used Oracle database, but I checked out
https://docs.oracle.com/cd/E24191_01/common/install/system_requirements.html
I remember one company that I worked for told us to use our own computers and all I had was MacBook Pro mid 2010 and it was terrible.
I had to use my own scenes in Unity without graphics, but I managed to get my work done with a lot of patience. I haven't had problems with on my PC from 2021 (also 8GB of RAM like my MacBook Pro) or MacBook Air M1 (8GB of ram). Xcode and simulators run pretty smoothly.