sundyandy
V2EX  ›  问与答

PostgreSQL 执行语句后,有办法知道语句中用到哪些表的哪些字段吗?

  •  
  •   sundyandy · Jul 16, 2019 · 1474 views
    This topic created in 2533 days ago, the information mentioned may be changed or developed.
    比如执行了
    select a,b,c from table where d = '123';
    可以有什么渠道或统计信息,知道这个语句用到了 table 表的 a,b,c,d 吗?
    多表联查呢?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   940 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:42 · PVG 03:42 · LAX 12:42 · JFK 15:42
    ♥ Do have faith in what you're doing.