Hi,
We have been using a long select-subselect query on a db2 server on
aix , the operation was taking nearly 4 minutes , but a mystical kind
of thing happened which we dont know, and the query started to take 6
hours , but mystically again by using the exported data from the aix
takes 6-10 minutes on the windows server.We couldnt explain the
situation. Any ideas ?
Ahmet Bilgili 6 1465
Compare the plans from Windows against AIX.
Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Ahmet Bilgili wrote: Hi,
We have been using a long select-subselect query on a db2 server on aix , the operation was taking nearly 4 minutes , but a mystical kind of thing happened which we dont know, and the query started to take 6 hours , but mystically again by using the exported data from the aix takes 6-10 minutes on the windows server.We couldnt explain the situation. Any ideas ?
Ahmet Bilgili
Did you statistics get updated on the AIX box?
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Sounds like your table(s) are in a mess. Try to reorganise them,
or export them drop them and re-import again.
HTH
J. Luebbers
--
Jochen Lübbers lu******@tde-online.de
Software Development Group I TDE - Tele Data Electronic GmbH
"Who desire to give up freedom in order to gain security
will loose both in the end." (Benjamin Franklin)
Ian <ia*****@mobileaudio.com> wrote in message news:<40********@corp.newsgroups.com>... Ahmet Bilgili wrote:
Hi,
We have been using a long select-subselect query on a db2 server on aix , the operation was taking nearly 4 minutes , but a mystical kind of thing happened which we dont know, and the query started to take 6 hours , but mystically again by using the exported data from the aix takes 6-10 minutes on the windows server.We couldnt explain the situation. Any ideas ?
Ahmet Bilgili Did you statistics get updated on the AIX box?
We have reorganized the tables, nothing have changed , what about the
statistics , is there a special thing we must throw our attentions on
in the statistics ?
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
See the RUNSTATS command.
Larry Edelstein
Ahmet Bilgili wrote: Ian <ia*****@mobileaudio.com> wrote in message news:<40********@corp.newsgroups.com>...
Ahmet Bilgili wrote:
Hi,
We have been using a long select-subselect query on a db2 server on aix , the operation was taking nearly 4 minutes , but a mystical kind of thing happened which we dont know, and the query started to take 6 hours , but mystically again by using the exported data from the aix takes 6-10 minutes on the windows server.We couldnt explain the situation. Any ideas ?
Ahmet Bilgili
Did you statistics get updated on the AIX box?
We have reorganized the tables, nothing have changed , what about the statistics , is there a special thing we must throw our attentions on in the statistics ?
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
> > We have reorganized the tables, nothing have changed , what about the statistics , is there a special thing we must throw our attentions on in the statistics ?
We experienced something similar on v7.2. We loaded about 250 MB of
data, then all of the sudden a 20 second sql took 20 minutes. We had
to set the qry opt to 1 from 5. Reorgs and runstats did nothing to
help. It seems the optimizer finally went over some threshhold with
the new stats from the extra data. The DB is smallish - around 5 GB.
Hope this helps. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Herr Lucifer |
last post by:
As the founder of .NET framework, Microsoft claims that it invention will be
the next best platform for programming in a near future. Now it is 2005,
..NET is 5 years old, and can talk and walk for...
|
by: Stephanie |
last post by:
I am trying to setup a Performance Condition Alert and on this one SQL
2000 Server the 'Type:' drop down does not give me the option to choose
"SQL Server performance condition alert". "SQL Server...
|
by: Brian Hirt |
last post by:
Hello,
I've run across a pretty serious problem with pg_autovacuum.
pg_autovacuum looses track of any table that's ever been truncated
(possibly other situations too). When i truncate a table...
|
by: Bob Alston |
last post by:
Some more, rather specific Access performance questions. IN a split
front-end & back-end Access/Jet ONLY LAN situation, and with all query
criteria fields and join fields indexed:
1. Is is...
|
by: WJ |
last post by:
This post is a follow up from the original post dated Oct 16, 2004 "I have
this problem, pls help!" created by Paul FI.
These bugs are rather serious and we would like to know how to get around.
...
|
by: Spotnick |
last post by:
I have no idea why, but since I'm trying to recreate my website using
ASP.NET 2.0 I've encountered so many performance issues that I'm about to
give up and continue using v1.1
Seriously, how can...
|
by: =?Utf-8?B?THluZGE=?= |
last post by:
Using VB dot net web application, a page uses the drop down list web control.
When running on my XP Pro from within Visual Studio or when running from
http://localhost, the dropdown list does not...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |