I want to limit Oracle user by executing query more then 15 second, for this I've created new profile with this script bellow and assign it to user.
then I tried to execute simple select query (select * from something) which works more then 15 second, but it does not stops when query execution time reaches 15 second ( even 5 minute :) ), then i tried to assign "CPU_PER_SESSION" 1500, but without any change.
Do you have any ideas why this limits does not works for me?
The reason of problem was, that resource limit was set on "false", so profile limits were not working for user.
To use profile limits, RESOURCE_LIMIT should be set on "true"
ALTER SYSTEM SET RESOURCE_LIMIT = true;