Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from smtp-aa.freelists.org (smtp-aa.freelists.org [23.23.80.81])
 by malta2546.startdedicated.com (Postfix) with ESMTPS id 41C9D10031661A
 for <oracle-l@orafaq.com>; Wed, 17 Nov 2021 21:53:47 +0100 (CET)
Received: from turing.freelists.org (ip-10-0-0-164.ec2.internal [10.0.0.164])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by smtp-aa.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 3C7374159C;
 Wed, 17 Nov 2021 20:53:46 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 310843F9D3;
 Wed, 17 Nov 2021 20:53:46 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1637182426;
 bh=P7rdp+RvlVX+Fq82eYSmrCuwb+fD5GHljd7ZBopnqMU=;
 h=From:Sender:Sender:From;
 b=GQIEeblceRJO7YfKUNKOAk0cK/0iBNR3ampZmwkwwChgpmMp36xEeV5Hcvo/wu2pe
	 +RPGx770AYliW4+rrs3zZ2OiKoqs7ukLp+zU+nXzUwRtvBD+EHRf3+986tlkISR/bL
	 pCsPj5H+RxUhTR1m2G+y6E8AgPgNP1iWf6TV9BAc=
X-Virus-Scanned: by FreeLists at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 1-nkTipkmsxa; Wed, 17 Nov 2021 20:53:46 +0000 (UTC)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 4631040352;
 Wed, 17 Nov 2021 20:53:43 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1637182424;
 bh=P7rdp+RvlVX+Fq82eYSmrCuwb+fD5GHljd7ZBopnqMU=;
 h=From:Sender:Sender:From;
 b=Z2Z+OziyyThD1p2aAvwim6n0pKPsOo8xXksvc+T0G9v2Qwgu+MpyEbFzC4TPjYE+p
	 XHRiDoZUS1+nipxO5HQnV4O7q4PMLOkCS4huv0wULT1237L3nq+7WxTq2TbjRDc0h1
	 13bfuKzu0NjCboTlAJARJGTTtxGKbR8NrNY28yhg=
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 17 Nov 2021 20:53:41 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id BF9DC3F96A
 for <oracle-l@freelists.org>; Wed, 17 Nov 2021 20:53:41 +0000 (UTC)
Authentication-Results: turing.freelists.org;
 dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=giMDwHr4;
 dkim-atps=neutral
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id JwaAz7bj_W1A for <oracle-l@freelists.org>;
 Wed, 17 Nov 2021 20:53:41 +0000 (UTC)
Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by turing.freelists.org (Postfix) with ESMTPS id B5A873F965
 for <oracle-l@freelists.org>; Wed, 17 Nov 2021 20:53:41 +0000 (UTC)
Received: by mail-qv1-f51.google.com with SMTP id j9so2946217qvm.10
        for <oracle-l@freelists.org>; Wed, 17 Nov 2021 12:53:41 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
         :content-language:to:references:from:in-reply-to
         :content-transfer-encoding;
        bh=EHHZmgOC33FPxgavLf+/YeouV+/b3uXgRkPesRGRnYE=;
        b=J0RiUXDmQGjqx0Qd4nYDrTA35IMr3GGL0giDFArwAabgwMeCgdMJ/e34rJ7OuqWHX4
         PUnDRaIA2/Q76Y9gujpG1q2uqD0VyhINmC07ls3cOXeeJp4aDN4ZDzoP9PHFxxyIahTB
         efcuAPTeEtKjlnwoqfRBwiL4sBuI+UU13BjrKfOljw5/pO/XX/GN9euceDkmi7HTVZon
         9GIvvQrurxbCOdnt2MuajBNrPYKoLNqM/MGBRTRLcOZkoTA793c0Ds2froeyW1rSVRap
         d7qLaatKwxEOiXYjFa0Y2eKQl/dZiAsa2hrk343YCumVChVfb/CKUtGn6FPACD5Y0873
         pc/g==
X-Gm-Message-State: AOAM533tOytaunQcinLHBugtIQghTPlXYM44/QV9w8kJ3464j46Zg1Xm
 y2MY5Bs0pQ4UGYpDg2rx1nF/kU/HtVI=
