Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Data into Staging Performance Expand / Collapse
Author
Message
Posted Sunday, October 20, 2013 3:16 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, July 14, 2014 9:22 AM
Points: 7, Visits: 107
Hi,

We are just migrating our BI Database (2005) over to a new 2012 Server.

A backup of the BI Database has been restored onto the 2012 database.

The database uses a linked server to being back data from the source system (ERP), they are both pulling back data against the same system the OLD BI Server with far last resource performs the nightly load quicker than on the new server.

I have done some tests to see where the hold up is, and isolated one query that is a bottleneck for the new server, the query itself is bringing back 5 million records.

When running the query on the old server it takes 4 minutes and 21s on the new server it takes 4 mins and 41s to pull back the records.

The inserts which area a insert INTO Select on the OLD BI Server take 4:41 and on the new BI Server take 45 minutes.

The tables are identical and have taken off the index on the PK on the new server but has no impact on performance.

Any suggestions on why the new BI Server which has far greater resource is taking over 40 minutes longer.

Am I right in thinking this could be a IO with the discs?

Thanks

James
Post #1506453
Posted Monday, October 21, 2013 3:09 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, July 16, 2014 3:21 PM
Points: 1,210, Visits: 2,512
jamesdanuk (10/20/2013)
Hi,

We are just migrating our BI Database (2005) over to a new 2012 Server.

A backup of the BI Database has been restored onto the 2012 database.

The database uses a linked server to being back data from the source system (ERP), they are both pulling back data against the same system the OLD BI Server with far last resource performs the nightly load quicker than on the new server.

I have done some tests to see where the hold up is, and isolated one query that is a bottleneck for the new server, the query itself is bringing back 5 million records.

When running the query on the old server it takes 4 minutes and 21s on the new server it takes 4 mins and 41s to pull back the records.

The inserts which area a insert INTO Select on the OLD BI Server take 4:41 and on the new BI Server take 45 minutes.

The tables are identical and have taken off the index on the PK on the new server but has no impact on performance.

Any suggestions on why the new BI Server which has far greater resource is taking over 40 minutes longer.

Am I right in thinking this could be a IO with the discs?

Thanks

James


I'm no expert on hardware, but since no one else has replied, here's a basic suggestion - check the Power Options on the new server. The power plan may be throttling your CPU to conserve energy.

Also, what do you mean you have "taken off the index on the PK on the new server"? If you have defined a PK, there will be an index to support it. If you've removed the PK, the table is now a heap. If your load process uses joins, MERGE joins, correlated subqueries, etc. that rely on the PK, removing the PK will have a disastrous effect on performance.

If you need more help, we'll need more details - for starters, the INSERT query and the execution plans from both the old server and the new server. This article explains what information will be needed, how to get it, and how to post it.


Jason Wolfkill
Blog: SQLSouth
Twitter: @SQLSouth
Post #1506885
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse