473,405 Members | 2,354 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,405 software developers and data experts.

RI drop performance gains issue

In a test environment we have dropped over 100 RI restrictions which showed
a huge instant performance gain where some jobs were running with 2 or 3
times the performance than previously.

The problem is that we have now dropped the same restrictions in the
production environment but have seen absolutely no performance difference
since the drop of RI.

Any idea's why we have not seen the expected performance improvement? We
have subsequently run Runstats and rebinds out of desperation but still no
improvement.

Thanks,

Aaron
----------

Nov 12 '05 #1
4 1750
klh
Aaron,

Is it possible that the Production environment is in bad need of a
REORG? If you have a heavily hit application, it may be that the test
environment doesn't have the same amount of fragmentation that
production does. The runstats may then be forcing the application to
do tablespace scans.

Other things to look at may be workload on the server. Is the
production server a lot busier than test? It may be that production
is just overloaded. Also do the servers have the same processing
power?

Are the same indexes defined on production as in test? Never hurts to
check.

It's probably easiest to debug if you can isolate one sql statement
and run an explain on it in both environments.

HTH,
klh

"Aaron" <aa*****************@hotmail.com> wrote in message news:<OJ***************@newsfe5-gui.ntli.net>...
In a test environment we have dropped over 100 RI restrictions which showed
a huge instant performance gain where some jobs were running with 2 or 3
times the performance than previously.

The problem is that we have now dropped the same restrictions in the
production environment but have seen absolutely no performance difference
since the drop of RI.

Any idea's why we have not seen the expected performance improvement? We
have subsequently run Runstats and rebinds out of desperation but still no
improvement.

Thanks,

Aaron
----------

Nov 12 '05 #2
"Aaron" <aa*****************@hotmail.com> wrote in message news:<OJ***************@newsfe5-gui.ntli.net>...
In a test environment we have dropped over 100 RI restrictions which showed
a huge instant performance gain where some jobs were running with 2 or 3
times the performance than previously.

The problem is that we have now dropped the same restrictions in the
production environment but have seen absolutely no performance difference
since the drop of RI.

Any idea's why we have not seen the expected performance improvement? We
have subsequently run Runstats and rebinds out of desperation but still no
improvement.

Thanks,

Aaron
----------


the obvious answer: the Test environment has so little data that it is
fully buffered. in such a situation, RI processing could be a signficant
percentage of total; the Production environment is not so lucky, and
time spent in physical I/O is overwhelming the RI processing reduction.
IOW, you've saved 10% of 10% of the total cost of processing in Production,
10% of 90% in Test (numbers for illustration only).
Nov 12 '05 #3
To a degree you will be right in that the Prod environment is definitely
more fragmented than test, but I would have expected to see some
improvement, say 20% or something small but measurable.

Production is busier but it has more engines available also I have run tests
at all different times of the day with the very similar results.

All the indexes are the same.

That's a good idea about trying an explain on a single SQL statement, I'll
see if I can find a good candidate to try that on.

Aaron

"klh" <kh******@yahoo.com> wrote in message
news:a1*************************@posting.google.co m...
Aaron,

Is it possible that the Production environment is in bad need of a
REORG? If you have a heavily hit application, it may be that the test
environment doesn't have the same amount of fragmentation that
production does. The runstats may then be forcing the application to
do tablespace scans.

Other things to look at may be workload on the server. Is the
production server a lot busier than test? It may be that production
is just overloaded. Also do the servers have the same processing
power?

Are the same indexes defined on production as in test? Never hurts to
check.

It's probably easiest to debug if you can isolate one sql statement
and run an explain on it in both environments.

HTH,
klh

"Aaron" <aa*****************@hotmail.com> wrote in message

news:<OJ***************@newsfe5-gui.ntli.net>...
In a test environment we have dropped over 100 RI restrictions which showed a huge instant performance gain where some jobs were running with 2 or 3
times the performance than previously.

The problem is that we have now dropped the same restrictions in the
production environment but have seen absolutely no performance difference since the drop of RI.

Any idea's why we have not seen the expected performance improvement? We have subsequently run Runstats and rebinds out of desperation but still no improvement.

Thanks,

Aaron
----------

Nov 12 '05 #4
Unfortunately this test environment is a full sized clone of Production used
for testing Prod fixes so is pretty much an exact copy of Production.

Aaron

"robert" <gn*****@rcn.com> wrote in message
news:da**************************@posting.google.c om...
"Aaron" <aa*****************@hotmail.com> wrote in message news:<OJ***************@newsfe5-gui.ntli.net>...
In a test environment we have dropped over 100 RI restrictions which showed a huge instant performance gain where some jobs were running with 2 or 3
times the performance than previously.

The problem is that we have now dropped the same restrictions in the
production environment but have seen absolutely no performance difference since the drop of RI.

Any idea's why we have not seen the expected performance improvement? We have subsequently run Runstats and rebinds out of desperation but still no improvement.

Thanks,

Aaron
----------


the obvious answer: the Test environment has so little data that it is
fully buffered. in such a situation, RI processing could be a signficant
percentage of total; the Production environment is not so lucky, and
time spent in physical I/O is overwhelming the RI processing reduction.
IOW, you've saved 10% of 10% of the total cost of processing in

Production, 10% of 90% in Test (numbers for illustration only).

Nov 12 '05 #5

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

Similar topics

2
by: ajjvn | last post by:
I 'inherited' a group of SQL Server server class machines. They are true server technology but the disk sub-systems are lacking. There is one hot-swap backplane that all the drives share (with...
3
by: Robert | last post by:
We are running SQL Server in 6.5 compatability mode. We have some queries that are supported in 2000, that is the reason for the 6.5 version. What, if any, would be gained in performance by...
10
by: Daniel Billingsley | last post by:
In another online group in which I participate, we were discussing a particular piece of code that had a pretty high risk for breaking in the future (because it depended on something not changing...
4
by: Weston Weems | last post by:
I currently populate my datagrids manually from a codebehind and use webcontrols within the template columns (for check boxes and viewing pleasure eg labels) For performance and scalability......
3
by: Jesper Stocholm | last post by:
I have developed a data-cleaner that extracts some data from a database, cleans it for illegal/unwanted data and writes it to a CSV-fil for later insertion to a SQL Server 2000 database. My problem...
5
by: Varangian | last post by:
Hi, I have a performance issue question? which is best (in terms of efficiency and performance, I don't care neatness in code)... building an ArrayList of Object Instances using SqlDataReader...
12
by: lali.b97 | last post by:
Somewhere in a tutorial i read that if statement has performance overheads as code within the if statement cannot take benefit of pipeling of microprocessor and also that the compiler cannot...
0
by: ep4169 | last post by:
I have to regularly import records into a table in the database that also contains records that were created internally. Those that are imported have an ImportRecordID column that I use to ensure...
12
by: Ilyas | last post by:
Hi all I have an application which brings back 1000 records from a sql server database. Under the local asp.net development server provided with Visual Studio 2008, it takes about 1.8 seconds ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.