Search Postgresql Archives

estimate Index size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,
S.Sangeetha



--
View this message in context: http://postgresql.nabble.com/estimate-Index-size-tp5910738.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux