Sometimes it takes couple of seconds to open a build details (the URI is e.g. /viewLog.html?buildId=6709&tab=buildResultsDiv&buildTypeId=bt8). It's not consistent, the median load time is about 3 seconds, but sometimes it takes much longer.
I am using TeamCity 9.0.1 (build 32116). The database is running on PostgreSQL 9.3.
In those moments where it takes really long time to load the page, this is the only query TeamCity is issuing to the database:
select I.build_id, I.test_name_id, I.status
from test_info I
join build$ B
on I.build_id = B.build_id
Is this kind of performance expected?