Copy:
[email protected] (Ingres and related product discussion forum)
I would be interested in seeing results from:
egrep 'End : |Begin :' auditfile | awk '{print $5}' | sort | uniq -c
| sort | more
It should have all the open transactions at the top if i did this right on
my phone.
On Wed, 5 May 2021, 9:13 pm Martin Bowes, <
[email protected]>
wrote:
Thanks Paul, that’s very interesting intel.
2048 seems a low number in this day and age. Did they hint that this may
be bumped or configurable in a later release?
Marty
*From:* Paul White <[email protected]>
*Sent:* 05 May 2021 12:06
*To:* [email protected]
*Subject:* Re: [Info-ingres] Error from auditdb
From case 1176237
*Actually, it is not strictly "simultaneous" transactions in terms of transactions that were running at the same time and not committed (as I initially thought and tried to build with a test case). The 2048 limitation is rather transactions to be processed in one auditdb run which is also why the message disappears when using -e/-b limiting the data to be processed.*
I too would be interested to hear what the transaction limit was!
Marty
Did they mention what the limit is?
Roy
The comment doesnt make sense because my daily auditdb sometimes records
over 100k transactions.
I haven't returned to the implications of the comment because in my case
the problem started on the DR server running incremental rollforward on journals I had collected from two different instances. It was SIGSEGV TUPLE_MISMATCH and all sorts of errors, errlog filled the disk yada yada.
At the root of the problem was a table which was originally created unjournalled and was not replicating properly.
As part of the issue, I found auditdb had stopped recording the Begin of transactions. I think it is in the middle of sysmod.
Begin : Transaction Id 00005ea5138c69af 13-Feb-2021 02:52:13.75 Username ingres
Fcreate : Transaction Id 00005ea5138c69af File /data/ingresII/ingres/data/default/ctrust_docs_2021/ rtf6x1.m00
Modify : Transaction Id 00005ea5138c69af Id (225,0) Table [ii_vqtables ,$ingres ]
Update/Replace : Transaction Id 00005ea5138c69af Id (1,0) Table [iirelation,$ingres]
Old: <225|0|8|0|2|11|2445317|0|0|5|1|1|0|1611125819|1612538207|1612538207|104786|100000|0|0|0|80|80|70|0|0|8192|0|0|0|0|3|4|1
6|0|70|1|0|84|84|84|84|68|0|0|0|0|||^A|$ingres|ii_vqtables>
New: <225|0|8|0|2|11|2445317|2048|0|5|1|1|0|1611125819|1613145133|1613145133|771094|100000|0|0|0|80|80|70|0|0|8192|0|0|0|0|3|
4|16|0|70|1|0|84|84|84|84|68|0|0|0|0|||^A|$ingres|ii_vqtables>
Frename : Transaction Id 00005ea5138c69af File /data/ingresII/ingres/data/default/ctrust_docs_2021/ aaaaaaob.t00 to
rtf6zr.d00
Frename : Transaction Id 00005ea5138c69af File /data/ingresII/ingres/data/default/ctrust_docs_2021/ rtf6x1.m00 to
aaaaaaob.t00
End : Transaction Id 00005ea5138c69af 13-Feb-2021 02:52:13.78
Begin : Transaction Id 00005ea5138c69b3 13-Feb-2021 02:52:13.79 Username ingres
Fcreate : Transaction Id 00005ea5138c69b3 File /data/ingresII/ingres/data/default/ctrust_docs_2021/ rtf61h.m00
Modify : Transaction Id 00005ea5138c69b3 Id (219,0) Table [ii_stored_nstrings ,$ingres ]
Update/Replace : Transaction Id 00005ea5138c69b3 Id (1,0) Table [iirelation,$ingres]
Old: <219|0|4|0|2|11|2379781|0|0|5|1|1|0|1611125817|1612538207|1612538207|158487|100000|0|0|0|80|80|70|0|0|8192|0|0|0|0|3|4|1
6|0|70|1|0|1800|1800|1800|1800|41|0|0|0|0|||^A|$ingres|ii_stored_nstrings>
New: <219|0|4|0|2|11|2379781|2048|0|5|1|1|0|1611125817|1613145133|1613145133|836549|100000|0|0|0|80|80|70|0|0|8192|0|0|0|0|3|
4|16|0|70|1|0|1800|1800|1800|1800|41|0|0|0|0|||^A|$ingres|ii_stored_nstrings>
Frename : Transaction Id 00005ea5138c69b3 File /data/ingresII/ingres/data/default/ctrust_docs_2021/ aaaaaanl.t00 to
rtf628.d00
Frename : Transaction Id 00005ea5138c69b3 File /data/ingresII/ingres/data/default/ctrust_docs_2021/ rtf61h.m00 to
aaaaaanl.t00
End : Transaction Id 00005ea5138c69b3 13-Feb-2021 02:52:13.85
Update/Replace : Transaction Id 00005ea51393a887 Id (1,0) Table [iirelation,$ingres]
Old: <247|0|2|0|1|11|3215364|67110914|4172|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0
|0|0|1730560|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021>
New: <247|0|2|0|1|11|3215364|67110914|4172|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0
|0|0|1731584|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021>
End Mini: Transaction Id 00005ea51393a887
Update/Replace : Transaction Id 00005ea51393b6de Id (1,0) Table [iirelation,$ingres]
Old: <247|0|2|0|1|11|3215364|67110914|4173|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0
|0|0|1731584|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021>
New: <247|0|2|0|1|11|3215364|67110914|4173|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0
|0|0|1732608|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021>
End Mini: Transaction Id 00005ea51393b6de
Update/Replace : Transaction Id 00005ea51393bebc Id (1,0) Table [iirelation,$ingres]
Old: <247|0|2|0|1|11|3215364|67110914|4174|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0
|0|0|1732608|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021>
New: <247|0|2|0|1|11|3215364|67110914|4174|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0
|0|0|1733632|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021>
End Mini: Transaction Id 00005ea51393bebc
(goes on for several hundred mini transactions)
Paul
_______________________________________________
Info-ingres mailing list
[email protected] https://lists.planetingres.org/mailman/listinfo/info-ingres
<div dir="auto"><div>I would be interested in seeing results from:<div dir="auto"> egrep 'End : |Begin :' auditfile | awk '{print $5}' | sort | uniq -c | sort | more</div><div dir="auto"> It should have all the open
transactions at the top if i did this right on my phone.</div><div dir="auto"><br><div dir="auto"><br style="font-family:sans-serif"></div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 5 May 2021, 9:13 pm Martin Bowes,
<<a href="mailto:
[email protected]">
[email protected]</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="m_7267909865363537385WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks Paul, that’s very interesting intel.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">2048 seems a low number in this day and age. Did they hint that this may be bumped or configurable in a later release?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Marty<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Paul White <<a href="mailto:paul.
[email protected]" target="_blank" rel="noreferrer">
[email protected]</a>>
<b>Sent:</b> 05 May 2021 12:06<br>
<b>To:</b> <a href="mailto:
[email protected]" target="_blank" rel="noreferrer">
[email protected]</a><br>
<b>Subject:</b> Re: [Info-ingres] Error from auditdb<u></u><u></u></span></p> </div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p>From case 1176237<u></u><u></u></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p><span class="m_7267909865363537385text"><i>Actually, it is not strictly "simultaneous" transactions in terms of transactions that were running at the same time and not committed (as I initially thought and tried to build with a test case).
The 2048 limitation is rather transactions
to be processed in one auditdb run which is also why the message disappears when using -e/-b limiting the data to be processed.</i></span><u></u><u></u></p>
</blockquote>
<p class="MsoNormal"><br>
<u></u><u></u></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>I too would be interested to hear what the transaction limit was!<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Marty<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Did they mention what the limit is? <u></u><u></u></pre> <pre><u></u> <u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Roy<u></u><u></u></pre>
</blockquote>
<p><u></u> <u></u></p>
<p><span class="m_7267909865363537385text">The comment doesnt make sense because my daily auditdb sometimes records over 100k transactions.
</span><u></u><u></u></p>
<p><span class="m_7267909865363537385text">I haven't returned to the implications of the comment because in my case the problem started on the DR server running incremental rollforward on journals I had collected from two different instances. It was
SIGSEGV TUPLE_MISMATCH and all
sorts of errors, errlog filled the disk yada yada. At the root of the problem was a table which was originally created unjournalled and was not replicating properly.
</span><u></u><u></u></p>
<p><span class="m_7267909865363537385text">As part of the issue, I found auditdb had stopped recording the Begin of transactions. I think it is in the middle of sysmod.</span><u></u><u></u></p>
<pre><span class="m_7267909865363537385text">Begin : Transaction Id 00005ea5138c69af 13-Feb-2021 02:52:13.75 Username ingres<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Fcreate : Transaction Id 00005ea5138c69af File /data/ingresII/ingres/data/default/ctrust_docs_2021/ rtf6x1.m00<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Modify : Transaction Id 00005ea5138c69af Id (225,0) Table [ii_vqtables ,$ingres ]<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Update/Replace : Transaction Id 00005ea5138c69af Id (1,0) Table [iirelation,$ingres]<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Old: <225|0|8|0|2|11|2445317|0|0|5|1|1|0|1611125819|1612538207|1612538207|104786|100000|0|0|0|80|80|70|0|0|8192|0|0|0|0|3|4|1<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> 6|0|70|1|0|84|84|84|84|68|0|0|0|0|||^A|$ingres|ii_vqtables><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> New: <225|0|8|0|2|11|2445317|2048|0|5|1|1|0|1611125819|1613145133|1613145133|771094|100000|0|0|0|80|80|70|0|0|8192|0|0|0|0|3|<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> 4|16|0|70|1|0|84|84|84|84|68|0|0|0|0|||^A|$ingres|ii_vqtables><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Frename : Transaction Id 00005ea5138c69af File /data/ingresII/ingres/data/default/ctrust_docs_2021/ aaaaaaob.t00 to<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> rtf6zr.d00<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Frename : Transaction Id 00005ea5138c69af File /data/ingresII/ingres/data/default/ctrust_docs_2021/ rtf6x1.m00 to<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> aaaaaaob.t00<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text">End : Transaction Id 00005ea5138c69af 13-Feb-2021 02:52:13.78<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text">Begin : Transaction Id 00005ea5138c69b3 13-Feb-2021 02:52:13.79 Username ingres<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Fcreate : Transaction Id 00005ea5138c69b3 File /data/ingresII/ingres/data/default/ctrust_docs_2021/ rtf61h.m00<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Modify : Transaction Id 00005ea5138c69b3 Id (219,0) Table [ii_stored_nstrings ,$ingres ]<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Update/Replace : Transaction Id 00005ea5138c69b3 Id (1,0) Table [iirelation,$ingres]<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Old: <219|0|4|0|2|11|2379781|0|0|5|1|1|0|1611125817|1612538207|1612538207|158487|100000|0|0|0|80|80|70|0|0|8192|0|0|0|0|3|4|1<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> 6|0|70|1|0|1800|1800|1800|1800|41|0|0|0|0|||^A|$ingres|ii_stored_nstrings><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> New: <219|0|4|0|2|11|2379781|2048|0|5|1|1|0|1611125817|1613145133|1613145133|836549|100000|0|0|0|80|80|70|0|0|8192|0|0|0|0|3|<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> 4|16|0|70|1|0|1800|1800|1800|1800|41|0|0|0|0|||^A|$ingres|ii_stored_nstrings><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Frename : Transaction Id 00005ea5138c69b3 File /data/ingresII/ingres/data/default/ctrust_docs_2021/ aaaaaanl.t00 to<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> rtf628.d00<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Frename : Transaction Id 00005ea5138c69b3 File /data/ingresII/ingres/data/default/ctrust_docs_2021/ rtf61h.m00 to<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> aaaaaanl.t00<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text">End : Transaction Id 00005ea5138c69b3 13-Feb-2021 02:52:13.85<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Update/Replace : Transaction Id 00005ea51393a887 Id (1,0) Table [iirelation,$ingres]<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Old: <247|0|2|0|1|11|3215364|67110914|4172|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> |0|0|1730560|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> New: <247|0|2|0|1|11|3215364|67110914|4172|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> |0|0|1731584|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text">End Mini: Transaction Id 00005ea51393a887<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Update/Replace : Transaction Id 00005ea51393b6de Id (1,0) Table [iirelation,$ingres]<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Old: <247|0|2|0|1|11|3215364|67110914|4173|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> |0|0|1731584|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> New: <247|0|2|0|1|11|3215364|67110914|4173|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> |0|0|1732608|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text">End Mini: Transaction Id 00005ea51393b6de<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Update/Replace : Transaction Id 00005ea51393bebc Id (1,0) Table [iirelation,$ingres]<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> Old: <247|0|2|0|1|11|3215364|67110914|4174|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> |0|0|1732608|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> New: <247|0|2|0|1|11|3215364|67110914|4174|38|1|1|0|1611319122|1613142939|1613143751|441340|100000|0|0|0|80|80|70|0|0|16384|0<u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text"> |0|0|1733632|36|4|16|0|70|1|0|37|37|37|37|27|0|0|0|0|||^A|ingres|crm_doc2021><u></u><u></u></span></pre>
<pre><span class="m_7267909865363537385text">End Mini: Transaction Id 00005ea51393bebc</span><u></u><u></u></pre>
<p><span class="m_7267909865363537385text">(goes on for several hundred mini transactions)</span><u></u><u></u></p>
<p><span class="m_7267909865363537385text">Paul</span><u></u><u></u></p> <p><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
Info-ingres mailing list<br>
<a href="mailto:
[email protected]" target="_blank" rel="noreferrer">
[email protected]</a><br>
<a href="
https://lists.planetingres.org/mailman/listinfo/info-ingres" rel="noreferrer noreferrer" target="_blank">
https://lists.planetingres.org/mailman/listinfo/info-ingres</a><br>
</blockquote></div></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)