Просторы интернета

19 Февраль 2015
Earlier
Ср, Дек 14, 2016
Для демонстрации/проверки многообразия планов у меня есть простой скрипт SQL_PLAN_HASHS.SQL, вытаскивающий хеши планов из AWR и/или SqlArea по SQL_ID [и, опционально, по FULL_PLAN_HASH_VALUE и/или PLAN_HASH_VALUE], и один планов запросов SQL_ID=fkw6hb5mrw02t и PHV=3887377781 а течение последних нескольких дней показывал следующую примечательную картину: — в SqlArea (SRC=SQL) и в DBA_HIST_SQL_PLAN (SRC=AWR) этот [...]
Source: iusoltsev.wordpress.com
Пн, Дек 12, 2016

Внутри потоки мусора, которые можно и не смотреть.
Данная заметка специально создается для нищебродов, которые воруют чужие материалы.

όΔΥΑ�Δ μΙΝΟΞΟΧ. όΤΟ Ρ — όΔΙήΛΑ

1. οτεμψ "χιξσμου ι εηο οβιτατεμι

π�ΟΘΟΔΡ ΝΕΦΔΥ ήΑΣΟΝ ΔΞΡ Ι Τ�ΕΝΡ ΠΟ νάΔΙΣΟΞ-ΑΧΕΞΐ, ΤΑΝ ΗΔΕ ΕΕ ΠΕ�ΕΣΕΛΑΕΤ
55-Ρ ΥΜΙΓΑ, ΞΕ ΠΟΜΕΞΙΤΕΣΨ, ΪΑΔΕ�ΞΙΤΕ ΗΟΜΟΧΥ Ι ΧΪΗΜΡΞΙΤΕ ΧΧΕ�Θ — ΞΑ ΞΕΝΩΤΩΕ
ΟΛΞΑ [...]

Source: orablog.ru
Ср, Ноя 30, 2016
После switchover-а на аналогичное железо в разы выросло время ожидания log file sync: — при этом в качестве важного промежуточного блокера в вышеприведённой цепочке по частоте и продолжительности неожиданно проявилось LGWR wait for redo copy (*), что было отчётливо заметно в цепочке ожиданий, начиная с LGWR any worker group: Ожидания [...]
Source: iusoltsev.wordpress.com
Ср, Ноя 30, 2016
Разбираясь с использованием ожидания/активности db file scattered read при разных операциях планов выполнения, можно видеть: (*) Scattered чтения без SQL_PLAN_OPERATION большей частью относятся к фазе Soft parse (***), определяемой здесь как промежуток, когда PLAN_HASH_VALUE уже сформирован (PHV exists), но выполнение запроса ещё не началось (SQL_EXEC_ID is null): (**) SAMPLE операции [...]
Source: iusoltsev.wordpress.com
Ср, Ноя 23, 2016
Select Conditionally

Let's say a table contains multiple rows for an id. The requirement is to select only one of those rows, based on the value in a "type" column which determines the row's priority.

A typical example is selecting one contact number for a customer, based on contact types.

The possible contact [...]

Source: www.oratable.com
Ср, Ноя 16, 2016
ORA-12560: TNS:protocol adapter error

Sometimes you try to login to your Oracle XE on your home computer, and get this curt blocking response:

Here's the top reason why it might happen and how to fix it.


Database is not up

The first thing to check: is the Oracle service running? If you are seeing ORA-12560:TNS protocol [...]

Source: www.oratable.com
Чт, Ноя 10, 2016
Источник Oracle Database 12c Release 2 (12.2) New Features


Добавлена PL/SQL pragma для пометки устаревших программных единиц.


Не обновленные материализованные представления могут быть использованы в query rewrite для получения корректного результата используя materialized view logs.


К событиям обновления материализванного представления ON COMMIT и ON DEMAND добавлено событие ON STATEMENT.


Добавлены [...]
Source: atyshenko.blogspot.com
Пт, Мар 04, 2016
Deploying Customizations in Oracle E-Business Suite Release 12.2


