Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Full table scan overloading the DB

$
0
0

@m.ferreira wrote:

Hi,

We are using Piwik with millions of daily page visits and in the last few days, we've detected some heavy activity in the database. After further inspection, we've detected a full table scan in the MySQL logs in, from what I understand, the archiving process:

-- Connection Id: 545497
-- User: piwik_u
-- Host:
-- DB: piwik
-- Command: Query
-- Time: 8
-- State: query end
UPDATE piwik_log_link_visit_action SET time_spent = '204' WHERE idlink_va = '66068057'

Here is the full log

I'm worried that a fulltable scan might be to harsh for the amount of requests we are receiving, and that the DB might not be able to handle it. Can you help us out?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles