?
Solved

Need to alter number of sessions in init.ora or spfile...

Posted on 2003-02-28
4
Medium Priority
?
2,680 Views
Last Modified: 2007-11-27
I am trying to increase the number of session in my init.ora file.  I'm running Oracle 9i and I'm doing the following:

alter system sessions=300 scope=both;

I'm getting the following error:
Ora-02065: illegal option for ALTER SYSTEM

 was able to do the alter system command to increase the number of cursors...so can someone tell me why this doesn't work for sessions?  And how to increase that parameter....

Thanks!
0
Comment
Question by:jl1884
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
DonFreeman earned 100 total points
ID: 8041857
From what I'm reading, the parameter is static. Looking at the command reference it looks like you can't do it on-line. Where did you get the syntax for the command you are
trying?

0
 

Author Comment

by:jl1884
ID: 8042051
I got the command from an oracle book I have on 9i fundamentals.  I think the problem might be that the parameter is not listed in my SPFILE....if I use the alter system command, the parameter has to already exist in order to be altered....

Now I'm thinking that I might recreate my spfile from my pfile (and add a line that has session=300)...then restart the db.

Does that sound like it would fix the problem?
0
 

Author Comment

by:jl1884
ID: 8042097
I got the command from an oracle book I have on 9i fundamentals.  I think the problem might be that the parameter is not listed in my SPFILE....if I use the alter system command, the parameter has to already exist in order to be altered....

Now I'm thinking that I might recreate my spfile from my pfile (and add a line that has session=300)...then restart the db.

Does that sound like it would fix the problem?
0
 
LVL 1

Expert Comment

by:DonFreeman
ID: 8045622
I would try it and find out. I didn't find anything like the command you are trying in the Oracle 9i reference. But, I'm not a guru. It looks like it has to be in the file.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

762 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