<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-12417627</id><updated>2026-07-24T16:00:49.562+10:00</updated><category term="Oracle"/><category term="Linux"/><category term="HP-UX"/><category term="SAN"/><category term="MS SQL"/><category term="Solaris"/><category term="Links"/><category term="Oracle Install"/><category term="Oracle Maintaining"/><category term="Oracle-Backup"/><category term="Shell"/><category term="Internet"/><category term="VAS etc."/><category term="FreeBSD"/><category term="Cert"/><category term="Linux HOWTO&#39;s"/><category term="MS SQL Courses"/><category term="OVO"/><category term="Oracle ASM"/><category term="Platform LSF"/><category term="SMTP"/><category term="Windows RDP"/><category term="Афоризмы"/><category term="AWR"/><category term="Cisco"/><category term="Drafts"/><category term="Education"/><category term="Flashback"/><category term="Hard"/><category term="Just thoughts"/><category term="Meizu"/><category term="Metalink"/><category term="Oracle 12c;pluggable database"/><category term="Oracle AWR"/><category term="Oracle RAC"/><category term="Oracle SQLPlus"/><category term="Oracle Upgrade"/><category term="Oracle startup"/><category term="Perl"/><category term="RMAN"/><category term="SQLServer"/><category term="SUN"/><category term="Scripts"/><category term="Shell Tasks"/><category term="USB"/><category term="Ultrium"/><category term="VMware"/><category term="Vintela VAS etc."/><category term="Windows"/><category term="Windows Antivirus"/><category term="Windows. Registry"/><category term="multiple"/><category term="password"/><category term="regexp"/><category term="yum"/><category term="Протестить"/><category term="Уязвимости"/><title type='text'>pinbol</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>222</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12417627.post-4513832647592812816</id><published>2023-07-24T10:08:00.000+10:00</published><updated>2023-07-24T10:08:03.976+10:00</updated><title type='text'>Killing processes by process name</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;Killing processes by process name&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; margin: 10px 0px 0px; padding: 0px;&quot;&gt;In order to kill multiple processes by name template use the&amp;nbsp;ps -ef|grep NAME_OF_PROCESS|grep -v grep| awk &#39;{print $2}&#39; | xargs kill&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; margin: 10px 0px 0px; padding: 0px;&quot;&gt;root[+ASM1]@yuzdc1-n-b00001 ~ # ps -ef|grep CDBAUX|grep -v grep&lt;br /&gt;oracle 1325 1 0 May08 ? 00:00:08 ora_w00b_CDBAUX&lt;br /&gt;oracle 12727 1 0 May07 ? 00:00:09 ora_w003_CDBAUX&lt;br /&gt;oracle 13370 1 0 May08 ? 00:00:08 ora_w00a_CDBAUX&lt;br /&gt;oracle 24014 1 0 May08 ? 00:00:08 ora_w007_CDBAUX&lt;br /&gt;oracle 80734 1 0 May07 ? 00:00:33 ora_pmon_CDBAUXR1&lt;br /&gt;oracle 80736 1 0 May07 ? 00:00:48 ora_psp0_CDBAUXR1&lt;br /&gt;......&lt;br /&gt;oracle 149625 1 0 May11 ? 00:02:32 ora_o001_CDBAUX&lt;br /&gt;oracle 184346 1 0 May08 ? 00:00:09 ora_w008_CDBAUX&lt;br /&gt;root[+ASM1]@yuzdc1-n-b00001 ~ # ps -ef|grep CDBAUX|grep -v grep| awk &#39;{print $2}&#39; | xargs kill&lt;br /&gt;root[+ASM1]@yuzdc1-n-b00001 ~ # ps -ef|grep CDBAUX|grep -v grep&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/4513832647592812816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/4513832647592812816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/4513832647592812816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/4513832647592812816'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2023/07/killing-processes-by-process-name.html' title='Killing processes by process name'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-1068151188798429480</id><published>2023-02-18T07:37:00.005+10:00</published><updated>2023-02-18T07:37:48.254+10:00</updated><title type='text'></title><content type='html'>&lt;p&gt;Как быстро проверить лог и статус Oracle RMAN backup задач&lt;/p&gt;&lt;p&gt;Спасибо https://orahow.com/check-rman-log-file-and-status/&lt;/p&gt;&lt;p&gt;Steps to check the RMAN backup job details.&lt;/p&gt;&lt;p&gt;STEP 1:&amp;nbsp; To find the status of the jobs:&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;set lines 300&lt;br /&gt;&amp;nbsp;col STATUS format a22&lt;br /&gt;&amp;nbsp;col hrs format 999.99&lt;br /&gt;&amp;nbsp;select&lt;br /&gt;&amp;nbsp;SESSION_KEY, SESSION_RECID, SESSION_STAMP,INPUT_TYPE, STATUS,&lt;br /&gt;&amp;nbsp;to_char(START_TIME,&#39;mm/dd/yy hh24:mi&#39;) start_time,&lt;br /&gt;&amp;nbsp;to_char(END_TIME,&#39;mm/dd/yy hh24:mi&#39;)&amp;nbsp; &amp;nbsp;end_time,&lt;br /&gt;&amp;nbsp;elapsed_seconds/3600&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hrs&lt;br /&gt;&amp;nbsp;from V$RMAN_BACKUP_JOB_DETAILS&lt;br /&gt;&amp;nbsp;order by session_key;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;STEP 2:&amp;nbsp; Check the % completed and more detailed information:&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK,&lt;br /&gt;&amp;nbsp;ROUND (SOFAR/TOTALWORK*100, 2) &quot;% COMPLETE&quot;&lt;br /&gt;&amp;nbsp;FROM V$SESSION_LONGOPS&lt;br /&gt;&amp;nbsp;WHERE OPNAME LIKE &#39;RMAN%&#39; AND OPNAME NOT LIKE &#39;%aggregate%&#39;&lt;br /&gt;&amp;nbsp;AND TOTALWORK! = 0 AND SOFAR &amp;lt;&amp;gt; TOTALWORK;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;STEP 3: Check the logs or output of the running RMAN jobs&amp;nbsp;&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;set lines 200&lt;br /&gt;&amp;nbsp;set pages 1000&lt;br /&gt;&amp;nbsp;select output from GV$RMAN_OUTPUT&lt;br /&gt;&amp;nbsp;where session_recid = &amp;amp;SESSION_RECID&lt;br /&gt;&amp;nbsp;and session_stamp = &amp;amp;SESSION_STAMP&lt;br /&gt;&amp;nbsp;order by recid;&lt;/div&gt;&lt;p&gt;NOTE: Please enter&amp;nbsp; SESSION_RECID&amp;nbsp; and&amp;nbsp; SESSION_STAMP&amp;nbsp; from the 1st query mentioned in step 1.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/1068151188798429480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/1068151188798429480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/1068151188798429480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/1068151188798429480'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2023/02/oracle-rman-backup-httpsorahow.html' title=''/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-2859572105004102503</id><published>2022-12-22T20:15:00.002+10:00</published><updated>2022-12-22T20:15:18.425+10:00</updated><title type='text'>Быстрый поиск блокировки в Oracle</title><content type='html'>&lt;p&gt;&amp;nbsp;Быстрый поиск блокировки в Oracle&lt;/p&gt;&lt;p&gt;https://www.support.dbagenesis.com/post/lock-conflict-in-oracle&lt;/p&gt;&lt;p&gt;Быстро о блокировках&lt;/p&gt;&lt;p&gt;&amp;nbsp;https://oracle-patches.com/oracle/begin/%D0%B1%D0%BB%D0%BE%D0%BA%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D0%B8-oracle&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/2859572105004102503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/2859572105004102503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/2859572105004102503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/2859572105004102503'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2022/12/oracle.html' title='Быстрый поиск блокировки в Oracle'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-730953634756600384</id><published>2022-02-02T11:53:00.003+10:00</published><updated>2022-02-02T11:53:33.503+10:00</updated><title type='text'></title><content type='html'>&lt;p&gt;Имеется проблема в БД Dashboard, когда при синхронизации данных у пользователей выскакивает ошибка, видимая в Error.log как&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier; font-size: x-small;&quot;&gt;2022-02-02 09:53:57.65 spid153&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Error: 8623, Severity: 16, State: 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;2022-02-02 09:53:57.65 spid153&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Саша Х. из поддержки приложений лечит ее при помощи ребилда не-уникального не-кластерного индекса каждое утро.&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Была мысль сделать секционирование, но на таблицу из 40 млн. записей, это может быть неправильным.&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;И сегодня я обнаружил две устаревшие auto-created статистики по таблице, которая принимает участие в проблемных запросах Dashboard.&lt;/p&gt;&lt;p&gt;И так я собрал статистику по ним при помощи статьи&amp;nbsp;https://www.sqlshack.com/sql-server-statistics-and-how-to-perform-update-statistics-in-sql/&lt;/p&gt;&lt;p&gt;всего ушло на одну 30 сек., на другую 270 сек. CPU time&lt;/p&gt;&lt;p&gt;Посмотрим проявится ли ошибка завтра.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: teal; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; white-space: pre-wrap;&quot;&gt;-- Список всех статистик по таблице [dbo].[logical_values]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;background-color: white; border: 0px; font-size: 12px; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: teal; font-family: Courier New, monospace;&quot;&gt;SELECT sp.stats_id, 
       name, 
       filter_definition, 
       last_updated, 
       rows, 
       rows_sampled, 
       steps, 
       unfiltered_rows, 
       modification_counter
