Hello
Following this post : https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-millions-connection-to-postgres/m-p/306701#M24022
We check the postgres' logs.
Just 1 min after the launch, I just display the login page of Alfresco dashboard (without connecting)
And this is the result.
cat postgres-data/log/postgresql-2021-05-21_152402.log |grep select | wc -l
5794
Near 6000 Select requests.
Is it normal ?
Morever, we see the following query 2 times separated by only 20 ms.
select
assoc.id as id,
parentNode.id as parentNodeId,
parentNode.version as parentNodeVersion,
parentStore.protocol as parentNodeProtocol,
parentStore.identifier as parentNodeIdentifier,
parentNode.uuid as parentNodeUuid,
childNode.id as childNodeId,
childNode.version as childNodeVersion,
childStore.protocol as childNodeProtocol,
childStore.identifier as childNodeIdentifier,
childNode.uuid as childNodeUuid,
assoc.type_qname_id as type_qname_id,
assoc.child_node_name_crc as child_node_name_crc,
assoc.child_node_name as child_node_name,
assoc.qname_ns_id as qname_ns_id,
assoc.qname_localname as qname_localname,
assoc.is_primary as is_primary,
assoc.assoc_index as assoc_index
from
alf_child_assoc assoc
join alf_node parentNode on (parentNode.id = assoc.parent_node_id)
join alf_store parentStore on (parentStore.id = parentNode.store_id)
join alf_node childNode on (childNode.id = assoc.child_node_id)
left join alf_store childStore on (childStore.id = childNode.store_id)
where
parentNode.id = $1
and assoc.qname_crc = $2
and assoc.qname_ns_id = $3
and assoc.qname_localname = $4
order by
assoc.assoc_index ASC,
assoc.id ASCIs it normal too ?
At last, in pgAdmin we can see this, without any interaction with alfresco.
Our IT service is a little bit scared
Thanks
Corentin.