I am using Firebird in my app. There is a database that receives load once a day. The rest of the day the queries are read-only (select queries).
Is there any way of improving performance? For example, I don’t need the concurrency control of the database because I will make just SELECT queries.
Thanks
How much of the database is needed everyday? You might be reading small part of the data and thus you can cache the data at application layer and save database call completely.
Since the record in the database is readonly, you can use SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED and prevent any locking on the table. This most of the time improves scalability significantly. I put this on all my read SPs nowadays since it has saved me many times.