Hi,
An indexed (materialized) view would solve the performance issue. If the base tables are very frequently updated there can be an issue as the view update puts extra load on the server.
So the behavior of the application is quite important here.
Cheers and good luck