Mysql Server 5 vs 6 vs MariaDB [closed] - mysql

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Have a simple question here.
I've a database with around 1 billion records, a server with 200GB of ram to handle it.
What do you suggest for best performances? Mysql 5, Mysql 6 or MariaDB?

MariaDB 5.3 should give you the best performance:
It uses the XtraDB (InnoDB improved) storage engine from Percona as
default.
The optimizer is greatly improved to handle big data.
Replication is a magnitude faster in MariaDB if you have lots of
concurrent updates to InnoDB.
See http://kb.askmonty.org/en/what-is-mariadb-53 for a list of features.

Related

Mysql server database limit [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to have 20,000 databases on a mysql server. They will not be accessed at the same time and there sizes should not be larger then 10mb. Lets just say that 5000 of them will be open at one time to various different sites. Could the server process that many queries with that many databases?
Manual:
MySQL has no limit on the number of databases. The underlying file system may have a limit on the number of tables. Individual storage engines may impose engine-specific constraints. InnoDB permits up to 4 billion tables.
However, there are other limitations, that may affect your setup:
Memory size, as MySQL will hold some information about each db in RAM
Disk space for transaction logs and cache
Number of simultaneous connections that can be handled by OS: each connections eats CPU, RAM, HDD.
Check out E.7.6. Windows Platform Limitations - there is quite long list of things there.

limit the number of cores used by MySQL [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
On Linux, can you ensure that MySQL leaves one core free?
(We have a small Python server that can become unresponsive when MySQL running on the same box is under load.)
3 ways I can think of...
Use the command taskset.
This command will "fix" specific core (or list of cores) to a specific process.
Consult the man page how to use it
Create Virtual machine on your "little" server and run the mysql on that VM.
This will promiss more stability to both services
Use the "nice" values to make sure the python priority is higher then the mysql priority.
(This solution is the least recommanded of all three, but in some cases it can be valid)

Downgrade MySQL 6.x to 5.x [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I downgrade my MySQL database from version 6 to 5? Since I manage to install some packages only support to ver 5.
Your best bet is going to be trying a dump & restore. As long as you didn't use any MySQL 6.x functionality, it should go smoothly.
As always, backup before doing potentially dangerous actions.

MySQL Server performance [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a few questions regarding MySQL server running under Windows Server 2008 R2.
1) How do I check the number of allowed connections?
2) How do I turn on query logging to see performance of queries executed?
3) As I understand MySQL is multithreaded, will increasing the number of allowed connections increase performance on a Quad Core system?
4) Will having a cluster setup increase performance?
5) How can I setup load shedding with multiple MySQL servers in a cluster?
Thanks
So in the end I moved the question and I got a brilliant answer on that side.
The answer can be viewed at https://dba.stackexchange.com/questions/17511/mysql-server-performance/17540#17540
Thanks

What is a good beginner's guide for MYSQL Partitioning? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Including...how to set up the partition, how to determine which partition to talk to...etc.
I know replication but am new to partitioning.
Improving Database Performance with Partitioning
http://dev.mysql.com/tech-resources/articles/partitioning.html
This would be a good start: MySQL Partitioning Overview
Also, I haven't watched this one specifically, but the presentations by the Pythian group are usually pretty good. Reading a manual may be more efficient, but as an alternative this video will teach you quite a bit about partitioning in MySQL.
Partitioning in MySQL 5.1