Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2010
    Posts
    42
    Plugin Contributions
    0

    Default I deleted partial data and now I have a problem

    Hello All,

    I recently cleared out the relevant db tables because i wanted to re input all my products. I failed to remove all the entries in the zen_meta_tags_products_description table and now i have over 10,000 entries in there. Sometimes it takes a long time for my site to load, unless i refresh the page.

    I have 2 question:

    1. is it safe to delete all the entries up to the point where the new products start.
    2. Do you believe that this may be the reason why my site is sometimes slow? ( i have about 300 products that have different attributes, and ive read that also slows the site down), but hopefully that meta_tags table has something to do with it as well...

  2. #2
    Join Date
    Jan 2008
    Location
    desert
    Posts
    37
    Plugin Contributions
    0

    Default Re: I deleted partial data and now I have a problem

    1. yeah. i'd do it to a test copy of your present database. you might have to reindex the table.

    2. probably not. SQL would have throw an error is it thought it couldn't find the right record for the query.
    Regards from www.dataSpheric.com.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: I deleted partial data and now I have a problem

    Quote Originally Posted by kal130 View Post
    I recently cleared out the relevant db tables because i wanted to re input all my products. I failed to remove all the entries in the zen_meta_tags_products_description table and now i have over 10,000 entries in there.

    1. is it safe to delete all the entries up to the point where the new products start.
    If you're going to do mass deletes of data, you NEED to be sure to delete ALL related data. Leaving fragments behind can cause all manner of odd problems. While metatags are unlikely to be contributing to slowness problems, if you don't delete the orphaned records then you run the risk of having metatags assigned to wrong products. Always keep data in sync. Period.

    If you've actually deleted all the records in your products tables, then you need to delete ALL the records in your products-metatags table. Not just the records over a certain number.

    Selective data manipulation is dangerous. Be sure you study all the relationships between tables before manually deleting data.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Changed site root folder and now have bad htaccess problem(s)
    By bodkin77 in forum General Questions
    Replies: 8
    Last Post: 30 Apr 2013, 10:57 AM
  2. Cache deleted...problem now accessing store
    By mcpisik in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2011, 05:02 AM
  3. Just applied alot of security patches and now have a problem.
    By rival904 in forum General Questions
    Replies: 1
    Last Post: 13 Dec 2009, 06:15 AM
  4. Deleted Header and now I need it back...
    By kelcey in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 23 Oct 2009, 05:05 PM
  5. Accidentally deleted something and now site doesn't work
    By thebeveragegourmet in forum General Questions
    Replies: 3
    Last Post: 11 Nov 2006, 04:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg