Postgresql Insert loop execution time is too long
古いコメントを表示
Hi,
I'm currently trying to save test data into a PostGreSQL database. I loop on my table and insert my data as the following :
for i=1:size(Data,1)
exec(obj.conn,['INSERT INTO...........'])
end
The size of my data is about 234000 rows. The copy in the database take 2h30...
I'm using the database toolbox
Thank you in advance for you help !
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で PostgreSQL Native Interface についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!