Increase the SGA Memory
Hi,
Iam using oracle 9i OS Solaris version 9.2.0.6
I am new to Oracle Database and i learn DBA any help me.
My Database Ram Size is 16 Gb
Now the SGA Size is below
Total System Global Area 3747585360 bytes
Fixed Size 736592 bytes
Variable Size 1593835520 bytes
Database Buffers 2147483648 bytes
Redo Buffers 5529600 bytes
Now i want to increase the SGA size to 5 Gb
How to increase the SGA Size and give the examples SGA Based parameters also i want to increase so Kindly Help.
Regards,
Suresh Kumar
Hi.It is correct that you must look into the documentation as the first-point-of-resource.It will be more quicker than to wait for the reply here.Not to say that don't post your question but do a search, get some thing in your hand,read it and when you dont understand it than post the question here.It will be more better approach of learning.
For your question , in 9i you can't increase the total memory for your SGA on the fly as like you can (to some extent).If you want to increase the total memory allocated to your SGA than you need to change the parameters which constitute the total memory for the SGA in 9i.REad here.
http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/create.htm#998095
SGA_MAX_SIZE parameter controls the total memory allocated to your SGA in 9i.You need to change its value in the parameter file/spfile and bounce your db to reflect teh changes.
Aman....
Similar Messages
-
Error when i increase the SGA to more that 1GB
I have a server with 8 GB of memory running server 2003. i have 2 instances on the server, everytime i try to increase the SGA for any instance to more than 1GB the instances doesn't restart. the error message is 'Memory realm already exists' among others.
the error message
is 'Memory realm already exists' among others.This error is pretty self-explanatory,
Error: ORA-27100
Text: shared memory realm already exists
Cause: Tried to start duplicate instances, or tried to restart an instance
that had not been properly shutdown
Action: Use a different instance name, or cleanup the failed instance's SGA -
After upgrading to Lion, the Finder will increase the virtual memory while using external HD
after upgrading to Lion, the Finder will increase the "virtual memory size" while using external HD. I check it using Activity Monitor and found that "Finder" wll increase the "Virtual Memory Size" and "Private Memory Size". and then after a while. the system told me my HD is full and hanging there.
My External HD is 1TB. and I have installed new version Paragon NTFS for Mac V.9.01. I am not sure it is related or not.
but I attached my external HD. the "Finder" will start to increase the "Virtual Memory Size".
please help out this case and solve this issue.
thank you !!!The one has nothing to do with the other. Virtual memory size and Private memory size are used by developers to analyze their software. it has nothing to do with anything related to the user.
-
How to Increase the SGA Size.
Hi Guru's
I want to Know
How to Increase the SGA Size in Database 8.1.7.4.1
My Ram Size is 6 GB
When I query the Below Script
select name, value
from v$parameter
where name in ('shared_pool_size', 'java_pool_size', 'streams_pool_size',
'log_buffer', 'db_cache_size', 'db_2k_cache_size', 'db_4k_cache_size',
'db_8k_cache_size', 'db_16k_cache_size', 'db_32k_cache_size',
'db_keep_cache_size', 'db_recycle_cache_size', 'large_pool_size');
Result
shared_pool_size 300000000
large_pool_size 0
java_pool_size 50000000
log_buffer 10485760
Please Suggest Me the How Much Value also to increase the SGA
My RAM SIZE is 6 GB
Regards
***SBJ***SGA size on 8i is static , and for increasing the size you have to make the changes in the pfile and bounce the database
First thumb rule is that your SGA should not exceed more than 40% of your PHYSICAL RAM in oracle <= 8i version. You can go around 80% from oracle 9i onwards
http://mohamedazar.wordpress.com/2010/08/30/can-i-increase-sga-target-size-greater-than-sga-max-size/
Edited by: Amigo on Dec 18, 2010 1:31 AM -
my ipad shows capacity 13.6 GB, available 0 bytes. Can I clear some items from the memory to increase the available memory?
Getting message "storage almost full"One usually large user of storage space is photos and videos. You could import them to a computer and then delete them from the iPad: Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support
You can also go to Settings > General > Usage and click on "Manage Storage" (in the Storage section, not the iCloud section) and that will show what is using the storage and may help you decide if you want to delete some apps or something else. -
Hello Guru,
How do i check what is my SGA and PGA..I am using TOAD..
I need to increase the SGA and PGA size...Please help..
I have a table having 200 million records, all indexes are there for the column..But it hang on in the debugging mode and also compile mode..
So i believe, I need to increase the SGA and PGA size...
Thanks,
Haraprasad...805936 wrote:
Hello Guru,
How do i check what is my SGA and PGA..I am using TOAD..
I need to increase the SGA and PGA size...Please help..
The current size for both SGA and PGA can be shown depending on the version of the db. For 10g, the SGA size is shown by sga_target parameter and PGA size is shown by pga_aggregate_target parameter. For 11g, the parameter memory_target sets them both.
I have a table having 200 million records, all indexes are there for the column..But it hang on in the debugging mode and also compile mode..
So i believe, I need to increase the SGA and PGA size...No, IMO, your believe doesn't hold much base as the evidence that you have used is insufficient. What is the debugging mode or compile mode ? For what purpose you are using these modes? 200 million is not a very large number if you ask me. Tell us your db version and based on it, generate a Statspack or AWR report and post here.
HTH
Aman.... -
how will i increase the shared memory of the graphic card of macbook pro 13-inch, early 2011 from 4gb memory?
The current version of Mavericks is 10.9.4. To update yours download and install OS X Mavericks 10.9.4 Update (Combo).
You can upgrade RAM to the maximum your model will support. That would be:
Maximum Memory
16 GB (Actual) 8 GB (Apple)
Memory Slots
2 - 204-pin PC-10600 (1333 MHz) DDR3 SO-DIMM
About OS X Memory Management and Usage
Using Activity Monitor to read System Memory & determine how much RAM is used
OS X Mavericks- About Activity Monitor
Adding RAM only makes it possible to run more programs concurrently. It doesn't speed up the computer nor make games run faster. What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent. It will improve the performance of applications that run mostly in RAM or when loading programs. -
Suggestion in increasing the SGA and PGA after increase in the RAm of the machine .
Hi All,
Need an expert suggestion on the change's in the SGA and PGA of the oracle database after increasing the size of the machines RAM .
We have 64G of RAM in the machine .
There are 9 DB's running on oracle 10g and 11g on this machine
The total SGA of all the database's is around 18G .
DB1 has 2G of MAX_SGA_SIZE
DB2 has 8G of MAX_SGA_SIZE
DB3 has 1G of MAX_SGA_SIZE
DB4 has 2G of MAX_SGA_SIZE
DB5 has 676M of MAX_SGA_SIZE
DB6 has 1.5G of MAX_SGA_SIZE
DB7 has 1.2 G of MAX_SGA_SIZE
DB8 has 675M of MAX_SGA_SIZE
DB9 has 672 M of MAX_SGA_SIZE
Now the machine RAM is up to 96G 64+ 32
what would be the suggestion on the increase in the SGA and PGA max size .
Any expert suggestion is highly apprciated .
Thanks in AdvanceThanks for this Justin.
Here the exercise is to add 4 CPU's and 32G RAM to the server earlier it was with 4 CPU's and 64G RAM this was decided by the server support team .
here is the stats from SAR command ..
The platform is
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
04:00:01 CPU %user %nice %system %iowait %steal %idle
04:10:02 all 86.47 0.00 12.52 0.99 0.00 0.02
04:20:01 all 84.83 0.01 11.80 3.21 0.00 0.15
04:30:01 all 76.23 0.00 10.30 12.34 0.00 1.12
04:40:01 all 79.14 0.00 12.07 8.30 0.00 0.49
04:50:01 all 77.63 0.00 12.19 9.40 0.00 0.77
05:01:01 all 75.95 0.00 10.50 12.80 0.00 0.75
05:11:01 all 83.21 0.00 11.98 4.54 0.00 0.26
05:21:01 all 76.37 0.01 11.20 11.49 0.00 0.94
05:31:01 all 77.97 0.00 9.04 10.30 0.00 2.69
Average: all 79.72 0.00 11.28 8.20 0.00 0.80
Now that the 4 CPU's and RAM is been added , my request is how to calculate the required kernal parameters for oracle to this new configuration for some improvement in the oracle performance .
like kernal.shmmax
kernal.shmall
/dev/shm file system
largest value of MEMORY_MAX_TARGET or MEMORY_TARGET of all instances
the oracle is set as automatic memory management . it is not an RAC environment .
Any Expert suggestion is highly apprciated .
Thanks in advance . -
Application cannot be accessed if we increase the OC4J memory
Hi friends,
we have made about 4 application and deployed each on oc4j server, all running at same time. The problem is that after some time OC4J shows error message java.lang.outofmemory. We tried to increase the memory usage by using
java -Xms512m -Xmx512m -jar oc4j.jar
but now the applications are not accessible
Plz helpHi Kenton
Thanks for the reply. as earlier i was using oc4j server. Now i have downloaded oracle application server 10.1.2., but now i am not able to make connection to application server. I have installed only the j2ee container and oc4j server in application server.
can you tell me how to do that?
do we need to configer AS before we make connection
what is rmi url and username password? Is it necessary for making connection
This is the error message
HTTP connection failure: unknown port number or missing HTTP listener -
My external HD increases the kernel_task memory usage.
I use an external firewire hard drive, SmartDisk FireLite, on my eMac.
the kernel_task memory usage (RSIZE) goes up to over 400MB,
whenever I connect my external hard drive to my computer.
normally, the kernel_task uses 100 to 150 MB
with all scanner, printer, keyboard, mouse, and etc connected.
soon after I disconnect the external HD,
the kernel_task memory goes down to the normal usage.
I don't know how kernel_task works, so I am not sure if the issue is normal...
Does any kind of external hard drive take a lot of memory for kernel_task???
If I use a USB hard drive, this won't happen???
400MB for kernel_task is a lot to me,
especially when i try to use softwares like photoshop, indesign, and etc...
so, if I could save the kernel_task memory, it would help me tremendously.
I would really appreciate it if you could give me any suggestion or answer.Thank you very much for mentioning the application.
I've already downloaded and tried the shareware.
It was great and provided more free space after running the program,
I am pretty satisfied with the results I got.
In fact, it gives me about 250MB more in free space on average.
It would almost cover the memory loss caused by my external HD.
However, I still hope there would be a way to stop my external HD eating much memory...
Recently I found my ipod shuffle which I've also used to store files won't affect the kernel_task at all and barely use memory...
I was thinking to get a new external HD as an option,
but I am worried if the same problem would remain with the new HD... -
Hi,
We are using EBS 12.0.6 and DB 10.2.0.3.
Currentlly My SGA is 2 GB and we have 8 GB of RAM, and Swap area is 10 GB.
Please recommemded us to SGA size and related DOC ID.
thx.Hi again;
In addition to my previous post also check
Oracle Database 10g Automated SGA Memory Tuning Doc ID: 257643.1
How To Use Automatic Shared Memory Management (ASMM) In Oracle10g Doc ID: 295626.1
Hope it helps
Regard
Helios -
Increasing the SGA Size to Reduce CPU Run Queues?
I got the following e-mail message from one of our UNIX admins and wanted to know if anyone can shed some light on this:
I was just talking to [a consultant] about the problems on [the database server] and he pointed out that he has seen extremely high CPU run queues on this server, despite the fact that average CPU usage is not hitting 100%. We did some more digging and memory is being poorly utilized on this server. There is a lot of available memory that is not being used. We think that the run queues are running up because we have multiple reports coming in and sitting on the individual CPUs but they aren't able to fully utilize the available CPU. We were wondering if it would be possible to adjust the database to use more of the available memory and see if that allows the queries to use the CPU more effectively.jdurst wrote:
I got the following e-mail message from one of our UNIX admins and wanted to know if anyone can shed some light on this:
I was just talking to [a consultant] about the problems on [the database server] and he pointed out that he has seen extremely high CPU run queues on this server, despite the fact that average CPU usage is not hitting 100%. We did some more digging and memory is being poorly utilized on this server. There is a lot of available memory that is not being used. We think that the run queues are running up because we have multiple reports coming in and sitting on the individual CPUs but they aren't able to fully utilize the available CPU. We were wondering if it would be possible to adjust the database to use more of the available memory and see if that allows the queries to use the CPU more effectively.First, [read these comments.|http://prodlife.wordpress.com/2008/05/06/newsflash-100-cpu-is-worse-than-you-think/#comments]
So, there are a lot of things that could be happening, and your post doesn't even begin to point in the right direction. Is your system heavily batched? You might speed report things up by slowing down the batch and letting other things use the cpu's. What does Oracle think it is waiting on?
As the comments cited above suggest, Cary's book addresses how to figure these things out. Big CPU run queues are certainly an indication of tuning necessity, perhaps on both the Oracle and OS side. It could even be something silly like I/O being too slow so the CPU's are waiting on that stuff. There are enough variables involved it can very quickly become like squeezing balloon animals if you don't use a structured approach.
So, what all hardware is involved? What are your init.ora parameters? What exact versions of everything? What do OS utilities show? -
ORA-27102: out of memory, when I try to increase the SGA in 10gR2 linux 64
Hi, I´m trying to increase sga_max_size parameter, but when I startup the DB the following error is appears:
ORA-27102: out of memory...The maximun value is 3.6 Gb Approximately, if I increase this value, the DB not start and is appears this error.
My DB version is 10.2.0.4.0
My OS: Enterprise Linux Enterprise Linux AS release 4 (October Update 6)
The linux Kernel: 2.6.9-67.0.0.0.1.ELsmp x86_64 GNU/Linux
Physical memory: 14 GB
My init.ora:
orcl10.__db_cache_size=2113929216
orcl10.__java_pool_size=33554432
orcl10.__large_pool_size=16777216
orcl10.__shared_pool_size=301989888
orcl10.__streams_pool_size=16777216
*.audit_file_dest='/home/oracle/product/bbdd/admin/orcl10/adump'
*.background_dump_dest='/home/oracle/product/bbdd/admin/orcl10/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/home/oracle/product/oradata/orcl10/control01.ctl','/home/oracle/product/oradata/orcl10/control02.ctl','/home/oracle/product/oradata/orcl10/
control03.ctl'
*.core_dump_dest='/home/oracle/product/bbdd/admin/orcl10/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl10'
*.db_recovery_file_dest='/home/oracle/product/bbdd/flash_recovery_area'
*.db_recovery_file_dest_size=96636764160
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl10XDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=830472192
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.session_cached_cursors=50
*.sga_max_size=3670016000
*.sga_target=3670016000
*.shared_pool_size=267386880
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/home/oracle/product/bbdd/admin/orcl10/udump'
My sysctl.conf
# Kernel sysctl configuration file for Enterprise Linux
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
#Parametros del kernel para rac-oracle
kernel.shmall = 2097152
kernel.shmmax = 10737418240
kernel.shmmni = 4096
# semaforos: senmsl semmns semopm semmni
kernel.sem = 256 32000 100 128
#kernel.msgmnb = 65535
#kernel.msgmni = 2878
#kernel.msgmax = 8192
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
I need any idea for how to resolve this problem, thank you
Edited by: cehache on 10-mar-2011 11:50sorry, the previously init.ora is old, this is the actual init.ora file and the shared_pool_size=0:
orcl10.__db_cache_size=3271557120
orcl10.__java_pool_size=33554432
orcl10.__large_pool_size=16777216
orcl10.__shared_pool_size=335544320
orcl10.__streams_pool_size=0
*.audit_file_dest='/home/oracle/product/bbdd/admin/orcl10/adump'
*.background_dump_dest='/home/oracle/product/bbdd/admin/orcl10/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/home/oracle/product/oradata/orcl10/control01.ctl','/home/oracle/product/oradata/orcl10/control02.ctl','/home/oracle/product/oradata/orcl10/
control03.ctl'
*.core_dump_dest='/home/oracle/product/bbdd/admin/orcl10/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl10'
*.db_recovery_file_dest='/home/oracle/product/bbdd/flash_recovery_area'
*.db_recovery_file_dest_size=96636764160
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl10XDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=2147483648
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.session_cached_cursors=50
*.sga_max_size=3670016000
*.sga_target=3670016000
*.shared_pool_size=0
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/home/oracle/product/bbdd/admin/orcl10/udump'
this is the result of free command:
[oracle@edubi dbs]$ free
total used free shared buffers cached
Mem: 14366428 13844616 521812 0 65468 11599248
-/+ buffers/cache: 2179900 12186528
Swap: 10482404 44200 10438204
the result of cat /proc/meminfo:
[oracle@edubi dbs]$ cat /proc/meminfo
MemTotal: 14366428 kB
MemFree: 123396 kB
Buffers: 67076 kB
Cached: 11823056 kB
SwapCached: 1504 kB
Active: 9671280 kB
Inactive: 3965444 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 14366428 kB
LowFree: 123396 kB
SwapTotal: 10482404 kB
SwapFree: 10438432 kB
Dirty: 868 kB
Writeback: 56 kB
Mapped: 5582756 kB
Slab: 350380 kB
CommitLimit: 17665616 kB
Committed_AS: 13194688 kB
PageTables: 212384 kB
VmallocTotal: 536870911 kB
VmallocUsed: 267732 kB
VmallocChunk: 536603127 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
the result of vmstat command;
[oracle@edubi dbs]$ vmstat
procs -----------memory---------- ---swap-- -----io---- system ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 1 43896 58332 67220 11686176 0 0 166 195 15 10 2 0 94 3
thank you -
We want to increase sga 8gb, knowing that we have the physical size of the ram 24 to go.
we followed the configuration steps as the oracle note 225349.1, we modified the boot.ini file by adding the / PAE, the AWE is configured to 2147483648, when starting the instance we have the error message ORA-00371: not enough shared pool memory, Should Be atleast 434653184 bytes
the parameters to configure
test.__db_cache_size = 1207959552
test.__java_pool_size = 4194304
test.__large_pool_size = 4194304
test.__shared_pool_size = 1038090240
test.__streams_pool_size = 0
*. db_block_buffers = 1179648
*. SGA_TARGET = 0
*. SGA_MAX_SIZE = 7000M
*. use_indirect_data_buffers = TRUEmo**** wrote:
We want to increase sga 8gb, knowing that we have the physical size of the ram 24 to go.
we followed the configuration steps as the oracle note 225349.1, we modified the boot.ini file by adding the / PAE, the AWE is configured to 2147483648, when starting the instance we have the error message ORA-00371: not enough shared pool memory, Should Be atleast 434653184 bytes
the parameters to configure
test.__db_cache_size = 1207959552
test.__java_pool_size = 4194304
test.__large_pool_size = 4194304
test.__shared_pool_size = 1038090240
test.__streams_pool_size = 0
*. db_block_buffers = 1179648
*. SGA_TARGET = 0
*. SGA_MAX_SIZE = 7000M
*. use_indirect_data_buffers = TRUETHANKS for sharing. -
How i can increase the OC4J memory ?
hi
thank you for reading my post
how i can increase memory of OC4J which make it not to show these messages :
Gen space
06/09/11 14:45:38 java.lang.OutOfMemoryError: PermGen space
Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurre
d dispatching signal UNKNOWN to handler- the VM may need to be forcibly terminat
ed
Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurre
d dispatching signal UNKNOWN to handler- the VM may need to be forcibly terminat
ed ThanksHi,
PermGen space implies the perm space allocated is not sufficient, not the heap space. Please add the following to the command line -XX:MaxPermSize=128M.
Hope that helps!
--Sindhu
Maybe you are looking for
-
Why can't I download the Microsoft Office I paid for?
I would advise against shopping Best Buy, as I still cannot get what I paid for in June, as evidenced by this communication I posted to their page. I would like to know why the second card given to me in your Katy, Texas store where I purchased Micro
-
Problem of deploying the Application in WAS 6.4
Hello, I have an Application deployed in Sap J2ee Engine 6.2. I want to deploy the same in WAS 6.4. i am trying to deploy using Deploy tool(deploy tool.bat). When i loaded the Ear file, it got loaded, but when deploying it after adding the Library re
-
Use of Bind variables on Transparent Gateway
Are there any known issues of using bind variables with queries using the Transparent Gateway? I've included two queries that access data from V_PERSON (alias r) which is a SQL Server 2000 table. We're using TG for MSQL 9.0.1 and calling from an Orac
-
Hi , I have installed Jdev using silent installation . Now I have some apps already created I want to create a default domain and then deploy apps into that through ant or any script? Can anyone help me on this? Thanks and Regards, Vivek Pemawat
-
Download Firefox for Mac fails - no file downloaded.
I try to download Firefox for mac (OSX 10.7.5), and it looks like it is being downloaded (on Safari) but there is no file in the download folder, and no invitation to drag the icon to the applications window. Checked desktop, applications, and docume