execution time and running time difference - Mailing list pgsql-admin

From jian xu
Subject execution time and running time difference
Date
Msg-id BL0PR02MB4561E1E654EC2EF58565ECCDA106A@BL0PR02MB4561.namprd02.prod.outlook.com
Whole thread Raw
Responses Re: execution time and running time difference
List pgsql-admin

Hello,

          I enabled the \timing in psql, and run a query with explain analyze,

In the output, the execution time(from analyze) is 28 seconds, the query only returns  14 rows, however the Time(from timing) is more than a minute. Could someone help me explain the difference between execution time and running time? And how did it happen, any possible cause? Thanks

James

 

pgsql-admin by date:

Previous
From: Jefferson Lourthusamy
Date:
Subject: pgAgent installation issue
Next
From: Jeff Janes
Date:
Subject: Re: execution time and running time difference