Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changelog
#25
FullText Search sped up, with DB speeding up

     

So, I was googling around and found MyISAM as MySQL storage engine to be a speed killer. And what do you know? Our Forum software was using MyISAM for most tables.
So I converted some of the database tables from MyISAM to the newer InnoDB. The performance gains were small at first. But InnoDB allowed me in turn to set a big "innodb_buffer_pool_size" of about a Gigabyte of RAM with our MariaDB Server. Now after doing a first Search, successive searches are much much much faster, as the underlying database table gets cached by our database server now.

So....Despite our over 1 Million Posts, the Search now will return within 3 to 4 seconds in most cases.


Unfortunately, the Database Server eats too much RAM. Had to reduce it to a few hundred MB, so the machine doesn't grind to a halt again. The Search has become faster anyhow.

Additionally, thanks to using InnoDB now, the main page shouldn't get hung up any more, if someone else is doing a Search. How so? - Well the former Database engine MyISAM, was doing transactional locking on the whole table, freezing the Forum while a search was running. The InnoDB engine, in contrast has 'row locking'; so multiple read-accesses can be running on the same table at the same time. Thus fixing the hang-ups we have had.


Messages In This Thread
Changelog - by Naughty Faun - 29th July 2023, 02:11
RE: Some ongoing updates - by Naughty Faun - 4th August 2023, 18:42
RE: Some ongoing updates - by dxasmodeus - 4th August 2023, 22:08
RE: Changelog - by Q - 21st October 2024, 21:48
RE: Changelog - by Q - 22nd October 2024, 16:21
RE: Changelog - by Q - 23rd October 2024, 16:38
RE: Changelog - by Q - 27th October 2024, 18:52
RE: Changelog - by Q - 31st October 2024, 16:07
RE: Changelog - by Q - 26th January 2025, 00:29
RE: Changelog - by Q - 5th February 2025, 00:59
RE: Changelog - by Q - 9th February 2025, 20:24
RE: Changelog - by Q - 16th February 2025, 19:15
RE: Changelog - by Q - 17th February 2025, 00:05
RE: Changelog - by Q - 4th March 2025, 13:26
RE: Changelog - by Q - 16th March 2025, 23:22
RE: Changelog - by Q - 6th August 2025, 01:10
RE: Changelog - by Q - 6th August 2025, 01:22
RE: Changelog - by Q - 7th August 2025, 01:57
RE: Changelog - by Q - 11th August 2025, 23:36
RE: Changelog - by Q - 12th August 2025, 00:15
RE: Changelog - by Q - 8th March 2026, 22:15
RE: Changelog - by Q - 10th March 2026, 11:29
RE: Changelog - by Q - 21st March 2026, 12:36
RE: Changelog - by Q - 21st May 2026, 22:20

Forum Jump:


Users browsing this thread: 1 Guest(s)