<?xml version="1.0" encoding="utf-8"?> 
<rss version="2.0"
  xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
  xmlns:atom="http://www.w3.org/2005/Atom">

<channel>

<title>M9K blog: заметки с тегом SQL</title>
<link>https://blog.m9k.space/tags/sql/</link>
<description>Заметки обо всём: devops, lifestyle, культура.</description>
<author>M</author>
<language>ru</language>
<generator>E2 (v3877; Aegea)</generator>

<itunes:owner>
<itunes:name>M</itunes:name>
<itunes:email></itunes:email>
</itunes:owner>
<itunes:subtitle>Заметки обо всём: devops, lifestyle, культура.</itunes:subtitle>
<itunes:image href="" />
<itunes:explicit></itunes:explicit>

<item>
<title>Посмотреть тело активного SQL-запроса по SID-у</title>
<guid isPermaLink="false">183</guid>
<link>https://blog.m9k.space/all/posmotret-telo-aktivnogo-sql-zaprosa-po-sid-u/</link>
<pubDate>Wed, 19 Mar 2025 08:08:40 +0000</pubDate>
<author>M</author>
<comments>https://blog.m9k.space/all/posmotret-telo-aktivnogo-sql-zaprosa-po-sid-u/</comments>
<description>
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;select 
  a.sid, 
  a.serial#,
  b.sql_text 
from 
  v$session a, 
  v$sqlarea b 
where 
  a.sql_address = b.address 
  and sid = $SID_NUMBER;&lt;/code&gt;&lt;/pre&gt;</description>
</item>

<item>
<title>OracleSQL История неудачных входов пользователя</title>
<guid isPermaLink="false">146</guid>
<link>https://blog.m9k.space/all/oracle-sql-baseenter-audit/</link>
<pubDate>Fri, 20 Oct 2023 09:51:19 +0000</pubDate>
<author>M</author>
<comments>https://blog.m9k.space/all/oracle-sql-baseenter-audit/</comments>
<description>
&lt;p&gt;Возникла задача посмотреть историю неудачных входов пользователя за период:&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;SELECT username, terminal, timestamp,returncode  FROM dba_audit_session WHERE username = 'USERNAME' AND RETURNCODE !=0 AND TIMESTAMP between
    to_date('2023-10-20 00:00:00', 'yyyy-mm-dd HH24:MI:SS') and
    to_date('2023-10-20 16:43:00', 'yyyy-mm-dd HH24:MI:SS')&lt;/code&gt;&lt;/pre&gt;</description>
</item>

<item>
<title>OracleSQL profile password lifetime</title>
<guid isPermaLink="false">145</guid>
<link>https://blog.m9k.space/all/oraclesql-profile-password-lifetime/</link>
<pubDate>Fri, 20 Oct 2023 08:19:53 +0000</pubDate>
<author>M</author>
<comments>https://blog.m9k.space/all/oraclesql-profile-password-lifetime/</comments>
<description>
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;select * from dba_profiles s where s.profile='PROFILE_NAME' 
and resource_name='PASSWORD_LIFE_TIME';&lt;/code&gt;&lt;/pre&gt;</description>
</item>

<item>
<title>Oracle — View Scheduler Jobs</title>
<guid isPermaLink="false">121</guid>
<link>https://blog.m9k.space/all/oracle-view-scheduler-jobs/</link>
<pubDate>Thu, 29 Dec 2022 08:03:30 +0000</pubDate>
<author>M</author>
<comments>https://blog.m9k.space/all/oracle-view-scheduler-jobs/</comments>
<description>
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;SELECT owner, job_name, comments FROM dba_scheduler_jobs;&lt;/code&gt;&lt;/pre&gt;</description>
</item>

<item>
<title>Процессы Oracle</title>
<guid isPermaLink="false">52</guid>
<link>https://blog.m9k.space/all/processy-oracle/</link>
<pubDate>Fri, 25 Sep 2020 04:51:14 +0000</pubDate>
<author>M</author>
<comments>https://blog.m9k.space/all/processy-oracle/</comments>
<description>
&lt;p&gt;Наличие запущенных листенеров в памяти&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;ps -ef | grep tnslsnr&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Запущенные инстансы Oracle SQL&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;ps -ef | grep pmon | cut -s -f 3 -d &amp;quot;_&amp;quot;&lt;/code&gt;&lt;/pre&gt;</description>
</item>


</channel>
</rss>