http://iotn.co.kr ¿¬¶ôó: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / ìíÜâïÙݤªÏìíÜâÏÚªÎàõîÜÒ¿ÖË?ßåíºªËÞóñªª¹ªÙª­. ]

»ç¿ëÀÚ

ID:
PW:

INDEX
01.°Ô½ÃÆÇ
°Ô½ÃÆÇ [71]
02.File Book
File ÀÚ·á½Ç [95]
Site Link [17]
°³ÀÎÆú´õ [201]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [25]
MySQL [43]
DB2 [79]
ORACLE [3003]
PSQL [134]
±âŸÁ¤º¸ [155]
¿î¿µÃ¼Á¦ [603]
04.Q/A Book
Q/A [53]
05.¹æ¸í·Ï
¹æ¸í·Ï [54]
·¹º§¾÷ [37]
±¸ÀÎ/±¸Á÷ [2]

±â³äÀÏ
Search
LINK
+ °¡Á· Hompy
+ DNSEver
IOTN :: Field Book :: ORACLE

 È¸¿ø°¡ÀÔ

Linux 4U5 MEM: 16G SGA: 8G [ 6½Ã°£ »ðÁú ¼º°ø±â, ORA-27102 ORA-00385 ERROR: Unable to attach to VLM segment WARNING: EINVAL creating segment ]
ÃÖ±æÈ£ [LIST]   2008-06-29 02:37:30, Á¶È¸ : 34,639

How to Configure RHEL/OEL 4/5 32-bit for Very Large Memory with ramfs and HugePages
  Doc ID:  Note:317141.1

# °ü·ÃµÈ ¿¡·¯
# ORA-27102: out of memory
# ORA-00385: cannot enable Very Large Memory with new buffer cache parameters
# ERROR: Unable to attach to VLM segment at (nil): window size=0x20000000 size=0x200000000
# WARNING: EINVAL creating segment of size 0x000000007d002000
# Adjusting the default value of parameter parallel_max_servers
# from 320 to 135 due to the value of parameter processes (150)


[oracle@med ~]$ uname -a [ ¼º°øÇÑ Á¤º¸ ]
Linux med 2.6.9-55.ELhugemem #1 SMP Fri Apr 20 17:20:11 EDT 2007 i686 i686 i386 GNU/Linux

Install OS with Full option

