Re: Why the index is not used ?

2018-10-07 Thread Vladimir Ryabtsev
Additionally it is not clear why you want to search in table on encrypted data. Usually you match user with it's unpersonalized data (such as login, user ID) and then decrypt personalized data. If you need to store user identifying data encrypted as well (e.g. bank account number) you can use a det

Re: Why the index is not used ?

2018-10-07 Thread Vladimir Ryabtsev
Didier, you was given a few things to check in another my message on the same day. You have not provided any feedback. It is up to you how to implement your system, but you can with no doubt consider your database as not encrypted with your approach. You (or probably your management) have no under

Re: Why the index is not used ?

2018-10-06 Thread Vladimir Ryabtsev
Hello Didier, (3), (5) to find the match, you decrypt the whole table, apparently this take quite a long time. Index cannot help here because indexes work on exact match of type and value, but you compare mapped value, not indexed. Functional index should help, but like it was said, it against the