Set idle_time value to 15 for a profile

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?
sikyalaSenior Database AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

meluhkCommented:
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..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sikyalaSenior Database AdministratorAuthor Commented:
I actually found something on the Internet and when I issued the following statement it worked.

alter profile PROFILE_X limit idle_time 15 ;
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.