hi again
I've found a lot of these, vpxd is using a lot of CPU but postgres is doing the same thing....I found that the DB need to be indexed or something to improve the performance but I cannot find any article related to that, I see a lot for Microsoft SQL and Oracle but not for vmware database
2014-04-03T12:46:05.682Z [7FB7E6B5A700 warning 'Default' opID=326aa86b] [VdbStatement]SQL execution took too long:SELECT EVENT_ID, CHAIN_ID, EVENT_TYPE, EXTENDED_CLA
SS, CREATE_TIME, USERNAME, CATEGORY, VM_ID, VM_NAME, HOST_ID, HOST_NAME, COMPUTERESOURCE_ID, COMPUTERESOURCE_TYPE, COMPUTERESOURCE_NAME, DATACENTER_ID, DATACENTER_NAME
, DATASTORE_ID, DATASTORE_NAME, NETWORK_ID, NETWORK_NAME, NETWORK_TYPE, DVS_ID, DVS_NAME, STORAGEPOD_ID, STORAGEPOD_NAME, CHANGE_TAG_ID FROM VPX_EVENT WHERE CREATE_TIM
E>=? AND EVENT_ID>? ORDER BY EVENT_ID ASC
2014-04-03T12:46:05.682Z [7FB7E6B5A700 warning 'Default' opID=326aa86b] [VdbStatement] Execution elapsed time: 24915 ms
2014-04-03T12:46:05.682Z [7FB7E6B5A700 warning 'Default' opID=326aa86b] [VdbStatement] Bind parameters:
2014-04-03T12:46:05.682Z [7FB7E6B5A700 warning 'Default' opID=326aa86b] [VdbStatement] datatype: 10, size: 23, arraySize: 0
2014-04-03T12:46:05.682Z [7FB7E6B5A700 warning 'Default' opID=326aa86b] [VdbStatement] datatype: 7, size: 1, arraySize: 0
2014-04-03T12:46:05.682Z [7FB7E6B5A700 warning 'Default' opID=326aa86b] [VdbStatement] value = "0"
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] SQL execution took too long: BEGIN; select insert_stats_proc(?, ?, ?, ?); END;
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] Execution elapsed time: 3936 ms
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] Bind parameters:
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] datatype: 3, size: 21, arraySize: 1000
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] value = 8386114176436879663
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] datatype: 3, size: 21, arraySize: 1000
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] value = 8386114176436879663
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] datatype: 3, size: 21, arraySize: 1000
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] value = 8386114176436879663
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] datatype: 3, size: 21, arraySize: 1000
2014-04-03T12:50:09.031Z [7FB7E7064700 warning 'Default' opID=SWI-13ee8e86] [VdbStatement] value = 0