sundyandy
V2EX  ›  问与答

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

  •  
  •   sundyandy · Jul 16, 2019 · 1462 views
    This topic created in 2527 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   ·   3341 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:34 · PVG 19:34 · LAX 04:34 · JFK 07:34
    ♥ Do have faith in what you're doing.