-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Labels
Description
Describe the bug
In one of my table, there is an encrypted field e_phone
. Table has 3 Million of rows. Without using an index, it is taking approx 5sec to search on e_phone
field.
After creating a functional index as follows:
CREATE INDEX e_phone_index ON customer_detail((convert(substr(e_phone, 1, 33), binary)));
It is taking less time.
I want to know that what are the other suggested indexes to be create on encrypted columns for searching?
To Reproduce
NA
Expected behavior
NA
Acra configuration files
NA
Environment (please complete the following information):
-
Acra version: [0.95.0]
-
Database server and its version: [MySQL 5.7, MySQL 8]
-
Installed components:
- AcraServer
-
Data-in-transit encryption between Acra and the client-side application:
- no transport encryption
-
Installation way:
- via Docker
Additional context
NA