I've a coldfusion application that currently contains just under 5,000 records on one table. I've a query that selects around 3800 records from that table. There are several queries that retrieve over 1500 records at a time The table grows by about 600-700 records per year. At present, selecting 3800 records takes about 30 seconds.
MySQL is running on Windows server with IIS, CF10, MySQL 8.0.25. The Server is 10900X CPU, 32GB 3200CL16 DDR4, 150TB storage, connected over the network via 10Gbe infrastructure.
The select is basic
select * from games where gtype='#dtype#'
I could select fewer columns, but most of them are displayed on the resultant output
Is there anything I can do to speed up queries? Soon I suspect I will start getting "time exceeded" errors.
gtype
column ? if not create the one & problem is solved.explain select * from games where gtype='#dtype#'
andshow create table games
SHOW TABLE STATUS
.