pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPOWA-tool doesn't show queries executed
2+ messages / 2 participants
[nested] [flat]
* POWA-tool doesn't show queries executed
@ 2017-11-18 02:11 Neto pr <netoprbr9@gmail.com>
2017-11-18 03:13 ` Re: POWA-tool doesn't show queries executed Andres Freund <andres@anarazel.de>
0 siblings, 1 reply; 2+ messages in thread
From: Neto pr @ 2017-11-18 02:11 UTC (permalink / raw)
To: pgsql-admin
Dear all
I have successfully installed POWA (http://dalibo.github.io/powa),
including all required extensions, see the following Printscreen of its
operation of end email.
But when executing queries in psql- comand line, this queries are not
monitored by powa. I have checked that only Postgresql internal catalog
queries are shown. .
I need the Optimize Query functionality and mainly the suggestion of
indexes.
But that does not work, by clicking on the optimize query option, returns
zero suggestions.
See below that I created a scenario, with a table with a large amount of
data, to check if the tool would suggest some index, and when making a
complex query, no index is suggested.
Someone knows if they have to configure something so that the queries are
monitored and show suggestions ??
--------------- Printscreens of my environment partially
working:--------------
https://sites.google.com/site/eletrolareshop/repositorio/powa1.jpeg
https://sites.google.com/site/eletrolareshop/repositorio/powa2.jpeg
https://sites.google.com/site/eletrolareshop/repositorio/powa3.jpeg
-------------------------------------------------------------------------------
---------------- scenario to verify the suggestion of indices
-----------------
postgres=# create table city_habitant (number_habitant text);
CREATE TABLE
postgres=# insert into city_habitant (number_habitant) select 'São Paulo'
from (select generate_series (1, 4000000)) a;
INSERT 0 4000000
postgres=# insert into city_habitant (number_habitant) select 'Rio de
Janeiro' from (select generate_series (1, 8000000)) a;
INSERT 0 8000000
postgres=# insert into city_habitant (number_habitant) select 'Recife'
from (select generate_series (1, 6000000)) a;
INSERT 0 6000000
postgres=# insert into city_habitant (number_habitant) select 'Santos'
from (select generate_series (1, 2000000)) a;
INSERT 0 2000000
postgres=# insert into city_habitant (number_habitant) select 'Chui' from
(select generate_series (1, 6)) a;
INSERT 0 6
postgres=# SELECT number_habitant, count(number_habitant) FROM
city_habitant GROUP BY number_habitant;
number_habitant | count
-------------------+------
Rio de Janeiro | 8000000
Recife | 6000000
Santos | 2000000
São Pauo | 4000000
Chui | 6
(5 rows)
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&...;
Livre
de vírus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&...;.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: POWA-tool doesn't show queries executed
2017-11-18 02:11 POWA-tool doesn't show queries executed Neto pr <netoprbr9@gmail.com>
@ 2017-11-18 03:13 ` Andres Freund <andres@anarazel.de>
0 siblings, 0 replies; 2+ messages in thread
From: Andres Freund @ 2017-11-18 03:13 UTC (permalink / raw)
To: Neto pr <netoprbr9@gmail.com>; +Cc: pgsql-admin
Hi,
On 2017-11-18 00:11:49 -0200, Neto pr wrote:
> I have successfully installed POWA (http://dalibo.github.io/powa),
> including all required extensions, see the following Printscreen of its
> operation of end email.
POWA is not part of PostgreSQL, so unfortunately this is not the right
list for this question.
Note that the page you reference above has a "contact" section.
Greetings,
Andres
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-11-18 03:13 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-11-18 02:11 POWA-tool doesn't show queries executed Neto pr <netoprbr9@gmail.com>
2017-11-18 03:13 ` Andres Freund <andres@anarazel.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox