Recommended init.ora values for PROD setup
Hi All,
-Assuming that I am using a 64-bit version of Oracle,
-that there is nothing else running on the server,
-that there will be no other databases on the server,
-that I have substantially more data on disk than I have RAM,
-and that I am using 11g. I want to setup a production database 11g. The server specs is OEL 5.6 with 12Gb Ram and a Quadcore CPU.
There will be 200 users simultaneously accessing the database. I understand that 10g and 11g are "self-tuning".
So in this regard do I need to still change values in the default init.ora?
Can you give me sample PROD template of your init.ora?
Or maybe since my RAM is 12Gb I will just set the "target SGA = 8Gb" and the database will now be good?
Thanks,
Yx
Edited by: yxes2013 on 8.2.2013 16:21
Adding Justin's assumptions
I Thank you all :)
You need to understand what the memory is used for. Please read the documentation on SGA and PGA components and parameters and how they impact performance.Yeah I read it already....but it does not clearly explain like what all you did here ;)
Hmm interesting....I got lots of tips learned. So If I have 500Gb data (im sure it does not include index right?) Broken into the following:
Table1 300Gb
Table2 100Gb
Table3 50Gb
Table4 30Gb
Table5 10Gb
Table6 5Gb
Others 5Gb ( comprised of hundreds of tables)
Do I need to have my memory target SGA equal to 500Gb to attain a maximum performance? supposing memory is not a budget constraint?
Supposing Table6 is the most frequentlly read/accessed and I want to load/cache it all in the memory so I do not need to index this table, how can I do it?
What is the rule of thumb of PGA size against the size of the table? Maybe 20% sorting of the most accessed table?
@Justin
**10 sessions doing data warehouse queries will probably need more PGA than 1000 sessions doing OLTP queries.
**I'd probably start with a MEMORY_TARGET of 10 or 11G. How about the approx. PGA size dear? :)
@Hemant
It is more the amount of data and some factoring for the number (volume) of changes to the data.
The number of users matters in terms of sizing memory for server processes, and some allocation of the SHARED_POOL_SIZE, not for the DB_CACHE_SIZE component.
If more users means more distinct SQL statements, the SHARED_POOL_SIZE usage would be greater.
However, multiple users accessing the same version of the data will be "sharing" one buffer in memory for each block of data being accessed. It doesn't matter if 1 user is reading a block or 8 or 64 or 128 users are reading the same block -- in either case it is one buffer in memory.
It is only if the block is frequently being changed and concurrently queried, might there be current and a few consistent versions of the buffer being maintained in the SGA.I think in 11g I do not need to set those because it is "self-tuning" right? All I need is the target SGA size. :)
Given that I will perform a "benchmark" test/simulation on the DEV server. Is there a tool that will gather the right sizing of init.ora parameters? Can I extract it from AWR report?
Thanks to all again,
Yxz
Similar Messages
-
Init.ora parameters for banking application
hi
i would like know guidelines for setting
init.ora parameters for database, to handle
load of 2 million transactions per day,with
RAC setup for high availability.
thanksYou will get best practices from your production experiences and good advisors that oracle 10 has provided to you.
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14223/toc.htm -
Setting of init.ora file for 500 users
how to set diffrents parameters in init.ora file
for 500 user
(hybrid system)(oltp+dss)
thanksYeah, it depends and you will need to adjust thoses parameters during the "life" of the database.
I give you some of my thoughts (that's just thoughts, not a rule => there is no perfect rule) :
500 users = Unix box i guess so :
If MTS (dont think u need MTS for 500 users) => SGA = 75% of the RAM of the server
If NOT MTS (dedicated processes) => SGA = 50% of the RAM
Say 2GB of RAM on no MTS :
buffer cache = 900 MB
shared pool = 100MB to 200 MB
sort_area_size = 256KB
something like 50 to 100 RBS (depends on how many users are connected simultaneously)
for the users which will not do some OLTP operations, you should make few BIG RBS and assign their transactions to them. for thoses users, you probably need a bigger sort_area_size.
all the tablespaces LOCALLY MANAGED
backup with RMAN
Fred -
How to establish a single init.ora file for 3 node RAC under ASM
All,
Our environment is a combination of several different memory sized SUN machines (V880, V490 & 250R).
Setting up a single init.ora file that encompasses each of the nodes memory into the SGA sizing is our desired setup.
Though we have established the file, the question is getting each NODE on the RAC to use that single parameter
file to start its database instead of taking the default init.ora file in the default (asm/dbs) directory.
As we have performed fail-over testing, upon the restart of instances they have restarted with wrong memory
definitions that have hung the nodes when it took more memory then what was available and swap space began
to grow.
Steps to configure and enable this process is what I am looking for.
Thanks
GerryGerry,
Here's what we do. Not sure if it is relevant to your situation ...
(on each node)
$ cat $ORACLE_HOME/dbs/initrac11d1.ora
SPFILE='+DATA/rac11d/spfilerac11d.ora'
(in ASM)
$ asmcmd
ASMCMD> ls -la +data/rac11d
Type Redund Striped Time Sys Name
Y CONTROLFILE/
Y DATAFILE/
Y ONLINELOG/
Y PARAMETERFILE/
Y TEMPFILE/
N spfilerac11d.ora => +DATA/RAC11D/PARAMETERFILE/spfile.267.685170285
The spfile has all parameters, qualified by node where applicable. For example :
$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Wed May 6 19:00:45 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
With the Real Application Clusters option
SQL> create pfile='/tmp/sb.ora' from spfile;
File created.
SQL> Disconnected from Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
With the Real Application Clusters option
$ cat /tmp/sb.ora
*.archive_lag_target=1800
*.audit_file_dest='/var/oracle/admin/rac11d/adump'
rac11d1.dispatchers='(address=(protocol=tcp)(host=msdbc11-vip)(port=64000))'
rac11d2.dispatchers='(address=(protocol=tcp)(host=msdbc12-vip)(port=64000))'
*.global_names=TRUE
rac11d1.instance_number=1
rac11d2.instance_number=2
rac11d1.undo_tablespace='UNDOTBS1'
rac11d2.undo_tablespace='UNDOTBS2'
Hope this helps,
Steve -
Init ora file for 2000 server oracle
i'm running 9.02 on windows 2000. How do i find out which init ora file the start services is picking up. I looked it up in the registry and it wasn't obvious.
thanksHi,
All oracle parameters registry related can be found in the book for window. If you don't see the init which is pointing to it is going to the default. Look in ORACLE_HOME\database
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/win.920/a95491/admin.htm#1004903
Best,
EA -
Bestpractice init.ora parameters for data warehouse in 10gR2
Hi,
We moved our 1Tera data warehouse database to linux 64 bit , 8 cpu , 8GB memory, with ASM (non RAC).
Could you please recommand best practice setting init.ora parameters in 10g
DW to achive the best performace ?
I set the following parameters:
parallel_adaptive_multi_user=TRUE
parallel_execution_message_size=2152
parallel_min_server=0
parallel_max_server=135
parallel_threads_per_cpu=2
db_file_multi_block_read_count=64
pga=900m
query_rewrite_enabled=true
star_transformation_enabled=true
db_block_size=32k
sga_target=3g
statistic_leve=typical
undo_management=auto
workarea_aize_policy=auto
db_cache_advice=on
disk_async_io=true
2. What setting would you recommand regrading the following parameters in DW (and ASM):
-- filesystemio_option :none | setall | directIO | asynch
Thank You.You will get best practices from your production experiences and good advisors that oracle 10 has provided to you.
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14223/toc.htm -
Changing init-param value for servlet filter after deployment
Is it possible to change the <param-value> of a servlet filter's <init-param> for a deployed app through Weblogic Console? Can't seem to find a place in the console where this is exposed.
The <init-param> of course is specified in web.xml as:
<filter>
<filter-name>foo</filter-name>
<filter-class>bar</filter-class>
<init-param>
<param-name>name</param-name>
<param-value>value</param-value>
</init-param>
</filter>Hi,
U can use "Plan.xml" feature provided by WLS to change the Deployment Descriptor values without Editing Physically inside your WAR or EAR or JAR application.
Please refer to:
http://forums.oracle.com/forums/thread.jspa?threadID=1107834
http://weblogic-wonders.com/weblogic/2009/12/16/updating-cookiename-using-plan-xml/
http://weblogic-wonders.com/weblogic/2010/03/14/adding-workmanager-using-plan-xml-to-a-war-file/
Thanks
Jay SenSharma
http://weblogic-wonders.com (Middleware Wonders Are Here) -
Oracle 11g init.ora parameter settings
Hi Friends,
Oracle 11.2.0.1.0 on Suse Linux.
Can you please let me know what are the things need to be followed while setting init.ora parameters for the database?
And, can you please suggest me the best init.ora settings for the database?
Thanks
KSGHi JL Sir,
Thanks for your valuable guidance.
We have finally come up with the init.ora parameters. Please review and guide me further.
NAME VALUE
tracefiles_public TRUE
tracefile_identifier
processes 100
sessions 120
timed_statistics TRUE
timed_os_statistics 0
resource_limit TRUE
license_max_sessions 0
license_sessions_warning 0
cpu_count 2
instance_groups
event
shared_pool_size 268435456
sga_max_size 1075800904
shared_pool_reserved_size 13421772
large_pool_size 16777216
java_pool_size 167772160
java_soft_sessionspace_limit 0
java_max_sessionspace_size 0
pre_page_sga FALSE
shared_memory_address 0
hi_shared_memory_address 0
use_indirect_data_buffers FALSE
lock_sga FALSE
spfile ?/dbs/[email protected]
lock_name_space
enqueue_resources 1542
trace_enabled TRUE
nls_language american
nls_territory america
nls_sort
nls_date_language
nls_date_format DD-MON-RR
nls_length_semantics BYTE
nls_nchar_conv_excp FALSE
filesystemio_options asynch
disk_asynch_io TRUE
tape_asynch_io TRUE
dbwr_io_slaves 0
backup_tape_io_slaves FALSE
resource_manager_plan
cluster_interconnects
file_mapping FALSE
active_instance_count
control_files /u020/oradata/mecdb/control01.ctl, /u021/oradata/mecdb/control02.ctl, /u026/or
adata/mecdb/control03.ctl
db_file_name_convert
log_file_name_convert
db_block_buffers 0
db_block_checksum TRUE
db_block_size 8192
db_writer_processes 1
db_keep_cache_size 0
db_recycle_cache_size 0
db_2k_cache_size 0
db_4k_cache_size 0
db_8k_cache_size 0
db_16k_cache_size 0
db_32k_cache_size 0
db_cache_size 134217728
buffer_pool_keep
buffer_pool_recycle
db_cache_advice ON
max_commit_propagation_delay 700
compatible 11.2.0
remote_archive_enable true
log_archive_start TRUE
log_archive_dest /app/oracle/admin/mecdb/arch
log_archive_duplex_dest
log_archive_max_processes 2
log_archive_min_succeed_dest 1
standby_archive_dest ?/dbs/arch
log_archive_trace 0
fal_server
fal_client
log_archive_format mecdb_T%t_S%S.arc
log_buffer 1048576
log_checkpoint_interval 100000
log_checkpoint_timeout 72000
archive_lag_target 0
log_parallelism 1
db_files 1022
db_file_multiblock_read_count 16
read_only_open_delayed FALSE
cluster_database FALSE
parallel_server FALSE
parallel_server_instances 1
cluster_database_instances 1
standby_file_management MANUAL
gc_files_to_locks
thread 0
fast_start_io_target 0
fast_start_mttr_target 0
log_checkpoints_to_alert FALSE
recovery_parallelism 0
control_file_record_keep_time 7
logmnr_max_persistent_sessions 1
dml_locks 500
row_locking always
serializable FALSE
replication_dependency_tracking TRUE
instance_number 0
transactions 132
transactions_per_rollback_segment 5
max_rollback_segments 30
rollback_segments
transaction_auditing TRUE
undo_management AUTO
undo_tablespace undo1
undo_suppress_errors TRUE
undo_retention 900
fast_start_parallel_rollback LOW
db_block_checking FALSE
os_roles FALSE
rdbms_server_dn
max_enabled_roles 40
remote_os_authent FALSE
remote_os_roles FALSE
O7_DICTIONARY_ACCESSIBILITY TRUE
remote_login_passwordfile EXCLUSIVE
dblink_encrypt_login FALSE
license_max_users 0
global_context_pool_size
audit_sys_operations FALSE
db_domain world
global_names FALSE
distributed_lock_timeout 60
commit_point_strength 1
instance_name mecdb
service_names mecdb.world
dispatchers
mts_dispatchers
shared_servers 0
mts_servers 0
max_shared_servers 20
mts_max_servers 20
max_dispatchers 5
mts_max_dispatchers 5
circuits 0
mts_circuits 0
shared_server_sessions 0
mts_sessions 0
local_listener mecdb_lsnr
remote_listener
mts_service mecdb
mts_listener_address
mts_multiple_listeners FALSE
serial_reuse DISABLE
cursor_space_for_time FALSE
session_cached_cursors 0
remote_dependencies_mode TIMESTAMP
utl_file_dir *
plsql_v2_compatibility FALSE
plsql_compiler_flags INTERPRETED
plsql_native_c_compiler
plsql_native_linker
plsql_native_library_dir
plsql_native_make_utility
plsql_native_make_file_name
plsql_native_library_subdir_count 0
job_queue_processes 1
parallel_min_percent 0
create_bitmap_area_size 8388608
bitmap_merge_area_size 1048576
cursor_sharing EXACT
parallel_min_servers 0
parallel_max_servers 5
parallel_instance_group
parallel_execution_message_size 2152
hash_join_enabled TRUE
hash_area_size 131072
shadow_core_dump partial
background_core_dump partial
background_dump_dest /app/oracle/admin/mecdb/bdump
user_dump_dest /app/oracle/admin/mecdb/udump
max_dump_file_size 102400000
core_dump_dest /app/oracle/admin/mecdb/cdump
audit_file_dest /app/oracle/admin/mecdb/adump
hpux_sched_noage 0
oracle_trace_enable FALSE
oracle_trace_facility_path ?/otrace/admin/fdf
oracle_trace_collection_path ?/otrace/admin/cdf
oracle_trace_facility_name oracled
oracle_trace_collection_name
oracle_trace_collection_size 5242880
object_cache_optimal_size 102400
object_cache_max_size_percent 10
session_max_open_files 10
open_links 4
open_links_per_instance 4
optimizer_features_enable 11.2.0
fixed_date
audit_trail DB
sort_area_size 65536
sort_area_retained_size 0
db_name mecdb
open_cursors 200
ifile
sql_trace FALSE
os_authent_prefix ops$
optimizer_mode CHOOSE
sql92_security FALSE
blank_trimming FALSE
partition_view_enabled FALSE
star_transformation_enabled FALSE
parallel_adaptive_multi_user FALSE
parallel_threads_per_cpu 2
parallel_automatic_tuning FALSE
optimizer_max_permutations 2000
optimizer_index_cost_adj 100
optimizer_index_caching 0
query_rewrite_enabled false
query_rewrite_integrity enforced
sql_version NATIVE
pga_aggregate_target 536870912
workarea_size_policy auto
optimizer_dynamic_sampling 1
statistics_level TYPICAL
aq_tm_processes 0
hs_autoregister TRUE
dg_broker_start FALSE
drs_start FALSE
dg_broker_config_file1 ?/dbs/[email protected]
dg_broker_config_file2 ?/dbs/[email protected]
olap_page_pool_size 33554432
Thanks
KSG
Edited by: KSG on Apr 27, 2011 1:39 PM -
Hi,
I changed the init.ora file for some reason and I have applied some patches in OS(microsoft windows 2003 server) and i noticed in the init.ora file that all changes in the init.ora file gone !!
Can someone explain me, what was the reason behind that ?
Thanks in advance.Hi,
<humor>You have to check urgently for the green little pfile changer halfling!</humor>
Seriously.. did you do both at the same time? If so... are you sure you save the init file? Cause there's no way such changes are rolled back except if you did not saved the file... or restored an old version of your pfile!
Regards,
Yoann ;-) -
Hello,
I need to change the init.ora file to point to spfile, such as spfile='D:\oracle\product\11.2.0\db_1\database\spfile.ora'
currently the init.ora has all the variables that spfile has, but we would like to point to spfile from init.ora file.
for this do I have to restart the database to add the above command to init.ora file?
what are the other impacts, if I change init.ora to point ot spfile while the DB is online?
Thanks....792290 wrote:
Hello,
I need to change the init.ora file to point to spfile, such as spfile='D:\oracle\product\11.2.0\db_1\database\spfile.ora'
currently the init.ora has all the variables that spfile has, but we would like to point to spfile from init.ora file.
for this do I have to restart the database to add the above command to init.ora file?
what are the other impacts, if I change init.ora to point ot spfile while the DB is online?
Thanks....
Assuming your pfile is using the default name in the default location ...
sql> conn / as sysdba
sql> shutdown immediate
sql> create spfile from pfile;
sql> startup;
sql> show parameter spfile
done.
At this point you should be running entirely off the spfile. The pfile is irrelevant, though as Joel mentioned, it's not a bad thing to recreate it from the spfile occasionally and back it up.
-- edit several hours later ...
I should have mentioned that that init file does NOT have an 'ifile' reference to the spfile. -
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
Hi All,
I am trying to start my oracle 11g database on windows 7 PC and i am getting below exception
SQL> startup mount
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
ORA-48140: the specified ADR Base directory does not exist [d:\oracle\app\product\11.2.0\dbhome_1\database\<oracle_base>]
ORA-48187: specified directory does not exist
OSD-00002: additional error information
O/S-Error: (OS 123) The filename, directory name, or volume label syntax is incorrect.
SQL>
Earlier it was working fine. For learning purpose, i have created spfile using pfile and after that i got this issue.
Please help.
Regards,
Sunilsunil907 wrote:
Hi,
I have provided diagnostic_dest folder location (physical path). Now i am getting some different kind of error on startup.
SQL> startup
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2182592 bytes
Variable Size 616563264 bytes
Database Buffers 444596224 bytes
Redo Buffers 5595136 bytes
ORA-00205: error in identifying control file, check alert log for more info
Please help
What does your own research of 'ORA-00205' indicate?
the text of the error message is pretty self explanatory .. it couldn't find the control file.
The control files are specified by the "control_files" initialilzation paramter. When you get this error, the instance has started but was unable to mount the control file. since the init file (spfile) was processed and the instance started you can easily see what it thinks are the control files.
oracle:fubar$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jul 16 12:51:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 835104768 bytes
Fixed Size 2217952 bytes
Variable Size 490735648 bytes
Database Buffers 339738624 bytes
Redo Buffers 2412544 bytes
ORA-00205: error in identifying control file, check alert log for more info
SQL> show parameter control
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string /u01/app/oracle/oradata/FUBAR/
controlfile/o1_mf_8ybx4t7w_.ct
x, /u01/app/oracle/flash_recov
ery_area/FUBAR/controlfile/o1_
mf_8ybx4tom_.ctl
control_management_pack_access string NONE
SQL>
So what did you do in fixing your original problem that caused your control_files parameter to go south? -
Oracle 10g R2 for Windows ignores init.ora and registry values
Hello,
I have a strange issue. I try to set some parameters for Oracle but it doesn't seem to work.
Here the story:
I created the DB with the DBCA under windows and set my init parameter at frist creation with 3 important values:
OS_AUTHENT_PREFIX = ""
REMOTE_OS_AUTHENT=TRUE
remote_login_passwordfile=EXCLUSIVE
this values are in the Registry and the init.ora and the init.ora.7192011143454 in ORAHOME_DB/scripts and pfile
I've now changed these parameters in the init.ora and registry to:
OS_AUTHENT_PREFIX = ""
REMOTE_OS_AUTHENT=FALSE
remote_login_passwordfile=EXCLUSIVE
and restarted the whole system - after the restart I checked the value for REMOTE_OS_AUTHENT:
show parameter remote_os_authent
NAME TYPE VALUE
remote_os_authent boolean TRUE
It keeps true. But why it keeps true why I can't change this value anymore after the DBCA?
Do I miss something?
Thanks
Edited by: ioGLNX on 22.08.2011 04:18show parameter spfile;
NAME TYPE VALUE
spfile string C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEMACSCURR.ORA
NAME TYPE VALUE
I have created a new spfile from my init.ora with:
create spfile='C:\oracle\product..toMyInstanceDbs\ioglnx.ora' from pfile='C:\pathToPfile\DBHOME\scripts\init.ora'
So the problems as it seem to me to instrcut oracle to use my new spfile...in Windows. -
How to choose optimal value for the OPEN_CURSOR parameter in init.ora?
15:05:35 SQL> select count(*) from v$open_cursor;
COUNT(*)
5159
15:06:28 SQL> select count(*) from v$open_cursor WHERE user_name='USER1';
COUNT(*)
2369
15:06:48 SQL> select count(*) from v$open_cursor WHERE user_name='USER2';
COUNT(*)
686
Currently, application using these number of open cursors?
How to set the optimal value for this application?Hi,
>>With the above setting I have yet to get any errors due to cursor limits. A good trade off memory v issues.
To see if you have set OPEN_CURSORS high enough, monitor v$sesstat dynamic performance view using the SQL below for the maximum opened cursors. If your sessions are running close to the limit, maybe you should increase the value of OPEN_CURSORS.
select max(a.value) as highest_open_cur, p.value as max_open_cur
from v$sesstat a, v$statname b, v$parameter p
where a.statistic# = b.statistic#
and b.name = 'opened cursors current'
and p.name= 'open_cursors'
group by p.value;In addition, I advise you to take a look at your PL/SQL code in order to see if the explicit cursors have been close (if it was the case), or if your SQL code can be tuned ...
Cheers
Legatti -
Best config for init.ora
Hi,
I am using
OS:win 2k8 server 32 bit
Oracle Database:11g EE 11.2.0.1.0
RAM: 8GB
Like to now what is the best config parmaters for a OLTP with maximum of 100 users at the time
When i use the DBCA command i got the template of init.ora
where i am not seeing anything for PGA or SGA.
if i run the
SQL> show parameter db_cache_size
NAME TYPE VALUE
db_cache_size big integer 0
SQL> show sga
Total System Global Area 778387456 bytes
Fixed Size 1374808 bytes
Variable Size 486540712 bytes
Database Buffers 285212672 bytes
Redo Buffers 5259264 bytes
SQL> show parameter target
NAME TYPE VALUE
archive_lag_target integer 0
db_flashback_retention_target integer 1440
fast_start_io_target integer 0
fast_start_mttr_target integer 0
memory_max_target big integer 1232M
memory_target big integer 1232M
parallel_servers_target integer 16
pga_aggregate_target big integer 0
sga_target big integer 0
INIT.ORA(DBCA Configuration)
db_block_size=8192
open_cursors=300
db_domain=""
db_name=mydb
control_files=
db_recovery_file_dest=
db_recovery_file_dest_size=5218762752
compatible=11.2.0.0.0
diagnostic_dest=
memory_target=1287651328
processes=150
audit_file_dest=
audit_trail=db
remote_login_passwordfile=EXCLUSIVE
dispatchers="(PROTOCOL=TCP) (SERVICE=MYDBXDB)"
undo_tablespace=UNDOTBS1
Is the current setting is good or i need to fine tune my parameters
Max of 20 million records from max of 100 users per day
Your suggestions would be helpful for my configutations
Thanks in advance.You cant generalize performance configuration. If it can be oracle would have don it. Fine tuning of parameter values is a on going process. Its not like you set it one and its done. You need to monitor it constantly and tune it on need basis.
Said that, the first thing that caught me is the setting of SGA_TARGET and PGA_AGGREGATE_TARGET. Both are set to 0 meaning Automated memory management is turned off.
Run the following two query
select name
, value
from v$parameter
where upper(name) = 'PGA_AGGREGATE_TARGET'
or upper(name) = 'WORKAREA_SIZE_POLICY'
or upper(name) like '%\_AREA\_SIZE' escape '\';
select name
, value
from v$parameter
where upper(name) in (
'SGA_TARGET'
, 'DB_CACHE_SIZE'
, 'SHARED_POOL_SIZE'
, 'LARGE_POOL_SIZE'
, 'JAVA_POOL_SIZE'
, 'STREAMS_POOL_SIZE'
This will indicate the memory related parameters that are manually set in your environment. -
ORA-30689: improper value for ORA_DEBUG_JDWP
I'm setting up PL/SQL debugging from an ASP.Net application. I've followed all of the steps from cshay's blog. I am able to debug and connect directly from the Oracle Explorer. My problem occurs when I run debug and try to step through from the .Net code.
Some things to Note:
We have a central library that uses .Net Reflection and the System.Data.OracleClient to instatiate connections and condense some SQL querying processes so that we don't have to parameterize and write full queries in the application over and over again. I cannot change this library.
The error listed above appears when I have the following setup:
* Oracle Application Debugging is checked
* VS 2005 asp.net web app
* Using the development (local) webserver
* Exception Details: System.Data.OracleClient.OracleException: ORA-30689: improper value for ORA_DEBUG_JDWP
* Process explorer properties say that the ORA_DEBUG_JDWP variable is set to host=machineName;port=49152
* web app comes up in http://localhost:xxxx
* When I ping machineName, I get my ip address
* When I ping localhost, I get the local ip 127.0.0.1
* Oracle db 9.2.0.6
* The error occurs when my application first trys to obtain a connection to the database (just a select statement and only when I have OADebuggin turned on)
Any help on this would be appreciated. Otherwise, I'll have to figure out why my SQL Developer instance won't debug correctly.
Thank you.
shellieThanks for the quick response Christian.
1) Are you using ODAC 11g beta?
Yes I downloaded it yesterday. In Visual studio in 'about' I have:
Oracle Developer Tools for Visual Studio .NET 11.1.0.5.10 Beta
Oracle Developer Tools for Visual Studio .NET Copyright (c) 2005, 2007
2) Are you setting ORA_DEBUG_JDWP anywhere? If so, what are you setting it to?
No I am not setting it anywhere. I used process explorer and when I debug it is set to my IP address (i.e. the host of my dev environment on W2K3 and not the Unix Server hosting Oracle) and port 49152.
I've also logged on the to Unix server and from there telneted into my W2K3 server on port 49512 and got a "JDWP-handshake" response so the network looks fine.
So ... #1 is Yes and #2 is No. So I followed your instructions ... and I got some expert oracle and unix assistance when i got the following ...
There is nothing in any trc file that has anything like "kqaccd: ORA_DEBUG_JDWP". A grep "DEBUG" *.trc shows nothing anywhere.
Another bit of info .... I get a ORA_DEBUG_JDWP type of error from time to time. Seems mainly to be on connections to databases that I've connected to before. If I close VS2005 and re-open VS2005 - everything is back to normal.
I can step into and run s.p. directly from VS2005 so that's something.
(Also another thing I noticed is that even though I'm logged own as the schema owner I can not change/re-order columns in an index as they are greyed out. Also - and this is not good as I would like developers to be able to optimise their queries - you can not scroll through the list of columns in an index if the list of columns is larger than the list box. I can live without the former but the later is highly desirable.)
Thanks for your help with this Christian. (I really like ODT and can see it becoming indespensible very quickly).
Cheers,
Chris.
Maybe you are looking for
-
Error while deploying app in epma
Hi All, I got the below error when trying to deploy the sample planning application through empa. I selected Hyperion System 9 BI+ as Shared Services Project. What steps should I make to solve this problem? Thx Andy ERROR com.hyperion.awb.web.appmana
-
Photo sync not working properly to my ATV
I am doing a custom sync -> selected albums -> and I chose specific events in the list. The album I select might contain 100 images, however only 3 sync (and the #3 appears in the events field in iTunes). What is keeping the rest of the photos from s
-
Public Holiday Class field in IDOC WORKSCHED_WITH_COST
Hi Experts, Good day..! Well we are working on a integration project between external rostering system & CATS. As part of the integration we are supposed to send Work Schedules (Planned hours) from external system to Cats. On investigation we found I
-
I am unable to send photo's in my apps anymore
I have only recently been receiving msgs, saying server cannot load photos, or msgs similar, on most of my social media aps. I have tried deleting the app, tried uninstalling the apps, have tried forced resets, have tried reseting wi-fi and nothing s
-
Hello All, Good Day! I have encountered error while running CJ88 WBS settlement, according to it: "Data Inconsistency: Parallel depr. area is not posted" Message no. AAPQ104 What is the possible cause of this? Please advice. Thanks in advance! Jhero