<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        FONT-SIZE: 10.5pt; COLOR: #000080; LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体
}
</STYLE>

<META content="MSHTML 6.00.2900.6036" name=GENERATOR></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi Michael,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I was told that the RHEV&nbsp;was down yesterday once, because <FONT 
style="BACKGROUND-COLOR: #cce8cf">the select connections of postpresql database 
were over 300. Unfortunately , my project became one of suspects to cause 
that.</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf"></FONT>&nbsp;</DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf">As I know, my project does request 
hundreds&nbsp;of REST API continuously in every 5 mins. </FONT><FONT 
style="BACKGROUND-COLOR: #cce8cf">Will it cause the database too busy to work? 
</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf"></FONT>&nbsp;</DIV>
<DIV>Best&nbsp;wishes, </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>
<DIV>
<DIV><SPAN style="FONT-SIZE: 10.5pt; COLOR: #000000; FONT-FAMILY: 宋体">Dean 
Gao</DIV></SPAN></SPAN></DIV></DIV>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<DIV 
style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; COLOR: #000000; PADDING-TOP: 8px">
<DIV><B>发件人:</B>&nbsp;<A href="mailto:mpastern@redhat.com">Michael 
Pasternak</A></DIV>
<DIV><B>发送时间:</B>&nbsp;2012-12-04&nbsp;17:19</DIV>
<DIV><B>收件人:</B>&nbsp;<A href="mailto:gao.song@neusoft.com">gao.song</A>; <A 
href="mailto:users@ovirt.org">users@ovirt.org</A></DIV>
<DIV><B>主题:</B>&nbsp;Re: How to delete Events in RHEV?</DIV></DIV></DIV>
<DIV>
<DIV>On&nbsp;12/04/2012&nbsp;10:43&nbsp;AM,&nbsp;gao.song&nbsp;wrote:</DIV>
<DIV>&gt;&nbsp;Hi&nbsp;Michael,</DIV>
<DIV>&gt;&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;Is&nbsp;there&nbsp;any&nbsp;REST&nbsp;API&nbsp;available&nbsp;to&nbsp;delete&nbsp;the&nbsp;events&nbsp;in&nbsp;RHEV&nbsp;please?</DIV>
<DIV>&nbsp;</DIV>
<DIV>no.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;The&nbsp;events&nbsp;raises&nbsp;so&nbsp;fast&nbsp;because&nbsp;of&nbsp;the&nbsp;huge&nbsp;number&nbsp;of&nbsp;REST&nbsp;requests,&nbsp;and&nbsp;it&nbsp;causes&nbsp;that&nbsp;the&nbsp;RHEV&nbsp;environment&nbsp;runs&nbsp;very&nbsp;slowly.&nbsp;I&nbsp;have&nbsp;to&nbsp;find&nbsp;a&nbsp;way&nbsp;to&nbsp;clean&nbsp;some</DIV>
<DIV>&gt;&nbsp;unimportant&nbsp;events.</DIV>
<DIV>&nbsp;</DIV>
<DIV>if&nbsp;you&nbsp;using&nbsp;&gt;&nbsp;3.1&nbsp;backend,&nbsp;you&nbsp;should&nbsp;be&nbsp;using&nbsp;persistent&nbsp;authentication&nbsp;in&nbsp;api,</DIV>
<DIV>this&nbsp;way&nbsp;you'll&nbsp;have&nbsp;to&nbsp;pass&nbsp;JSESSIONID&nbsp;and&nbsp;login&nbsp;will&nbsp;happen&nbsp;only&nbsp;on&nbsp;first&nbsp;request.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;Thanks.</DIV>
<DIV>&gt;&nbsp;----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV>&gt;&nbsp;Dean&nbsp;Gao</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;---------------------------------------------------------------------------------------------------</DIV>
<DIV>&gt;&nbsp;Confidentiality&nbsp;Notice:&nbsp;The&nbsp;information&nbsp;contained&nbsp;in&nbsp;this&nbsp;e-mail&nbsp;and&nbsp;any&nbsp;accompanying&nbsp;attachment(s)</DIV>
<DIV>&gt;&nbsp;is&nbsp;intended&nbsp;only&nbsp;for&nbsp;the&nbsp;use&nbsp;of&nbsp;the&nbsp;intended&nbsp;recipient&nbsp;and&nbsp;may&nbsp;be&nbsp;confidential&nbsp;and/or&nbsp;privileged&nbsp;of</DIV>
<DIV>&gt;&nbsp;Neusoft&nbsp;Corporation,&nbsp;its&nbsp;subsidiaries&nbsp;and/or&nbsp;its&nbsp;affiliates.&nbsp;If&nbsp;any&nbsp;reader&nbsp;of&nbsp;this&nbsp;communication&nbsp;is</DIV>
<DIV>&gt;&nbsp;not&nbsp;the&nbsp;intended&nbsp;recipient,&nbsp;unauthorized&nbsp;use,&nbsp;forwarding,&nbsp;printing,&nbsp;&nbsp;storing,&nbsp;disclosure&nbsp;or&nbsp;copying</DIV>
<DIV>&gt;&nbsp;is&nbsp;strictly&nbsp;prohibited,&nbsp;and&nbsp;may&nbsp;be&nbsp;unlawful.If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error,please</DIV>
<DIV>&gt;&nbsp;immediately&nbsp;notify&nbsp;the&nbsp;sender&nbsp;by&nbsp;return&nbsp;e-mail,&nbsp;and&nbsp;delete&nbsp;the&nbsp;original&nbsp;message&nbsp;and&nbsp;all&nbsp;copies&nbsp;from</DIV>
<DIV>&gt;&nbsp;your&nbsp;system.&nbsp;Thank&nbsp;you.</DIV>
<DIV>&gt;&nbsp;---------------------------------------------------------------------------------------------------</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>--&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Michael&nbsp;Pasternak</DIV>
<DIV>RedHat,&nbsp;ENG-Virtualization&nbsp;R&amp;D</DIV></DIV><p>---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing,&nbsp; storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p></BODY></HTML>