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

CustomerSession table causes performance problem?

Last post Mon, Jul 28 2008, 12:19 PM by Scentiments. 2 replies.
Sort Posts: Previous Next
  •  Mon, Jul 28 2008, 11:44 AM 9998

    CustomerSession table causes performance problem?

    Whenever we experience heavy volume on our ECF3.1.1 site, our SQL Server (2000) comes to a crawl, the processor is pinned at 100%, and we can't serve up any pages.

    We ran a SQL Profiler trace, and it said the CustomerSessionLoadBySessionKey was taking 15+ seconds to run.

    I noticed that the CustomerSession table had > 2.6 million rows, 2.1 million had null for CustomerID.

    I deleted all records in CustomerSession WHERE CustomerID IS NULL and that seemed to clear up the problem.

    We are not running the maintance service at all.

    Can you guys shed some light on what the customer session table does, if you've found that it becomes a performance problem over time, and what I can do to alleviate the problem? Thanks.

    Corey

  •  Mon, Jul 28 2008, 12:02 PM 9999 in reply to 9998

    Re: CustomerSession table causes performance problem?

    This table keeps track of all sessions and shopping carts. Should be cleared of items that are 2 months or older. You can create a SQL Script for that.
  •  Mon, Jul 28 2008, 12:19 PM 10000 in reply to 9999

    Re: CustomerSession table causes performance problem?

    I've tried to figure out the purpose of the CustomerSession table in the past, but it wasn't clear to me. I see the ShoppingCartItems table and that's clear, but what's the purpose of the CustomerSession table and what exactly should be deleted? Only where customerid is null or is there something more?

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