tsql - Insertion Of data into temp table -
i using sybase database , use db visulazier, have 2 tables 1 of table has 30 million , other table has 3 million has archive data of first table. both tables grow date, mean every day records table. creating temp table , inserting both tables temp tables , insertion takes lot of time times blows off software.
i errors: alter table size or remove temp tables sys logs.
can how improve performance.???
well, temprory tables shouldn't used inserting millions of data. fill tempdb.
to avoid logs filling, insert data in small batches, may 1000-10000 rows @ time.
curious know why adding records in temp table ?
Comments
Post a Comment