 |
|
| Computers Forum Index » Computer - Databases - IBM DB2 » query not going away!!!! help!!... |
|
Page 1 of 1 |
|
| Author |
Message |
| Arun Srinivasan... |
Posted: Wed Sep 09, 2009 1:06 pm |
|
|
|
Guest
|
There's this query
select * from tab1 order by column1,column2;
and the table is 1.7 billion rows . The user says he has cancelled it
(a java based db tool), and I am trying to do this
bcut:~> db2 "force application(22511)"
DB20000I The FORCE APPLICATION command completed successfully.
DB21024I This command is asynchronous and may not be effective
immediately.
bcut:~> db2 "force application(22511)"
DB20000I The FORCE APPLICATION command completed successfully.
DB21024I This command is asynchronous and may not be effective
immediately.
It simply isn't going away. Its using 183 million is the cost, using
loads of resources. It's a pain now.
Also, I've asked my lead dba to implement workload management, and he
hasn't done it. I got a redbook that explains this in
detail. I don't have the time or patience to read it.
Any concise , to the point guide?
I am using db2 version 9.5
DB21085I Instance "bculinp" uses "64" bits and DB2 code release
"SQL09053"
with level identifier "06040107".
Informational tokens are "DB2 v9.5.0.3", "s081210", "MI00269", and Fix
Pack
"3a".
Product is installed at "/opt/IBM/dwe/db2/V9.5". |
|
|
| Back to top |
|
|
|
| whatever... |
Posted: Wed Sep 09, 2009 5:56 pm |
|
|
|
Guest
|
On Sep 9, 9:06 am, Arun Srinivasan <arunro... at (no spam) gmail.com> wrote:
Quote: There's this query
select * from tab1 order by column1,column2;
and the table is 1.7 billion rows . The user says he has cancelled it
(a java based db tool), and I am trying to do this
bcut:~> db2 "force application(22511)"
DB20000I The FORCE APPLICATION command completed successfully.
DB21024I This command is asynchronous and may not be effective
immediately.
bcut:~> db2 "force application(22511)"
DB20000I The FORCE APPLICATION command completed successfully.
DB21024I This command is asynchronous and may not be effective
immediately.
It simply isn't going away. Its using 183 million is the cost, using
loads of resources. It's a pain now.
Also, I've asked my lead dba to implement workload management, and he
hasn't done it. I got a redbook that explains this in
detail. I don't have the time or patience to read it.
Any concise , to the point guide?
I am using db2 version 9.5
DB21085I Instance "bculinp" uses "64" bits and DB2 code release
"SQL09053"
with level identifier "06040107".
Informational tokens are "DB2 v9.5.0.3", "s081210", "MI00269", and Fix
Pack
"3a".
Product is installed at "/opt/IBM/dwe/db2/V9.5".
Is this a Straight Forward Select statement or any HASH JOIN's ? If
there are any HASH JOINs then that query cannot be forced. U have to
upgrade to FP4
Cheers
Shashi Mannepalli |
|
|
| Back to top |
|
|
|
| Arun Srinivasan... |
Posted: Thu Sep 10, 2009 12:30 pm |
|
|
|
Guest
|
On Sep 9, 10:56 pm, whatever <audheya2... at (no spam) gmail.com> wrote:
Quote: On Sep 9, 9:06 am, Arun Srinivasan <arunro... at (no spam) gmail.com> wrote:
There's this query
select * from tab1 order by column1,column2;
and the table is 1.7 billion rows . The user says he has cancelled it
(a java based db tool), and I am trying to do this
bcut:~> db2 "force application(22511)"
DB20000I The FORCE APPLICATION command completed successfully.
DB21024I This command is asynchronous and may not be effective
immediately.
bcut:~> db2 "force application(22511)"
DB20000I The FORCE APPLICATION command completed successfully.
DB21024I This command is asynchronous and may not be effective
immediately.
It simply isn't going away. Its using 183 million is the cost, using
loads of resources. It's a pain now.
Also, I've asked my lead dba to implement workload management, and he
hasn't done it. I got a redbook that explains this in
detail. I don't have the time or patience to read it.
Any concise , to the point guide?
I am using db2 version 9.5
DB21085I Instance "bculinp" uses "64" bits and DB2 code release
"SQL09053"
with level identifier "06040107".
Informational tokens are "DB2 v9.5.0.3", "s081210", "MI00269", and Fix
Pack
"3a".
Product is installed at "/opt/IBM/dwe/db2/V9.5".
Is this a Straight Forward Select statement or any HASH JOIN's ? If
there are any HASH JOINs then that query cannot be forced. U have to
upgrade to FP4
Cheers
Shashi Mannepalli
This is straight forward order by query. IT was hung in 10th node. We
had to use a dsh - to all nodes to bring this down. wonder why doing
this in admin node alone can't do the job.
Anyway, any help with concise text on workload management would be
appreciated.
Thanks
arun |
|
|
| Back to top |
|
|
|
| amit... |
Posted: Thu Sep 10, 2009 1:53 pm |
|
|
|
Guest
|
On Sep 10, 7:30 am, Arun Srinivasan <arunro... at (no spam) gmail.com> wrote:
Quote: On Sep 9, 10:56 pm, whatever <audheya2... at (no spam) gmail.com> wrote:
On Sep 9, 9:06 am, Arun Srinivasan <arunro... at (no spam) gmail.com> wrote:
There's this query
select * from tab1 order by column1,column2;
and the table is 1.7 billion rows . The user says he has cancelled it
(a java based db tool), and I am trying to do this
bcut:~> db2 "force application(22511)"
DB20000I The FORCE APPLICATION command completed successfully.
DB21024I This command is asynchronous and may not be effective
immediately.
bcut:~> db2 "force application(22511)"
DB20000I The FORCE APPLICATION command completed successfully.
DB21024I This command is asynchronous and may not be effective
immediately.
It simply isn't going away. Its using 183 million is the cost, using
loads of resources. It's a pain now.
Also, I've asked my lead dba to implement workload management, and he
hasn't done it. I got a redbook that explains this in
detail. I don't have the time or patience to read it.
Any concise , to the point guide?
I am using db2 version 9.5
DB21085I Instance "bculinp" uses "64" bits and DB2 code release
"SQL09053"
with level identifier "06040107".
Informational tokens are "DB2 v9.5.0.3", "s081210", "MI00269", and Fix
Pack
"3a".
Product is installed at "/opt/IBM/dwe/db2/V9.5".
Is this a Straight Forward Select statement or any HASH JOIN's ? If
there are any HASH JOINs then that query cannot be forced. U have to
upgrade to FP4
Cheers
Shashi Mannepalli
This is straight forward order by query. IT was hung in 10th node. We
had to use a dsh - to all nodes to bring this down. wonder why doing
this in admin node alone can't do the job.
Anyway, any help with concise text on workload management would be
appreciated.
Thanks
arun- Hide quoted text -
- Show quoted text -
http://www.ibm.com/developerworks/data/bestpractices/workloadmanagement/?S_TACT=105AGX11&S_CMP=LP |
|
|
| Back to top |
|
|
|
|
|
All times are GMT
The time now is Fri Mar 12, 2010 2:51 pm
|
|