Last week our Production Server was hanged. When I issued a command it took a lot of time and finally displayed the following error message.
0403-031 - Fork Function Failed. There is not enough Memory available.
The reason for this is there is no enough Page space.
To monitor the page space issue the following command
$ lsps -a
Page Space Physical Volume Volume Group Size %Used
----------- ---------------- -------------- ---- ------
Paging00 hdisk0 rootvg 16GB 25%
hd6 hdisk1 rootvg 8GB 95%
You can use the following command to find out top 3 processes utilizing most of the page space.
$ svmon -gP -t 3
To add Paging space
1. Identify the physical volume where you want to add page space (For eg. hdisk1).
2. Identify the PPsize (say 128MB) and Free PPs (500) available by using the command lspv hdisk1.
3. Determine how much space you want to add (say 8192MB).
4. Divide 8192MB/PP Size(128) = 64. Hence you want to increase 64 logical partitions.
5. Use the chps command to increase the paging space.
$ chps -s64 hd6
Alternatively you can use SMIT tool to increase the page space.
Monday, November 3, 2008
Thursday, October 9, 2008
Archive to No Archive Mode
Steps to convert the database from Archivelog Mode to No Archive log mode.
SQL> Alter system set log_archive_start=false scope=spfile;
Database Altered
SQL> Shutdown Immediate
Database Closed
Database Dismounted
Instance Shutdown
SQL> Startup Mount;
Oracle Instance started
.....
Database Mounted
SQL> Alter Database NoArchivelog;
Database Altered
SQL> Alter database Open;
Database Altered.
SQL> Archivelog list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 3108
Next log sequence to archive 3109
Current log sequence 3109
Your database is in NoArchivelog Mode.
SQL> Alter system set log_archive_start=false scope=spfile;
Database Altered
SQL> Shutdown Immediate
Database Closed
Database Dismounted
Instance Shutdown
SQL> Startup Mount;
Oracle Instance started
.....
Database Mounted
SQL> Alter Database NoArchivelog;
Database Altered
SQL> Alter database Open;
Database Altered.
SQL> Archivelog list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 3108
Next log sequence to archive 3109
Current log sequence 3109
Your database is in NoArchivelog Mode.
Labels:
Backup
Subscribe to:
Posts (Atom)

