473,396 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Script completely owning my mysql server

I'm currently using PHP Super Counter from:
http://www.abspoel.com/roel-karin/download.php

My biggest problem is that each time this script runs (aka has a count)
it makes a query to an extreme big table (created by it) and sucks up a
lot of processing power.

Well today my mySQL server has been stuttering because of high traffic.

Every so often I'm getting:

Can't connect to local MySQL server through socket '/tmp/mysql.sock'

Then everything goes back to normal for a short while. And a little
later it'll so it again.

That seem to have stopped for the time being.

Basically is this just a crappy counting script? Or is it fairly good
(it's a little overkill for what I need, I just want to know how many
pageviews a day, month, and year, maybe hour if possible and maybe what
pages but that's it). Is it worth keeping this script or is there a
better one?

Jul 16 '05 #1
1 2330
In article <OKHLa.27469$ZE.1749@lakeread05>, reversemaximum-
ca**@webmaster.com says...
I'm currently using PHP Super Counter from:
http://www.abspoel.com/roel-karin/download.php

My biggest problem is that each time this script runs (aka has a count)
it makes a query to an extreme big table (created by it) and sucks up a
lot of processing power.

Well today my mySQL server has been stuttering because of high traffic.

Every so often I'm getting:

Can't connect to local MySQL server through socket '/tmp/mysql.sock'

Then everything goes back to normal for a short while. And a little
later it'll so it again.

That seem to have stopped for the time being.

Basically is this just a crappy counting script? Or is it fairly good
(it's a little overkill for what I need, I just want to know how many
pageviews a day, month, and year, maybe hour if possible and maybe what
pages but that's it). Is it worth keeping this script or is there a
better one?


Sounds like you just want fairly simple server stats? Try webalizer.

--
Quod subigo farinam

$email =~ s/oz$/au/o;

Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Duane Winner | last post by:
Hello all - I'm having a small problem with the mysql startup script that ships with MySQL-3.23.56-1. I'm running on RedHat Linux. It works fine, but I have a backup server that runs a script...
0
by: Mark Griffin | last post by:
Hi... I am trying to convert a simple FAQ script to access mysql db rather than the Access db it was designed for. The originators of the script offer no support at all. I have managed to set...
2
by: jet | last post by:
Hi, Maybe this is an easy task, but I'm having a really hard time figuring out how to do this. I'm a complete newbie to SQL Server. I have a database dump file from MySQL that's in .sql...
13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
14
by: jj | last post by:
Is it possible to call a remote php script from within Access? I'm thinking something like: DoCMD... http://www.domain.com/scripts/dataquery.php DoCmd.OpenQuery "update_data", acNormal, acEdit...
14
by: mistral | last post by:
Need php script to create mySQL database programmatically; since hosting configuration may not allow create database from script, script also need eliminate/rewrite all restrictions in appropriate...
10
by: Jerim | last post by:
I am attempting to put together one script that pulls data from one database on its own server, and data from another database on its own server, which is off-site. Server 1 - Only allows shared...
118
by: Chuck Cheeze | last post by:
This might be in the wrong group, but... Here is an example of my data: entry_id cat_id 1 20 2 25 3 30 4 25 5 35
5
by: Guillermo Antonio Amaral Bastidas | last post by:
Hi everybody, I have a quick and probably dumb question, keep in mind I just dumped my old love FastCGI + Perl for it's younger hotter friend PHP5. If the user calls a time consuming script...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.