Get WPFTS Pro today with 25% discount!

Slow process on wpftsi_tp table


  • Hi,

    We've used the plugin for a few days with drastic performance increase on queries by search.

    But a few days ago we started seeing it's table with frequent slow queries. At the moment I was writing, here's the mysql proccess list:

    e88fe60c-204d-41e3-89de-168de15114d7-image.png ![alt text](image url)

    The MySQL queue is simply overwhelmed with all those queries, with some taking a lot of time to process, and making the site down.

    I had to deactivate the plugin and I'm waiting the queries to finish in order to have the site back.

    Any clue on why we are having so many of those queries?


  • This post is deleted!

  • Hi, @cantuaria

    Thank you for this report. We have added "ts < <date>" part in the last plugin update and that is good that you found this issue and reported!

    Could you please tell me some more information before we develop a fix for this?

    1. How much records are now in your wpftsi_tp table?
    2. What is the engine used for this table? MyISAM or InnoDB?
    3. Could you send me a sample of some records in this table? Just 20-30 records would be fine.

    This table should be normally empty and should contain only some rows related to the latest search.

    After doing points 1-3 could you also truncate this table (in case there are a lot of records) and tell me if this fixed the performance issue?

    After truncating, do this table grows constantly with each new search query request?

    Thank you for this report and your help!


  • Hi @EpsilonAdmin ,

    I had to rename the table in order to stop the queries. After that I could login and deactivate it.

    Does this new functionality relies on CRON? Investigating more, I've identified a CRON job which was supposed to run each 15 minutes, which was running everytime. But I'm not sure if it's related.

    1. The table had 105,895,410 rows . Our posts table have 265,000 rows
    2. Engine is InnoDB
    3. Sorry, I truncated the table during the process.

    We definitely don't have this amount of searches on the site, so maybe this table is creating logs for other queries (it's sad that we don't have the data for this now).

    I'll try to re-activate the plugin tomorrow for some time to see how it behave.


  • Hi @cantuaria

    I found a bug in the new version and I made an update of the plugin to 1.59.211. Please update it.

    This should guarantee the _tp table to be empty (actually it's a temporary table that ONLY used for search queries and did not used for CRON jobs or indexing).

    After this update the plugin will not give an additional load for the server.

    Thanks. Please let me know if it works fine or not now.


  • Hi @EpsilonAdmin thanks for your prompt response and sorry for my late response.

    Unfortunately the site owner didn't approved the re-activation of the plugin. But I will use it on other sites soon.

    Thanks for all your efforts!

Suggested Topics

  • No PDF results

    Bugs and Fixes
    2
    0 Votes
    2 Posts
    25 Views
    EpsilonAdminE

    Hi @ultraman

    Thank you for your message.

    Since you can see results in the Sandbox, the index is fine. No need to rebuild it again. The problem is on the "display results" side.

    With your configuration, the first idea I think is to install the pre-release WPFTS version that contains the latest fix of the Divi Addon for WPFTS. I've sent you the link in private messages.

    Please install it and tell me if it works fine or not.

    In case it still does not work, please tell me which version of Divi Theme you are using, the WPFTS plugin version, and also please explain your search behaviour. Simple try the request like this:

    https://yourdomain.com/?s=<search_phrase>

    And notice if it returns any result.

    Thank you!

  • Wordpress Download Manager Files Not Indexed

    Bugs and Fixes
    5
    1 Votes
    5 Posts
    439 Views
    M

    If you're not seeing this issue, my guess is that your external files are stored under the same domain as your WP instance. Our download files are accessed from a different domain. Our site is fcm.org, and the download files are served from a bitwarden.com domain.

  • No search results after update

    Bugs and Fixes
    3
    0 Votes
    3 Posts
    222 Views
    EpsilonAdminE

    @ibloom
    Thank you, this is actually the thing which I would like to recommend you to do.

  • 0 Votes
    2 Posts
    144 Views
    EpsilonAdminE

    Hi @Felipe-Farinho

    Você pode me dizer qual tema seu site está usando atualmente? Pode haver uma incompatibilidade de tema/WPFTS (e isso é fácil de corrigir).

    Além disso, para indexar arquivos do WPDM você precisa instalar um complemento simples
    https://wordpress.org/plugins/wpfts-add-on-for-wp-download-manager/ (não se preocupe se não for atualizado há algum tempo - iremos atualizá-lo em breve).

    Isso permitirá que o WPFTS veja os arquivos adicionados ao WPDM.

    Peço também que você compartilhe um link para o seu site - isso agilizará a busca por uma solução.

    Obrigado!

  • Slow down for bulk operations

    Bugs and Fixes
    1
    0 Votes
    1 Posts
    620 Views
    No one has replied

Be the first to read the news!

We are always improving our products, adding new functions and fixes. Subscribe now to be the first to get the updates and stay informed about our sales! We are not spammy. Seriously.

Join Us Now!

We are a professional IT-team. Many of us have been working in a Web IT field for more than 10 years. Our advanced experience of software development has been employed in the creation of the WordPress FullText Search plugin. All solutions implemented into the plugin have been used for 5 or more years in over 60 different web-projects.

We are looking forward to your comments, requests and suggestions in relation to the current plugin and future updates.

ewm-logo-450

The forum powered by NodeBB | Contributors