| Author |
Message |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Wed Dec 01, 2004 11:14 pm Subject: DB2 Performance improvement |
Thanks Kosulu,
I did. It did not improve. DBA is on leave this week, and after he returns, I shall put before him the various options, and let him decide.
Regards,
Satyam.. |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Mon Nov 29, 2004 11:03 pm Subject: DB2 Performance improvement |
| Can you advise or provide any suggestions for this performance resolution. |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Mon Nov 29, 2004 11:01 pm Subject: DB2 Performance improvement |
Option 3:
EXEC SQL DECLARE NFOPEN1 CURSOR FOR
SELECT
CDBKXX_SERNUM
, CDBKXX_TRANQUAL
, CDBKXX_SEQNUM ... |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Mon Nov 29, 2004 11:00 pm Subject: DB2 Performance improvement |
Option 2:
EXEC SQL DECLARE NFSET1 CURSOR FOR
SELECT
A.CDBKXX_SERNUM
, A.CDBKXX_TRANQUAL ... |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Mon Nov 29, 2004 10:58 pm Subject: DB2 Performance improvement |
Option 1:
EXEC SQL DECLARE NFSET1 INSENSITIVE SCROLL CURSOR FOR
SELECT
A.CDBKXX_SERNUM
, A.CD ... |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Mon Nov 29, 2004 10:56 pm Subject: DB2 Performance improvement |
| Few options were tried today as listed below |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Mon Nov 29, 2004 10:56 pm Subject: DB2 Performance improvement |
This change did not yield results, as per the following mail
The program ITSSD988 is not picking up the new index created because SELECT
clause has all the columns and DB2 think that it will be doub ... |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Mon Nov 29, 2004 10:55 pm Subject: DB2 Performance improvement |
Performance Stats : 422K Excp Counts & 08.23 mins.
The problem was 26 buffers were needed thus depleting db2 buffer resources for other jobs, hence DBA |
Topic: DB2 Performance improvement |
satya_reddy
Replies: 9
Views: 5442
|
Forum: Database Posted: Mon Nov 29, 2004 10:54 pm Subject: DB2 Performance improvement |
Current SQL Query in production is
EXEC SQL DECLARE NFOPEN1 CURSOR FOR
SELECT
CDBKXX_SERNUM
, CDBKXX_TRANQUAL
... |
Topic: remnent from SQL Challenge Question 1 |
satya_reddy
Replies: 6
Views: 3718
|
Forum: Database Posted: Mon Nov 29, 2004 9:16 pm Subject: remnent from SQL Challenge Question 1 |
SELECT C.ADLPPLNCD
,SUM(CASE WHEN MN = :MONTH-1 THEN C.CNT ELSE 0 END)
,SUM(CASE WHEN MN = :MONTH-2 THEN C.CNT ELSE 0 END)
,SUM(CASE WHEN MN = :MONTH-3 ... |
Topic: remnent from SQL Challenge Question 1 |
satya_reddy
Replies: 6
Views: 3718
|
Forum: Database Posted: Mon Nov 29, 2004 9:11 pm Subject: remnent from SQL Challenge Question 1 |
Thanks Kosulu for your help as it really helped me. I am back from a long vacation. The production run was also good.
I used the above query to populate host variables and used in the following qu ... |
Topic: remnent from SQL Challenge Question 1 |
satya_reddy
Replies: 6
Views: 3718
|
Forum: Database Posted: Fri Oct 01, 2004 12:16 am Subject: remnent from SQL Challenge Question 1 |
ID Mon1 Mon2 Mon3 Mon4 Mon5 Mon6 Mon7 Mon8 Mon9 Mon10 Mon11 Mon12
Key1 1 0 0 0 0 0 1 1 0 0 0 3
Key2 0 0 0 1 ... |
Topic: remnent from SQL Challenge Question 1 |
satya_reddy
Replies: 6
Views: 3718
|
Forum: Database Posted: Thu Sep 30, 2004 11:59 pm Subject: remnent from SQL Challenge Question 1 |
Thanks Kolusu. I wanted the data for the last 12 months, beginning from the current month. The query, I am trying to test is as below.
SELECT C.ID ... |
Topic: remnent from SQL Challenge Question 1 |
satya_reddy
Replies: 6
Views: 3718
|
Forum: Database Posted: Thu Sep 30, 2004 7:27 am Subject: remnent from SQL Challenge Question 1 |
Hi all,
Before I start, thanks to Kolusu, for the good SQL Challenge Question 1. I used it in multiple examples. One visualization is getting complicated. I do not know, If I can get the output the d ... |
Topic: how to retrieve tot count in COUNT col when mo & ye are |
satya_reddy
Replies: 2
Views: 1435
|
Forum: Database Posted: Wed Sep 22, 2004 11:46 am Subject: how to retrieve tot count in COUNT col when mo & ye are |
Thanks Kolusu, this helped me.
Satya... |
| |