473,396 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Serious Performance Drop on AIX

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
Nov 12 '05 #1
6 1465
Compare the plans from Windows against AIX.

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #2
Ian
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! =-----
Nov 12 '05 #3
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)
Nov 12 '05 #4
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! =-----

Nov 12 '05 #5
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! =-----


Nov 12 '05 #6
> >

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.
Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

142
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...
1
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...
0
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...
4
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...
2
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. ...
2
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...
0
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...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.