DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 28th, 2006, 01:52 PM
pcooke2002 pcooke2002 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 4 pcooke2002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 12 sec
Reputation Power: 0
Cloudscape 10.1 runtime statics

Hello;
I have been searching the internet about cloudscape and trying to tune the database for a specific sql query. After find several guides From various FAQ's on the internet running 'VALUES SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();' after a select statement should retrun various useful statics tuning my db.

If I write a simple select: "select * from customer;" the SYSCS_GET_RUNTIMESTATISTICS() returns some simple information. Nothing on the level of what is documented in the various cloudscape tuning guides. When I run my really complex business query, I get no statics. All that returns is the select statement.


Any suggestion on how to force cloudscape to verbosely tell me what it is doing and where it is spending it's time? Below is the sequence of steps I perform to get query statics.

CALL SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICS(1);

select MANY_COLUMNS, .... from INSANELY_COMPLEX_INNER_AND_OUTER_JOIN_QUERY_WITH_CORROLATED_SUBQUERIES_THAT_TAKES_THREE_SECONDS_IN_D B2_ON_IBM_MONSTER_MAINFRAME;

VALUES SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();

CALL SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICS(0);



Thanks for any help

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > Cloudscape 10.1 runtime statics


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway