I use the same query in two difference db (exp/imp) but run different times!

Hello

I have 2 database. One of the remote server, one at my local. I used exp/imp to retrieve data from remote to my local database. Structers, tables and indexes is the same.
My local machine is more powerful than the remote computer. (Ram, cpu County ext)

But when I connect remotely from my local computer, this application runs 4 second (with view). But when I connect to my local db, this query run 5 minutes.
Number of rows returned is 18,500

What's wrong? Why get the bytes of the value are different?

Local explain plan is:
SELECT STATEMENT ALL_ROWS Cost: 203 Bytes: 19,062,160 Cardinality: 18,329                                         
Remote control explain plan is:
SELECT STATEMENT ALL_ROWS Cost: 226 Bytes: 3,855,214 Cardinality: 18,446                                         
My plans to explain (remote and the) and other (auto track, oracle params) data is in excel file (because of this forum not to accept more than 30,000 words);

http://www.eksicevap.com/tech/explainplan.xls
for winrar:
http://www.eksicevap.com/tech/explainplan.rar

Thanks for help

Oracel version information:
Local:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
Distance:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi

Published by: Melike on 15.Mar.2011 02:42

Published by: Melike on 15.Mar.2011 03:39

Melike says:
Thanks, Johan, I'll try.
My first post for local oracle param, I got it 3 days ago. or I confuse my file params to oracle. (This problem continues from last week)
Now I'm waiting still current oracle local params and these value is worse:

Local:
pga_aggregate_target 0
SGA_MAX_SIZE 536.870.912
SGA_TARGET 0

I update the new oracle local params in my previous message.

I'll try the update of these values, but I hope, my local oracle is not drop down :)

Can't be worse...
You have a parameter memory_target (and max_memory_target)? If so, you could add memory to these settings as well and only set pga_aggregate_target (no CMS or sga_max)

My settings (on a test/dev/lab-box):
System@oracle11 SQL > see the memory settings

VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
hi_shared_memory_address integer 0
whole big memory_max_target 3G
whole large memory_target 3G
shared_memory_address integer 0
System@oracle11 SQL > show parameter sga

VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
PRE_PAGE_SGA boolean FALSE
SGA_MAX_SIZE large integer 0
SGA_TARGET large integer 0
System@oracle11 SQL > show parameter pga

VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
pga_aggregate_target large integer 0

This way I pushed things like Oracle by itself, memory allocation to everywhere where oracle needs him the most.

Brgds
Johan

Tags: Database

