On 16/1/19 3:20 μ.μ., Mark Steben
wrote:
Why don't you create an index on the extracted part including the where clause? create index your_table_email_domain ON your_table(substring(email from '@(.*)$')) WHERE length(email::text) > 0 ;
-- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt |