How do I change the maximum number of connection to Oracle database at start? I use :
ALter system set sessions=500 scope=spfile;
However, after restart the database, use show parameter sessions still give value 772 for sessions
Khue.
How do I change the maximum number of connection to Oracle database at start? I use :
ALter system set sessions=500 scope=spfile;
However, after restart the database, use show parameter sessions still give value 772 for sessions
Khue.
are you also changing PROCESSES parameter afterwards? sessions is a derived parameter.
Try changing sessions last?
Change:
echo "alter system set processes=1000 scope=spfile;" | sqlplus system/password@localhost:1521/orcl
echo "alter system set sessions=1000 scope=spfile;" | sqlplus system/password@localhost:1521/orcl
Restart DB
Check:
echo "SELECT value FROM v\$parameter WHERE name = 'processes';" | sqlplus system/password@localhost:1521/orcl
echo "SELECT value FROM v\$parameter WHERE name = 'sessions';" | sqlplus system/password@localhost:1521/orcl