FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
MariaDB FULLTEXT searches and transactions
How-ToMachine Learning

MariaDB FULLTEXT searches and transactions

via Dev.toMike Whitaker3h ago

Another in a series of "things I had to learn the hard way, and you shouldn't". The key takeaway from this is that MariaDB FULLTEXT search indices are not updated until a transaction is COMMIT'ed. Allow me to demonstrate: MariaDB [ fulltext_demo ] > create table text_data ( -> id serial , info text ); Query OK , 0 rows affected ( 0 . 022 sec ) MariaDB [ fulltext_demo ] > CREATE FULLTEXT INDEX -> ft_idx on text_data ( info ); Now we have a table fulltext_demo with a row info indexed for a fulltext search. And just to prove it: MariaDB [ fulltext_demo ] > insert into text_data set info = "banana" ; Query OK , 1 row affected ( 0 . 015 sec ) MariaDB [ fulltext_demo ] > select * from text_data where -> match ( info ) against ( 'banana' ); + ----+--------+ | id | info | + ----+--------+ | 1 | banana | + ----+--------+ 1 row in set ( 0 . 000 sec ) So far, so good. Now let's do that inside a transaction. MariaDB [ fulltext_demo ] > begin ; Query OK , 0 rows affected ( 0 . 000 sec ) MariaDB [ f

Continue reading on Dev.to

Opens in a new tab

Read Full Article
4 views

Related Articles

What You Need to Know About Building an Outdoor Sauna (2026)
How-To

What You Need to Know About Building an Outdoor Sauna (2026)

Wired • 3h ago

The Boring Skills That Make Developers Unstoppable in 2026
How-To

The Boring Skills That Make Developers Unstoppable in 2026

Medium Programming • 7h ago

I Installed This VS Code Extension… and My Code Got Instantly Better
How-To

I Installed This VS Code Extension… and My Code Got Instantly Better

Medium Programming • 9h ago

The Age of Personalized Software
How-To

The Age of Personalized Software

Medium Programming • 11h ago

Automating Checkout Add-On Recommendations in WordPress for WooCommerce
How-To

Automating Checkout Add-On Recommendations in WordPress for WooCommerce

Dev.to • 11h ago

Discover More Articles