On 04-10-2020 13:46, Stanislav Hruška wrote:
> So I'll try differently:
> Why does the application run for 3 min when first launched from Delhi.
> Then always only 10 sec.
> If I restart Delphi, it starts again for 3 min.
> Because FireDAC?
It could be that Delphi is slow to load your application on HDD, or it
could have to do with the filesystem cache caching the database file *in
memory*, or with the Firebird page cache caching the most relevant
database pages *in memory*. Most of those caches are released when your
application exits, and then need to be repopulated when the application
starts again.
Mark
--
Mark Rotteveel