Collation conversion

4 years 8 months ago #313361 by krileon
Replied by krileon on topic Collation conversion
Only difference between DYNAMIC and COMPRESSED is that COMPRESSED further compresses the data. COMPRESSED is slower because it has to compress and uncompress data on access so the CPU demand is higher, but the storage demand is lower. I recommend just using DYNAMIC.

My guess is large indexes are not working for you because it's empty. It's also possible Akeeba did a pre-check before deciding to change the collation and using math determined it wouldn't fit based off the default innodb index size limit otherwise if large indexes is configured correctly it would've never errored and converted the collation perfectly fine.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: mikerotec

Please Log in to join the conversation.

4 years 7 months ago #313440 by activha
Replied by activha on topic Collation conversion
For a new website using MariaDB with innoDB engine and utf8mb4 it seems impossible to install CB.
We encounter an index > 767 error.

Trying to find a solution it seems like according to this you shoul set some globals before executing script.
stackoverflow.com/questions/43379717/how-to-enable-large-index-in-mariadb-10/43403017

SET GLOBAL innodb_file_format=Barracuda;
SET GLOBAL innodb_file_per_table=ON;
SET GLOBAL innodb_large_prefix=1;

However these variables and the script should be included in CB install script. We cannot set these independently of the install

Would it be possible for you to upgrade your install script ??

Please Log in to join the conversation.

4 years 7 months ago #313446 by krileon
Replied by krileon on topic Collation conversion
Joomla nor CB supports MariaDB. You are using an unsupported database. Use MYSQL or you'll need to troubleshoot any database issues your self. Joomla likely will never officially support MariaDB as noted below and so neither will we.

github.com/joomla/joomla-cms/issues/14141

However these variables and the script should be included in CB install script.

No they absolutely should not. Those modify how the database stores. We will never alter a users database in such a way. This would be dangerous to do within our install script.

We cannot set these independently of the install

Yes you most certainly can. They are simply SQL configuration settings. Typically you'd just change them in your "my.ini" file if changing them via query does not work.

Would it be possible for you to upgrade your install script ??

No.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.192 seconds

Facebook Twitter LinkedIn