æ¦è¦ PostgreSQLä¸ã§å®è¡ä¸ã®SQLãåæ¢ããæ¹æ³ã«ã¤ãã¦èª¬æããã Javaãµã¼ãä¸ã§æéã®ãããSQLãå®è¡ãã¦ãã¾ããJavaãµã¼ããåæ¢ããã«ãã®ã¹ã¬ããã ããåæ¢ãããå ´åãªã©ã«ããã¦ã次ã®æé ã§å®è¡ããã SQL ãåæ¢ã§ããã æé ããã»ã¹ID(pid)ã®ç¢ºèª ã¾ããåé¡ã®SQLãå®è¡ãããããã»ã¹ã®IDã調ã¹ãã ã³ãã³ãã©ã¤ã³ãªã©ã§ã次ã®SQLãå®è¡ã SELECT procpid, start, now() - start AS lap, current_query FROM (SELECT backendid, pg_stat_get_backend_pid(S.backendid) AS procpid, pg_stat_get_backend_activity_start(S.backendid) AS start, pg_stat_get_backen
{{#tags}}- {{label}}
{{/tags}}