» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2007, 04:54 AM
Jasper Jasper is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Jasper is on a distinguished road
Default index corruption?

Hi everyone,
I am running MySQL 5.0.19 downloaded as a binary on my RHEL 3 with 6GB RAM and Dual 2.8GHz Pentiums on a HP DL380 and the data directory is on an external Compaq RAID. I am constantly getting index corruptions. On average my table inserts are about 1.6 lines per day.

also the top shows:
Mem: 5932084k av, 5913932k used, 18152k free, 0k shrd, 5036k buff
4574436k actv, 569680k in_d, 95716k in_c
Swap: 2044072k av, 52k used, 2044020k free 5485960k cache

Mysql is consuming all the memory. Restarting the system, and run a query, the used goes from about 100Megs to almost 6Gigs.

my my.cnf looks like:
port = 3306
socket = /tmp/mysql.sock
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-locking
skip-external-locking
key_buffer = 256M
max_allowed_packet = 1M
table_cache = 256
sort_buffer_size = 1M
read_buffer_s -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 01-18-2007, 08:14 AM
Yadira Yadira is offline
Senior Member
 
Join Date: Jul 2006
Posts: 183
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 18
Yadira is on a distinguished road
Default

You could also look at following options:

- ALTER TABLE ... ENGINE=InnoDB.

- Switch to a linux kernel 2.6.16 with all preemption turned on:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
Or, if this is already the case, turn it off. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hash index support? Lea MySQL Forums 1 02-27-2007 09:08 AM
custom index cache shazyaz MySQL Forums 1 10-16-2006 05:14 AM
Welcome to cpi consumer price index on OutSourcingPlans... osp Introductions 0 08-29-2006 05:22 PM
Welcome to consumer price index on OutSourcingPlans... osp Introductions 0 08-29-2006 03:55 PM
unable to pass any variables from the index venomous PHP Programming and Tips 1 08-10-2006 02:40 PM


All times are GMT. The time now is 12:33 AM.