X-Google-Smtp-Source: ABdhPJz9w6AI4sfaTssLK75qQmgwGsidzL2cykty+VV+/NbPv31nWPd9ogvR7ml58bJDgJsIETz/cQ==
X-Received: by 2002:ad4:5cee:: with SMTP id iv14mr59069644qvb.15.1637182420925;
        Wed, 17 Nov 2021 12:53:40 -0800 (PST)
Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93])
        by smtp.gmail.com with ESMTPSA id r20sm578076qkp.21.2021.11.17.12.53.40
        for <oracle-l@freelists.org>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Wed, 17 Nov 2021 12:53:40 -0800 (PST)
Message-ID: <0beb08db-3a0d-1a8f-fa07-37cc7716f7f4@gmail.com>
Date: Wed, 17 Nov 2021 15:53:39 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.3.0
Subject: Re: Things to consider during upgrade/migration
Content-Language: en-US
To: oracle-l@freelists.org
References: <CAKna9VZd8SmTOytxCexPBzjGtU_rPU8WJGM6tCBL9Foag9hWLQ@mail.gmail.com>
 <CO1PR19MB49841DF2D90CC41F9D917DEE9B969@CO1PR19MB4984.namprd19.prod.outlook.com>
 <53b301d7da27$fb3a4a40$f1aedec0$@rsiz.com>
 <CAKna9VbFx0AYStv+cznZXOOmqNvFi-H4ynR5o=9CwMMkgjtCAQ@mail.gmail.com>
 <543f01d7da6a$129656b0$37c30410$@rsiz.com>
 <CACj1VR610e9ESXSnvFKjCw9wFC1BMu6T7DQ+fEKc_9rbWczsHg@mail.gmail.com>
 <55f501d7dbd4$75a9f020$60fdd060$@rsiz.com>
 <CAKna9Vaa-Kmc6jY8q7EVCgHF_QKgKGWA0XOP6YOmFA6RYdL4kA@mail.gmail.com>
From: Mladen Gogala <gogala.mladen@gmail.com>
In-Reply-To: <CAKna9Vaa-Kmc6jY8q7EVCgHF_QKgKGWA0XOP6YOmFA6RYdL4kA@mail.gmail.com>
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-archive-position: 81402
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: gogala.mladen@gmail.com
Precedence: normal
Reply-To: gogala.mladen@gmail.com
List-Help: <mailto:ecartis@freelists.org?Subject=help>
List-Unsubscribe: <mailto:oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-Subscribe: <mailto:oracle-l-request@freelists.org?Subject=subscribe>
List-Owner: <mailto:>
List-post: <mailto:oracle-l@freelists.org>
List-Archive: <https://www.freelists.org/archive/oracle-l>
X-list: oracle-l

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 11/17/21 12:28, Lok P wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKna9Vaa-Kmc6jY8q7EVCgHF_QKgKGWA0XOP6YOmFA6RYdL4kA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Yes Mark, so my point was, we already have ~9 sqls
        which are using baseline in current 11.2. version and of course
        have optimizer_use_sql_plan_baselines set as TRUE(which is
        default). But Now that we will be
        setting optimizer_capture_sql_plan_baselines to TRUE a few days
        before 19C upgrade on production to get hold of all the
        possible sql and their plans(say we captured ~1000 sqls
        baseline), but we don't want all of those to be enabled at that
        same moment. rather we want only to enable the baseline for
        those ~9 old sqls + additional few sql (say e.g. 3 sqls )
        which misbehaved/changed plan post upgrade to 19c. And we want
        to drop/get rid of those other ~997 sql baselines from our 19C
        version database (which we captured initially just for our
        safety). So considering its inplace upgrade and we don't have an
        exact test environment like RAT, is there a way to achieve this
        in the existing production database? I am still unable to get it
        clearly.</div>
      <br>
    </blockquote>
    <p>Well Lok, the way I see it, you're in the so called "Bridge of
      Death" situation. <br>
    </p>
    <p><span class="Rxerq">Must answer these questions three, the other
        side to see. And these questions are about your SQL. The only
        way you will answer the questions is by testing. Test, test and
        then test again. And then retry the answers to the questions
        three. </span><span class="Rxerq"><span class="Rxerq">Nobody
          can give you the exact recipe how to migrate your database.  </span>Well,
        you have to know these things when you're a DBA. Think of the
        brave Sir Robin and start testing.<br>
      </span></p>
    <pre class="moz-signature" cols="72">-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
<a class="moz-txt-link-freetext" href="https://dbwhisperer.wordpress.com">https://dbwhisperer.wordpress.com</a>
</pre>
  </body>
</html>
--
http://www.freelists.org/webpage/oracle-l


