Go Back   vb.org Archive > Community Discussions > Forum and Server Management

Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2015, 11:30 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 02-11-2015, 02:33 AM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it free to use? I've heard that they charge for running it.
Reply With Quote
Благодарность от:
AusPhotography
  #3  
Old 02-11-2015, 08:03 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MariaDB is free to use.
I've been using it for like 1.5 year now and I'm very satisfied with MariaDB.
Reply With Quote
Благодарность от:
AusPhotography
  #4  
Old 02-11-2015, 04:03 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AusPhotography View Post
9. The MariaDB core team is ex MySQL because the did not like Oracle's approach
Seems to be a trend with software.
Reply With Quote
Благодарность от:
AusPhotography
  #5  
Old 02-11-2015, 07:15 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puertoblack2003 View Post
Is it free to use? I've heard that they charge for running it.
Free as it is fully FOSS.
Reply With Quote
Благодарность от:
puertoblack2003
  #6  
Old 02-15-2015, 07:10 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AusPhotography View Post
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
Reply With Quote
  #7  
Old 02-16-2015, 06:29 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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''>=')) 
Reply With Quote
  #8  
Old 02-16-2015, 12:21 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you reported that on the bug tracker? It's a small enough bug that it should be able to be fixed.
Reply With Quote
Благодарность от:
puertoblack2003
  #9  
Old 02-16-2015, 07:21 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AusPhotography View Post
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
Reply With Quote
  #10  
Old 02-16-2015, 10:09 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puertoblack2003 View Post
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
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05081 seconds
  • Memory Usage 2,280KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete