otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Database Administration Database installation, creation, administration and related topics.

Tags: ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 17th, 2007, 03:18
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 816
Blog Entries: 7
Thanks: 53
Thanked 199 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
[INSTRUCTIONS] Default Settings for New OTM DB

All,

Based on the OTM Admin Guide and some advice from an old G-Log friend (who did at ton of the DB development and performance work for GC3!), the following non-standard parameters are recommended for use with your new OTM v5.5 database

Note: I always recommend reviewing changes like this with a DBA that you trust. Please don't make these blindly and realize that the MAY NOT WORK FOR YOU.

Oracle 10gR2 - 10.2.0.3:
Code:
sga_target=2147483648
pga_aggregate_target=536870912
log_buffer=163840
sort_area_size=1048576
sort_area_retained_size=1048576
optimizer_mode='CHOOSE'
optimizer_index_cost_adj=50
optimizer_index_caching=50
statistics_level='ALL'
query_rewrite_enabled=TRUE
query_rewrite_integrity='trusted'
workarea_size_policy='AUTO'
Some of these may override your current settings, so ensure that you check your existing init file and replace/update any settings as necessary. To create a new init file, based on your current configuration, login to your DB as SYSDBA and run:
Code:
CREATE PFILE FROM SPFILE;
The shutdown your DB, and edit your init file. To apply these settings after editing your init file (my preferred way, but there are several others) - login to your DB as SYSDBA and run the following:
Code:
STARTUP PFILE='/u02/app/ora10g/product/10.2/tmsprd/dbs/initTMSPRDDB10G.ora'
CREATE SPFILE FROM PFILE;
Restart your DB one more time, just to be sure, and you're done.

Hope this helps!

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 20th, 2008, 11:39
Junior Member
 
Join Date: May 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Kristof Stevens is on a distinguished road
Re: [INSTRUCTIONS] Default Settings for New OTM DB

Currently we are using optimize Mode CHOOSE in OTM, but it seems the CHOOSE mode is desupported with Oracle 10g.
I created a new index on a high cost SQL and compared the optimize mode CHOOSE with FIRST_ROWS_10 or _100.Even with the nex index creation and with CHOOSE the SQL results in a table access full scan, costs 50984
When I changed into FIRST_ROWS_10 or 100, cost 72.

The cost reduced from 50984 to 72...Couldn't we consider to change our optimize mode from CHOOSE into FIRST_ROWS_10? What will be the impact into OTM?

If we are going to change database mode to first_rows, then there is maybe need to change mode with "alter session" to all_rows when running reports or big batch jobs.

Thx,

Kristof.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[INSTRUCTIONS] Applying OTM v5.5 CU3 RU03 chrisplough Patches 3 January 23rd, 2008 12:27
[SOLVED] How to avoid default screen sets when using smart links? Berra Branding, Screen Sets, XSL/CSS and Translations 5 January 7th, 2008 04:00
glog.ui.autocomplete - settings rj5316 Branding, Screen Sets, XSL/CSS and Translations 1 December 6th, 2007 10:01
[INSTRUCTIONS] Applying OTM v5.5 CU3 RU02 chrisplough Patches 0 October 4th, 2007 01:07
[INSTRUCTIONS] Applying CU2 RU01 chrisplough Patches 0 May 31st, 2007 21:16



All times are GMT. The time now is 00:12.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37