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 373C910030F6EB
 for <oracle-l@orafaq.com>; Fri, 30 Apr 2021 04:33:47 +0200 (CEST)
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 BD710491BE;
 Fri, 30 Apr 2021 02:33:45 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id B29A0409CF;
 Fri, 30 Apr 2021 02:33:45 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1619750025;
 bh=q96zpA0aEKquVy9B8B9YtYl1y4PFR/deLXqEP/UStEA=;
 h=From:Sender:Sender:From;
 b=sGa/S7z0Jh+nJWdckTWrcMLeO4vM8gD9dZCrCMySdqvriPj+sHfwmxRSZUOk3ZN+2
	 HGF7IwCATzfSx22vP1xasbu62LpNpvd8sS+VtDLoV7WS4a4QvEUZEbndT2KEaB0nqI
	 kKbY8CXRkVpafDQO/ExDFR7wFLKyaKpY7Kv7lzhw=
X-Virus-Scanned: by FreeLists at turing2.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 vQxJLcycfOuq; Fri, 30 Apr 2021 02:33:45 +0000 (UTC)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 1DF27409CE;
 Fri, 30 Apr 2021 02:33:43 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1619750024;
 bh=q96zpA0aEKquVy9B8B9YtYl1y4PFR/deLXqEP/UStEA=;
 h=From:Sender:Sender:From;
 b=eBauxGejFoM3vYmqQcJGberEpft+JhMWJ7KIBTr043dDzRicM7VaEU1qTI6Ig6aTu
	 tnem0mKDObB/bRulGFblH0TKXT1JByhoYqpj2VI0/HQ4F11I+He0KgqmOMZ/Qq2V0W
	 1z37KfSInkvzpWGFcddzscsYgjIjzCM1clMOCV5Q=
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 30 Apr 2021 02:33:41 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id C9A7C3FF4A
 for <oracle-l@freelists.org>; Fri, 30 Apr 2021 02:33: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=20161025 header.b=F7a/vJfP;
 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 OEKonyPn2Apn for <oracle-l@freelists.org>;
 Fri, 30 Apr 2021 02:33:41 +0000 (UTC)
Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169])
 (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 BE0703FDE5
 for <oracle-l@freelists.org>; Fri, 30 Apr 2021 02:33:41 +0000 (UTC)
Received: by mail-yb1-f169.google.com with SMTP id 82so81245866yby.7
        for <oracle-l@freelists.org>; Thu, 29 Apr 2021 19:33:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=LOi1T3sV9ETSpzIRjZorrYyyVb4NeHmBhJL7ShfOaVw=;
        b=SteXWWgPlVlos79SKbb2EP5GX3CCuVP25fihAf7g7OrxMXRvL5Y6Q9BZc2IpoYw/Y7
         1mHXA4aoyJBKrGdBo8iEkKEuWldmuFBItUzcyu7zfiFSLAk8AeyhMOxfcM8/wNjUekFO
         WKpN2oNqzq0QlUSNF6Xz8D5z8EZFM74LSeb0JCfnOfYrk7WmdJQjoQkiPvSJi/nyY6vm
         WvcVqK6xiTjsPDQI+XsA0fHMnPPoGNS/oqVOgKwoh3SLt7q7s25XkJixGXSQaZCYdenU
         0P9jprUyTUe3rXnEoZb0I/h2sEZKVWSX2stsg29cXBh2LwmSq2yvKOHK04FsQzUa4Df1
         emsg==
X-Gm-Message-State: AOAM531eY7SJPtMycaeHxCK4WqNaj7dYfCzT5/+bjl5QB907QHVm0XQs
 Fd5ezGUaoy6XoFfmBROfiG2iSy6KIi32ZUXbcC0=
X-Google-Smtp-Source: ABdhPJy3TJJsqHauTF7rRIzbEvhu4lRC7t2W1oPJTjnNj8ye8reoyv6lxEYNS5f0pYuvQf+KvGEEgoEhLmaR1PUfFko=
X-Received: by 2002:a25:1455:: with SMTP id 82mr3664855ybu.403.1619750021304;
 Thu, 29 Apr 2021 19:33:41 -0700 (PDT)
MIME-Version: 1.0
References: <CAPTPB10sk0o_AKzdZKMHZLxmx9+czUrWwUJ=jWZzVvaHCk2T_w@mail.gmail.com>
 <a7d474fc-bde3-44de-4ce5-5ac215a14063@gmail.com>
In-Reply-To: <a7d474fc-bde3-44de-4ce5-5ac215a14063@gmail.com>
From: Sayan Malakshinov <xt.and.r@gmail.com>
Date: Fri, 30 Apr 2021 05:33:29 +0300
Message-ID: <CAOVevU7O5UC8RAzVxALnwpeUiE43Cvd=VQZ6uUQS4utexaUGdg@mail.gmail.com>
Subject: Re: Database Link in local server
To: Mladen Gogala <gogala.mladen@gmail.com>
Cc: ORACLE-L <oracle-l@freelists.org>
Content-Type: multipart/alternative; boundary="000000000000a5134105c1277037"
X-archive-position: 79758
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: xt.and.r@gmail.com
Precedence: normal
Reply-To: xt.and.r@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
--000000000000a5134105c1277037
Content-Type: text/plain; charset="UTF-8"

Hi Cee,

I'm not sure what do you mean by "see statistics". If you mean can CBO on
your "workDB" get required statistics from active standby through a dblink,
then - yes, of course. No difference if that's active standby or not.

Best regards,
Sayan Malakshinov
Oracle performance tuning expert
Oracle Database Developer Choice Award winner
Oracle ACE Associate
http://orasql.org

On Fri, Apr 30, 2021, 05:16 Mladen Gogala <gogala.mladen@gmail.com> wrote:

> No can do. You can do that with Golden Gate or logical standby DB, but
> not active DG.
>
> On 4/29/21 6:30 PM, Cee Pee wrote:
> >
> > We have a standby DB in a DR server open for read only. A user wants
> > to be able to pull the data in the server in some schemas (call them
> > schemaA, schemaB) and want to write data in other schemas (say
> > schemaX, schemaY) after manipulation.
> >
> --
> Mladen Gogala
> Database Consultant
> Tel: (347) 321-1217
> https://dbwhisperer.wordpress.com
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--000000000000a5134105c1277037
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi Cee,=C2=A0<div dir=3D"auto"><br></div><div dir=3D"auto=
">I&#39;m not sure what do you mean by &quot;see statistics&quot;. If you m=
ean can CBO on your &quot;workDB&quot; get required statistics from active =
standby through a dblink, then - yes, of course. No difference if that&#39;=
s active standby or not.=C2=A0<br><br><div data-smartmail=3D"gmail_signatur=
e" dir=3D"auto">Best regards,<br>Sayan Malakshinov <br>Oracle performance t=
uning expert<br>Oracle Database Developer Choice Award winner <br>Oracle AC=
E Associate <br><a href=3D"http://orasql.org">http://orasql.org</a> </div><=
/div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_a=
ttr">On Fri, Apr 30, 2021, 05:16 Mladen Gogala &lt;<a href=3D"mailto:gogala=
.mladen@gmail.com">gogala.mladen@gmail.com</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">No can do. You can do that with Golden Gate or logic=
al standby DB, but <br>
not active DG.<br>
<br>
On 4/29/21 6:30 PM, Cee Pee wrote:<br>
&gt;<br>
&gt; We have a standby DB in a DR server open for read only. A user wants <=
br>
&gt; to be able to pull the data in the server in some schemas (call them <=
br>
&gt; schemaA, schemaB) and want to write data in other schemas (say <br>
&gt; schemaX, schemaY) after manipulation.<br>
&gt;<br>
-- <br>
Mladen Gogala<br>
Database Consultant<br>
Tel: (347) 321-1217<br>
<a href=3D"https://dbwhisperer.wordpress.com" rel=3D"noreferrer noreferrer"=
 target=3D"_blank">https://dbwhisperer.wordpress.com</a><br>
<br>
--<br>
<a href=3D"http://www.freelists.org/webpage/oracle-l" rel=3D"noreferrer nor=
eferrer" target=3D"_blank">http://www.freelists.org/webpage/oracle-l</a><br=
>
<br>
<br>
</blockquote></div>

--000000000000a5134105c1277037--
--
http://www.freelists.org/webpage/oracle-l


