asp.net hosting
 
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search

Support Center » Knowledgebase » How can I Reduce Database Size and increase store performance?

 How can I Reduce Database Size and increase store performance?
Solution Certain StoreFront 6.0 merchants have reported problems involving the Walkin table in their database, especially for stores that experience heavy traffic. They have reported that the Walkin table accumulates a large number of records, increasing database size and potentially affecting web store performance. To address these concerns, some additional flexibility has been added to StoreFront 6 Service Pack 3 so that merchants can more effectively manage the deletion policy of the Walkin table and other related tables. First, a brief explanation of how the Walkin table is used within StoreFront 6.0:

For each new customer that arrives at a StoreFront 6.0 store, a record is written to the Walkin table. This record contains enough information to uniquely identify that customer among the other customers browsing the site. In addition to the Walkin table, there are several related tables involved in tracking the contents of a customer's shopping cart while they are browsing the site. Entries are written to these tables as soon as the customer adds an item to their shopping cart.

Given that records are written to these tables for all customers, including both those who actually place orders and those who simply browse the web store's pages without actually completing an order, it is easy to see how these tables might quickly grow in a busy site. To prevent this growth from becoming a problem, StoreFront 6 web stores periodically delete records from the walkin table and related tables. By default, each record is deleted once it is more than 24 hours old. This value is appropriate for most merchants, but may be too lengthy of an interval for some high-traffic stores. With Service Pack 3, an additional configuration item has been added to the web.config file that will permit the merchant to set their own policy regarding the deletion of records in the Walkin and ShoppingCart tables.

To modify this policy, follow these instructions:

  1. Open your web store in Dreamweaver or FrontPage.

  2. Open the web.config file in a text editor.

  3. Find the following line of code:

    
    <add key="CleanUp" value="1440" />
    
  4. Modify the value to represent the number of minutes you would like the store to wait between deleting records in the Walkin and ShoppingCart tables. (Note: 1440 minutes = 24 hours) We do not recommend setting this interval to less than 60 (1 hour).

  5. Save the web.config file, and make sure it is uploaded to the site.

Please note that the timer will begin counting down as soon as the store is loaded in a browser for the first time after modifying the web.config file. Once the timer has expired, it will run the necessary code to delete any records in the Walkin and ShoppingCart tables older than the specified time. For example, setting a value of 60 minutes will cause the process to run every hour, and to delete records that are older than 1 hour.



Article Details
Article ID: 165
Created On: Feb 07 2007 10:54 AM

 This answer was helpful  This answer was not helpful

 
 Article Options
 
Home | Register | Submit a Ticket | Knowledgebase | News | Downloads
FrontPageSQL2005Windows 2003SmarterMailSmarterStatsASP.netPlesk hostingHELM hosting
Products & Services  |  Company Information  |  Testimonials  |  Support  |  Resellers  |  Affiliates  |  Contact Us  |  Terms of Use  |  Site Map  |  Home
© 2007 Applied Innovations Corp., All Rights Reserved
ASP.net Hosting | Windows VPS Hosting | IIS7 Beta Hosting | Windows Hosting | BVCommerce Hosting | AspDotNetStorefront Hosting | Windows Reseller Hosting | Kentico CMS Hosting | SQL Server Hosting | ASP.NET AJAX Hosting | Windows Dedicated Server Hosting | Sharepoint Hosting | Expression Web Hosting | FrontPage Hosting | E-Commerce Hosting | DotNetNuke Hosting | Community Server Hosting | Search Engine Marketing | Online Merchant Accounts | Application Hosting | Free PCI Scanning | Cardinal Commerce | Discount Windows Hosting | Small Business Hosting | Enterprise Windows Hosting | Advanced Windows Hosting | Storefront Hosting | Free Website Building Software | Hosting Affiliate Program | News & Press Releases
More Info on Shared Hosting More Info on Application Hosting More Info on E-Commerce More Info on Dedicated Hosting More Info on Reseller Hosting More Info on Virtual Private Servers Windows 2003 Shared Hosting More Info on ASP.net Hosting More Info on Dedicated Servers Microsoft Gold Certified Partner Get it NOW! Sign-up  NOW!