CREATE TABLE empty_strings (s String) ENGINE = Log; INSERT INTO empty_strings SELECT '' FROM zeros_mt(1000000000); SELECT count() FROM empty_strings WHERE NOT ignore(s) DROP TABLE IF EXISTS empty_strings