FIX: It takes a long time to import a catalog file by using the Replace import type if there is an existing catalog in Commerce Server

Article translations Article translations
Article ID: 2513798 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

In Microsoft Commerce Server 2007 or in Microsoft Commerce Server 2009, you select the Replace import type to perform a catalog import. If the catalog data exists, the import takes a very long time to be completed.

For example, if you import a new catalog, the import takes about 10 minutes. If you use the Replace import type to import the same catalog file again after the first import, the import takes an hour to be completed.

CAUSE

The issue occurs because ctlg_RepairCatalogsAfterImport selects an inefficient query plan for the catalog import process.

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have one of the following versions installed:
  • Microsoft Commerce Server 2007 SP2
  • Microsoft Commerce Server 2009

Restart requirements

You do not have to restart the computer. However, you must restart Internet Information Services (IIS) and the Commerce Server Catalog Import Host COM+ application after you apply this hotfix. To restart IIS, at a command prompt, type the following command, and then press ENTER:
IISRESET /RESTART
Note This option stops and then restarts all IIS services that are running.

Replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix uses a Microsoft Windows Installer package to install the hotfix. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For Microsoft Commerce Server 2007
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Catalogcreate.sqlNot applicable1,153,42125-Feb-201110:38Not applicable
For Microsoft Commerce Server 2009
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Catalogcreate.sqlNot applicable1,157,10325-Feb-201110:38Not applicable
Cs2009hotfixhelper.exe6.0.4171.4013,08028-Feb-201108:01x86

Hotfix installation information

After you extract the hotfix package, you obtain the following files:
  • For Commerce Server 2007:
    • CommerceServer2007SP2-KB2513798-ENU.exe
    • KB2513798.sql
    Install the CommerceServer2007SP2-KB2513798-ENU.exe file to update the Catalogcreate.sql file.
  • For Commerce Server 2009:
    • CommerceServer2007SP3-KB2513798-ENU.exe
    • KB2513798.sql
    Install the CommerceServer2007SP3-KB2513798-ENU.exe file to update the Catalogcreate.sql file.
You have to install the appropriate hotfix to make sure that this issue does not occur for new catalog databases.

Additionally, you must run the KB2513798.sql file against the existing catalog databases to update their stored procedures.

MORE INFORMATION

For more information about how to import catalogs in Commerce Server, visit the following MSDN webpage:
How to import a catalog

Properties

Article ID: 2513798 - Last Review: April 26, 2011 - Revision: 1.0
APPLIES TO
  • Microsoft Commerce Server 2007 Developer Edition
  • Microsoft Commerce Server 2007 Enterprise Edition
  • Microsoft Commerce Server 2007 Service Pack 1
  • Microsoft Commerce Server 2007 Standard Edition
  • Microsoft Commerce Server 2009 Enterprise
  • Microsoft Commerce Server 2009 Standard
Keywords: 
kbautohotfix kbhotfixserver kbfix kbqfe kbexpertiseinter kbsurveynew KB2513798

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com