<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>oracle Archives - Marc-Olivier Meunier</title>
	<atom:link href="https://momeunier.fr/tag/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>https://momeunier.fr/tag/oracle/</link>
	<description>Customer Engagement Leader // Ultra-distance cyclist</description>
	<lastBuildDate>Tue, 30 Nov -001 00:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>

<image>
	<url>https://momeunier.fr/wp-content/uploads/2022/09/cropped-cropped-ma-pomme-32x32.jpeg</url>
	<title>oracle Archives - Marc-Olivier Meunier</title>
	<link>https://momeunier.fr/tag/oracle/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to find which SQL is executed by a process</title>
		<link>https://momeunier.fr/how-find-which-sql-executed-process/</link>
					<comments>https://momeunier.fr/how-find-which-sql-executed-process/#respond</comments>
		
		<dc:creator><![CDATA[Marc Olivier Meunier]]></dc:creator>
		<pubDate></pubDate>
				<category><![CDATA[database]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[<p><span class="span-reading-time rt-reading-time" style="display: block;"><span class="rt-label rt-prefix">Reading Time: </span> <span class="rt-time"> &#60; 1</span> <span class="rt-label rt-postfix">minute</span></span></p>
<p>If you are looking for the last SQL query ran by a specific process, try this:&#160;</p>
<pre>
 
select substr(sa.sql_text,1,1000) txt
from v$process p, v$session s, v$sqlarea sa
where p.addr=s.paddr
and s.username is not null
and s.sql_address=sa.address(+)
and s.sql_hash_value=sa.hash_value(+)
and spid=&#38;SPID;
</pre>
<p>The post <a href="https://momeunier.fr/how-find-which-sql-executed-process/">How to find which SQL is executed by a process</a> appeared first on <a href="https://momeunier.fr">Marc-Olivier Meunier</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><span class="span-reading-time rt-reading-time" style="display: block;"><span class="rt-label rt-prefix">Reading Time: </span> <span class="rt-time"> &lt; 1</span> <span class="rt-label rt-postfix">minute</span></span><p>If you are looking for the last SQL query ran by a specific process, try this:&nbsp;</p>
<pre>
 
select substr(sa.sql_text,1,1000) txt
from v$process p, v$session s, v$sqlarea sa
where p.addr=s.paddr
and s.username is not null
and s.sql_address=sa.address(+)
and s.sql_hash_value=sa.hash_value(+)
and spid=&amp;SPID;
</pre>
<p>The post <a href="https://momeunier.fr/how-find-which-sql-executed-process/">How to find which SQL is executed by a process</a> appeared first on <a href="https://momeunier.fr">Marc-Olivier Meunier</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://momeunier.fr/how-find-which-sql-executed-process/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
