Query for the huge table is not working.

Hi,
I am having a link between oracle server and Microsoft sql server let' say 'SQLWEB' this link is perfectly working fine when I query table having few hundred thousand records but It’s not working for one of the table which is having a more then 3 million record at sql server. any one of you is having any Idea why this peculiar behavior is there any limitations for this heterogeneous link is there any workaround for the same. Below you can see the first query returns the count from table but second query is getting disconnected as that’s a very huge table having millions of record.
shams at oracleserver> select count(*) from investors@sqlweb ;
COUNT(*)
15096
shams at oracleserver> select count(*) from transactions@sqlweb;
select count(*) from transactions@sqlweb
ERROR at line 1:
ORA-02068: following severe error from SQLWEB
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=%s
ORA-28509: unable to establish a connection to non-Oracle system
Regards
Shamsheer
Message was edited by:
Shamsheer

In general you want to minimize the traffic going over the dblink. This is best handled with view on the sql server try. You might try creating a view on sql server like:
create view all_investors as
select * from investors
Then from sql plus:
select count from all_investors@sqlweb.

Similar Messages

  • The USB ethernet adapter for the macbook air is not working. Cable unplugged. How can I fix this for the recent patch 10.7.2?

    I have recently purchased an ethernet usb adapter for the MBA and after a month it is not working. Says cable unplugged.
    Now I have tried it with 2 other connections on other computers that are working and still no response. Many reviews or fixes online mention something with a 10.5.5 patch that seems quite outdated and do not work. Anyone figure out how to fix this or do I have a broken adapter?

    I've used Apple's adaptor on a mini MBA without a problem.

  • Prepare a binder for the service requests is not working

    Hi all I did migration from stellet 7.5 tp oracle cs 10gr3 but my component is not working well the problem is in getEnvironment I think can any body help
    thanks
    here is the code how can i fix it
    // prepare a binder for the service requests
    DataBinder serviceBinder = new DataBinder();
    serviceBinder.setEnvironment(SharedObjects.getEnvironment());

    What is Oracle CS 10gR3? Is this an E-business component? In that case this is not the appropriate forum...

  • What do you do if one of your speakers for the iphone 4s is not working?  how yould you fix it?

    what do you if one of your speakers is not working on an ipone 4s.  how would you fix it?

    If you are referring to the speaker at the bottom, there is only one, the other is a microphone. Otherwise, have you attempted a reset?
    Tap and hold the Home button and the On/Off buttons for approximately 10-15 seconds, until the Apple logo reappears. When the logo appears, release both buttons.
    No content is affected by this procedure.

  • Why is the download link for the upgrade of Lightroom not working?

    Am I the only one, for who the download link https://creative.adobe.com/de/products/de/download/lightroom?promoid=KSKAY ist not working? I just get the error site not found...

    The 5.7 version. I found a different link, which was working, but I wasn't aware that's not just an upgrade but a completely new version you have to pay for again.
    So I think I will stick to my version. But thanks for your answer anyway.

  • My passbook on my iphone 5 works the same as it did for the iphone 4, its not working like it should. why?

    my pass book on my iphone 5 does not work like it should, it works just the same as it did on the iphone 4, i tryed the date an time trick like 5 times an still nothing. i tryed factory reset an nothing. i know it workds different on the iphone 5 then the 4. but i dont know what else to do.

    Can you be more specific about what isn't working?  Are you running iOS 6 or iOS 6.1?
    Did you read the support page on Passbook?  http://support.apple.com/kb/HT5483

  • Push notifications for the social networking are not working. How to fix it?

    Try to solve the problem of push notifications of social networking apps which are not working on my iphone 4. Fix it please..!

    If you go to settings-->general-->accessibility then scroll down you'll see "increase contrast." Turn that off and your control center and notification center should become more transparent. I had the same problem and that's how I fixed it! Hope it works :)

  • One of the applications for the ipod touch is not working

    the support site is not active

    Alright.
    So, what is it supposed to do, that it is not doing?
    Choose one:
    Opening, then quitting.
    Not opening at all.
    Telling you it can't connect to a server or database.
    Something else.
    The more information you provide, the better you can be assisted.

  • The attachment link for the new hotmail is not working - 1 March 2013

    Hi there
    I have just recently upgraded to the new hotmail platform on 1 March 2013. Found out that the attachment file link is not active when you compose a new message. When you click on it, nothing happens. My current Safari version is 6.02. Before that, everything was well. I have posted this question on the microsoft community and got a reply with a link to post my concerns here instead. The new attachment link however is working on IE & Firefox browsers (I checked on my friends' browsers). Could someone please advice & help. Thank you
    Cyn05

    Hope this photo helps.

  • My account states I'm authorized 5 computers however I only have 2 computers that are working, how do you account for the 3 that are not working

    I have owned 5 computers which had iTunes loaded, however only 2 of the computers actually work.  My account states I'm authorized 5 computers, how do I update my account to indicate that.  The only option I saw was unauthorize all computers

    Mash,
    If a computer is authorized but is discarded withour deauthorizing, it continues to count as an authorized computer. 
    But, it is simple enough to "Deauthorize All" and then re-authorize just the ones that you are still really using.

  • The next link of advance table is not working ??

    Hi,
    The next link and also all properties of the advance table is not working as soon as i click on the next link the page gets hanged no other components of the page not working
    i have two regions one is advance table region and one is default double column for showing all buttons in one row plz help..
    regards
    Dips (paddy)
    Edited by: 918001 on Feb 29, 2012 10:24 PM

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • Auto-complete for the email addresses in the mail app is not working

    Hi, could somebody kindly help, please?
    I have just got a new iphone 5s after my old 5 got broken. When I got the new 5s one I had to restore everything from the back-up copy I had on my ipad or in my icloud, whatever.
    The problem is that in the standard mail app which you have at the bottom of the screen auto-complete for the email addresses is not working on this new iphone. However, it still works on the ipad.
    Can I turn it on somewhere or is it a bug? I remember When my old iohone was new as well as the ipad and ipod, I did not have to turn on anything. The recent email addresses list (appears when one starts to type an address in the address bar when writing a new email message) appeared automatically. And on this phone it doesn't appear at all. It doesn't suggest me any recent or whichever email addresses and I am really lazy to type an address each time.
    Could this be solved?
    Many thanks in advance for the eventual help.
    Olia

    I am also getting same problem...................anybody please help.

  • Query in the where clause is not allowed

    Hi all,
    I have a table m_vehicle that stores 1 or more than 1 rows of data for each person. But the partner's schema requires that 0 or 1 vehicle license plate data be sent with the xml file. I have the following nested select statement inside a bigger one and it does not work,
    select xmlelement("VehicleLicensePlate",
         (case when mv.lic_plate_state is not null then
              xmlelement("PlateState", mv.lic_plate_state)
         end), -- end of plate state
         (case when mv.lic_plate_no is not null then
              xmlelement("PlateNumber", xmlelement("ID", mv.lic_plate_no))
         end),
         (case when mv.lic_plate_year is not null then
              xmlelement("PlateExpiryYear", mv.lic_plate_year)                                                  
         end)
         ).extract('/*')
    from m_vehicle mv where mv.mni_id = 1083650
    and mv.seq_no = (select max(mv2.seq_no) from m_vehicle mv2
    where mv2.mni_id = mv.mni_id) and mv.lic_plate_no is not null
    But it works when I run it alone and gets the latest row for the person. It does not work either if I join this table with other tables. My root element select is from dual because I have to supply lots of SOAP and other artifacts in the xml. Is it because I have this root select from dual that the query in the where clause does not work? How do I make it work so that I get 0 or one row only from the table? My solution was to write a function that returns each part of the license plate data using dymanic sql and call it in the xmlelement function. It works but I would like to use plain sql instead.
    Thanks.
    Ben

    By the way, the error I get is this,
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00216: invalid character 3 (0x3)
    Error at line 1
    ORA-06512: at "SYS.XMLTYPE", line 111
    Ben

  • Row Level Security Not working for the ECC table.

    Hi All,
    We have created a crystal report using SQL Driver.
    We have set the row level security on PA0001 table so that we can restrict the query based on Company Code.
    But when I run the report, it bypasses the row level security and gives access.
    Am I missing some configuration?

    Hi Ingo,
    Security is set up using /crystal/rls transaction. A custom auth object is used for checking the company code with a single field "BUKRS".
    This custom auth object is maintained for the PA0001 table.
    This object is added at the role level with the restricted access to the Company Code..

  • How to find out the query is accessing the DB tables or not

    Hi Gurus ,
    How to find out the query is accessing the DB tables or not.
    Where exactly we will find this information in SAP BW.
    I know that this information we can find in ST03. But where exactly we will find the query information along with DB information?

    Lakshmi
    Activate BI Technical Content for Query analysis and run query against that.
    Hope this helps
    Thanks
    sat

Maybe you are looking for