Welcome to Mediachase Community Sign in | Join | Help    
in Search   

Stored procedure "VersionLoadByCustomerProduct" takes a long time to be processed

Last post Wed, Apr 22 2009, 7:00 AM by IT160. 0 replies.
Sort Posts: Previous Next
  •  Wed, Apr 22 2009, 7:00 AM 10986

    Stored procedure "VersionLoadByCustomerProduct" takes a long time to be processed

    Hi guys,
    I have mediachase 4.1 that use an SQL server 2005 for store data an runs in a windows 2008 environment platform.

    I have the problem with "VersionLoadByCustomerProduct" stored procedure. The stored procedure takes more than 17 seconds to run.

    I have created a new user control inserted into a PagingCategoryTemplate that list all available download for each product into a specific category.

    With a profiler I have find that the problem is in this query:

    SELECT DISTINCT P.ProductId, D.DownloadId, D.[Name], V.VersionId, V.Version

                                        FROM Product P, Sku S, Version V

                                                    INNER JOIN Download D ON V.DownloadId = D.DownloadId

                                                    INNER JOIN Policy P1 ON P1.PolicyId = D.PolicyId

                                                    LEFT OUTER JOIN ObjectDownload OD ON

                                                    D.DownloadId=OD.DownloadId


    For info the Product table contains 2750 products, the Sku table 2750 sku's and the table Version 120 records.

    Any suggestions?

    Thx!
View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems