Functional index in database

?? Database Tip

Most developers are puzzled that indexes are not used for e.g. WHERE LOWER(email) = ?

Most developers are unaware of it, but you CAN create an index so this will be very fast!!! It's called a functional index and is supported by MySQL and PostgreSQL.

No alt text provided for this image
Credits : Tobias Petry

For more database indexes tips read my medium blog

https://medium.com/@matam-kirankumar/indexes-in-postgresql-53f453e31729

references : https://sqlfordevs.com/concurrent-updates-locking


要查看或添加评论,请登录

社区洞察

其他会员也浏览了