473,811 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1769
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.c om> wrote in message news:<OJ******* ********@newsfe 5-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.c om> wrote in message news:<OJ******* ********@newsfe 5-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.goog le.com...
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.c om> wrote in message

news:<OJ******* ********@newsfe 5-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.co m> wrote in message
news:da******** *************** ***@posting.goo gle.com...
"Aaron" <aa************ *****@hotmail.c om> wrote in message news:<OJ******* ********@newsfe 5-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
1955
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 one SCSI channel) thusly even though there are three logical drives (composed from 6 to 8 hard drives), they all go through one channel. This is creating a performance issue that is noticable and can be seen in various performance counters that...
3
1469
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 switching to 2000.
10
2500
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 that was outside the developer's control) but was slightly more performant. One participant posted: "I tend to take the performance track also, adding readability if the impact isn't too great. There is also an odd reality that takes place...
4
1515
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... would late binding where I'd just have <%=myVar%> really be a better way of doing things? I always had thought creating a webcontrol and populating from codebehind was more optimized becase it was pre-
3
1952
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 is that it performs like an old, limb man :o( The method is: public static StringBuilder RemoveChars(StringBuilder dataToClean_, string illegalChars_) { // only try to remove chars if there is data to clean
5
2034
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 OR using SqlDataAdapter to Fill a DataSet or DataTable ? Thanks!
12
4812
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 agressively optimize that code. my functions as much as possible and also try to have minimum code withing if block.
0
1333
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 that I don't import a record twice. In the import code, I query the table on the ImportRecordID column, and if I get no results, I go ahead and add the new record. Very straightforward. The problem is that I noticed that when I removed this "existing...
12
2503
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 When I place this application in IIS it takes 16 seconds for the exact bit of code. I have narrowed the code down to loopoing around the dataset and creating an object for every row in the dataset. My question is why does it take so long under...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10395
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10130
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6887
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5553
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.