Similar Questions

  • Is it possible to use the same password for two computers through quickbooks?

    We have two computers that are connected to each other through quickbooks and we must be able to get our e-mails from computers. Is this possible? We need to send invoices to the customers of a computer and the other is used for accounting and payroll.

    Original title: you can use the same password for two computers if they are already linked through quickbooks?

    Hi JayneB,

     

    (1) are you referring to the password of the user account?
    (2) who is the operating system installed on the computer?

     

    Method-

    I would like you to contact the Quickbooks support for assistance.

    Check out the link-

     

    QuickBooks support

     

    Hope this helps!

     

  • Is it possible to use the same license on two computers; fixed and portable?

    I have licensed Adobe Creative Cloud for PC. Is it possible to use the same license on two computers; my desktop and my laptop?

    Hello

    You can have the creative cloud installed and signed in on two computers as long as you don't use it on one at a time. Download and install as you did on the first computer, sign in to your Adobe account on the Adobe using your Adobe ID website, download the desktop app from clouds, then download the software. Log on a computer that you will not use:

    log in and log out of the desktop Adobe Creative Cloud application

    Let us know if you have more questions!

  • Avoid using the same query...

    How can I avoid to use the same query again and again using a single query, such as

    SELECT
    a,
    b * (SELECT COUNT (C1) FROM T2);
    c * (SELECT COUNT (C1) FROM T2);
    d * (SELECT COUNT (C1) FROM T2)
    Of
    T1;

    Fanny says:
    How can I avoid to use the same query again and again using a single query, such as

    SELECT
    a,
    b * (SELECT COUNT (C1) FROM T2);
    c * (SELECT COUNT (C1) FROM T2);
    d * (SELECT COUNT (C1) FROM T2)
    Of
    T1;

    A few cross join?

    select a, b*cnt, c*cnt, d*cnt
      from t1, (select count(c1) cnt from t2)
    
  • Why I have two different execution plans for the same query on two different servers

    Hello everyone.

    I need your help to solve the problem quickly.

    In a nutshell, we have two servers that have the same version of Oracle RDBMS (11.2.0.4 EE). One of them for purposes of development and another is a production one.

    We have therefore two different execution plans for the same query executed on both servers. The only case of execution is OK and another is too slow.

    So I have to slow down the work of query using the same scheme to explain that young.

    Fence wire.

  • I use the same URL in day after day tabs/windows, but am not ure if this version will restore all tabs on restart the computer every morning?

    I don't think I can give more info

    8 and 9 Firefox Firefox will allow me to continue with the same tabs from last session as in Firefox 3? :

    You're on Firefox 3.6.24 and if you ask if the new version 8.0.1 will do the same the answer would be Yes and it continues to be controlled by tools > Options > general > when Firefox starts: show my windows and tabs from last time.

    From Mozilla Firefox 4 (earlier this year), has presented app-tabs that you might want to listen to the video and read when standing up. Since you're using the same tabs they are probably in the same order, day after day after day, so just see the favicons on tabs and the model about whether something will not like order or missing.

    Since you use the tabs and windows as in earlier versions, the change will affect you probably even the least. But Mozilla has improved this which exists of sessions were closed, the windows and tabs via the menu ('Alt + H') history.

    What you probably will not tolerate changes to toolbars, based on studies of imperfect ergonomics (like Microsoft). You can fix it right and make the toolbars close to what you had before (instructions below).

    You can make Firefox 8.0.1 look to Firefox 3.6. *, see numbered 1-10 Articles of the topic following the interface user of difficulty Firefox toolbar, problems (make Firefox 4.0 through 9.0, resemble 3.6). If you make changes, you must be aware of what has changed and what it takes to use changed or missing features.

    It is much more beyond these first 10 steps in the list, if you want to make Firefox more functional.

    Please mark "resolved" a response that will better help others with a similar problem - hope it was her.

  • How to use the same control between two forms of Visual Basic 6?

    I have two forms and must share text between two controls forms such that I get a value in the text box in Form-A should update the same value in the text box in Form-B...

    Is this possible? If so, how can I apply it in my project?
    I tried to create a control array, but that did not help.

    Hello

    I suggest you to ask your question in the Visual Basic forum: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/threads

    Thank you.

  • What to do to be able to use the same files on two PCs that are different. ??

    I need to say that the files are linked, given that Dreamweaver writes the internal code for each file to each PC?

    What should I do?  The computers are NOT on a network.

    I hope that I have clearly to my question.

    See you soon,.

    Dreamweaver101.1

    Well, it's stretching to the requirements to license a bit, but they can certainly connect to the remote site, download files, edit on their local box and download them again.  But to avoid version control issues, you must not work on these files at all during this period.  Also, you should have up-synchronized files upwards on the site before they start to work and then downsynch after their completion.

    Who help me?

  • I need to install cc on two macs. My Macbook Pro and my Imac. Can I use the same account?

    I have two machines that I use. One mainly for photography in movement and another for the most part, the work of Indesign. Question is can I use the same account on two because it won't ever simultaneous.

    Derek

    Yes.

    Mylenium

  • Both of these tools use the same algorithm?

    Database (TimesTen) in memory of Oracle and Oracle coherence they use the same algorithm?
    Two of them are databases in memory?
    Otherwise, what is the difference?

    Published by: qck on August 11, 2009 20:17

    No, they are different tools, and they use different algorithm.

    Oracle TimesTen in-memory database is a relational database memory-resident. Deployed in the application as a layer
    embedded database, the Oracle TimesTen database in memory works on databases that fit completely in the physical memory using the standard SQL interfaces.
    Oracle TimesTen in memory
    Database libraries are integrated into the applications, eliminating the unnecessary context switching and operation of the network, further improve the performance.
    Database in Oracle TimesTen (TimesTen) memory is designed knowing that the data reside in main memory and can take more direct to roads
    data, reducing the length of the path of the code and simplifying algorithms and structure.

    Oracle coherence is a grid in memory of the distributed data JCache compatible for clustered applications and application servers. Organizations fits predictable critical applications using Oracle coherence to provide fast and reliable access to frequently used data. The Oracle coherence allows customers to send data more closely to the demand for faster access and greater use of resources. By automatically and dynamically partitioning data in memory on multiple servers, Oracle coherence enables continuous data availability and transactional integrity, even in the case of a server crash. Oracle coherence is a shared infrastructure that combines the locality of data with local processing power to perform the analysis of real-time data, calculations of grid in memory and parallel transaction and event processing.

    In my view, the coherence of the Oracle is more powerful. It is mostly co-located on multiple server memories. It is not only for databases (including with the Hibernate or TopLink), but also for other applications.

    Published by: jetq on August 11, 2009 23:20

  • How to operate the same license on two computers?

    Hello

    I searched around a bit to find answers to my questions so far without success.

    I used Adobe Lightroom 3 & 4 on my computer for years. Now, I bought a laptop as well. I am the only user of both computers. If I understand the end user license agreement, I am allowed to use the same license on two of my computers.

    Is it simple? Just install LightRoom 4 with the serial number of the purchase? LR4 was an upgrade to LR3. I must first install LR3, or just use the two serial numbers?

    I would also like to upgrade my computer Windows 7 to Windows 8. I have tried current upgrade process and told me he has failed, and I have to do an installation complete (fresh) of Windows 8 (after formatting the drive of the computer).

    I'll be able to do this? My favorite current LR4 running on two computers with Windows 8, even if 'result' is a new installation of Windows 8 on the stand-alone computer.

    I am also considering the purchase of Adobe Acrobat. I'll be able to run that as well on two computers?

    What happens if I replace the stand-alone version with a new computer a day - I'll be able to pass the license of the 'old '?

    I would appreciate a response to this post.

    Best regards

    Svein A. Martinsen

    I have been in contact with Support from Adobe, which has been very helpful. I have now installed LR4 (4.4) on my laptop. As I had upgraded to LR3 LR4, I needed two serial numbers. Of course, which was no problem because I had kept the emails. They are also available on my account on adobe.com.

    I didn't ask the person supported on deactivation, but if I understand correctly, I should somehow disable the LR4 license on the stand-alone version before installing Windows 8 on this computer. (LR4 and other applications of course will have to be installed after a fresh install of the OS).

    Kind regards

    Svein a. M.

  • Using the same application with filters prompted by guided Navigation

    Hi gurus,


    I have a requirement in which I need to show a report only when it returns results.

    To do this, I put the request in a section and applied a guided navigation using the same request as a source of demand.

    Can I use the same query in the navigation guided as request to the source?

    In the application there are filters which are invited

    My question - > in demand of guided Navigation Source, what I have to do the filters that you are prompted, or what I need to make it equal to the variables of presentation, which are populated by dashboard guests.

    I also have one of the guest as a guest of multiple selection...


    Thank you
    Ashish

    Ashish,

    Yes, you can use the same request here.

    For the application, you can use "IsPrompted" if same column is used in the guest of another use variable presentation here which is populated from the dash prompt. Just, 'specific' selected value based shud report results.

    Refer
    http://varanasisaichand.blogspot.com/2010/02/dashboards-as-prompts-in-OBIEE.html?m=1
    http://bischool.WordPress.com/category/guided-navigation/

    I hope that its useful...

  • How can I integrate my tree using the tree query in combobox

    Hi all

    I have a request of tree and you want to use the same query tree to put a tree inside a ComboBox as combobox category in this link
    http://forums.Oracle.com/forums/search! default.jspa

    Can someone help me to do it... I also use my fine navigation tree.

    With respect,
    Sunil Bhatia

    Hello

    LEVEL is not a real column - it's a nickname, so it shouldn't be on your table, because it generates the SQL.

    Your statement could be something like:

    SELECT LPAD(' ', 2 * (LEVEL-1), '.') || "NAME" d, "PAGE_NO" r
    FROM APEX_PAGES
    WHERE PAGE_NO NOT IN (SELECT "PAGE_NO" FROM "#OWNER#"."APEX_USER_PAGES" WHERE "APP_USER" = :APP_USER)
    START WITH PAGE_NO = 1
    CONNECT BY PRIOR PAGE_NO = PARENT_PAGE_NO
    

    I don't know what would be your starting page number - it would be to the top of the tree - so I just put 1 in this example.

    Here is a page that I put in place using my example of EMP table, just to show what would be the result: [http://apex.oracle.com/pls/otn/f?p=35917:22]

    Andy

  • I bought a 2nd hand "IBM T30" without Windows XP, at the back of the laptop product key always there, can I download the XP by using the same product key?

    I bought a 2nd hand "IBM T30" without Windows XP, at the back of the laptop product key always there, can I download the XP by using the same product key?

    Yes, you can, but you must make sure that you install a version of Windows XP OEM. either the product key on the label will not work

  • Can I use the same charger in another country (South Africa) and just power but an adapter?

    I'm moving to Africa South of the United States for a year and want to know if I can use the same charger power in South Africa and just, but a plug adapter or do I need to get a new charger for AG?

    Hello

    Today computer laptop Chargers can be used for normal electricity (110V to 250V) worldwide. All we need is a small card of similar adaptation the ones we use to travel abroad. Most of the electrical stores, travel agents and airports... sell them.

    Kind regards.

Maybe you are looking for

  • iTunes 12.4.1.6 and other recent versions not showing audio books in the tab of the authors.

    iTunes 12.4.1.6 and recent versions shows no audio books in the tab of the authors. He is used to. This change means that the only way to display the audio books via a massive list or a grid, which, if you have a large collection of audio books is a

  • Can't access google when the computer is started to the top

    I get a page that covers the entire screen which is red and won't let me see the google search box I sent a response which says that it has been corrected, but when I turned off the computer and restarted the screen was covered with the same red box.

  • 15-ay002np HP: HP 15-ay002np

    Hello, is - it normal that a new pc with 500 GB of hard drive has only 417 GB of 449 GB free space? And 15.8 GB in another drive named Recovery? I only turned on the computer and that's what I have free space. Another issue is my computer came with a

  • DirectDraw or Direct3D option is unavailable

    Original title: drivers Nice day I have problems with my Draw.When live and Direct 3D acceleration I open DXDIAG it shows that these two don't are not available.i has recently installed a new Windows XP after installing windows, I have not installed

  • Problem access Manager __Verisoft

    My labtop has a fingerprint reader. Once I reset my internet explore setting tools manu, my verisoft access manager (fingerprint) does not work.I tried to find a way to reset that, but I couldn't.Also, I uninstall the control panel verisoft Access Ma