MySQL Forums
Forum List  »  Performance

Re: How To Use More Resources
Posted by: Rick James
Date: January 09, 2015 02:39PM

Glad to hear that things are working better.

> but I can not tell if is because the changes you sugested the ones I changed or both

It is hard to say. All should be beneficial. Combinations of changes may be more beneficial than the sum of the individual changes; so, again, it is hard to say.

> My server has RAID 5+0 with 8Hdds total

This helps explain how your system can handle the traffic that GLOBAL STATUS implied.

5+0?? That's a new one on me. Does that have the capacity of 6 drives? Is there much advantage over RAID-5?

Keep in mind when going for fancy RAID that RAID protects against drive-failures; there are many other things that can go wrong with the whole system. You might consider Replication or Clustering (Galera) as other ways of assuring High Availability. (The Replication forum has a bunch of chatter about such.)

Do you have a _hardware_ controller with battery-backed-write-cache? That makes the writes virtually instantaneous from the MySQL's point of view. Still, there is a steady-state limit on the bandwidth to disk. Some of my recommended changes were aimed at decreasing the need for I/O bandwidth. Your changes hopefully increase the bandwidth. (It seems likely, but it depends on drives, controllers, cores, workload, etc, etc. And I do not have enough breadth of experience to do more than guess.)

> we migrated the DB from Sybase To Mysql made al decimal type.

That's what I thought. No problem.

> The Stored Procedures and Functions, I Already Checked One by One, and Made changes to them

Did you get rid of any inefficient cursors? Change the transactions? 100 transactions of 1 UPDATE each (1-row each) is a lot slower than 1 transaction of 100 1-row UPDATEs, which in turn is a lot slower than 1 transaction with 1 UPDATE doing 100 rows. (There are caveats to that generalization.)

Options: ReplyQuote


Subject
Views
Written By
Posted
1765
January 07, 2015 11:12AM
754
January 07, 2015 07:14PM
1143
January 07, 2015 09:14PM
1097
January 07, 2015 11:21PM
718
January 07, 2015 11:42PM
791
January 08, 2015 05:48PM
Re: How To Use More Resources
854
January 09, 2015 02:39PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.