SGA + db_32k_cache_size
Happy New Year 2008
It's Holiday. But I'm still resolve some problem in my work.
I have some question on Oracle 10G, Because I don't understand SGA + db_xxk_cache_size any more.
Init... Parameters =>
sga_max_size big integer 7680M
sga_target big integer 7680M
db_32k_cache_size big integer 1504M
SQL> select * from v$sga;
NAME VALUE
Fixed Size 2085456
Variable Size 1107299760
Database Buffers 6928990208
Redo Buffers 14688256
SQL> select component, current_size from v$sga_dynamic_components;
COMPONENT CURRENT_SIZE
shared pool 1073741824
large pool 16777216
java pool 16777216
streams pool 0
DEFAULT buffer cache 5351931904
KEEP buffer cache 0
RECYCLE buffer cache 0
DEFAULT 2K buffer cache 0
DEFAULT 4K buffer cache 0
DEFAULT 8K buffer cache 0
DEFAULT 16K buffer cache 0
DEFAULT 32K buffer cache 1577058304
ASM Buffer Cache 0
SGA_TARGET = .... + db_32k_cache_size
7680M = .... + 1504M
I have understood like that. It true or not.
nK-cache values are not automatically managed by Oracle and settings for them are subtracted from the total SGA_TARGET before the remainder is distributed amongst the other, automatically managed, SGA components (like the default cache, shared, large and java pools).
If you say SGA_TARGET=8GB and DB_2K_CACHE_SIZE=1GB, then 7GB of memory is available for distribution amongst the automatically-managed SGA components.
Similar Messages
-
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 -
How much memory are actually being used? db_32k_cache_size
Hi everyone,
Using Oracle 10g on RHEL 5.3.
I've been asked to check how much memory are actually being used by our db cache's. Currently we are using the parameters db_32k_cache_size (user-defined) and db_8k_cache_size (default) both allocated with 12gb. Now I want to know if there is any way to find out how much of the 12gb are actually being used by the cache.
Is this possible?
ThanksThanks Guys,
Okay, so it is using the whole 12gb. I guess the next question would be, is 12gb really needed? You see, we are trying to increase memory where possible as this database has performance issues. Now we are thinking of taking some of the 12gb that is allocated to the 32k cache and assign it to the sga for instance.
Does this make any sense?
Regards -
Hi All,
I have been provided with a 16GB RAM, 4 Processor on a 64Bit Windows Server to improve the performance of a DB that currently resides on 3GB RAM, 2 Processor on a 32Bit Windows Server.
I have set the SGA parameters as follows. I am yet to find any drastic improvement in performance.
Please suggest any changes that can improve the performance.
SQL> select * from v$sgainfo;
NAME BYTES RES
Fixed SGA Size 2186400 No
Redo Buffers 12333056 No
Buffer Cache Size 6979321856 Yes
Shared Pool Size 503316480 Yes
Large Pool Size 67108864 Yes
Java Pool Size 33554432 Yes
Streams Pool Size 33554432 Yes
Shared IO Pool Size 0 Yes
Granule Size 33554432 No
Maximum SGA Size 1.1725E+10 No
Startup overhead in Shared Pool 167772160 No
Free SGA Memory Available 4093640704
12 rows selected.
SQL> show parameter buffer
NAME TYPE VALUE
buffer_pool_keep string
buffer_pool_recycle string
db_block_buffers integer 0
log_buffer integer 11853824
use_indirect_data_buffers boolean FALSE
SQL> show parameter cache
NAME TYPE VALUE
client_result_cache_lag big integer 3000
client_result_cache_size big integer 0
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_cache_advice string ON
db_cache_size big integer 0
db_flash_cache_file string
db_flash_cache_size big integer 0
db_keep_cache_size big integer 0
db_recycle_cache_size big integer 0
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
result_cache_max_result integer 5
result_cache_max_size big integer 28768K
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
session_cached_cursors integer 50
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - ProductionRegards,
SamHi,
I spoke my sys admin and he is pretty sure that we have a dedicated server and that network bandwidth is hardly being utilized.
I shall go thru the note ID you have shared.
I have following query outputs and I wonder if the RAM (16GB) in my server is properly utilized by oracle.During installation I had assigned 12GB of RAM for SGA.
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue May 3 11:58:38 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> SELECT DECODE(value, NULL, 'PFILE', 'SPFILE') "Init File Type" FROM sys.v_$
parameter WHERE name = 'spfile';
Init F
SPFILE
SQL>select * from v$sgainfo;
NAME BYTES RESIZEABLE
Fixed SGA Size 2186400 No
Redo Buffers 12333056 No
Buffer Cache Size 6845104128 Yes
Shared Pool Size 603979776 Yes
Large Pool Size 100663296 Yes
Java Pool Size 33554432 Yes
Streams Pool Size 33554432 Yes
Shared IO Pool Size 0 Yes
Granule Size 33554432 No
"Maximum SGA Size 11725017088 No "
Startup overhead in Shared Pool 167772160 No
"Free SGA Memory Available 4093640704 "
12 rows selected
SQL> select * from V$SGA_DYNAMIC_FREE_MEMORY;
CURRENT_SIZE
4093640704
SQL>select * from v$SGA_TARGET_ADVICE;
SGA_SIZE SGA_SIZE_FACTOR ESTD_DB_TIME ESTD_DB_TIME_FACTOR ESTD_PHYSICAL_READS
1832 0.25 4116597 1.9513 555938014
2748 0.375 3460068 1.6401 483715140
3664 0.5 3214503 1.5237 457165083
4580 0.625 2794889 1.3248 410853719
5496 0.75 2603121 1.2339 390218612
6412 0.875 2273379 1.0776 353787902
7328 1 2109669 1 336076662
8244 1.125 1911152 0.9059 314198071
9160 1.25 1814740 0.8602 303914125
10076 1.375 1654827 0.7844 286135670
10992 1.5 1590904 0.7541 279414137
11908 1.625 1509048 0.7153 270172029
12824 1.75 1466011 0.6949 265769424
13740 1.875 1424029 0.675 261333212
14656 2 1424029 0.675 261333212
15 rows selected
SQL> show parameter memory
NAME TYPE VALUE
hi_shared_memory_address integer 0
memory_max_target big integer 1G
memory_target big integer 1G
shared_memory_address integer 0
SQL> show parameter sga
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
"sga_max_size big integer 1G"
"sga_target big integer 0"
SQL> show parameter buffer
NAME TYPE VALUE
buffer_pool_keep string
buffer_pool_recycle string
db_block_buffers integer 0
log_buffer integer 5324800
use_indirect_data_buffers boolean FALSE
SQL> show parameter cache
NAME TYPE VALUE
client_result_cache_lag big integer 3000
client_result_cache_size big integer 0
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_cache_advice string ON
db_cache_size big integer 0
db_flash_cache_file string
db_flash_cache_size big integer 0
db_keep_cache_size big integer 0
db_recycle_cache_size big integer 0
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
result_cache_max_result integer 5
result_cache_max_size big integer 2624K
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
session_cached_cursors integer 50Regards,
Sam -
I'm aware of
1) sga_max_size should be >= Total SGA.
2) Size of the Total SGA = (shared_pool_size+large_pool_size+java_pool_size+db_keep_cache_size+db_recycle_cache_size+db_2k_cache_size+db_4k_cache_size+db_8k_cache_size+db_16k_cache_size+db_32k_cache_size+db_cache_size)
Whether size of the PGA and/or size of the log_buffer have to account for Size of the Total SGA?
Is there any thumb rule for sizing the PGA?
Thanks in advance.Your main link is
http://tahiti.oracle.com
which is a searchable interface to all documentation.
Kindly do not ask anyone to do something you can easily do yourself.
Sybrand Bakker
Senior Oracle DBA -
What is best use of 1400 gb SGA (2 rac nodes 768gb each)
currently using 11.2.0.3.0 on unix sun sever with 2 RAC nodes each 8 UltraSPARC-T1 cpus (came out in 2005) four threads each so oracle sees 32 CPUS very slow(1.2 gb). Database is 4TB in size on regular SAN (10k speed).
8gb SGA.
New boss wants to update system to the max to get best performance possible Money is a concern of course but budget is pretty high, Our use case is 12-16 users at same time, running reports some small others very large (return single row or 10000s or rows). reports take 5 sec to 5 minutes, Our job is get the fastest system possible, We have total of 8 licenses available so we can have 16 cores. We are also getting a 6tb all flash SSD array for database. we can get any CPU we want but we cant use parallel query server due to all kinds of issues we have experienced (too many slaves, RAC interconnect saturation etc, whack-a-mole). sparc has too many threads and without PS oracle runs query in single thread.
we have speced out the following system for each RAC node
HP ProLiant DL380p Gen8 8 SFF server
2 Intel Xeon E5-2637v2 3.5GHz/4-core cpus
768 gb ram
2 HP 300GB 6G SAS 15K drives for database software
this will give us total of 4 Xeon E5-2637v2 cpus 16 cores total (,5 factor for 8 licenses) and 1536 ram (leaving ~1400 for sga). this will guarantee an available core for each user. we intend to create very very large keep pool around 300 gb for each node that will hold all our dimension tables. this we hope will reduce reads from the SSD to just data from fact tables.,
Are we doing a massive overkill here? the budget for this was way less than what our boss expected. will that big an sga be wasted will say a 256gb be fine. or will oracle take advantage of it and be able to keep most blocks in there.
will an sga that big cause oracle problems due to overhead of handling that much ram?Current System:
===========
a. Version : 11.2.0.3
b. Unix Sun
c. CPU - 8 cpus with 4 threads => 32 logical cpus or cores
d. database 4TB
e. SAN - 10k speed disk drives
f. 8gb SGA
g. 1.2 gb ??
h. Users --> 12-16 concurrent and run reports varying size
i. reports elasped time 5 sec to 5 mins
j. cpu license -->8
Target System
===========
a. Version: 11.2.0.3
b. HP ProLiant DL380p Gen8 8 SFF server
c. RAM --> 768 GB
d. 2 HP 300GB 6G SAS 15K drives for database software
e. large keep pool -->90 gb to hold all dimension tables.
f. SSD to just data from fact tables
g. SGA -->256gb
Reassessment of the performance issues of current system appears to be required.Good performance tuning expert is required to look into tuning issues of current application by analyzing awr performance metrics . If 8GB SGA is not enough,then reason behind so is that queries running in the system are not having good access path to select lesser data to avoid flushing out of recent buffers from different tables involved in the query. Until those issues are identified , wherever you go, performance issue wont be going away as table size increase in future , problem will reappear.Even if the queries are running with more FULL Scan , then re-platforming to Exadata might be right decision as Exadata has smart scan , cell offloading feature which works faster and might be right direction for best performance and best investment for future.Compression (compress for OLTP) could be one of the other feature to exploit to improve further efficiency while reading the lesser block in lesser read time.
Investment in infrastructure will solve a few issue in short term but long term issue will again arise.
Investment in identifying the performance issues of current system would be best investment in current scenario. -
How to find out which session is consuming the most of sga
Hello,
I have a server that is running out of swap space. I like to find out which oracle session is using a lot of the sga. Which data dictionary has this view? Thank you. 9208, linux 4.How did you configure SGA memory managment?
How much real memory is available on the machine?
How large did you make the SGA?
How much PGA do you think you need?
See Oracle version# Reference manual and start with
v$process -- show pga per process and can be joined to v$session to identify front-end process
v$pgastat
v$sga
v$sgastat
HTH -- Mark D Powell -- -
Unable to get the SGA beyond 180Megs
Two weeks ago, we installed Oracle 8.0.5 on Red Hat Linux 5.2.
We also chose to install the default database that comes with
the Oracle installation package. We configured the Linux kernel
as followings:
------ Shared Memory Limits --------
max number of segments = 100
max seg size (kbytes) = 262144
max total shared memory (kbytes) = 67108864
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 32
max semaphores system wide = 4096
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 128
max size of message (bytes) = 4056
default max size of queue (bytes) = 16384
The problem is when we tried to configure the total SGA to 180
Megs or more, we get the following message in server manager:
SVRMGR> startup
ORA-27123: unable to attach to shared memory segment
Linux Error: 22: Invalid argument
SVRMGR>
We have 2 Gigs of physical memory on the server machine. Does
any one have a suggestion of how to attack this problem? Thanks
in advance.
nullMichael H Thomas (guest) wrote:
: Hi,
: Do you have the RH5.2 configured to see your RAM?
: The procedure is in the manual, basically,
: boot with "linux mem=2048M" at initial prompt.
: Then check memory after booted. If seen, then
: modify /etc/lilo.conf file. Add a line
: like this "append mem=2048M".
: You should probably check the exact syntax, but
: there are two steps.
: Regards,
: Mike Thomas
Mike,
We've done that. Here is what the "top" command shows:
10:22am up 6 days, 14 min, 7 users, load average: 0.00,
0.00, 0.00
67 processes: 66 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.5% user, 1.3% system, 0.0% nice, 98.1% idle
Mem: 2010036K av, 1914340K used, 95696K free, 72440K shrd,
934336K buff
Swap: 0K av, 0K used, 0K free
849880K cached
null -
Hello Friends,
Really appreciate your help/inputs on the below Error Message encountered while running a Concurrent Program--using SOA:Same encountered in recently refreshed DEV instance, Can it be related to some Developement Instance Configuration related to SOA, as same working as expected in PROD.PLEASE ASSIST
Need your inputs on the Error Message we are getting which Invoking OSB Service.
"Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA "
Can you please review and confirm if the same encountered before or assist on the same:
XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
-- Define the SOAP request according the the definition of the web service being called
l_soap_request :=
'<?xml version = "1.0" encoding = "UTF-8"?>'
|| '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prox="http://OmnicareFinance/ProxyInput/">'
|| '<soapenv:Header/>'
|| '<soapenv:Body>'
|| '<prox:InboundProcess>'
|| '<Source_system>'||g_source_instance||'</Source_system>'
|| '<Run_mode>'||g_run_mode||'</Run_mode>'
|| '<Batch_key>'||g_batch_key||'</Batch_key>'
|| '<Request_id>'||g_request_id||'</Request_id>'
|| '<Invoice_Header_File_name>'||g_file_name||'</Invoice_Header_File_name>'
|| '<Invoice_Line_File_name>'||NULL||'</Invoice_Line_File_name>'
|| '<File_location>'||g_file_location||'</File_location>'
|| '</prox:InboundProcess>'
|| '</soapenv:Body>'
|| '</soapenv:Envelope>';
Oracle Apps Log File
-->Entering XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
--> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
-->Response> status_code: "200"
-->Response> reason_phrase: "OK"
-->Response> http_version: "HTTP/1.1"
-->Response From OSB: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:prox="http://OmnicareFinance/ProxyInput/"/><soapenv:Body xmlns:prox="http://OmnicareFinance/ProxyInput/"><prox:InboundProcessResponse><status>E</status></prox:InboundProcessResponse></soapenv:Body></soapenv:Envelope>
-->OSB Response: E
-->Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA
--> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
-->Entering XXFIN_AP_INVOICES_INT_IB_PKG.capture_error_info
THANKS
ANKURHi..
>
# symptom: ORA-00381: cannot use both new and old parameters for buffer cache size specification
# cause: Both db_block_buffers and db_cache_size parameters are defined in the init.ora (instance parameter file). The db_block_buffers parameter has been deprecated and has been maintained only for backward compatibility. The db_cache_size parameter is one of the size parameters which defines the size of the cache for buffers. These parameters cannot be combined. Setting this along with the Dynamic SGA parameters errors out.
>
For sga_target refer to [http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams193.htm#REFRN10256]
which quotes
>
SGA_TARGET specifies the total size of all SGA components. If SGA_TARGET is specified, then the following memory pools are automatically sized:
*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)
If these automatically tuned memory pools are set to non-zero values, then those values are used as minimum levels by Automatic Shared Memory Management. You would set minimum values if an application component needs a minimum amount of memory to function properly.
>
So, the what ever the value are set for the parameter will act as minimum value when sga_target is set.
HTH
Anand -
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 . -
The amount of free SGA memory available in the database
Hi,
How can we calculate the amount of free SGA memory available from the instance if the database is not set for Memory management.If the sga_max_size is set for a particular value and the db_cache_size and the shared_pool and all other components are specified,how can one determine whether all the memory allocated for SGA is in use?How can we calculate the amount of free SGA memory available from the instance if the database is not set for Memory management.When the SGA is allocated, the memory is fixed, and none of it is "free" really.
how can one determine whether all the memory allocated for SGA is in use? Are you asking about usage WITHIN the pools? If so, shortly after startup the database buffer and shared_pool will fill-up and stay full . . . . .
Here is the script that I use to see inside the data buffer contents:
set pages 999
set lines 80
spool blocks.lst
ttitle 'Contents of Data Buffers'
drop table t1;
create table t1 as
select
o.object_name object_name,
o.object_type object_type,
count(1) num_blocks
from
dba_objects o,
v$bh bh
where
o.object_id = bh.objd
and
o.owner not in ('SYS','SYSTEM')
group by
o.object_name,
o.object_type
order by
count(1) desc
column c1 heading "Object|Name" format a30
column c2 heading "Object|Type" format a12
column c3 heading "Number of|Blocks" format 999,999,999,999
column c4 heading "Percentage|of object|data blocks|in Buffer" format 999
select
object_name c1,
object_type c2,
num_blocks c3,
(num_blocks/decode(sum(blocks), 0, .001, sum(blocks)))*100 c4
from
t1,
dba_segments s
where
s.segment_name = t1.object_name
and
num_blocks > 10
group by
object_name,
object_type,
num_blocks
order by
num_blocks desc
Hope this helps. . ..
Don Burleson
Oracle Press author -
SGA Size for 8.1.7.4 32 bit? , some Interview Questions
Hi buddies,
I got some interview questions, might be simple for geeks in DBA. I am in need of answers. Could anyone help me.
Thanks,
Raaj
1) Does windows NT support direct I/O?
Answer: Choose one of the answers that apply
A: No, only AIO
B: Yes, depending on hardware.
C: Yes.
D: No.
2) Can you take a coldbackup from solaris and use it on windows NT?
Answer: Choose one of the answers that apply
A: Yes.
B: Yes if RMAN backup performed from NT server.
C: Yes, after running RMAN convert.
D: No.
3) All of the following will alter the number of checkpoints that occur in one hour on the database, except one. Which is it?
Answer: Choose one of the answers that apply
A: Decreasing tablespace size
B: Decreasing size of redo log members
C: Setting LOG_CHECKPOINT_INTERVAL greater than the size of the redo log file
D: Setting LOG_CHECKPOINT_TIMEOUT to zero
4) The DBA is attempting to back up the Oracle database control file. After
issuing the ALTER DATABASE BACKUP CONTROLFILE TO TRACE command, where can the DBA find the backup control file creation materials Oracle created for him or her ?
Answer: Choose one of the answers that apply
A: USER_DUMP_DEST
B: LOG_ARCHIVE_DEST
C: CORE_DUMP_DEST
D: BACKGROUND_DUMP_DEST
5) What is the most important action a DBA must perform after changing the database from NOARCHIVELOG TO ARCHIVELOG?
Answer: Choose one of the answers that apply
A: Shutdown normal and restart the database
B: Perform a full logical database backup
C: Perform a full offline database backup
D: Manually switch the log files
6) Which of the following choices lists an ALTER USER option that can be executed by the user herself or himself?
Answer: Choose one of the answers that apply
A: DEFAULT TABLESPACE
B: IDENTIFIED BY
C: TEMPORARY TABLESPACE
D: PROFILE
7) You need to view the initialization parameter settings for your Oracle
database. Which of the following choices does not identify a method
you can use to obtain values set for your initialization parameters?
Answer: Choose one of the answers that apply
A: Issue SELECT * FROM DBA_PARAMETERS; from SQL*Plus
B: Issue SELECT * FROM V$PARAMETER; from SQL*Plus
C: Issue SHOW PARAMETERS from Server Manager
D: Use OEM Instance Manager
8) As a result of a media failure, the current online redo log group is corrupted, the database crashes, as the current online group is inaccessible. Which type of incomplete recovery are you most likely to perform ?
Answer: Choose one of the answers that apply
A: Change-based
B: Time-based
C: Recovery using a backup control file
D: Cancel-based
9) User SNOW executes the following statement: SELECT * FROM EMP. This
statement executes successfully, and SNOW can see the output. Table
EMP is owned by user REED. What object would be required in order for
this scenario to happen ?
Answer: Choose one of the answers that apply
A: User SNOW would need the role to view table EMP.
B: User SNOW would need the privileges to view table EMP.
C: User SNOW would need a synonym for table EMP.
D: User SNOW would need the password for table EMP.
10) Which one of the following statements is true?
Answer: Choose one of the answers that apply
A: The request queue is common, and the response queue is different for all the dispatchers.
B: The request queue and response queue are different for all the dispatchers.
C: The request queue is different, and response queue is common for all the dispatchers.
D: The request queue and response queue are common for all the dispatchers.
11) What is the largest SGA size for 8.1.7.4 32 bit?
Answer: Choose one of the answers that apply
A: approximately 2GB
B: approximately 3.5GB
C: approximately 4GB
D: approximately 8GB
E: approximately 16GB
12) The DBA is about to perform some administrative tasks. Specifying the
OPTIMAL parameter has which of the following appropriate uses?
Answer: Choose one of the answers that apply
A: Limiting concurrent users
B: Limiting concurrent transactions
C: Limiting growth of rollback segments
D: Limiting growth of tables
13) If the DBA wants to find information about how often transactions are
wrapping transaction information between multiple rollback segment
extents, where would the DBA look to find that information?
Answer: Choose one of the answers that apply
A: DBA_ROLLBACK_SEGS
B: V$ROLLSTAT
C: V$ROLLNAME
D: DBA_SEGMENTS
14) You have 30 rollback segments in your database, for which
TRANSACTIONS_PER_ ROLLBACK_SEGMENT is set to 49 and
TRANSACTIONS is set to 1000. During periods of heavy usage, about how many rollback segments will be actively used by Oracle?
Answer: Choose one of the answers that apply
A: 50
B: 60
C: 20
D: 30
15) The DBA has a table created with the following statement:
CREATE TABLE EMPL
(EMPID NUMBER(10),
LASTNAME VARCHAR2(40),
RESUME LONG RAW);
The DBA attempts to issue the following statement:
ALTER TABLE EMPL
ADD ( PERF_APPRAISE LONG);
What happens?
Answer: Choose one of the answers that apply
A: The statement succeeds.
B: The statement succeeds, but column is added as VARCHAR2.
C: The statement fails.
D: The statement adds a disabled constraint.
16) The primary key of the EMP table has three columns, EMPID, LASTNAME,
and FIRSTNAME. You issue the following SELECT statement:
SELECT * FROM EMP WHERE LASTNAME = 'HARRIS' AND FIRSTNAME = 'BILLI'
AND EMPID = '5069493';
Where would you look to see if this query will use the index associated
with the primary key?
Answer: Choose one of the answers that apply
A: DBA_IND_COLUMNS
B: DBA_TAB_COLUMNS
C: DBA_INDEXES
D: DBA_CLU_COLUMNS
17) You are configuring your index to be stored in a tablespace. Which of the
following storage parameters are not appropriate for indexes?
Answer: Choose one of the answers that apply
A: OPTIMAL
B: INITIAL
C: PCTINCREASE
D: NEXT
18) You need to set up auditing in an order entry and product shipment
application so that when the ORDER_STATUS column in the ORDERS
table changes to SHIPPED, a record is placed in a special table associated
with a part of the application that gives sales representatives a daily list
of customers to call on a follow-up to make sure the customer is satisfied
with the order. Which of the following choices represents the best way
to perform this auditing?
Answer: Choose one of the answers that apply
A: Statement auditing
B: Object auditing
C: Audit by access
D: Value-based auditing
19) Information in the buffer cache is saved back to disk in each of the
following situations except one. In which situation does this not occur?
Answer: Choose one of the answers that apply
A: When a time-out occurs
B: When a log switch occurs
C: When the shared pool is flushed
D: When a checkpoint occurs
20) In order to allow remote administration of users and tablespaces on an Oracle database, which of the following types of files must exist in the database?
Answer: Choose one of the answers that apply
A: Password file
B: Initialization file
C: Datafile
D: Control file
E: Nothing, SYSDBA privileges are not required for these actions.
21) You are planning the storage requirements for your database. Which of the following is an effect of maintaining a high PCTFREE for a table?
Answer: Choose one of the answers that apply
A: Oracle will manage filling data blocks with new records more actively.
B: Oracle will manage filling data blocks with new records less actively.
C: Oracle will leave more space free in data blocks for existing records.
D: Oracle will leave less space free in data blocks for existing records.
22) You manage database access privileges with roles where possible.
You have granted the SELECT_MY_TABLE role to another role, called
EMP_DEVELOPER. To view information about other roles that may be
granted to EMP_DEVELOPER, which of the following dictionary views
are appropriate?
Answer: Choose one of the answers that apply
A: DBA_ROLE_PRIVS
B: DBA_TAB_PRIVS
C: USER_SYS_PRIVS
D: ROLE_ROLE_PRIVS
23) In order to set your SQL*Plus session so that your NLS_DATE_FORMAT
information is altered in a specific way every time you log into Oracle,
what method would be used?
Answer: Choose one of the answers that apply
A: Setting preferences in the appropriate menu option
B: Creating an appropriate LOGIN.SQL file
C: Issuing the ALTER USER statement
D: Issuing the ALTER TABLE statement
24) You create a sequence with the following statement:
CREATE SEQUENCE MY_SEQ
START WITH 394
INCREMENT BY 12
NOMINVALUE
NOMAXVALUE
NOCACHE
NOCYCLE;
Two users have already issued SQL statements to obtain NEXTVAL, and
four more have issued SQL statements to obtain CURRVAL. If you issue a
SQL statement to obtain the NEXTVAL, what will Oracle return?
Answer: Choose one of the answers that apply
A: 406
B: 418
C: 430
D: 4421.-
2.c
3.a
4.a
5.c
6.b
7.a
8.d
9.b
10.a -
11.a
12.c
13.b
14.d
15.c
16.a -
17.a
18.d
19.c
20.a
21. -
22.d
23.b
24.?
hope it helps u.
Thanks
Kuljeet -
SGA larger than ca. 500 MB?
Hey!
we are experiencing problems setting up an oracle instance with an SGA larger than about 500 Megs. The system is running Oracle 8.0.5.1 on redhat 6.2.
It definetly is no problem of some resource limit! ipcs -l shows values suited to about 5 gigs of SGA.
I even recompiled the kernel with the shared mem seg size raised to 128 megs - no difference.
An internal oracle paper I have seen tells me, they have tried the same tests as I have and have no clues how to fix it.
Any shared mem on Linux gurus on this list?
reading STDIN
AndreasI also have this issue. It is showing up on the Vimeo support forums also. Vimeo states that it is the recurrence of an old issue, and that the fault lies with Apple iMovie ios. Those of us with Plus or Pro accounts on Vimeo do not have the 500 mb limit; however, iMovie is not detecting that fact upon connection with Vimeo, and simply takes the easy way out and limits everyone to 500 mb. The solution lies with proper code being programmed into iMovie itself, apparently.
-
I have RedHat 6.1 and Oracle 8.0.5 on Dell with 2xPII and 1.5GB RAM, kernel 2.2.14. When I set in kernel option 2GB RAM, make it, I can set max 70MB shared memory pool in init.ora. With 1GB RAM in kernel, I can set 419MB shared memory pool (its max from standard shmparam.h).
Question: How I can set > 419MB shared memory pool with 1.5GB RAM?
Thanks for all answers.
JirkaThe problem is the default address for mmap, you can solve the problem changing the SGA address, a good choice is 0x40000000, the procedure is:
Shutdown all your instances
cd $ORACLE_HOME/rdbms/lib
genksms -b 0x40000000 > ksms.s
make -f ins_rdbms.mk ksms.o
make -f ins_rdbms.mk ioracle
I can get up to 1 GB SGA in my 2GB machine -
Oracle 8.1.7.4 32 bit and SGA size
hi gurus,
OS : solaris 5.8 64 bit
Oracle: 8.1.7.4 32 bit
i have seen documents saying that maximum SGA allocation possible is only 1.75 GB due to 32 bit application limitation.
is there a way in which we can allocate > 1.75 GB for the SGA granules?
any option like /AWE in windows?
thanks,
charlesOS : solaris 5.8 64 bit
Oracle: 8.1.7.4 32 bitAs far as i know mixing 32-bit database and 64-bit operating system is not supported - as 8i is.
Anyway with a 32-bit database you are basically limited to 2 GB per process. You can use "indirect_data_buffer" which will
enable you to increase your database block buffers > 2 GB....
Ronny Egner
My blog: http://blog.ronnyegner-consulting.de
Maybe you are looking for
-
Hi I'm trying to use the report layout service to delete a layout, but it is always giving a error. I'm most probably doing something silly,here is the code. Please let me know if you see a problem Try Dim oReportLayout As SAPbobsCOM.ReportLayout Dim
-
Spry Vertical Menu Bar: Drop left? Arrows?
2 Questions: 1. I am trying to figure out how to make a spry vertical menu drop to the left instead of the right? Any ideas? 2. It appears that my arrows are the same color as my background, therefor they are not showing up until the hover color chan
-
hii i have another requirement like this where is doc type is serv1 i.e. service order then account assignment in item level should be f automaticaly beside material number is given there how can i do this ?? pz help as it is urgent and dear somnath
-
Can't run applet with appletviewer(java.io.FilePermission)
Guys, I am writing an applet and it has compiled fine but when I try running it with appletviewer, it spews out these error. I have changed permissions on my .class file and .html file. Can anyone help? It's pretty frustrating... ava.security.AccessC
-
Authorization with standard info objects
Hi Guys, I want a small clarification. Is it true that Authorization cannot be done for the Standard Infobject, we need to create reference objecs to the standard objects, and the master data of the standard object would be passed to the reference ob