PostgreSQL快速插入百万数据 -- 创建测试表 create table test_table ( id int, stu_name text, stu_time timestamp ); # 插入测试数据 insert into test_table select -- 生成序列 generate_series(1,1000000), -- 生成随机的md5字符串 md5(random()::text), -- 当前时间 clock_timestamp();