Linux??????oracle???????????????
?????Linux ???????[ 2014/10/22 11:49:59 ] ????????Linux ??????
????3. Linux ?o??????????
????kernel.shmmax ----
????Shmmax ????????????????????????????嵥?????????ε?????shmmax ????????????????????????????????????????SGA ?????????????????????????????????Σ?????????????????????? ??
???????????Щ????? SHMMAX ??????????????α???????????????????????????????????α????????(Process)????????????????????????????ε??????shmmax ??? ????????????????????????????????????????????????????????????????????? ?????????????????θ???????????????????????????????????????????
????Steve Adams ??????С??????????????????????Server Process ????????????С????????ο?????μ?????????????????(?????????? ??????????????????Σ????????????????y???????ν???“???”???????Щ???)??????????????????????????ζ????????????????Create Processes?????Destroy Them??????????治??????????
???????Oralce ?????????????????????????????????SGA?????????κ????
????????????????????????????????????
????Oracle ?????????? 32Bit Linux ??????shmmax ?32Bit ????????
????(setting shmmax to the 32-bit number limit)?????4G ??
????????????????1-4G ????????棬???????????shmmax ?????????漴??????SGA ?????????????????У?32Bit Linux ????????????4G ???????4G ???? ??
????????????????shmmax >=SGA (32Bit ?????????1.7G ????SGA ??????) ???????64Bit ??Linux ????????shmmax ?????????SGA_MAX_SIZE ???ɡ? (?????ο?)
????Ipcs -sa ??????????????θ???
????kernel.shmall ----
????kernel.shmall ?????????????????? ??Linux ??????????С?4KB?? ???????ε??С?????????????С????????????????????ε???С??16G???????????????????? 16GB/4KB=16777216KB/4KB=4194304 ??????????64Bit ????16GB ??????棬???? kernel.shmall = 4194304 ????????(?????????????2097152??????)??????????shmmax ?????????? 16G ????????????SGA_MAX_SIZE ??SGA_TARGET ? 12G???????????SGA ???С????????????2G~14G ??????Э??PGA??????OS ??????????????????????????????16G????
????kernel.shmmni ----
????shmmni ??????????????ε?????????????????????? shmmin????shmmni?? shmmin ???????С??С ?? ??shmmni ??? 4096 ?????????????? ??
????3. Oracle ????????????????
????SGA_MAX_SIZE
????SGA_TARGET
????DB_CACHE_SIZE
????SGA_MAX_SZIE ????????????sga ????????????????????????????SGA_TARGET ?10g ?????sga ???????????????????????????????.sga_max_size ?? SGA ???????С????????? sga_max_size С??????SGA ?и???pool ?????????С?????sga_max_size ?????oracle ?????????SGA ????????檔?????????sga_max_size ??oracle ?????????????SGA ????????????sga_max_size ????????? sga_max_size ????????SGA ?и???pool ???????????????sga_max_size ???????????п?????????????????????????????sga_max_size?????????pfile ?е?sga_max_size ??????????????
??????Oracle 10g ????????????????????????SGA_TARGET???????Oracle 10g??????????????????????????Automatic Shared Memory Management ASMM??????????????????????????????SGA_TARGE????????????????????????????????????С???SGA_TARGET ?????SGA ?????????????С????SGA ?и????????С??Oracle ???п?????????????????Oracle ????????????????????С???????????????????????С??????????????????SGA_TARGET ???????????????SGA_TARGET ??????????0??????????ASMM????????????ASMM?????
????10g??11g ?????? SGA_TARGET ??????ASSM ??????? ??????μ???Щ????????С???
??????????????
????* Buffer cache (DB_CACHE_SIZE)
????* Shared pool (SHARED_POOL_SIZE)
????* Large pool (LARGE_POOL_SIZE)
????* Java pool (JAVA_POOL_SIZE)
????* Streams pool (STREAMS_POOL_SIZE)
??????SGA ?е??????????????С???????????????????????SGA_MAX_SIZE ???????????SGA ????С??????????????????????????????С???????SGA_MAX_SIZE ???С??Oracle10g ?£? SGA_MAX_SIZE ??????SGA ???С???????????SGA_TARGET ??SGA ????????????С????????????SGA_TARGET< SGA_MAX_SIZE ?????oracle?????SGA_MAX_SIZE ?????SGA_TARGET ?????SGA ?????????е??????????????????С??????????????SGA_MAX_SIZE ?????
???????????????????飬???Щ?汾?У??????????汾????汾??????SGA_TARGET< SGA_MAX_SIZE ?????????????SGA_MAX_SIZE ???SGA_TARGET ???С???
??????11g ?У????SGA_TARGET ????????????SGA_MAX_SIZE ???С??????????С??oracle ??????????????????????????????????????????????oracle??SGA_TARGET ???С???????????????????????С?
????SGA_TARGET ????????????????????SGA ????????????????????????????ASMM ?????Oracle ??????????????????????????С???????????Щ??????????????Щ?????????????е?ì??????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Linux??????DDR????????????Linux?????????????????豸??????????linux???в???????????м??????????????????????????Linux????Linux??DNS????????????γ???????????Linux?????????????Linux????(???)????????Linux ????????????????????????????????Windows???У?Linux???????Linux????????????????Linux iommu??vfio???????Linux????ε???TCP???????Linux?????????????СLinux?·???????????Linux???Jexus?й?Asp.Net Core??ó???Linux?????????Щ??
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????