We understand that your ecommerce site is crucial to the success of your business, from time to time issues and questions can arise and you need to have the assurance there will be someone on hand to help resolve these in a timely fashion so you can spend your time driving your own business forward.

So if you are looking for faster responses to your questions or would like the assurance there is someone on hand for you to contact, fear not we have a number of paid support options that are available to you that can give your organisation the peace of mind knowing a member from the Cart Viper team will always be available to assist!

Purchase a Support Plan

Community Support

HomeHomeIssues and Supp...Issues and Supp...MiscellaneousMiscellaneousTables with many recordsTables with many records
Previous
 
Next
New Post
4/26/2016 12:55 PM
 
Running DNN 7.3.4 and CV 3.2.0.

I've noticed three tables with many records and want to know what they are for and how to do some cleanup.

The tables are:

CVStore_User_Product_List_Categories - 148,645 records
CVStore_Cart - 75,229 records
CVStore_UserProductList - 49,363 records


 
New Post
4/27/2016 8:10 AM
 
Hi,

1) We keep the user's cart unless they checkout and in which case it gets converted to an order. We do have a scheduler job to purge old carts but if you have a lot like you the job will timeout. The easiest fix is to just run the sp below in SQL Mananager to remove carts older than April 2016.

exec CVStore_Cart_PurgeCarts {ts '2016-04-01 00:00:00'}

2. We record a list of products which a user has browsed which are the other tables you have which are large. If you want you can delete the table contents this would be the sql to execute.

 delete CVStore_UserProductList where productListCategoryId in (
  select productListCategoryId from [CVStore_User_Product_List_Categories] where userProductListType = 5
  )

  delete [CVStore_User_Product_List_Categories] where userProductListType = 5


Those queries might take a while to execute so you need to run them in Sql Manager.

Regards
Nigel.

 
New Post
4/27/2016 11:01 AM
 
That helped with two of the tables.  But the CVStore_User_Product_List_Categories still has 74854 records.  Looking at the table in SQL Manager I can see that most of the remaining records have userProductListType = 3
 
New Post
4/27/2016 12:58 PM
 
Hi,

3 indicates they are lists of products to be quoted for, feel free to amend the sql query and delete if you wish.

Regards
Nigel.
 
New Post
4/27/2016 1:54 PM
 
The question now is why are the "browsing" tables accumulating so many records?

I don't recall enabling any quoting features and can't find where any product has "Request a Quote" enabled.  The Cart is being run in anonymous mode and al of the type 3 records have UserID as NULL.

Could Bots be doing some of this?
 
Previous
 
Next
HomeHomeIssues and Supp...Issues and Supp...MiscellaneousMiscellaneousTables with many recordsTables with many records


 

We use cookies on our website to improve our service to you, by continuing you agree to our use of cookies. However you are able to update your settings at any time.

Cookie Policy

A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a piece of data stored by a website within a browser, and then subsequently sent back to the same website by the browser. Cookies were designed to be a reliable mechanism for websites to remember things that a browser had done there in the past, which can include having clicked particular buttons, logging in, or having read pages on that site months or years ago.

Strictly Necessary Cookies

These cookies cannot be disabled

These cookies are necessary for the website to function and cannot be switched off. They are normally set in response to your interactions on the website e.g. logging in etc.

Cookies:
  • .ASPXANONYMOUS
  • .DOTNETNUKE
  • __RequestVerificationToken
  • authentication
  • CV_Portal
  • CV_Store_Portal_Cart_0
  • CV_USER
  • dnn_IsMobile
  • language
  • LastPageId
  • NADevGDPRCookieConsent_portal_0
  • userBrowsingCookie

Performance Cookies

These cookies allow us to monitor traffic to our website so we can improve the performance and content of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited or how you navigated around our website.

Cookies:
  • _ga
  • _gat
  • _gid

Functional Cookies

These cookies enable the website to provide enhanced functionality and content. They may be set by the website or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Targeting Cookies

These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Feedback