This article describes how to deploy customizations in an Oracle E-Business Suite Release 12.2 environment.


A little bit background before we move onto the exact steps required to move the customization.


An Oracle E-Business Suite Release 12.2 installation now includes two editions (versions) of the [...]
Source: oracleanil.blogspot.ru
Пт, Мар 04, 2016
Deploying Customizations in Oracle E-Business Suite Release 12.2


This article describes how to deploy customizations in an Oracle E-Business Suite Release 12.2 environment.


A little bit background before we move onto the exact steps required to move the customization.


An Oracle E-Business Suite Release 12.2 installation now includes two editions (versions) of the [...]
Source: oracleanil.blogspot.ru
Пт, Мар 04, 2016
Create View Object through Personalization
This post will help you to understand on how we can create a view object with the help of OAF personalization.
1. Set 'Personalize Self-Service Defn' & 'FND: Personalization Region Link Enabled' Profile options so that you can get the personalization link.
2. In R12.2 we get the [...]
Source: oracleanil.blogspot.ru
Пт, Мар 04, 2016
Create View Object through Personalization
This post will help you to understand on how we can create a view object with the help of OAF personalization.
1. Set 'Personalize Self-Service Defn' & 'FND: Personalization Region Link Enabled' Profile options so that you can get the personalization link.
2. In R12.2 we get the [...]
Source: oracleanil.blogspot.ru
Чт, Янв 21, 2016
Имеем таблицы в двух схемах
create table MESSAGE
(
message_id INTEGER not null,
message_code VARCHAR2(128) not null,
message_name NVARCHAR2(256) not null,
message_type VARCHAR2(128) not null,
message_level [...]
Source: atyshenko.blogspot.com
Ср, Дек 30, 2015
A variation on Jonathan Lewis's SNAP_MY_STATS package to report the resource consumption of a unit of work between two snapshots. Designed to work under constrained developer environments, this version has enhancements such as time model statistics and the option to report on specific statistics. ***Update*** Now available in two formats: [...]
Source: www.oracle-developer.net
Ср, Окт 21, 2015
Maximum Key Length

Such an error might crop up when a table index is being created in the database:

ORA-01450: maximum key length (6398) exceeded

Oracle documentation duly lists the cause and action to resolve this error:

Cause: The combined length of all the columns specified in a CREATE INDEX statement exceeded the maximum index length. [...]

Source: www.oratable.com
Сб, Сен 26, 2015
I've been selected as a finalist in the 2015 Oracle Database Developer Choice Awards...! September 2015 [...]
Source: www.oracle-developer.net
Вт, Июн 16, 2015
learn-oracle

Here is a simple guide to learning Oracle as a developer from scratch, on your own. For an absolute beginner to Oracle, it helps you navigate your way around the sea of information available at your disposal.

A 5-step answer to the question "How to learn Oracle?"

1. Get yourself an Oracle [...]
Source: www.oratable.com
Вт, Июн 09, 2015
CBO, RBO Oracle Optimizers

In large applications that juggle tons of data, it isn’t enough to get a query to run without errors. The query must also perform well – get the results in fastest possible time, using the least possible resources.

This is where Oracle’s inbuilt optimizers come into play. Till Oracle [...]

Source: www.oratable.com
Ср, Апр 29, 2015

Модное веяние — централизованный хаб для расчетов. Или единый репозиторий тарифов.

Далее небольшая демонстрация, как можно с помощью Oracle Policy Automation описать составные банковские продукты и оперативно вносить в них изменения.

ВконтактеFacebookTwitterGoogle+ [...]
Source: orablog.ru
Пт, Апр 24, 2015
При создании PLUGGABLE DATABASE командой

CREATE PLUGGABLE DATABASE PDBTest
ADMIN USER user1 IDENTIFIED BY user1
ROLES = (connect,dba)
DEFAULT TABLESPACE users
file_name_convert = ('+DATA/MYSERVER/A587A94B8C72405CB40663EF8F521E9E/DATAFILE/system.271.876592207', 'C:ORACLEORADATAMYSERVERPDBTestsystem.271'
[...]
Source: atyshenko.blogspot.com
Пт, Апр 24, 2015
utl_http

You can call a web service from within PL/SQL using the Oracle-supplied package UTL_HTTP. Here’s a demo of calling a public web service that returns latest city weather by ZIP.
PL/SQL Script Using UTL_HTTP

PL/SQL script that invokes the web service to get latest weather, then reads the response into [...]

Source: www.oratable.com
Вт, Мар 31, 2015
UTL_FILE

A simple example of using UTL_FILE in PLSQL to create a file and write into it. Plus, the common ORA errors you encounter with the use of UTL_FILE, and how to resolve them.

This script has been run on Oracle 10G Express Edition, on Windows OS.

Here’s the script:

-- [...]
Source: www.oratable.com
Вт, Мар 17, 2015
duplicate-sets-of-values

The query to identify duplicate records in Oracle in a single table is fairly straightforward. Things get tricky in a two-table (master-detail) scenario, in which the master table holds the header information (id, name, etc) and the detail table has sets of values associated with the master records.

What [...]

Source: www.oratable.com
Вс, Янв 11, 2015

In this example we are going to integrate a simple XML publisher report with OAF. The business scenario is something like that we have a OAF page and on click of "Print" button we want to call a XML publisher report.

Steps
1. Create a OAF page with [...]
Source: oracleanil.blogspot.ru
Вс, Янв 11, 2015

In this example we are going to integrate a simple XML publisher report with OAF. The business scenario is something like that we have a OAF page and on click of "Print" button we want to call a XML publisher report.

Steps
1. Create a OAF page with table region and print [...]
Source: oracleanil.blogspot.ru
Вс, Дек 21, 2014
OPA_HA_SEC

Небольшая презентация на тему построения отказоустойчивых, безопасных и доступных приложений Oracle на примере Oracle Policy Automation.

И сама презентация, размещенная на YouTube.

ВконтактеFacebookTwitterGoogle+ [...]
Source: orablog.ru
Вт, Дек 09, 2014
replace-duplicates-id-column

A common scenario: in the development environment, a table’s ID column is missing its unique key constraint, and developers have been creating their own data for testing. Suddenly someone realizes that the ID column has duplicates. The DBA is summoned. "Enable the unique key", the DBA is told, "but [...]

Source: www.oratable.com
Чт, Дек 04, 2014

This article will describe you another way of passing table type object from OAF. I have already posted same article on it in 2010. Here is the link for your reference

http://oracleanil.blogspot.ae/2010/09/oaf-passing-table-type-object-to-oracle.html


Pre steps

1. We need to have object Type & [...]
Source: oracleanil.blogspot.ru
Чт, Дек 04, 2014

This article will describe you another way of passing table type object from OAF. I have already posted same article on it in 2010. Here is the link for your reference

http://oracleanil.blogspot.ae/2010/09/oaf-passing-table-type-object-to-oracle.html


Pre steps

1. We need to have object Type & Table Type for this.
a) XX_OM_ORDER_TBL_TYPE
[...]
Source: oracleanil.blogspot.ru
Чт, Ноя 27, 2014
В предыдущих сериях: Законно ли то что я делаю? Зачем Amazon?  Как вы помните, я начал собирать Exadata дома на Vitual Box, пытался использовать Linux 7, работать с tcp/ip чтобы не связываться с rds, но ничего не получилось. У меня тупо не хватило памяти на ячейке. Я нашел конечно же скрытые параметры, [...]
Source: dsvolk.blogspot.ru
Ср, Ноя 26, 2014
Продолжение серии по установке Exadata версии 12.1.1.1.1. В предыдущих сериях: Законно ли то что я делаю? Зачем Amazon?  Как вы помните, я начал собирать Exadata дома на Vitual Box, пытался использовать Linux 7, работать с tcp/ip чтобы не связываться с rds, но ничего не получилось. У меня тупо не хватило памяти на ячейке. [...]
Source: dsvolk.blogspot.ru
Комментирование отключено.