Giter Club home page Giter Club logo

Comments (7)

laurenz avatar laurenz commented on August 14, 2024 1

As long as you don't access foreign tables, oracle_fdw should have no impact on the performance of PostgreSQL.
If you read from a foreign table, and the query on the Oracle side takes a long time, or if the data transfer rate is slow, that will also affect the performance on the PostgreSQL side.

from oracle_fdw.

mkgrgis avatar mkgrgis commented on August 14, 2024

@ruralqiu , this is very common description. Full list of PostgreSQL functions implemented by oracle_fdw and executed for OracleDB or inside of OracleDB is here.

from oracle_fdw.

laurenz avatar laurenz commented on August 14, 2024

Yes, your description is pretty accurate. Another way to think of it is that a foreign table is somewhat like a view: it does not store any data, and whenever you read or write, it is actually the underlying Oracle table that is accessed.

from oracle_fdw.

ruralqiu avatar ruralqiu commented on August 14, 2024

Yes, your description is pretty accurate. Another way to think of it is that a foreign table is somewhat like a view: it does not store any data, and whenever you read or write, it is actually the underlying Oracle table that is accessed.

OK,So I can understand it as follows: there is no relationship between oracle_fdw and the performance of the postgreSQL environment, is it?

from oracle_fdw.

ruralqiu avatar ruralqiu commented on August 14, 2024

As long as you don't access foreign tables, oracle_fdw should have no impact on the performance of PostgreSQL. If you read from a foreign table, and the query on the Oracle side takes a long time, or if the data transfer rate is slow, that will also affect the performance on the PostgreSQL side.

Okay,thanks, I understand now. Will I use indexes to improve query speed when I create indexes in Oracle tables that are mapped externally?

from oracle_fdw.

laurenz avatar laurenz commented on August 14, 2024

Indexes on the Oracle side will get used at the discretion of Oracle. PostgreSQL knows nothing about them. All it does is send a query (look at the EXPLAIN output), and Oracle decides if it wants to use an index or not (look at the EXPLAIN (VERBOSE) output).

from oracle_fdw.

ruralqiu avatar ruralqiu commented on August 14, 2024

Okay, thank you very much

from oracle_fdw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.