vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   About Databases and other wondrous things (MariaDB) (https://vborg.vbsupport.ru/showthread.php?t=317249)

AusPhotography 02-10-2015 11:30 PM

About Databases and other wondrous things (MariaDB)
 
For some time now MariaDB has been taking over from MySQL as the preferred open source database.

The reasons are well covered here: https://blog.openshift.com/why-maria...ew-with-monty/

WHM/cPanel have been their usual slow (cautious) approach have made MariaDB the future replacing MySQL.

We upgraded this morning. MariaDB is faster and has a smaller memory foot print.
Initially I'm seeing up to ~20% surprisingly faster database; but this won't make a huge difference to your site experience as the database component of any page hit is only 10-15%.
I.e. maybe 2% of the overall transaction.

Why upgrade?
  1. MariaDB is faster
  2. MariaDB has some better features in regards being resilient to crashes
  3. MariaDB has less bugs/issues than MySQL
  4. Very large sites (eg. Wikipedia) have changed to MariaDB
  5. MariaDB also has more than 10,000,000 users now (lots of people with experience and bugs reports etc.)
  6. It is now the default database on some major Linux distributions (again well supported)
  7. It is plug compatible with MySQL - it is easy for us to change
  8. MariaDB is the future and we are protected from the whims of Oracle who now control MySQL
  9. The MariaDB core team is ex MySQL because the did not like Oracle's approach

puertoblack2003 02-11-2015 02:33 AM

Is it free to use? I've heard that they charge for running it.

Dave 02-11-2015 08:03 AM

MariaDB is free to use.
I've been using it for like 1.5 year now and I'm very satisfied with MariaDB.

Replicant 02-11-2015 04:03 PM

Quote:

Originally Posted by AusPhotography (Post 2536915)
9. The MariaDB core team is ex MySQL because the did not like Oracle's approach

Seems to be a trend with software.

AusPhotography 02-11-2015 07:15 PM

Quote:

Originally Posted by puertoblack2003 (Post 2536938)
Is it free to use? I've heard that they charge for running it.

Free as it is fully FOSS.

puertoblack2003 02-15-2015 07:10 PM

Quote:

Originally Posted by AusPhotography (Post 2537053)
Free as it is fully FOSS.

I gave it a go. Installed it next to mysql.I ran into some issues with database table corruption.But it was fixed via commands. Going to play around with it and compare it.

regards

AusPhotography 02-16-2015 06:29 AM

I've got all MySQL tables converted to Aria and the XtraDB default, which replaces InnoDB in place - runs sweet as !

Found a bug... (due to MariaDB versions being '10.0.16-MariaDB')
In ../admincp/index.php line 55 make the following change (vB4.2.2)
PHP Code:

    //if ($mysqlversion['version'] >= '3.23')
    
if (version_compare($mysqlversion['version'],'3.23''>=')) 

also in ../admincp/diagnostic.php line 340 make the following change (vB4.2.2)
PHP Code:

            //if ($mysqlversion['version'] < '3.23')
            
if (version_compare($mysqlversion['version'],'3.23''<')) 

and line 719
PHP Code:

    //if ($mysqlversion['version'] < '3.23')
    
if (version_compare($mysqlversion['version'],'3.23''<')) 

--------------- Added [DATE]1424090842[/DATE] at [TIME]1424090842[/TIME] ---------------

Found a bug... (due to MariaDB versions being '10.0.16-MariaDB')
In ../admincp/index.php line 55 make the following change (vB4.2.2)
PHP Code:

    //if ($mysqlversion['version'] >= '3.23')
    
if (version_compare($mysqlversion['version'],'3.23''>=')) 


squidsk 02-16-2015 12:21 PM

Have you reported that on the bug tracker? It's a small enough bug that it should be able to be fixed.

puertoblack2003 02-16-2015 07:21 PM

Quote:

Originally Posted by AusPhotography (Post 2537647)
I've got all MySQL tables converted to Aria and the XtraDB default, which replaces InnoDB in place - runs sweet as !

can you point me out to how you complish that.I searched around there's little information about mariadb proper configurations etc etc,

thanks

AusPhotography 02-16-2015 10:09 PM

Quote:

Originally Posted by puertoblack2003 (Post 2537705)
can you point me out to how you complish that.I searched around there's little information about mariadb proper configurations etc etc,

thanks

InnoDB -> XtraDB is default for MariaDB > 10.0.8
Aria conversion is easy using phpMyAdmin, just change the table type
or
ALTER TABLE xxxx ENGINE=Aria;

--------------- Added [DATE]1424132633[/DATE] at [TIME]1424132633[/TIME] ---------------

Tracker http://tracker.vbulletin.com/browse/VBIV-16069


All times are GMT. The time now is 10:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01117 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete