Query to find the Views and synonyms that are accessing through db_link

HI all,
Oracle 10g
I need a Query to find the Views and synonyms that are accessing through db_link.
ie.
database A have the db_link to database B through a schema A
now i need to find what are the Synonyms and views that are accessing through db_link either directly or indirectly..
regards,
Deepak
Edited by: Deepak_DBA on Dec 10, 2010 5:38 PM

On the second database (B) use this query to find the SQL which used by the schema A (DB LINK USER). Check the SQL_FULLTEXT column.
select sql_fulltext,sql_id,module,parsing_schema_name,parsing_user_id,first_load_time,loads,users_executing,rows_processed,plsql_exec_time,sorts,fetches,invalidations,parse_calls,cpu_time,elapsed_time,disk_reads,buffer_gets
from V$sqlarea
where parsing_schema_name = 'A' --and to_char(first_load_time,'dd/mm/yyyy') like  '%11/08/2007'
order by first_load_time desc;
Regards
Asif Kabir

Similar Messages

  • Hello! Really sorry! Originally this APP software free game, only peace of mind to let children play, but a recent credit card reconciliation only to find the charges and found that the game content is not completely free, content or Payplay games, childr

    Hello! Really sorry! Originally this APP software free game, only peace of mind to let children play, but a recent credit card reconciliation only to find the charges and found that the game content is not completely free, content or Payplay games, children do not understand the meaning, pressed by mistake to the game fee of options found APP software fees has been removed, the 3 pen order really is not a small amount, a small fortune in Taiwanthe burden, the normal person would not spend such fees to play mobile games, kids really are unintentional, Sorry! hope you can help me claim to cancel the game cost very grateful!
    PS: order number --- 1.MH****Z0J --- 2.MH****4QJ --- 3.MH****6NQ
    My English is not good, please forgive me.
    <Personal Information Edited By Host>

    These are user-to-user forums, you are not talking to Apple here - I've asked the hosts to remove your email address and phone number from your post.
    You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    To try and stop it happening again you can turn off in-app purchases on your phone via Settings > General > Restrictions > In-App Purchases 'off'

  • HT1420 where do i find the list of computers that are authorized in my account?

    where do i find the list of computers that are authorized in my account?

    Thanks for that.
    I downloaded the tool and something funny happens, i am trying to start the tool but I get an error saying: "The airport management utility requires airport 3.4 or later".
    I have airport 5.7 on osx 10.5 so of course nothing updates with system software update.
    Any one?

  • I want to clean all of the cookies and bugs that are in my computer causing it to be slow. What program should I use that is safe and won't mess up my computer?

    I want to clean all of the cookies and bugs that are in my computer causing it to be slow. What program should I use that is safe and won't mess up my computer?

    Problem description:
    I would like to clean up my computer. Its beginning to run slow and I believe cookies and bugs are apart of the reason.
    EtreCheck version: 2.0.6 (91)
    Report generated October 26, 2014 at 4:59:31 PM EDT
    Hardware Information: ℹ️
      MacBook Air (13-inch, Early 2014) (Verified)
      MacBook Air - model: MacBookAir6,2
      1 1.4 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Not upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en0: 802.11 a/b/g/n/ac
    Video Information: ℹ️
      Intel HD Graphics 5000 -
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 13 days 2:41:41
    Disk Information: ℹ️
      APPLE SSD SD0128F disk0 : (121.33 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 120.47 GB (70.38 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
      Apple Internal Memory Card Reader
      Apple Inc. iPhone
      General USB Flash Disk 16.13 GB
      S.M.A.R.T. Status: Verified
      MSD (disk1s1) /Volumes/MSD : 16.13 GB (11.18 GB free)
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Library/Extensions
      [loaded] foo.tap (1.0) Support
      [loaded] foo.tun (1.0) Support
    Startup Items: ℹ️
      tap: Path: /Library/StartupItems/tap
      tun: Path: /Library/StartupItems/tun
      Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.wdhelper.plist
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [running] com.perion.searchprotectd.plist Support
    User Launch Agents: ℹ️
      [loaded] com.genieo.completer.download.plist Support
      [loaded] com.genieo.completer.ltvbit.plist Support
      [running] com.genieo.completer.update.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [invalid?] com.jdibackup.ZipCloud.autostart.plist Support
      [running] com.zeobit.MacKeeper.Helper.plist Support
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
      DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 537 - SDK 10.9
    User Internet Plug-ins: ℹ️
      TroviNPAPIPlugin: Version: 1.0 - SDK 10.9 Support
    Safari Extensions: ℹ️
      Trovi Search for Safari (Disabled)
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          53% mds
          9% WindowServer
          3% mds_stores
          3% storeagent
          2% hidd
    Top Processes by Memory: ℹ️
      920 MB mds
      31 MB com.apple.WebKit.WebContent
      30 MB Messages
      29 MB Safari
      21 MB WindowServer
    Virtual Memory Information: ℹ️
      31 MB Free RAM
      713 MB Active RAM
      681 MB Inactive RAM
      1.09 GB Wired RAM
      17.85 GB Page-ins
      1.95 GB Page-outs

  • Do we have a feature of export the names of the reports and dashboards that are available in OBIEE?

    Is there any option to export the names of the reports and dashboards that are available in OBIEE?

    Hi,
    You can create report using catalog manager:
    1. Open catalog in Online mode.
    2. Select shared folder & then click on Tool-> create report.
    3. For report name -> select Analysis from drop down list & move "Name" in right pane(or whatever detail u want, u can select from list).
    4. For Dashboard -> select Dashboard from drop down list & then move name in right pane.
    5. Click OK  & save report.

  • Displaying images that are accessed through URL

    Hi,
    I have trouble displaying images that are accessed through URLs in my report.
    If I call the URL directly in the Browser the Image can be opened without problems.
    The images can be accessed with an anonymous access.
    When I deploy the report or in the Preview of Visual Studio I get the following message:
    [rsWarningFetchingExternalImages] Images with external URL references will not display if the report is published to a report server without an UnattendedExecutionAccount or the target image(s) are not enabled for anonymous access.
    In Layout View of Visual Studio the image is showen correctly.
    The Images are stored on a Solaris maschine with WebSphere 6.0 as WebServer.
    Any ideas?
    Thank you.
    Frank
     

     Rain3 wrote:
    * Create a new IIS Virtual Directory pointing to the share:
    ** Open IIS Manager on the reporting server (eg. REPORTSERVER ):
    ** Create a new Virtual Directory (Web Sites --> Default Web Site --> New --> Virtual Directory)
    ** In the Alias prompt, type some name (eg. Pics) and in the Path prompt, specify \\SERVER\imageshare . Other options should be left default.
    * When designing reports, use "http://REPORTSERVER/Pics/somepicture.jpg" as the "Value" property for images.
    I have followed these steps but I still can not get the images to display.
    Our reportserver resides in the directory of another website rather than the default site.  I would assume that I would still follow the same procedure that you have listed but it did not help.
    Does anyone have any other recommendations?

  • How to know the List of Tables that are updated through a ABAP Program

    Hi,
    Is there a program or something that will help me to identify the List of Tables that are used in a ABAP program(ABAP Report, Transaction .... program) without debugging it or looking at the dictionary structure.
    I really need this urgently. Try to give me many methods as possible.
    Thkx
    Kishan

    Hi,
    I created a Z-transaction for my SE49 and debugged a little bit - it's not so fantastic any longer - just like the proposal of SE80 - DDIC list.
    SE49 (and I guess similiar functions, too) just scan the source code for a list of key words: tables, select, update, insert, modify, export, import.
    But very (very!) often updates are encapsulated into function modules - and here this technical cross reference (just like SE80 DDIC list) is of no help.
    So a SQL trace (or runtime analysis) is still the best option to get a complete list. Still these tools just analysis one process - if in other circumstances more tables are involved, can't be judged.
    E.g.:
    - creating one new entry: 1 table
    - changing existing entry: 2 accesses to 1 table + log table
    Regards,
    Christian

  • Query to find the maximum and second maximum

    i have a table temptab of 3 columns
    col1 col2 col3
    1 a 08-JAN-08
    1 a 09-JAN-08
    1 a 10-JAN-08
    1 b 10-JAN-08
    1 c 11-mar-08
    1 c 10-mar-08
    i want to select 1st maxm and 2nd maxm of col3 group by (col1,col2)
    o/p will be like
    1 a 10-jan-08 08-jan-08
    1 b 10-jan-08 null
    1 c 11-mar-08 10-mar-08
    select first.col1, first.col2, first.MAX_DATE, second.SEC_DATE from (select a.col1, a.col2, max(a.col3) as MAX_DATE
    from tab1 a group by a.col1, a.col2) first,
    (select b.col1, b.col2, max(b.col3) as SEC_DATE from tab1 b,
    (select a.col1, a.col2, max(a.col3) as MAX_DATE from tab1 a
    group by a.col1, a.col2) c
    WHERE c.col1 = b.col1
    AND c.col1=b.col1
    AND c.MAX_DATE > b.col3
    group by b.col1, b.col2) second
    where first.col1 = second.col1
    and first.col2 = second.col2;
    this is not working..
    please give a query which will do this.

    1. Your query have 3 subqueries where mine only one. Feel free to make your choice regarding the performance.
    2. You cannot have a column named date, unless you use double-quotes
    3. Your query doesn't work as well when you have not any second highest value
    4. Your query return a cartesian product of your table.
    Please check the results of your query (after applying the required modications) with the mine above, and make your choice :
    SQL> with tbl as
      2  (select 1 col1, 'a' col2, to_date('08-JAN-08','DD-MON-YY') col3 from dual union all
      3   select 1 col1, 'a' col2, to_date('09-JAN-08','DD-MON-YY') col3 from dual union all
      4   select 1 col1, 'a' col2, to_date('10-JAN-08','DD-MON-YY') col3 from dual union all
      5   select 1 col1, 'b' col2, to_date('10-JAN-08','DD-MON-YY') col3 from dual union all
      6   select 1 col1, 'c' col2, to_date('11-mar-08','DD-MON-YY') col3 from dual union all
      7   select 1 col1, 'c' col2, to_date('10-mar-08','DD-MON-YY') col3 from dual )
      8  --end of data sample
      9  select t1.col1 ,t1.col2 ,t1.col3,t2.col3
    10  from (select col1,col2,max(col3) col3
    11        from tbl
    12        group by col1,col2 ) t1,
    13       (select col1, col2, col3
    14        from (select col1, col2, col3,
    15                     row_number() over (partition by col1, col2 order by col3 desc) rn
    16              from tbl)
    17       where rn <= 2) t2
    18  where t1.col3 !=t2.col3;
          COL1 C COL3            COL3
             1 c 11-MAR-08       10-JAN-08
             1 a 10-JAN-08       09-JAN-08
             1 b 10-JAN-08       09-JAN-08[i] <-- obviously wrong, there is no 09-JAN-08 for 1b
             1 c 11-MAR-08       09-JAN-08[i] <-- obviously wrong, there is no 09-JAN-08 for 1c
             1 c 11-MAR-08       10-JAN-08[i] <-- obviously wrong, there is no 10-JAN-08 for 1c
             1 a 10-JAN-08       11-MAR-08[i] <-- obviously wrong, there is no 11-MAR-08 for 1a
             1 b 10-JAN-08       11-MAR-08[i] <-- obviously wrong, there is no 11-MAR-08 for 1b
             1 a 10-JAN-08       10-MAR-08[i] <-- obviously wrong, there is no 10-MAR-08 for 1a
             1 b 10-JAN-08       10-MAR-08[i] <-- obviously wrong, there is no 10-MAR-08 for 1b
             1 c 11-MAR-08       10-MAR-08[i] <-- obviously wrong, duplicate row
    10 rows selected.Nicolas.

  • Query for items on hold and items that are inactive for past 18 months.

    Hi Experts,
    We are on the process of initializing a new database due to database size, our client requested that we extract items from the current live database but only those items that are not On Hold and has been active for past 18 months. Those items that does not have transaction for the past 18months and currently on hold will be dropped. What will be the query to extract based on this filter? Please help. Thank you.
    Regards

    Hi,
    You may try this first:
    Select  t0.itemcode, t0.itemname, t0.onhand
    from dbo.oitm t0
    where t0.itemcode not in
    (select distinct itemcode from dbo.oinm  where DateDiff(DD,DocDate,GetDate()) < 548 group by itemcode)
    and t0.InvntItem = 'Y' and t0.Frozenfor = 'Y'
    Thanks,
    Gordon

  • How do I find all pictures and videos that are in email files?

    I am trying to find and extract all pictures and videos that people have sent me in emails (and in other parts of the computer but not in the pictures area) over the years to copy them into my aperture collection.  Does anyone know how to do that.  I use Outlook 2011.  X1 on the PC can do this with a preview of the pictures so you can remove all small gifs etc.
    Thanks!

    You'll have to search the web and see if anyone's offering the videos you want. Videos from the 80s are unlikely to be legally available, but you could get lucky.
    BTW, for future questions, try posting in the iTunes for Windows forum. You'll be more likely to get help there than you will here in the iTunes for Mac forum.

  • My iPad air won't charge.  I have used both the charge cord that came with it, and a second that I bought at the Apple store.  I have used both the charger that came with the iPad, and others that are working with other iPads.  It charged yesterday.

    My iPad Air will not charge.  I have used its original charge cord, and a second Apple lightning cord.  I have used the original charger and others that I have confirmed do work.  It charged yesterday, no problem.

    Before going to the Apple store carefully examine the lightning port to make sure no fuzz or other foreign stuff has gotten in there. There are not that many things that can prevent an iPad from charging. You've tried a different cable, different charger and hopefully the reset suggested by Barry in the previous post. Check for debris and if the port is clear Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • Query to find the start and end date of current quarter

    I want a query to give me the start date and end date of current quarter
    I don't want to use TRUNC and ROUND as the 16th day roundoff logic is not required.
    Thanks in advance.

    Hi ,
    I'm quite sure that the year quarters are static.....
    So , you can save them as records of a table , such as:
    QRTY START_DAY END DAY
    ============================
    1 1/1 30/3
    2 1/4 30/6
    3 1/7 30/9
    4 1/10 31/12
    The sysdate(day of the current quarter) must be between a start_day and appropriate end_day of the quarters, concatenated with the sysyear (year of the sysdate).
    So , if the above table is called Quarters ...
    then
    select start_day , end_day
    from quarters
    where to_date(sysdate,'dd/mm/rrrr') between (to_date(trim((start_day||'/'||to_char(sysdate,'rrrr'))),'dd/mm/rrrr'))
    and (to_date(trim((end_day||'/'||to_char(sysdate,'rrrr'))),'dd/mm/rrrr'));
    [b]Result
    START_DAY END_DAY
    1/10 31/12
    Regards,
    Simon
    Message was edited by:
    sgalaxy
    Message was edited by:
    sgalaxy

  • HT201317 How do i retrieve all of the photos and videos, that are no longer on my phone, i uploaded to icloud about 4 months ago?

    I am getting very angry with this, i have been trying for hours. There is more information than is humanly needed to upload to icloud, which a 5 year old can do, but nothing to help download it all

    Camera roll photos and videos are included in your backup.  If you still have a backup made while these were still on your phone, restoring to the backup should recover them.
    Photo stream won't help.  Photo stream photos are only kept in photo stream for 30 days, even though they remain on your devices until you delete them.  Photos added 4 months ago would no longer be there to download.  Also, photo stream only syncs photos, not videos.

  • How do I remove the "View Coupons" ad that appears in the upper right hand corner of the Firefox window.

    I find the "view Coupon" ad that appears in the upper right hand corner of the Firefox window a great annoyance. I would like to remove it from my computer. Can you tell me how to do this?
    Thanks you

    Go to Tools, Add-ons and disable "Panda Security Toolbar 2.0"

  • I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have had some that seem to go in but I can't find them.  Where should I look?

    I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have also had some that seem to go in but I can't find them.  If I try to add them again, I get a msg that they are already there.  Where should I look?

    It may be best to recreate the folder and the smart playlists from scratch.
    tt2

Maybe you are looking for

  • IOS 8 on the iPad:  How can I turn off the night view in the iBook bookshelf?

    I've already turned off the automatic switch to white on black in low light while reading my book.  But other areas, such as the shelves still switch to night view and I can't find where to turn that off.

  • Receive email with dots in body

    I have a weird problem with BB8830. From time to time (most of the time received from a specific Domaine) I receive emails with all the dots in the email body, the email was sent by Exchange Server. The same email is well receive in my Outlook 2003 i

  • Can't run Adobe Media Encoder CS4

    I can't open this application at all. It starts up, and shows the brown screen, but then quits and I get the message "The application Adobe Media Encoder CS4 quit unexpectedly". What can I do to sort this out? I reinstalled all my Adobe stuff a week

  • Problems with incoming emails

    After going through tons of support discussions and trying all that i could i would like to ask your help guys. As header suggests im having problems with incoming emails on mac mail (4.6)  (outgoing mails are working perfectly) Yesterday evening i n

  • How to Disable "Use itunes for internet playback"?

    I accidentally clicked the SET button in itunes which defaults itunes for internet playback. I do not want this. How do I revert back? I DO NOT want to use itunes for internet playback and I can not find any way to shut it off.