Administering users with different policies have the possibility of major security in oracle database that compliam with all security departments in each organization.
In Oracle 19, have the same way to create profiles as Oracle 12.1, 12.2 , 18 and 19.
CREATE PROFILE GANDALF LIMIT SESSIONS_PER_USER UNLIMITED CPU_PER_SESSION UNLIMITED CPU_PER_CALL 3000 CONNECT_TIME 45 LOGICAL_READS_PER_SESSION DEFAULT LOGICAL_READS_PER_CALL 1000 PRIVATE_SGA 15K COMPOSITE_LIMIT 5000000;
Here, you have an small explanation about each parameter :
- SESSIONS_PER_USER: The user can have any number of concurrent sessions.
- CPU_PER_SESSION: In a single session, the user can consume an unlimited amount of CPU time.
- CPU_PER_CALL: A single call made by the user cannot consume more than 30 seconds of CPU time.
- CONNECT_TIME: A single session cannot last for more than 45 minutes.
- LOGICAL_READS_PER_SESSION: In a single session, the number of data blocks read from memory and disk is subject to the limit specified in the DEFAULT profile.
- LOGICAL_READS_PER_CALL: A single call made by the user cannot read more than 1000 data blocks from memory and disk.
- PRIVATE_SGA: A single session cannot allocate more than 15 kilobytes of memory in the SGA.
- COMPOSITE_LIMIT: in a single session, the total resource cost cannot exceed 5 million service units. The formula for calculating the total resource cost is specified by the ALTER RESOURCE COST statement.
Those are not the only paramters ,but this its a great example to start diferent tests.