sundyandy
V2EX  ›  问与答

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

  •  
  •   sundyandy · Jul 16, 2019 · 1458 views
    This topic created in 2524 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   ·   868 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:24 · PVG 04:24 · LAX 13:24 · JFK 16:24
    ♥ Do have faith in what you're doing.