[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Set idle_time value to 15 for a profile

Posted on 2006-04-20
Medium Priority
Last Modified: 2013-12-11
I need to set an idle_time limit for a profile. What is the syntax for doing that? The profile is Profile_X and the resource_name is idle_time and I need to give the field Limit the value of 15 (which is I guess 15 minutes). Could someone help me?
Question by:sikyala

Accepted Solution

meluhk earned 1500 total points
ID: 16500534
First make sure that you have resource_limits set to true:

sql>  alter system set resouirce_limits=true;

Then you can use resource limits in profiles.  The syntax for setting idle_time for a profile is:

sql>  create profile profile_name limit idle_time 15;

This limits idle_time for that profile to 15 minutes.

To give this to a users:

sql>  alter user username profile profile_name;

Hope that helps..

Author Comment

ID: 16500590
I actually found something on the Internet and when I issued the following statement it worked.

alter profile PROFILE_X limit idle_time 15 ;

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses
Course of the Month19 days, 9 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question