estimate Index size

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

estimate Index size

Hi All,
I want to calculate bytes taken for a record before inserting it into table. Now I am doing bulk inserts into table with 200 records using PQputCopyData. Before inserting 200 records, I want to verify if the size of DB is sufficient for that insertion. I think for that I have to calculate record size + index size for each record before insertion.

 Please guide on this.

Thanks and Regards,
Previous Thread Next Thread