Re: SQL performance in prod

From: Kellyn Pot'Vin-Gorman <dbakevlar_at_gmail.com>
Date: Wed, 18 Jul 2018 15:50:33 -0700
Message-ID: <CAN6wuX3cRrvL4CQGgC=+ZUc71muwFVjHZfcCa5YMa43oApRB9A_at_mail.gmail.com>



I would consider an addm comparison report. If you have OEM, you could "search sql" and place the sqlid and pul the addm for the snapshots involved.

Kellyn

On Wed, Jul 18, 2018 at 3:30 PM V Raman <vraman4list_at_gmail.com> wrote:

> List
>
> We have a SQL that is performing intermittently bad in our prod env. The
> good ones take 2 to 5 mins, the bad ones run for hours we kill them. They
> run fine in the non prod env. I ran an awsqrpt and based on that I see that
> there are a few executions with the bad ones taking hours. Looking at the
> differences in the execution plan, the good ones have lots of nested loops
> in them, with the bad ones having lots of hash joins.
>
> I am trying to figure out the cause(s). Assuming there is not much change
> in the DB, the first thing that comes to mind is statistics. Can the
> listers help with ideas? Thanks.
>
> If anyone is interested is seeing the report, i can provide a link to them
> by email.
>
> Venky
>

-- 


[image: Kellyn Pot'Vin on about.me]

*Kellyn Pot'Vin-Gorman*
DBAKevlar Blog <http://dbakevlar.com>
President Denver SQL Server User Group <http://denversql.org/>
about.me/dbakevlar

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jul 19 2018 - 00:50:33 CEST

Original text of this message