大批量的生成数据

最近更新时间: 2025-02-18 16:02:00

  • 复制
    复制成功
postgres=# insert into tbase select t,md5(random()::text) from generate_series(1,10000) as t;
INSERT 0 10000
postgres=# select count(1) from tbase;
 count 
-------
 10000
(1 row)