There is a project that need collecting periodically (2 months) data into one table and then exporting it as excel file. The table is a temporary table, the app do that delete from tb_name;insert into tb_name values........insert into tb_n
There is a project that need collecting periodically (2 months) data into one table and then exporting it as excel file. The table is a temporary table, the app do that
delete from tb_name; insert into tb_name values..... ... insert into tb_name values.....
In other to avoid this disadvantage influences, I suggest programer modify the app as
truncate table tb_name drop storage; insert into tb_name select * from ...
The delete operation will be causing tablespace fragments.
声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com