Setting sga_target in Oracle10g using spfile in Window OS
Hi all
Previously we used to set the parameter values thru initora
Now we wish to follow the default spfile for parameters as provided by Oracle.
When we give
alter system set pga_aggregate_target = ???M;
it works properly but the same syntex does not work properly for'
processes as well as sga_target
1. Kindly guide the exact syntix to set these parameters
2. Also advise whether setting sga_target would be sufficient or do we need to set sga_max_size also and possible advantage
3. Role of Oracle Processes and what should be the ideal number for Live installation with say 100-150 simultaneous users. RAM available is enough say 8GB.
Suresh Bansal
Suresh Bansal wrote:
Hi all
Previously we used to set the parameter values thru initora
Now we wish to follow the default spfile for parameters as provided by Oracle.
When we give
alter system set pga_aggregate_target = ???M;
it works properly but the same syntex does not work properly for'
processes as well as sga_target
1. Kindly guide the exact syntix to set these parameters
2. Also advise whether setting sga_target would be sufficient or do we need to set sga_max_size also and possible advantage
3. Role of Oracle Processes and what should be the ideal number for Live installation with say 100-150 simultaneous users. RAM available is enough say 8GB.
Suresh BansalBoth SGA_MAX_SIZE and PROCESSES are parameters that cannot be changed dynamically, because you have omitted the SCOPE= clause of ALTER SYSTEM it takes it's default of BOTH. SGA_TARGET is modifiable in memory, but only up to the limit specified by SGA_MAX_SIZE which defaults to whatever you have SGA_TARGET set to, this means in a default setup you can only reduce SGA_TARGET. From my system
SYS @ DB10G >show parameter SGA_
NAME TYPE VALUE
sga_max_size big integer 584M
sga_target big integer 584M
SYS @ DB10G >SELECT NAME,ISSYS_MODIFIABLE
2* FROM V$PARAMETER WHERE NAME LIKE 'sga%'
SYS @ DB10G >/
NAME ISSYS_MOD
sga_max_size FALSE
sga_target IMMEDIATESo I have 584m set for both as a result I can reduce the size, but not increase it.
SYS @ DB10G >alter system set SGA_TARGET=600M;
alter system set SGA_TARGET=600M
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00823: Specified value of sga_target greater than sga_max_size
SYS @ DB10G >alter system set SGA_TARGET=400M;
System altered.But I can set it in the spfile.
SYS @ DB10G >alter system set SGA_TARGET=600M SCOPE=SPFILE;
System altered.You only need to set SGA_TARGET, but if you set SGA_MAX_SIZE larger you give yourself room for growth later. This should be clear from the demo above.
PROCESSES controls the size of Oracle's internal process table (externalized as v$process) which is why you can't dynamically reset it, you'll need more entries in this process table than you anticipate user sessions, generally about 15-25% more.
Niall Litchfield
http://www.orawin.info/
Similar Messages
-
Setting Default Web Browser using Preferences in Windows 2008
Hi
our users need to use both IE8 and Google Chrome. IE 8 is necessary due to issues with clinical apps etc.
However, we need to force IE8 as the default browser but allow users to access Google Chrome and not allow this to be set as default.
There are several posts about "Maintenance Mode" settings but these are no longer available.
How can I achieve this?
Thanks
AlboHi Albo,
How is it going? For we are using Windows Server 2008 and IE8, we should still be able to use Internet Explorer Maintenance (IEM) to configure IE as default browser. Besides, if we can't use IEM, we can choose to use script or Group Policy Preferences
Registry extension to edit registry to set IE as default browser.
Regarding this point, the following thread can be referred to for more information.
Default Browser via Group policy
http://social.technet.microsoft.com/Forums/windowsserver/en-US/e63fe81b-1ad8-4303-ad1d-e2f6e3d8cb0a/default-browser-via-group-policy?forum=winserverGP
Best regards,
Frank Shen -
How to set a default printer using vbs on windows 2008 R2 with remote desktop services
Hello
It seems I wasn't in the right places before / threads. BIG Sorry.
Here's the problem: I have this VBScript:
On any computer, the Default Printer "HisBadPrinter"
strPrinterName = "mySuperPrinter"
Set objPrinter = Helper.CreateObject("WScript.Network")
objPrinter.SetDefaultPrinter strPrinterName
In Xp, Windows 7 it work perfect, The default printer is being changed.
But in Remote Desktop on Windows Server 2008 R2 it is not working, with any type of account (Administrator, user, powerUser...) "HisBadPrinter" is always the default printer and it's always printing on it without any error messages.
Help Please.Ok, here what I have in my ControlPanel > Devices and Printers
Adobe PDF (redirected 3)
Brother HL-4150CDN series on infovm1dc (redirected 3)
Generic / Text Only (redirected 3)
HP Color LaserJet 3800 PCL 5c on infodc3 (redirected 3)
Microsoft XPS Document Writer
Microsoft XPS Document Writer (redirected 3)
PDFCreator (redirected 3)
Now Here what I got when I executed the bit of code :
TS011
Adobe PDF (redirected 3)
TS013
Microsoft XPS Document Writer (redirected 3)
TS012
Generic / Text Only (redirected 3)
TS015
Brother HL-4150CDN series on infovm1dc (redirected 3)
TS016
HP Color LaserJet 3800 PCL 5c on infodc3 (redirected 3)
TS014
PDFCreator (redirected 3)
TS002
DIRECT - Brother HL-2460 (redirected 2)
TS006
PDFCreator (redirected 2)
TS003
Fax (redirected 2)
TS005
Microsoft XPS Document Writer (redirected 2)
TS007
Brother HL-2460 on infodc3 (redirected 2)
TS004
Microsoft Office Document Image Writer (redirected 2)
TS001
Brother HL-4150CDN series on infovm1dc (redirected 2)
XPSPort:
Microsoft XPS Document Writer
There is no printer called "\\ALPHA\HP LaserJet P2015 Series PCL 6".
OK -
I cannot make these directions work
I downloaded media on Overdrive MEdia on my PC
I have the overdrive media ap on my I pod touch 4g
this media is suppossed to be compatible w/I pd touch
Notes on Transferring OverDrive MP3 Audiobooks…
Most MP3 capable devices should play OverDrive MP3 Audiobooks.
If you intend to transfer OverDrive MP3 Audiobooks to an Apple® device, note the following…
iTunes® v9.0.2 (or newer) is required.
The Apple device must be formatted for use with Microsoft® Windows®.
The iTunes setting 'Manually manage music…' must be enabled for the device before you can complete the transfer. Adjust this setting in iTunes as follows…
Connect the iPod® to your computer.
If it does not launch automatically, open iTunes v9.0.2 (or newer).
In iTunes, locate the device in the left vertical navigation panel (under heading 'DEVICES'), and click the device.
The 'Summary' screen is displayed.
Place a checkmark next to 'Manually manage music…'.
Click the 'Apply' button.
The iTunes 'Summary' screen refreshes, and the changes are saved.
If desired, close iTunes.
Note that if an Apple device is connected to your computer, you can choose to simultaneously transfer a title to the iTunes Library and the Apple device. If you wish to only transfer a title to the iTunes Library, you must first disconnect the Apple deviceRecovering your iTunes library from your iPod or iOS device: Apple Support Communities
Also you said " I want to add them to my iCloud, and also back to my computer. " Note that unless subscribe to iTunes match, only iTunes purchases are stored in iCloud.
Also,
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
can i use an external hard drive in windows to add additional storage after my initial partition is set up. i want to add a 500 GB external hard drive to use with my windows. I set windows up in boot camp with a 50 GB partition? I now want to add another 500 GB?
Yes. Windows supports external USB drives.
-
Setting up a small business network using mac and windows pcs
Setting up a small business network using mac and windows??
Ok that sounds great. What is your actual question as it relates to AirPort networking? Is it: Can I set up a wired/wireless network with an AirPort base station that support multiple Mac & PC clients? If so the answer is yes.
If, instead, it is how to I configure an AirPort network to support a small business you will have to provide more details on both your networking & computing equipment in order for any of us to help you. -
I'm using a pc, (windows 8.1,) and I cannot get a thick and thin line with CS6. I want to draw, but I cannot get any linework like I should. I also use Sketchbook Pro, and ToonBoom, and I get wonderful linework. But not with Photoshop.
None of the brush tool settings have any effect, even in the preview. Is there a setting I need because I'm using a pc and not a mac?Thanks for your response,
I'm using a Fujitsu T901 laptop, with a stylus pen. Painting works great in Photoshop, but for drawing there is no sensitivity at all. Frans Vischer
author and illustrator of Fuddles, A Very Fuddles Christmas and Jimmy Dabble
www.fransvischer.com
pamperedfatcat.wordpress.com -
Setting Oracle environment variable using batch (.bat) file in windows
Hi,
Oracle 9i db
Windows OS
I am in process to create the database (Considered that Oracle9i software is already installed) by running one batch file which consist of all the scripts for the database creation.
But i also want to set the environment variables at MyComputer(right click)>properties>advance>environment, permenently by running the batch (.bat) file
ORACLE_HOME
ORACLE_BASE
ORACLE_SID
So, how can it be done ?
With RegardsHi,
*@echo off*
set ORACLE_SID=iprsdb
set ORACLE_BASE=C:\oracle
set ORACLE_HOME=C:\oracle\ora92
call C:\install_bkp\test_env_var.bat
echo Test Successfull.
Above mentioned is the code written in the batch (.bat) file
In that i have also called another .bat file which test the env. variable values which is as below:
c:\>test_env.bat
===================
Testing oracle sid
===================
iprsdb
=====================
Testing oracle base
===================
C:\oracle
=====================
Testing oracle home
=====================
C:\oracle\ora92
Test Successfull.
But when i checked at MyComputer(right click)>properties>advance>environment variables
there, I saw none of the entries from the above, why so ?
how to set env. variables permanently using the DOS commands. ?
With Regards -
Have Mac OS 10.7.4 installed on an iMac-3.1 GHz Intel Core i5...the Finder will not find files on Windows mounted volumes...what setting should we be using...tried the same/working settings as our iMac 10.6.8...did not work for 10.7.4!
Added note: We are tring to find files on Windows 2008 Server Standard...
-
ALTER SYSTEM SET SGA_TARGET = 0 scope=spfile; not working
SQL> ALTER SYSTEM SET SGA_TARGET = 0 scope=spfile;
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 2121256960 bytes
Fixed Size 2243280 bytes
Variable Size 1140852016 bytes
Database Buffers 973078528 bytes
Redo Buffers 5083136 bytes
Database mounted.
Database opened.
SQL> show parameters sga
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 2032M
sga_target big integer 0
SQL> create pfile=#/home/oracle/per03pfile' from spfile;
pfile has
*.sga_max_size=0
*.sga_target=0
and
instance1.__sga_target=2130706432
instance2.__sga_target=2130706432
tried ALTER SYSTEM SET SGA_TARGET = 0 scope=spfile sid='*'; aswell ...
oracle v11.2.0.2
GI 11.2.0.2
linux 64 bitChinar wrote:
user9198889 wrote:
SQL> ALTER SYSTEM SET SGA_TARGET = 0 scope=spfile;
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 2121256960 bytes
Fixed Size 2243280 bytes
Variable Size 1140852016 bytes
Database Buffers 973078528 bytes
Redo Buffers 5083136 bytes
Database mounted.
Database opened.
SQL> show parameters sga
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 2032M
sga_target big integer 0
SQL> create pfile=#/home/oracle/per03pfile' from spfile;
pfile has
*.sga_max_size=0
*.sga_target=0
and
instance1.__sga_target=2130706432
instance2.__sga_target=2130706432
tried ALTER SYSTEM SET SGA_TARGET = 0 scope=spfile sid='*'; aswell ...
oracle v11.2.0.2
GI 11.2.0.2
linux 64 bitWhile SGA_MA_SIZE <> 0 then it seems SHARED MEMORY constructed according this setting.So it is not recommended to avoid automatic shared memory management.But if you decide this then you have to identify SHARED_PLOOL_SIZE,DB_CACHE_SIZE(in additionally LOG_BUFFER and LARGE_POOL) parameter manually and
ALTER SYSTEM SET SGA_TARGET=o scope=spfile and ALTER SYSTEM SET SGA_MAX_SIZE=o scope=spfile and restart database again.SQL> alter system set sga_max_size=0 scope=spfile sid='instance1';
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
SQL> show parameters sga
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 2032M
sga_target big integer 0
SQL>
has it got todo with AMM being enabbled? -
Unable to set sga_target 2Go at windows 2003 SP1
Hi all,
I get out of memory error when trying to set sga_target (oracle 10g) more than 2Go at a windows 2003 sp1 server.
I need help please.
TIA
YangCheck if the below document helps:-
http://support.microsoft.com/?kbid=291988
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q319043
Metalink:
Doc ID: Note:1036312.6
Subject: Utilizing Up to 3GB Virtual Memory on Windows NT Server 4.0
Doc ID: Note:46053.1
Subject: Windows NT Memory Architecture Overview
Doc ID: Note:225349.1
Subject: Implementing Address Windowing Extensions (AWE) or VLM on Windows Platforms -
How can i find a boot cam by using internet after windows 7 set up
how can i find a boot cam by using internet after windows 7 set up.
how can i find a boot cam by using internet after windows 7 set up.
-
Need to sync icloud contacts to windows contacts without using outlook or windows live messenger on my pc, i have itunes and icloud fully set up on my pc and i have an ipad2. itunes setting for syncing to windows contacts is not working, nor will it sync to my gmail. I tried to get icloud to sync to my gmail, and thought that i could then sync my gmail to windows contacts, but icloud isn't syncing to gmail either. I configured it correctly, (or at least tried). I was able to copy the csv and all that, and do it manualy, but would like it to sync automatically. Please help.
using itunes new version (9/30/2012), on my windows 7 pc. My ipad2 is running ios 6.No, you need Outlook.
-
ALTER SYSTEM SET SGA_TARGET
Hi,
in 10g R2 should I stop/start database when I change sGA_TARGET :
ALTER SYSTEM SET SGA_TARGET=value [SCOPE={SPFILE|MEMORY|BOTH}]
Thank you.user522961 wrote:
OK.
When I query V$PARAMETER I have the OLD value for SGA_TARGET. It is normal because the value in V$PARAMETER comes from starting and spfile. How can I be sur that now oRACLE uses the new value for SGA_TARGET effectively ?
Thanks again.Not sure I understand your question. If you set SGA_TARGET with SCOPE=MEMORY or BOTH, it should be in effect immediately.
SQL> alter system set sga_target=253M scope=both;
System altered.
SQL> select value bytes, value/1048576 MB from v$parameter where name = 'sga_target';
BYTES MB
268435456 256
SQL> show parameter sga
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 512M
sga_target big integer 256M
SQL> alter system set sga_target=257M scope=both;
System altered.
SQL> select value bytes, value/1048576 MB from v$parameter where name = 'sga_target';
BYTES MB
272629760 260
SQL> show parameter sga
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 512M
sga_target big integer 260M
SQL> -
RMAN Active duplication using SPFILE
Environment:
O.S Version HP-UX B.11.31 U ia64
Oracle DB Version 11.2.0.3.0
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Database files are on ASM Diskgroups
duplicate target database
to TestDB
from active database pfile=/app/oracle/product/11.2.0.3/db/dbs/initSoruceDB.ora;Question:
Can I use spfile clause on the command above? If I use spfile, will the command above copy the spfile from the target database instance as part of DUPLICATE command?
Will the DUPLICATE command with SPFILE clause behave differently in case of different sturcture of ASM Diskgroups used at the source and target databases?Can I use spfile clause on the command above? If I use spfile, will the command above copy the spfile from the target database instance as part of DUPLICATE command? Yes you can use SPFILE.RMAN automatically copies the server parameter file to the destination host.
Will the DUPLICATE command with SPFILE clause behave differently in case of different sturcture of ASM Diskgroups used at the source and target databases? RMAN automatically copies the server parameter file to the destination host and updates the server parameter file on the destination host based on values provided in PARAMETER_VALUE_CONVERT and SET. For example:
Duplicating to a Host with a Different Directory Structure (Active)
DUPLICATE TARGET DATABASE
TO dupdb
FROM ACTIVE DATABASE
DB_FILE_NAME_CONVERT '/oracle/oradata/prod/','/scratch/oracle/oradata/dupdb/'
SPFILE
PARAMETER_VALUE_CONVERT '/oracle/oradata/prod/',
'/scratch/oracle/oradata/dupdb/'
SET SGA_MAX_SIZE '300M'
SET SGA_TARGET '250M'
SET LOG_FILE_NAME_CONVERT '/oracle/oradata/prod/redo/',
'/scratch/oracle/oradata/dupdb/redo/';
For more details:
http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#i1006629
Maybe you are looking for
-
HOW TO WRITE AND READ FROM A TEXT FILE???
How can I read from a text file and then display the contents in a JTextArea?????? Also how can I write the contents of a JTextArea to a text file. Extra Question::::::: Is it possible to write records to a text file. If you have not idea what I am t
-
My issue is primarily that I have spent the past week attempting different tips and tricks scattered throughout this site and have found nothing that works. My iPod touch is recognized fine by my laptop, but iTunes does not notice it. The cable works
-
Ipod Formatted to Windows but I want to use Mac!
I know you should be able to use an ipod formatted to windows on a Mac, but I can't. I have itunes 7 and it won't let me put music on my ipod says software is too old. I've been trying to update the software but everything says you can't unless you h
-
11G Grid control - Target is temporarily in status pending state.
Hi, I'm using 11G OMS, where at a point of time I can see many unknown targets with message "Target is temporarily in status pending state." There are different databases running on different hosts are showing the same error. Thanks KSG
-
Javascript change text path alignment
In CS4 there is a menu item, text on path option - Align to Path - with the selections being (descender, ascender, baseline, center). I can't find a corresponding parameter in the javascript reference guide. Once I have a textPath setup in javascript