FROM sys.stats AS stat
     CROSS APPLY sys.dm_db_stats_properties(stat.object_id, stat.stats_id) AS sp
WHERE stat.object_id = OBJECT_ID(&#39;[dbo].[logical_values]&#39;)
order by last_updated;

-- We see two old AUTO Created statistics 
-- logical_id statistics
-- [_WA_Sys_00000002_5BE2A6F2]

-- extra_id statistics
-- [_WA_Sys_00000005_5BE2A6F2]

-- Let&#39;s update these OLD statistics with FULL SCAN

set statistics io on;
set statistics time on;
-- update statistics on extra_id column
Update STATISTICS [dbo].[logical_values] _WA_Sys_00000005_5BE2A6F2 WITH FULLSCAN;
 ---SQL Server Execution Times:
   ---- CPU time = 25640 ms,  elapsed time = 28841 ms.
-- update statistics on logical_id column

Update STATISTICS [dbo].[logical_values] _WA_Sys_00000002_5BE2A6F2 WITH FULLSCAN;
-- SQL Server Execution Times:
  -- CPU time = 27516 ms,  elapsed time = 29202 ms.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgYsfPKs38FUzYutkKvnHTvxIGDh8dm8kvmJCCLQnnDGeMHBRATqAFL-6QJUXQ7xwk1xcVWh9m7iGHBfyLd4kqRb4_IVbypmo1hVaaxPWftjpvC3M7CFzWbfHferlfjuMX6pSSpLY8uOc6KDAaDBdxDBKvhLFFoDLkJQ3zVNDqkbXFA7FUXKw&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;707&quot; data-original-width=&quot;1167&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgYsfPKs38FUzYutkKvnHTvxIGDh8dm8kvmJCCLQnnDGeMHBRATqAFL-6QJUXQ7xwk1xcVWh9m7iGHBfyLd4kqRb4_IVbypmo1hVaaxPWftjpvC3M7CFzWbfHferlfjuMX6pSSpLY8uOc6KDAaDBdxDBKvhLFFoDLkJQ3zVNDqkbXFA7FUXKw=s16000&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/730953634756600384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/730953634756600384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/730953634756600384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/730953634756600384'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2022/02/dashboard-error.html' title=''/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgYsfPKs38FUzYutkKvnHTvxIGDh8dm8kvmJCCLQnnDGeMHBRATqAFL-6QJUXQ7xwk1xcVWh9m7iGHBfyLd4kqRb4_IVbypmo1hVaaxPWftjpvC3M7CFzWbfHferlfjuMX6pSSpLY8uOc6KDAaDBdxDBKvhLFFoDLkJQ3zVNDqkbXFA7FUXKw=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-6365586226580780675</id><published>2017-12-10T10:23:00.000+10:00</published><updated>2017-12-10T10:49:18.400+10:00</updated><title type='text'>Data Guard concepts and processes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Data Guard Modes include the following three:&lt;br /&gt;
- Maximum Protection&lt;br /&gt;
- Maximum Availability&lt;br /&gt;
- Maximum Performance&lt;br /&gt;
&lt;br /&gt;
Physical&lt;br /&gt;
Logincal&lt;br /&gt;
Snapshot&lt;br /&gt;
&lt;br /&gt;
In the physical standby database, your standby database is identical to the primary database, even at the block level. So the redo from the Primary could be applied directly to Standby.&lt;br /&gt;
MRP - Managed Recovery Process applies the redo entries from archived logs (or from 12c redo logs) to Physical Standby&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Logical Standby database is different. It is independent database and its DB name is different from Primary Database.&lt;br /&gt;
LSP - Logical Standby Process applies the redo records from archived logs (or from 12c redo logs) to Logical Standby. LSP reads redo and convert it to SQL statement. LSP not applies redo, but applies SQL statement eventually.&lt;br /&gt;
Because SQL statements applies then the Logical Standby DB can be higher version of database or lower version. That&#39;s why we use Logical Standby DB in case of rolling upgrade.&lt;br /&gt;
Standby Logical Database is more resource usage consumable. Because we use LogMiner and other BG processes to read redo, to convert redo into SQL, to evaluate SQL statement, to apply SQL statement. We experience little more overhead that with physical stb db, but it is acceptable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/6365586226580780675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/6365586226580780675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6365586226580780675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6365586226580780675'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2017/12/data-guard-concepts-and-processes.html' title='Data Guard concepts and processes'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-658430833130409486</id><published>2017-05-26T20:53:00.002+10:00</published><updated>2017-05-26T20:53:30.210+10:00</updated><title type='text'>SQL Server Index and Statistics Maintenance</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/658430833130409486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/658430833130409486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/658430833130409486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/658430833130409486'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2017/05/sql-server-index-and-statistics.html' title='SQL Server Index and Statistics Maintenance'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-3091956420458852809</id><published>2017-05-22T19:47:00.002+10:00</published><updated>2017-05-22T19:47:55.774+10:00</updated><title type='text'>Oracle waits прозрачно</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
https://sites.google.com/site/embtdbo/wait-event-documentation/oracle-io-waits&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/3091956420458852809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/3091956420458852809' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/3091956420458852809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/3091956420458852809'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2017/05/oracle-waits.html' title='Oracle waits прозрачно'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-2360156544059325894</id><published>2017-05-09T20:59:00.000+10:00</published><updated>2017-05-09T20:59:04.563+10:00</updated><title type='text'>Linux &#39;screen&#39; command</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It is very useful to use screen in the terminal leaving your session at work with a process and return to it at home. Below is example with steps sequence of using the &#39;screen&#39;.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;$
script -c &#39;screen&#39; /dev/null &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;$
screen -ls&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;There are
screens on:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32156.pts-8.host022&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Attached)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25681.xdbfix&amp;nbsp;&amp;nbsp;&amp;nbsp; (Attached)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3074.pts-8.host022&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Attached)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25658.pts-2.host022&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Attached)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1289.pts-11.host022&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Detached)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;5 Sockets
in /var/run/screen/S-oracle.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;$
screen -r 1289.pts-11.host022&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/2360156544059325894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/2360156544059325894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/2360156544059325894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/2360156544059325894'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2017/05/linux-screen-command.html' title='Linux &#39;screen&#39; command'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-407019521531695053</id><published>2017-05-03T09:53:00.000+10:00</published><updated>2017-05-03T09:53:02.568+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWR"/><category scheme="http://www.blogger.com/atom/ns#" term="multiple"/><title type='text'>Multiple AWR reports with one hour break up</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It seems strange, but sometimes Application support asks about AWR Reports on 1-2 days with one hour break up.&lt;br /&gt;
&lt;br /&gt;
In this case it is useful &amp;nbsp;multiple_awr.sql script from&lt;br /&gt;
https://oracle-base.com/dba/script?category=10g&amp;amp;file=generate_multiple_awr_reports.sql&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
First to identify snap range for the date you can use the following:&lt;/div&gt;
&lt;div&gt;
set linesize 500&lt;/div&gt;
&lt;div&gt;
set head off&lt;/div&gt;
&lt;div&gt;
--col snap_id for a45&lt;/div&gt;
&lt;div&gt;
col begin_interval_time for a30&lt;/div&gt;
&lt;div&gt;
select snap_id,begin_interval_time,end_interval_time from dba_hist_snapshot&lt;/div&gt;
&lt;div&gt;
where trunc(begin_interval_time) = to_date(&#39;03/05/2017&#39;,&#39;DD/MM/YYYY&#39;)&lt;/div&gt;
&lt;div&gt;
order by snap_id;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
and then use the multiple_awr.sql script replacing values of the:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; l_snap_start &amp;nbsp; &amp;nbsp; &amp;nbsp; NUMBER := 7724;&lt;br /&gt;
&amp;nbsp; l_snap_end &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NUMBER := 7730;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
------- multiple_awr.sql ----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- File Name &amp;nbsp; &amp;nbsp;: http://www.oracle-base.com/dba/10g/generate_multiple_awr_reports.sql&lt;br /&gt;
-- Author &amp;nbsp; &amp;nbsp; &amp;nbsp; : DR Timothy S Hall&lt;br /&gt;
-- Description &amp;nbsp;: Generates AWR reports for all snapsots between the specified start and end point.&lt;br /&gt;
-- Requirements : Access to the v$ views, UTL_FILE and DBMS_WORKLOAD_REPOSITORY packages.&lt;br /&gt;
-- Call Syntax &amp;nbsp;: Create the directory with the appropriate path.&lt;br /&gt;
-- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Adjust the start and end snapshots as required.&lt;br /&gt;
-- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@generate_multiple_awr_reports.sql&lt;br /&gt;
-- Last Modified: 02/08/2007&lt;br /&gt;
-- -----------------------------------------------------------------------------------&lt;br /&gt;
CREATE OR REPLACE DIRECTORY awr_reports_dir AS &#39;/tmp/awr&#39;;&lt;br /&gt;
&lt;br /&gt;
DECLARE&lt;br /&gt;
&amp;nbsp; -- Adjust before use.&lt;br /&gt;
&amp;nbsp; l_snap_start &amp;nbsp; &amp;nbsp; &amp;nbsp; NUMBER := 7724;&lt;br /&gt;
&amp;nbsp; l_snap_end &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NUMBER := 7730;&lt;br /&gt;
&amp;nbsp; l_dir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VARCHAR2(50) := &#39;AWR_REPORTS_DIR&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; l_last_snap &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NUMBER := NULL;&lt;br /&gt;
&amp;nbsp; l_dbid &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; v$database.dbid%TYPE;&lt;br /&gt;
&amp;nbsp; l_instance_number &amp;nbsp;v$instance.instance_number%TYPE;&lt;br /&gt;
&amp;nbsp; l_file &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UTL_FILE.file_type;&lt;br /&gt;
&amp;nbsp; l_file_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VARCHAR(50);&lt;br /&gt;
&lt;br /&gt;
BEGIN&lt;br /&gt;
&amp;nbsp; SELECT dbid&lt;br /&gt;
&amp;nbsp; INTO &amp;nbsp; l_dbid&lt;br /&gt;
&amp;nbsp; FROM &amp;nbsp; v$database;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; SELECT instance_number&lt;br /&gt;
&amp;nbsp; INTO &amp;nbsp; l_instance_number&lt;br /&gt;
&amp;nbsp; FROM &amp;nbsp; v$instance;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; FOR cur_snap IN (SELECT snap_id&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FROM &amp;nbsp; dba_hist_snapshot&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE &amp;nbsp;instance_number = l_instance_number&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AND &amp;nbsp; &amp;nbsp;snap_id BETWEEN l_snap_start AND l_snap_end&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ORDER BY snap_id)&lt;br /&gt;
&amp;nbsp; LOOP&lt;br /&gt;
&amp;nbsp; &amp;nbsp; IF l_last_snap IS NOT NULL THEN&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; l_file := UTL_FILE.fopen(l_dir, &#39;awr_&#39; || l_last_snap || &#39;_&#39; || cur_snap.snap_id || &#39;.htm&#39;, &#39;w&#39;, 32767);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; FOR cur_rep IN (SELECT output&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FROM &amp;nbsp; TABLE(DBMS_WORKLOAD_REPOSITORY.awr_report_html(l_dbid, l_instance_number, l_last_snap, cur_snap.snap_id)))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; LOOP&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UTL_FILE.put_line(l_file, cur_rep.output);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; END LOOP;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; UTL_FILE.fclose(l_file);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; END IF;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; l_last_snap := cur_snap.snap_id;&lt;br /&gt;
&amp;nbsp; END LOOP;&lt;br /&gt;
&lt;br /&gt;
EXCEPTION&lt;br /&gt;
&amp;nbsp; WHEN OTHERS THEN&lt;br /&gt;
&amp;nbsp; &amp;nbsp; IF UTL_FILE.is_open(l_file) THEN&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; UTL_FILE.fclose(l_file);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; END IF;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; RAISE;&lt;br /&gt;
END;&lt;br /&gt;
/&lt;br /&gt;
&lt;div&gt;
=============&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/407019521531695053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/407019521531695053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/407019521531695053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/407019521531695053'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2017/05/multiple-awr-reports-with-one-hour.html' title='Multiple AWR reports with one hour break up'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-8197941494215827131</id><published>2017-04-10T14:00:00.003+10:00</published><updated>2017-04-10T14:00:58.002+10:00</updated><title type='text'>How to identify ORACLE_HOME of an Oracle instance process?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
How to identify ORACLE_HOME of an Oracle instance process?&lt;br /&gt;
Use strings /proc/&lt;pid&gt;/environ | grep ORACLE_HOME&lt;/pid&gt;&lt;br /&gt;
&lt;br /&gt;
For, instance,&lt;br /&gt;
ps -ef|grep pmon&lt;br /&gt;
oracle 9466 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 &amp;nbsp;2016 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:29:36 ora_pmon_DBName&lt;br /&gt;
&lt;br /&gt;
$ strings /proc/9466/environ | grep ORACLE_HOME&lt;br /&gt;
ORACLE_HOME=/oracle/app/product ...&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/8197941494215827131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/8197941494215827131' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/8197941494215827131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/8197941494215827131'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2017/04/how-to-identify-oraclehome-of-oracle.html' title='How to identify ORACLE_HOME of an Oracle instance process?'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-2884611727330122997</id><published>2017-03-17T09:16:00.002+10:00</published><updated>2017-03-17T09:16:23.586+10:00</updated><title type='text'>oracle preinstall</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
# cd /etc/yum.repos.d&lt;br /&gt;
# wget http://public-yum.oracle.com/public-yum-ol6.repo&lt;br /&gt;
&lt;br /&gt;
oracle-rdbms-server-11gR2-preinstall&lt;br /&gt;
oracle-rdbms-server-12cR1-preinstall&lt;br /&gt;
&lt;br /&gt;
echo &quot;proxy=http://Proxy:Port/&quot; &amp;gt;&amp;gt; /etc/yum.conf&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/2884611727330122997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/2884611727330122997' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/2884611727330122997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/2884611727330122997'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2017/03/oracle-preinstall.html' title='oracle preinstall'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-8266330859534912772</id><published>2017-03-02T12:17:00.004+10:00</published><updated>2017-03-02T12:17:53.989+10:00</updated><title type='text'>No incremental levels for DB INCR in v$rman_backup_job_details </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It is advised to use&amp;nbsp;V$RMAN_BACKUP_JOB_DETAILS to identify status of backup jobs. But it is difficult to understand when it was taken full backup of Oracle DB due to in the INPUT_TYPE of the output you can find &quot;DB INCR&quot; value as for FULL Incremental level 0 backups as for Incremental level 1 backups.&lt;br /&gt;
&lt;br /&gt;
You can find way to clarify incremental levels or to find out when was taken FULL backup with the V$BACKUP_SET_DETAILS view.&lt;br /&gt;
&lt;br /&gt;
For instance,&lt;br /&gt;
select * from V$BACKUP_SET_DETAILS &amp;nbsp;where BACKUP_TYPE=&#39;I&#39; and INCREMENTAL_LEVEL=&#39;0&#39;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/8266330859534912772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/8266330859534912772' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/8266330859534912772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/8266330859534912772'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2017/03/no-incremental-levels-for-db-incr-in.html' title='No incremental levels for DB INCR in v$rman_backup_job_details '/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-1745217997957229758</id><published>2016-12-19T13:16:00.000+10:00</published><updated>2016-12-19T13:16:11.054+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQLServer"/><title type='text'>Ad hoc useful querries (SQL Server)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
SELECT&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SERVERPROPERTY(&#39;MachineName&#39;) as Host,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SERVERPROPERTY(&#39;InstanceName&#39;) as Instance,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SUBSTRING(@@VERSION, 1,25) as Version,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SERVERPROPERTY(&#39;Edition&#39;) as Edition, /*shows 32 bit or 64 bit*/&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SERVERPROPERTY(&#39;ProductVersion&#39;) AS &#39;Patch Level&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SERVERPROPERTY(&#39;ProductLevel&#39;) as SP, /* RTM or SP1 etc*/&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case SERVERPROPERTY(&#39;IsClustered&#39;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; when 1 &amp;nbsp; &amp;nbsp; then &#39;CLUSTERED&#39; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;STANDALONE&#39; end as ServerType&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/1745217997957229758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/1745217997957229758' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/1745217997957229758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/1745217997957229758'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/12/ad-hoc-useful-querries-sql-server.html' title='Ad hoc useful querries (SQL Server)'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-8702954193410921763</id><published>2016-12-16T09:28:00.001+10:00</published><updated>2016-12-23T09:34:25.893+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Education"/><title type='text'>My MoSCoW education 2017</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Must have:&lt;br /&gt;
1) Install VirtualBox - Jan&lt;br /&gt;
2) Install Oracle12c &amp;nbsp;- Jan&lt;br /&gt;
3) Clusterware &amp;amp; RAC - Jan-Feb&lt;br /&gt;
4) New Features Ora 12c - Jan-Feb&lt;br /&gt;
5) OEM Cloud Control - March&lt;br /&gt;
6) Performance labs - April&lt;br /&gt;
7) MSSQL AlwaysOn lab - May&lt;br /&gt;
&lt;br /&gt;
Should have:&lt;br /&gt;
1) Postgresql install - Jan&lt;br /&gt;
2) RHEL 7 new features - Sept&lt;br /&gt;
&lt;br /&gt;
Links:&lt;br /&gt;
1) Обучающие курсы, видео и учебники по Visio 2013&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://support.office.com/ru-ru/article/%D0%9E%D0%B1%D1%83%D1%87%D0%B0%D1%8E%D1%89%D0%B8%D0%B5-%D0%BA%D1%83%D1%80%D1%81%D1%8B-%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-%D0%B8-%D1%83%D1%87%D0%B5%D0%B1%D0%BD%D0%B8%D0%BA%D0%B8-%D0%BF%D0%BE-Visio-2013-93e93e94-0899-4530-aebb-c70fd39faee5&quot;&gt;https://support.office.com/ru-ru/article/%D0%9E%D0%B1%D1%83%D1%87%D0%B0%D1%8E%D1%89%D0%B8%D0%B5-%D0%BA%D1%83%D1%80%D1%81%D1%8B-%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-%D0%B8-%D1%83%D1%87%D0%B5%D0%B1%D0%BD%D0%B8%D0%BA%D0%B8-%D0%BF%D0%BE-Visio-2013-93e93e94-0899-4530-aebb-c70fd39faee5&lt;/a&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;2)&amp;nbsp;&lt;/span&gt;Updating
your Database Management Skills to SQL Server 2014&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://mva.microsoft.com/en-us/training-courses/updating-your-database-management-skills-to-sql-server-2014-8313?l=S3j693Yy_704984382&quot;&gt;https://mva.microsoft.com/en-us/training-courses/updating-your-database-management-skills-to-sql-server-2014-8313?l=S3j693Yy_704984382&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/8702954193410921763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/8702954193410921763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/8702954193410921763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/8702954193410921763'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/12/my-moscow-education-2017.html' title='My MoSCoW education 2017'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-8857517000990230100</id><published>2016-12-09T15:19:00.002+10:00</published><updated>2016-12-09T15:19:55.264+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="password"/><title type='text'>If you change password of Oracle USER1 wrongly</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Go to the previous backup or copy of database and select user&#39;s password hash&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; SELECT name, password &amp;nbsp;FROM sys.user$ WHERE name=&#39;USER1&#39;;&lt;br /&gt;
&lt;br /&gt;
NAME&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
PASSWORD&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
USER1&lt;br /&gt;
48F7196FF1A87215&lt;br /&gt;
&lt;br /&gt;
On the problem DB change password by issue:&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter user USER1 identified by values &#39;48F7196FF1A87215&#39;;&lt;br /&gt;
&lt;br /&gt;
User altered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/8857517000990230100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/8857517000990230100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/8857517000990230100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/8857517000990230100'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/12/if-you-change-password-of-user1-wrongly.html' title='If you change password of Oracle USER1 wrongly'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-5814762278908230483</id><published>2016-11-22T11:46:00.000+10:00</published><updated>2016-11-22T11:46:22.574+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="yum"/><title type='text'>yum provides */uuencode</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I always sent to myself files with uuencode. And today I was surprised when I did not find it in one of the systems.&lt;br /&gt;
&#39;yum list |grep uuencode&#39; didn&#39;t show any package&lt;br /&gt;
Then I googled and found advise to install&amp;nbsp;&lt;span style=&quot;background-color: #eff0f1; color: #242729; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; white-space: inherit;&quot;&gt;sharutils&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;To understand it was enough to issue&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;yum provides */uuencode&lt;/span&gt;&lt;br /&gt;
which found the package with uuencode&lt;br /&gt;
&lt;br /&gt;
sharutils-4.7-6.1.el6.x86_64 : The GNU shar utilities for packaging and unpackaging shell archives&lt;br /&gt;
Repo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: rhel6-server-...&lt;br /&gt;
Matched from:&lt;br /&gt;
Filename &amp;nbsp; &amp;nbsp;: /usr/bin/uuencode&lt;br /&gt;
&lt;br /&gt;
After &#39;yum install sharutils&#39; the &#39;which uuencode&#39; is sucsessful&lt;br /&gt;
/usr/bin/uuencode&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/5814762278908230483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/5814762278908230483' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/5814762278908230483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/5814762278908230483'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/11/yum-provides-uuencode.html' title='yum provides */uuencode'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-6093510816001199400</id><published>2016-09-22T11:45:00.004+10:00</published><updated>2016-09-22T12:02:18.205+10:00</updated><title type='text'>MSDN related links</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 class=&quot;entry-title&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, Tahoma, Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 36px; font-weight: normal; line-height: 1.1; margin: 20px 0px 10px; word-wrap: break-word;&quot;&gt;
Unlimited Dev &amp;amp; Test Enviroments with MSDN Subscriptions&lt;/h1&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogs.msdn.microsoft.com/govdev/2012/04/18/unlimited-dev-test-enviroments-with-msdn-subscriptions/&quot;&gt;https://blogs.msdn.microsoft.com/govdev/2012/04/18/unlimited-dev-test-enviroments-with-msdn-subscriptions/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h1 class=&quot;title&quot; style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-stretch: normal; font-weight: normal; line-height: 1.167; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;MSDN Pricing&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.visualstudio.com/products/how-to-buy-vs&quot; style=&quot;font-size: medium;&quot;&gt;https://www.visualstudio.com/products/how-to-buy-vs&lt;/a&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h1 class=&quot;title&quot; style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-stretch: normal; font-weight: normal; line-height: 1.167; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;About the SQL Server License Terms&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ms143522(v=sql.120).aspx&quot;&gt;https://msdn.microsoft.com/en-us/library/ms143522(v=sql.120).aspx&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Quite good paper on SQL Server 2012 with links at the end&lt;br /&gt;
&lt;a href=&quot;https://www.directionsonmicrosoft.com/licensing/2013/06/licensing-sql-server-development-and-test&quot;&gt;https://www.directionsonmicrosoft.com/licensing/2013/06/licensing-sql-server-development-and-test&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.sqlservercentral.com/blogs/nebraska-sql-from-dba_andy/2012/07/27/licensing-sql-server-devtest-environments/&quot; style=&quot;color: #243488; cursor: pointer; font-family: arial, helvetica, sans-serif; font-size: 15.36px; text-decoration: none;&quot;&gt;Licensing SQL Server Dev/Test Environments&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.sqlservercentral.com/blogs/nebraska-sql-from-dba_andy/2012/07/27/licensing-sql-server-devtest-environments/&quot;&gt;http://www.sqlservercentral.com/blogs/nebraska-sql-from-dba_andy/2012/07/27/licensing-sql-server-devtest-environments/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal; line-height: 28px; text-align: left;&quot;&gt;
&lt;a href=&quot;http://planxme.com/practices-pitfalls-of-msdn-subscription-licensing/&quot; title=&quot;Practices &amp;amp; Pitfalls of MSDN Subscription Licensing&quot;&gt;Practices &amp;amp; Pitfalls of MSDN Subscription Licensing&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/6093510816001199400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/6093510816001199400' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6093510816001199400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6093510816001199400'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/09/msdn-related-links.html' title='MSDN related links'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-356325919699550498</id><published>2016-07-23T10:07:00.001+10:00</published><updated>2016-12-14T14:03:17.187+10:00</updated><title type='text'>ssh keys for Named credentials</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
ssh-keys credentials for OEM CC&lt;br /&gt;
Put ssh public keys in the home (authorized_keys) of user on OEM server and in home of user of Oracle DB server (authorized_keys)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/356325919699550498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/356325919699550498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/356325919699550498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/356325919699550498'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/07/blog-post.html' title='ssh keys for Named credentials'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-6818906945297569075</id><published>2016-04-15T16:04:00.001+10:00</published><updated>2016-04-15T16:04:21.424+10:00</updated><title type='text'>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
One of the ways to resolve the error &quot;TNS-12514: TNS:listener does not currently know of service requested in connect descriptor&quot; could be registering DB Service Name as following:&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter system set local_listener=DBServiceName scope=both;&lt;br /&gt;
&lt;br /&gt;
System altered.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter system register;&lt;br /&gt;
&lt;br /&gt;
System altered.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
$ lsnrctl reload&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/6818906945297569075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/6818906945297569075' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6818906945297569075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6818906945297569075'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/04/tns-12514-tnslistener-does-not.html' title='TNS-12514: TNS:listener does not currently know of service requested in connect descriptor'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-2715520368190150866</id><published>2016-04-12T09:31:00.002+10:00</published><updated>2016-04-12T09:31:23.357+10:00</updated><title type='text'>Outlook reminders don&#39;t work propperly</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
I&#39;ve just used article &quot;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a class=&quot;question-hyperlink&quot; href=&quot;http://superuser.com/questions/251963/how-to-make-outlook-calendar-reminders-stay-on-top-in-windows-7&quot; style=&quot;border: 0px; color: #272727; cursor: pointer; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; line-height: 1.35; margin: 0px 0px 0.5em; padding: 0px; text-decoration: none;&quot;&gt;How to make Outlook Calendar reminders stay on top in Windows 7&lt;/a&gt;&quot;&lt;span style=&quot;background-color: white; color: #272727; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; line-height: 1.3;&quot;&gt;&amp;nbsp;http://superuser.com/questions/251963/how-to-make-outlook-calendar-reminders-stay-on-top-in-windows-7?rq=1 &amp;nbsp;&lt;/span&gt;&lt;/span&gt;to make Outlook reminders popped-up during working in other applications. Testing.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/2715520368190150866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/2715520368190150866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/2715520368190150866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/2715520368190150866'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/04/outlook-reminders-dont-work-propperly.html' title='Outlook reminders don&#39;t work propperly'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-6569119759374657562</id><published>2016-04-06T14:34:00.003+10:00</published><updated>2016-04-06T14:34:59.334+10:00</updated><title type='text'>To identify most appropriated Oracle block size on given file system </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To identify most appropriated Oracle block size on file system mounted to /oracle/TEST/ we tried the following tests:&lt;br /&gt;
&lt;br /&gt;
oracle$ time dd if=/dev/zero of=/oracle/TEST/16K.test bs=16k count=16384&lt;br /&gt;
16384+0 records in&lt;br /&gt;
16384+0 records out&lt;br /&gt;
268435456 bytes (268 MB) copied, 2.64192 seconds, 102 MB/s&lt;br /&gt;
&lt;br /&gt;
real &amp;nbsp; &amp;nbsp;0m2.651s&lt;br /&gt;
user &amp;nbsp; &amp;nbsp;0m0.017s&lt;br /&gt;
sys &amp;nbsp; &amp;nbsp; 0m0.223s&lt;br /&gt;
oracle$ time dd if=/dev/zero of=/oracle/TEST/8K.test bs=8k count=32768&lt;br /&gt;
32768+0 records in&lt;br /&gt;
32768+0 records out&lt;br /&gt;
268435456 bytes (268 MB) copied, 2.57524 seconds, 104 MB/s&lt;br /&gt;
&lt;br /&gt;
real &amp;nbsp; &amp;nbsp;0m2.578s&lt;br /&gt;
user &amp;nbsp; &amp;nbsp;0m0.014s&lt;br /&gt;
sys &amp;nbsp; &amp;nbsp; 0m0.386s&lt;br /&gt;
oracle$ time dd if=/dev/zero of=/oracle/TEST/4K.test bs=4k count=65536&lt;br /&gt;
65536+0 records in&lt;br /&gt;
65536+0 records out&lt;br /&gt;
268435456 bytes (268 MB) copied, 2.62402 seconds, 102 MB/s&lt;br /&gt;
&lt;br /&gt;
real &amp;nbsp; &amp;nbsp;0m2.626s&lt;br /&gt;
user &amp;nbsp; &amp;nbsp;0m0.005s&lt;br /&gt;
sys &amp;nbsp; &amp;nbsp; 0m0.379s&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/6569119759374657562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/6569119759374657562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6569119759374657562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6569119759374657562'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/04/to-identify-most-appropriated-oracle.html' title='To identify most appropriated Oracle block size on given file system '/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-5967550737497022803</id><published>2016-02-19T19:38:00.000+10:00</published><updated>2016-02-19T19:38:44.464+10:00</updated><title type='text'>&quot;alter system register&quot; does not work</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today my new DB created from a template script was not registered in the listener. And c was not working. Denis advised me to add the local_listener parameter into database. When I checked this parameter it was in place. But its port was wrong - instead of 1521 &amp;nbsp;it was another port.&lt;br /&gt;
After I corrected the port and issued the&amp;nbsp;&quot;alter system register&quot; the database successfully registered in the listener.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/5967550737497022803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/5967550737497022803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/5967550737497022803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/5967550737497022803'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/02/alter-system-register-does-not-work.html' title='&quot;alter system register&quot; does not work'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-1422554438718568396</id><published>2016-02-17T14:24:00.001+10:00</published><updated>2016-02-17T14:24:03.689+10:00</updated><title type='text'>Как Вам обучение в формате Training-on-Demand?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Недавно я прошел курс Oracle 12c New Features в формате&amp;nbsp;Training-on-Demand.&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Приемлемый ли формат?&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Такой формат тренинга в случае, если дают
возможность пройти тренинг из дома, то да, приемлемый. Даже более эффективный,
чем у наших российских тренеров на месте.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Вообще это мое личное мнение, но
попробую выразить свои ощущения. Более высокую эффективность вижу в том, что
волей неволей получаешь весь материал, который предполагается по программе,
т.к. есть возможность прокрутки, паузы с тем, чтобы подробнее ознакомиться с
понятиями, которые ты плохо знаешь, из других источников или документации – на
курсах в классе часто не все дается или по многим темам пробегаешь что
называется «галопом по европам». В надежде, что дома повторишь и разберешься,
ты уезжаешь, но как правило, дома нет времени и актуальность теряется и
соответственно глубина полученных знаний на порядок ниже. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;На видеокурсе у меня есть
возможность потратить на понимание и изучение той или иной темы больше времени.
Есть возможность копать в глубину, поставив на паузу видео. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Также преподаватель выполняет
все лабораторные работы в видео с объяснением причинно-следственных связей и их
иллюстрациями случаями из своего опыта или особенностями прежних версий, что в
некоторых практических заданиях очень важно для понимания. На курсах в классе
порой не успеваешь и часто выполнение лабораторных либо сводится к
перепечатыванию задания из методички, либо вообще пропускается и т.о.
эффективность таких заданий порой нулевая. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d; mso-fareast-language: RU;&quot;&gt;Единственное,
мне кажется одной недели на лабораторные работы маловато. Ведь на видео доступ
дается на срок до 3 месяцев. Поэтому хорошо бы если бы давали возможность
выбрать до трех недельных окон к лабораторным.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/1422554438718568396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/1422554438718568396' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/1422554438718568396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/1422554438718568396'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/02/training-on-demand.html' title='Как Вам обучение в формате Training-on-Demand?'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-6109024265321224152</id><published>2016-02-11T16:12:00.001+10:00</published><updated>2016-02-11T16:12:17.657+10:00</updated><title type='text'>&#39;purge recyclebin&#39; does not purge recyclebin</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
SQL&amp;gt; select count(*) from dba_recyclebin;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; COUNT(*)&lt;br /&gt;
----------&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;10419&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; purge recyclebin;&lt;br /&gt;
&lt;br /&gt;
Recyclebin purged.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; select count(*) from dba_recyclebin;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; COUNT(*)&lt;br /&gt;
----------&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;10419&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/6109024265321224152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/6109024265321224152' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6109024265321224152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/6109024265321224152'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/02/purge-recyclebin-does-not-purge.html' title='&#39;purge recyclebin&#39; does not purge recyclebin'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12417627.post-173228119825889607</id><published>2016-02-11T16:11:00.000+10:00</published><updated>2016-02-11T16:11:39.791+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle SQLPlus"/><category scheme="http://www.blogger.com/atom/ns#" term="Scripts"/><title type='text'>How to delete all objects of a user?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
How to delete all objects of a user?&lt;br /&gt;
&lt;br /&gt;
After googling I stopped on &quot;&lt;span style=&quot;background-color: white; color: #239c48; font-family: &amp;quot;opensanssemibold&amp;quot; , &amp;quot;myriad pro&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 28px; line-height: 30px;&quot;&gt;Script to Drop a User&#39;s Objects&lt;/span&gt;&quot; offered on the Toad World&lt;br /&gt;
https://www.toadworld.com/platforms/oracle/w/wiki/5013.script-to-drop-a-user-s-objects&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pinbol.blogspot.com/feeds/173228119825889607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/12417627/173228119825889607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/173228119825889607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12417627/posts/default/173228119825889607'/><link rel='alternate' type='text/html' href='http://pinbol.blogspot.com/2016/02/how-to-delete-all-objects-of-user.html' title='How to delete all objects of a user?'/><author><name>pinbol</name><uri>http://www.blogger.com/profile/11495864462346744683</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://pinbol.pp.ru/images/pinbol-avatar.jpg'/></author><thr:total>0</thr:total></entry></feed>