Search Postgresql Archives

Profiling ERROR Conditions

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

 



I'm interested in getting some benchmark numbers from postgres in situations that generate errors. Specifically, I'm trying to analyze high-volume attempts to insert into tables such that unique constraints (primary keys) are violated by duplicate keys.

EXPLAIN ANALYZE INSERT INTO ...

doesn't work because if the INSERT fails an ERROR is generated and no statistics are returned. Does this mean that I'll just have to settle for non-native benchmark/profiling numbers?

Just curious whether there's a native way to measure the performance impact of ERROR conditions.

Thanks!

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005


---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx

[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