The SSD will have a minimum of five years of useful life under client workloads with up
to 40 GB of host writes per day.
with recursive s as (select (random() * 1e9)::bigint as n, 0 nested union all select (random() * 1e9)::bigint, nested+1 from s where nested < 1e6) select n from s where not exists (select from tablename where tablename.serialNumber = s.n) limit 1;
try this https://github.com/ircmaxell/password_compat