-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mysql leads table, too many keys specified max 64 keys allowed #4465
Comments
Thanks for the report! I'll close it in favour of #4372 |
How is this related to #4372? That issue doesn't say anything about indexes, only column size. Is it to add an option for whether the field should be indexed or not? |
Yes, that is the idea. Give user option to configure the column size and whether the column should have index. Please comment there with the index limit. I still think these 2 options could be done in one PR. |
How to solve this problem? It's stopping my campaigns from run. |
I did not found solution for this. May be you could solve it recompiling
mysql using some options bypassing the 64keys limit, but i cant test it
because i cant recompile.
El El sáb, 7 abr 2018 a las 1:49, Alan Mosko <notifications@github.com>
escribió:
… How to solve this problem?
It's stopping my campaigns from rolling.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4465 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAqADoMqxLqYz8p2BdZyX7K4_7_CU9Y0ks5tl_8TgaJpZM4OcWxG>
.
|
A quick fix could be to remove indexes from some custom fields that you think Mautic does not use to search or join by. For example those that aren't used in segment filters. You'd have to do that in your database directly. Use PhpMyAdmin or Adminer for easier database manipulation. Let us know if this worked for you please. |
Thanks John! I will try it. I think it’s a temporal fix because on next
mautic Update this will throw errors due to migrations (i think migrations
will add the indexes again.)
El El lun, 9 abr 2018 a las 8:51, John Linhart <notifications@github.com>
escribió:
… A quick fix could be to remove indexes from some custom fields that you
think Mautic does not use to search or join by. For example those that
aren't used in segment filters. You'd have to do that in your database
directly. Use PhpMyAdmin or Adminer for easier database manipulation. Let
us know if this worked for you please.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4465 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAqADgT9ljZHtePcNCE5RbEGa_0w0BZKks5tmwUKgaJpZM4OcWxG>
.
|
Nope, migrations do not add the indexes back. But every time you create a custom field and maybe during update the index will be created. |
So you have no solution for that yet? Why the problem is giving in a custom field I created in 2.12.11. |
I confirm that the answer by @john Linhart it's right, but it's more a
patch than a solution, but at least you can update your instance without
problems.
El mar., 10 abr. 2018 a las 2:32, Alan Mosko (<notifications@github.com>)
escribió:
… So you have no solution for that yet? Why the problem is giving in a
custom field I created in 2.12.11.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4465 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAqADigmhom4AgH_-RRAiiVqLqSG7HFPks5tm_2UgaJpZM4OcWxG>
.
|
The ideal would be to have a solution, the alternative may work temporarily, but with the growth of the tool, how does it work? |
Might this be helpful? |
+1 I am also encountering this issue |
What type of report is this:
Description:
This bug does not let you perform write actions over leads table. When custom field property it's created the system also creates and index in this table. For solve you have to recompile MySQL:
./configure --prefix=/usr/local/mysql --with-charset=cp1251 --enable-thread-safe-client --with-max-indexes=256
If a bug:
Steps to reproduce:
Log errors:
[Doctrine\DBAL\Exception\DriverException]
An exception occurred while executing 'CREATE INDEX instagram_search ON leads (instagram)':
SQLSTATE[42000]: Syntax error or access violation: 1069 Too many keys specified; max 64 keys allowed
[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1069 Too many keys specified; max 64 keys allowed
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1069 Too many keys specified; max 64 keys allowed
The text was updated successfully, but these errors were encountered: