時間:2024-03-12 20:34作者:下載吧人氣:22
不用創建函數,直接向表中快速插入1000000條數據
create table tbl_test (id int, info text, c_time timestamp);
insert into tbl_test select generate_series(1,100000),md5(random()::text),clock_timestamp();
select count(id) from tbl_test; –查看個數據條數
網友評論