|
|
|
|
Re: ora 01092 oracle instance terminated [message #541526 is a reply to message #541525] |
Tue, 31 January 2012 22:43 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
>ORA-04031: unable to allocate 52 bytes of shared memory ("shared pool","insert into ts$ (ts#,name,on...","sql area","bnddef_strdef : qcscbndv")
oerr ora 4031
04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")"
// *Cause: More shared memory is needed than was allocated in the shared
// pool.
// *Action: If the shared pool is out of memory, either use the
// DBMS_SHARED_POOL package to pin large packages,
// reduce your use of shared memory, or increase the amount of
// available shared memory by increasing the value of the
// initialization parameters SHARED_POOL_RESERVED_SIZE and
// SHARED_POOL_SIZE.
// If the large pool is out of memory, increase the initialization
// parameter LARGE_POOL_SIZE.
|
|
|
Re: ora 01092 oracle instance terminated [message #541531 is a reply to message #541526] |
Tue, 31 January 2012 23:54 |
|
Tapan6415
Messages: 45 Registered: January 2012 Location: VADODARA
|
Member |
|
|
BlackSwan wrote on Wed, 01 February 2012 07:43>ORA-04031: unable to allocate 52 bytes of shared memory ("shared pool","insert into ts$ (ts#,name,on...","sql area","bnddef_strdef : qcscbndv")
oerr ora 4031
04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")"
// *Cause: More shared memory is needed than was allocated in the shared
// pool.
// *Action: If the shared pool is out of memory, either use the
// DBMS_SHARED_POOL package to pin large packages,
// reduce your use of shared memory, or increase the amount of
// available shared memory by increasing the value of the
// initialization parameters SHARED_POOL_RESERVED_SIZE and
// SHARED_POOL_SIZE.
// If the large pool is out of memory, increase the initialization
// parameter LARGE_POOL_SIZE.
so how much size it required?
have u seen my attached file ?
-
Attachment: initorcl.ora
(Size: 12.98KB, Downloaded 1597 times)
[Updated on: Tue, 31 January 2012 23:58] Report message to a moderator
|
|
|
Re: ora 01092 oracle instance terminated [message #541536 is a reply to message #541526] |
Wed, 01 February 2012 00:32 |
|
x-oracle
Messages: 380 Registered: April 2011 Location: gujarat
|
Senior Member |
|
|
here i am sending you a complite steps of how can we create a manul database you just read it and just change the path and name of the database as you want
first
1. Decide the name of New database
2. ORACLE_SID=ORA10G... (set into Env variable )
3. Go to "F:\oracle\product\10.2.0\admin" create new folder (ORA10G)
4. In ORA10G create new all folders adump , bdump, cdump, dpdump, pfile, udump
5. In pfile take a copy of existing init.ora from previous database
6. You can find this init.ora file into this location "F:\oracle\product\10.2.0\db_1\database"
7. Change this init.ora
8. Change parameters
9. db_name , instance_name ,control_files ,background_dump
a. dest,user_dump_dest,
10. save this file as "init.ora"
11. Create new folder in Oradata --- "ORA10G"
12. To create service--- Go to command prompt ------Oradim
13. Oradim NEW SID ORA10G SYSPWD ORACLE STARTMODE AUTO SPFILE
14. Check that service is started or not in Control panel administrative tools
-- sevices--OracleserviceORA10g---started
15. Shut down previously started database
16. Connect to SQL prompt as sysdba
17. create spfile from pfile='F:\oracle\product\10.2.0\admin\ORA10G\pfile\init.ora';
18. Startup Nomount
19. Select * from v$instance;
20. Show parameter instance_name, db_name
now this is a create database base syntax
manuly type into this cmd prompt not copy and past this
CREATE DATABASE ORA10G
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXLOGHISTORY 100
MAXDATAFILES 50
MAXINSTANCES 1
LOGFILE
GROUP 1 ('F:\oracle\product\10.2.0\oradata\ORA10G\redo01.log') SIZE 50M,
GROUP 2 ('F:\oracle\product\10.2.0\oradata\ORA10G\redo02.log') SIZE 50M,
GROUP 3 ('F:\oracle\product\10.2.0\oradata\ORA10G\redo03.log') SIZE 50M
DATAFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\system01.dbf' SIZE 500M
AUTOEXTEND ON NEXT 10M
SYSAUX DATAFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\sysAUX01.dbf' SIZE 30M
AUTOEXTEND ON NEXT 10M
DEFAULT TABLESPACE USERS
DATAFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\USERS01.dbf' SIZE 20M
AUTOEXTEND ON NEXT 1M
DEFAULT TEMPORARY TABLESPACE temp
TEMPFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\TEMP01.DBF' SIZE 1024M
AUTOEXTEND ON
UNDO TABLESPACE undotbs1
DATAFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\UNDOTBS01.dbf' SIZE 1024M
AUTOEXTEND ON
CHARACTER SET WE8MSWIN1252
after that run this both syntax
SQL> @ 'F:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catalog.sql'
SQL> @ 'F:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catproc.sql'
Here it's a sample of init.ora file
ORA10G.__db_cache_size=385875968
ORA10G.__java_pool_size=4194304
ORA10G.__large_pool_size=4194304
ORA10G.__shared_pool_size=209715200
ORA10G.__streams_pool_size=0
*.audit_file_dest='F:\oracle\product\10.2.0\admin\ORA10G\adump'
*.background_dump_dest='F:\oracle\product\10.2.0\admin\ORA10G\bdump'
*.compatible='10.2.0.1.0'
*.control_files='F:\oracle\product\10.2.0\oradata\ORA10G\control01.ctl',
'F:\oracle\product\10.2.0\oradata\ORA10G\control02.ctl',
'F:\oracle\product\10.2.0\oradata\ORA10G\control03.ctl'
*.core_dump_dest='F:\oracle\product\10.2.0\admin\ORA10G\cdump'
*.db_block_checking='TRUE'
*.db_block_size=8192
*.db_create_file_dest='F:\oracle\product\10.2.0\oradata'
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_flashback_retention_target=2880
*.db_name='ORA10G'
*.db_recovery_file_dest='F:\oracle\product\10.2.0\flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=ORA10GXDB)'
*.job_queue_processes=10
*.log_archive_dest_1='location=F:\oracle\product\10.2.0\flash_recovery_area\ORA10G\ARCHIVELOG'
*.log_archive_format='arcn_%t_%s_%r.arc'
*.O7_DICTIONARY_ACCESSIBILITY=TRUE
*.open_cursors=300
*.pga_aggregate_target=203423744
*.processes=150
*.remote_login_passwordfile='exclusive'
*.sga_target=612368384
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='F:\oracle\product\10.2.0\admin\ORA10G\udump'
Now checkout this by this sysntax
SQL> Select name from v$database;
[Updated on: Fri, 03 February 2012 08:33] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: ora 01092 oracle instance terminated [message #541780 is a reply to message #541777] |
Thu, 02 February 2012 04:50 |
|
Michel Cadot
Messages: 68732 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Still don't fix the problem on your keyboard? Try again.
Michel Cadot wrote on Thu, 02 February 2012 06:27Quote:if this user able to solve the problem then y m not
1/ Some keys are missing on your keyboard, please fix that FIRST
2/ I have an idea of the reason: PEBCAK
...
Michel Cadot wrote on Thu, 02 February 2012 08:07Please read OraFAQ Forum Guide and do not use IM/SMS speak.
...
Regards
Michel
[Updated on: Thu, 02 February 2012 04:54] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: ora 01092 oracle instance terminated [message #541975 is a reply to message #541904] |
Fri, 03 February 2012 08:15 |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
Tapan6415 wrote on Fri, 03 February 2012 03:14
so dute execute once again
Would you please use proper english. I have no idea what that means. Do you also speak like you have a have a mouth full of food?
|
|
|