/boot/grub/grub.conf [ booting 2.6.9-55.ELhugemem ]
=======================================================================================
default=0 # 1->0 ¼öÁ¤µÊ
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-55.ELhugemem)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.ELhugemem ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-55.ELhugemem.img
title Red Hat Enterprise Linux AS (2.6.9-55.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.ELsmp ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-55.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-55.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.EL ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-55.EL.img


/etc/sysctl.conf
=======================================================================================
kernel.sysrq = 1
kernel.core_uses_pid = 1
kernel.shmmni = 4096
kernel.shmall = 8388608
kernel.shmmax = 4294967295        # shared_pool_size Á¦ÇѰª
net.core.rmem_default=1048576
net.core.wmem_default=1048576
net.core.rmem_max=1048576
net.core.wmem_max=1048576
kernel.sem = 2000 500000 100 250
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

/etc/rc.local
=======================================================================================
umount /dev/shm
mount -t ramfs ramfs /dev/shm
chown oracle:dba /dev/shm

[ Reboot server ]
=======================================================================================
# /dev/shm È®ÀÎ
# oracle:dba /dev/shm È®ÀÎ
[root@med GH]# mount | grep shm        
ramfs on /dev/shm type ramfs (rw)
[root@med GH]# ls -ld /dev/shm
drwxr-xr-x  2 oracle dba 0 Jun 29 02:10 /dev/shm

/etc/security/limits.conf
=======================================================================================
*               soft    nproc   2047
*               hard    nproc   16384
*               soft    nofile  1024
*               hard    nofile  65536
*               soft    memlock 4194302
*               hard    memlock 4194302

[oracle@med dbs]$ ulimit -l
4194302


init.ora
=======================================================================================
*.db_block_buffers=1048576          # 8G
*.db_block_size=8192
*.shared_pool_size=2000M           # shmmax ¹üÀ§ Àû¿ë
*.USE_INDIRECT_DATA_BUFFERS=TRUE
# USE_INDIRECT_DATA_BUFFERS=TRUE
# sga_max_size      # »ç¿ë ¸øÇÔ.
# sga_target disable # »ç¿ë ¸øÇÔ.

kernel.shmmax = 4294967295 4G [ shared_pool_size Á¦ÇѰª], SGA_TARGETÀº µ¿Àû, »ç¿ë ¸øÇÔ.

[oracle@med dbs]$ ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x235c63b4 1146891    oracle    640        2166358016 24
0x00000000 1179660    oracle    640        4096       0

================================================================
ls -l /dev/shm
-rw-r-----  1 oracle dba 6442450944  7¿ù  8 22:26 ora_M2_524300

SQL> select  786432*8192 from dual;
786432*8192
-----------
6442450944

db_block_buffers = 786432
db_block_size = 8192
================================================================
3.235.60.197


ÃÖ±æÈ£
*.process=300À» ³ÑÁö ¸øÇÔ. [ site¿¡¼­´Â 1000 °ªÀ» ¿ä±¸ ]

/etc/sysctl.conf
------------------------------------------------------------
kernel.shmmax = 4294967295 # shared_pool_size Á¦ÇѰª

init.ora
------------------------------------------------------------
*.shared_pool_size=2000M # shmmax ¹üÀ§ Àû¿ë

¿ä³ðµé°ú °ü·ÃÀÌ ÀÖ´Â°Í °°Àºµ¥..
´ÙÀ½ÁÖ »ðÁú Çѹø ÇØ¾ßÁö.. ¤¾¤¾¤¾
2008-07-27
10:22:02



ÃÖ±æÈ£
ORA10G.__db_cache_size=1644167168
ORA10G.__java_pool_size=16777216
ORA10G.__large_pool_size=33554432
ORA10G.__shared_pool_size=385875968
ORA10G.__streams_pool_size=0
*.audit_file_dest='/oracle/app/oracle/product/10g/admin/ORA10G/adump'
*.background_dump_dest='/oracle/app/oracle/product/10g/admin/ORA10G/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/ORADATA1/control01.ctl','/ORADATA1/control02.ctl','/BACKUP/mirror/control03.ctl'
*.core_dump_dest='/oracle/app/oracle/product/10g/admin/ORA10G/cdump'
*.shared_pool_size=1800m
*.db_block_buffers=512000
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='ORA10G'
*.db_recovery_file_dest='/ORADATA1/OCS/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.job_queue_processes=10
*.large_pool_size=0
*.log_archive_dest_1='location=/BACKUP/arch/'
*.open_cursors=200
*.pga_aggregate_target=800M
*.processes=600
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=600
#*.sga_target=2097152000
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.USE_INDIRECT_DATA_BUFFERS=TRUE
*.utl_file_dir='*'
*.user_dump_dest='/oracle/app/oracle/product/10g/admin/ORA10G/udump'


SQL> show sga

Total System Global Area 6157238272 bytes
Fixed Size 1268244 bytes
Variable Size 1946158572 bytes
Database Buffers 4194304000 bytes
Redo Buffers 15507456 bytes
2009-10-19
11:53:19



  LIST

Á¦¸ñ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ Á¶È¸
Troubleshoot  IMP-00058 ORA-01461 IMP-00028 ORA-29275 [ character setÀº µ¿ÀÏÇÏ°Ô Çϼ¼¿ä ]    ÃÖ±æÈ£ 2009/08/28 34859
Troubleshoot  ORA-16038, ORA-00354, ORA-00353, ORA-16014, Archiver process freed from errors. No longer stopped    ÃÖ±æÈ£ 2008/06/28 34711
Install and Config  Linux 4U5 MEM: 16G SGA: 8G [ 6½Ã°£ »ðÁú ¼º°ø±â, ORA-27102 ORA-00385 ERROR: Unable to attach to VLM segment WARNING: EINVAL creating segment ]  [2]  ÃÖ±æÈ£ 2008/06/29 34639
RAC,OPS  rac 10.2 change public IP , VIP , nic device [ vip evtf.log ( clsrevtf: Invalid resource attr ora.node1.vip ) ]  [6]  ÃÖ±æÈ£ 2008/09/16 34301
Tool  ociuldr ÀÔ´Ï´Ù. À¯¿ëÇÏ°Ô »ç¿ëÇÒ ¼ö ÀÖÀ»µí ÇÕ´Ï´Ù. [linux gcc, aix cc]   [1]  ÃÖ±æÈ£ 2010/01/27 34076
Troubleshoot  event enq: SQ - contention [ enqueue lock ]     ÃÖ±æÈ£ 2010/07/11 33921
Troubleshoot  create ctxsys [ 9i,10g ]    ÃÖ±æÈ£ 2011/04/16 33836
Troubleshoot  dbca LRM-00123 ORA-01078    ÃÖ±æÈ£ 2010/11/25 33819
Troubleshoot  ORA-04052 ORA-12154 IMP-00098: INTERNAL ERROR: impccr2    ÃÖ±æÈ£ 2009/04/01 33535
Troubleshoot  ORA-00600: ³»ºÎ ¿À·ù ÄÚµå, Àμö : [12333], [12], [50], [48], [], [], [], []    ÃÖ±æÈ£ 2010/03/24 33305
Install and Config  11g ±âº» ¼³Ä¡ script [ create database script , 10g °¡´É ]    ÃÖ±æÈ£ 2009/07/07 33248
Troubleshoot  /usr/lib/pa20_64/dld.sl: Unable to find library 'libsqlplus.sl' 'libwtc9.sl' 'libclntsh.sl.10.1'    ÃÖ±æÈ£ 2010/05/07 33158
Troubleshoot  ORA-07445: exception encountered: core dump [kghlkaftf()+128], ORA-00470: LGWR process terminated with error    ÃÖ±æÈ£ 2009/12/07 33060
Troubleshoot  opatch rollbackÈÄ OUI-67076    ÃÖ±æÈ£ 2007/07/11 32979
Tuning  DECODE Á¶°ÇÀ» Index »ç¿ëÇÒ ¼ö ÀÖµµ·Ï SQL º¯°æ    ÃÖ±æÈ£ 2010/05/11 32937
Troubleshoot  ORA-12705: Cannot access NLS data files or invalid environment specified    ÃÖ±æÈ£ 2010/10/01 32931
Script  login alter session Àû¿ë [ trigger , alter session , 10046 event ]    ÃÖ±æÈ£ 2009/06/04 32861
Application Server  opmn java.lang.OutOfMemoryError ´ëó    ÃÖ±æÈ£ 2005/06/16 32842
Troubleshoot  HPUX, ORA-09968: scumnt: unable to lock file  [1]  ÃÖ±æÈ£ 2008/02/20 32627
Admin  segment shrink [ alter table ... shrink space; ]  [4]  ÃÖ±æÈ£ 2009/03/31 32455

    ¸ñ·Ïº¸±â   ÀÌÀüÆäÀÌÁö   ´ÙÀ½ÆäÀÌÁö [1][2][3][4] 5 [6][7][8][9][10]..[151]   [´ÙÀ½ 10°³]
       

Copyright 1999-2023 Zeroboard / skin by ÃÖ±æÈ£(gilho.kr@gmail.com)
ÃÖ±Ù ´ñ±Û
2021/06/30
À©µµ¿ì ¼­¹ö¿¡¼­ sqlplus .... ORA-...
by ÃÖ±æÈ£
2021/06/30
ORA-28500: connection from O...
by ÃÖ±æÈ£
2019/05/02
pkg È®ÀÎ SELECT * FROM AL...
by ÃÖ±æÈ£
ÃÖ±Ù °Ô½Ã¹°
12/01
[ORACLE]
dgmgrl ¿î¿µ, db11st h/w ±³Ã¼ ½Ã³ª¸®....
by ÃÖ±æÈ£
12/01
[ORACLE]
DGMGRL> show configuration;....
by ÃÖ±æÈ£
11/23
[¿î¿µÃ¼Á¦]
arch filesystem 100% full ¿¹¹æ /....
by ÃÖ±æÈ£