Zen Cart Logo
Forums / General Questions / zen_db_cache' is marked as crashed and should be repaired

zen_db_cache' is marked as crashed and should be repaired

Locked

Views: 4,533

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
20 Apr 2008, 3:42 AM
#1
upollo avatar

upollo

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

zen_db_cache' is marked as crashed and should be repaired

Hi,

I am seeing this error in one of my clients' sites. I have tried doing a repair on the table (many times) but it hasn't fixed the problem.

What I would like to know is - could I simply delete it and recreate it? Is that going to cause any other problems?

TIA

20 Apr 2008, 4:02 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: zen_db_cache' is marked as crashed and should be repaired

If you have good full regular backups, and you are confident in managing database tables and content, you could try that. It would be prudent to contact the hosting company if you are uncertain.

20 Apr 2008, 4:18 AM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: zen_db_cache' is marked as crashed and should be repaired

DrByte:

If you have good full regular backups, and you are confident in managing database tables and content, you could try that. It would be prudent to contact the hosting company if you are uncertain.Message to DrByte ... even though you have dodgy, irregular backups, it would be prudent to make contact with your bed after spending a day in uncertain company!

20 Apr 2008, 4:46 AM
#4
upollo avatar

upollo

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: zen_db_cache' is marked as crashed and should be repaired

DrByte:

If you have good full regular backups, and you are confident in managing database tables and content, you could try that. It would be prudent to contact the hosting company if you are uncertain.

Yes, I am confident working with MySQL databases, I have designed many sites that use them.

I posed the question because I am unsure of the purpose of this particular table. It appears to be just a temporary storage of visitor data (perhaps?) so losing the content wont affect anything else - do you know if this is correct?

20 Apr 2008, 4:52 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: zen_db_cache' is marked as crashed and should be repaired

kuroi:

Message to DrByte ... even though you have dodgy, irregular backups, it would be prudent to make contact with your bed after spending a day in uncertain company!

Message to uncertain company ... sleep is well advised to all parties involved regardless of backup status :smartalec:

20 Apr 2008, 4:57 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: zen_db_cache' is marked as crashed and should be repaired

upollo:

Yes, I am confident working with MySQL databases, I have designed many sites that use them.

I posed the question because I am unsure of the purpose of this particular table. It appears to be just a temporary storage of visitor data (perhaps?) so losing the content wont affect anything else - do you know if this is correct?

The db_cache table is used to store cached query results if your store's setup is configured to cache to the database (see configure.php). You can safely delete and recreate the table if you know what you're doing with managing databases (many readers of this forum dabble where they ought not to). Naturally I suggest doing so during a less-busy time to minimize disruption to your users.

20 Apr 2008, 4:59 AM
#7
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Re: zen_db_cache' is marked as crashed and should be repaired

upollo:

Hi,

I am seeing this error in one of my clients' sites. I have tried doing a repair on the table (many times) but it hasn't fixed the problem.

What I would like to know is - could I simply delete it and recreate it? Is that going to cause any other problems?

TIA
Tia, what's the actual error?

Note to DrByte: sleepy people will often miss omissions like this...

20 Apr 2008, 5:01 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: zen_db_cache' is marked as crashed and should be repaired

BlindSide:

Note to DrByte: sleepy people will often miss omissions like this...

Amazing how easily one can be made sleepy whilst techies talk code for hours on end.

20 Apr 2008, 5:03 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: zen_db_cache' is marked as crashed and should be repaired

upollo:

What I would like to know is - could I simply delete it and recreate it? Is that going to cause any other problems?

TIA

BlindSide:

Tia, what's the actual error?BTW, I think you must need some sleep yourself. I suspect "TIA" means "Thanks in Advance", and does not necessarily denote the first name of the poster :smartalec:

Even sleepy doctors catch that :eek:

20 Apr 2008, 5:05 AM
#10
upollo avatar

upollo

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: zen_db_cache' is marked as crashed and should be repaired

Excellent, thanks DrByte. That has fixed the problem :smile:

20 Apr 2008, 5:08 AM
#11
upollo avatar

upollo

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: zen_db_cache' is marked as crashed and should be repaired

DrByte:

I suspect "TIA" means "Thanks in Advance", and does not necessarily denote the first name of the poster

Correct :smile:

20 Apr 2008, 5:16 AM
#12
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: zen_db_cache' is marked as crashed and should be repaired

So glad that the good doctor was able to help you and all thoughts of malpractice suits can now be put to bed. :sleep1:

20 Apr 2008, 5:23 AM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: zen_db_cache' is marked as crashed and should be repaired

:sleep1:

23 Jun 2010, 6:52 AM
#14
netgirlz avatar

netgirlz

New Zenner

Join Date:
Aug 2009
Posts:
34
Plugin Contributions:
0

Re: zen_db_cache' is marked as crashed and should be repaired

just received this same error, deleted the table and rebuilt the table in sql and all is better again

however why/how did it crash, we have the latest security patches installed but still it has happened

23 Jun 2010, 3:12 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: zen_db_cache' is marked as crashed and should be repaired

Security and a crashed database table are two different things ...

Sometimes, there can be an issue with the database causing issues like this.

You might check with your hosting provider to see if they have any ideas of what might have happened.

Fortunately, this particular table crash has a quick and easy solution to fixing the table ... :lamo: