More Data We Need
A few questions and the list of data that would be most useful for analysis.
Questions for you or your team leader:
HOW DID YOU FIND US? web search, referral by ______________, Facebook, Instagram, can not remember, ________________.
Power Plan in use?
High Performance recommended for busy server
rather than Balanced or Power Saver.
For Windows, Run, powercfg.cpl to determine current setting and change setting.
Search for Linux Power Plan Settings to find a way to determine your setting.
BIOS settings could still be in your way of achieving high performance.
Remaining on Balanced or Power Saver throttles your server to achieve less than 80% of possible processing power.
If your server to be analyzed is a public facing server, please share the URL with us to gather basic information from https://myip.ms to verify your server is shared or dedicated (preferred for a busy host). My URL is ____________________________________.
If your server requires login to observe your area of difficulty, would you share an existing demo username and password with READ only privileges? Username ____________ Password _______________ to expedite our viewing your troubled area.
End of initial questions about your operating environment to be included in your email to mydatalinks@mysqlservertuning.com with your Invoice/Order number as the subject (assigned later), please.
If you are ONLY interested in log analysis, attach your log(s) to be analyzed and skip to POST DATA DESTINATION.
TEXT results of following requests to be "Attached" to email to mydatalinks@mysqlservertuning.com with your Invoice/Order Number leading the Subject line please.
About TEXT results: (If you choose to provide xlsx rather than TEXT data, our Suggestions COULD be DELAYED)
Using SSH for root login
From MySQL Command prompt,
# If Linux OS, adjust the folder/directory path for your tee output destination.
tee c:/temp/last-tee.txt;
may take the following requests to a single filename of your choice
to be attached to your email to us. In this case, C:/TEMP must be write enabled.
SELECT NOW(); for a date and time in your outfile.
If the tee works for you, run the requests from the MySQL Command prompt
and you will not have to use clipboard and Notepad type software.
A) SHOW FULL PROCESSLIST;
Copy results to clipboard and save to Notepad (or similar) text file.
B) SHOW GLOBAL STATUS; minimum UPTIME 1 business day, 7 days or more preferred
Copy results to clipboard and save to Notepad (or similar) text file.
C) SHOW GLOBAL VARIABLES;
Copy results to clipboard and save to Notepad (or similar) text file.
D) SHOW ENGINE INNODB STATUS;
Copy results to clipboard and save to Notepad (or similar) text file.
E) STATUS; - not SHOW STATUS; just STATUS; and press Enter
Copy results to clipboard and save to Notepad (or similar) text file.
F) SELECT COUNT(*) FROM information_schema.tables;
Copy results to clipboard and save to Notepad (or similar) text file.
G) SELECT COUNT(*), CONCAT(TRUNCATE(SUM(data_length),0),'B') AS data_size_bytes FROM information_schema.tables;
SELECT NOW(); to record when you finished the capture
notee; to stop 'tee' function
to stop capturing into the outfile.
This DataWeNeed.bat script may work for you, if you connect to your instance with root login.
# If Linux OS, adjust the folder/directory path for your tee output destination.
tee c:/temp/last-tee.txt;
SELECT NOW();
SHOW FULL PROCESSLIST;
SHOW GLOBAL STATUS;
SHOW GLOBAL VARIABLES;
SHOW ENGINE INNODB STATUS;
STATUS;
SELECT COUNT(*) FROM information_schema.tables;
SELECT COUNT(*), CONCAT(TRUNCATE(SUM(data_length),0),'B') AS data_size_bytes FROM information_schema.tables;
SELECT NOW();
notee;
end of script example.
From your OS Command Prompt,
RENAME your last-tee.txt to ccyymmdd-hhmm-tee.txt
such as in Windows,
CD c:\temp and press Enter to change your working directory
REN last-tee.txt 20210605-0815-tee.txt and press Enter
to enable you to attach your file with your local date and time to us.
This will also enable you to create another tee file later,
if needed and you will not have a file naming conflict for last-tee.txt
blocking your next request.
Additional helpful OS information when using Linux.
This OS-DataWeNeed.bat script may work for you, when using your admin login.
# If Linux OS, adjust the folder/directory path for your tee output destination.
tee c:/temp/os-last-tee.txt;
htop
top
top -H -p PID
ulimit -a
iostat -xm 5 3
mpstat -P ALL
df -h
free -h
cat /proc/meminfo
notee;
end of script example.
From your OS Command Prompt,
RENAME your os-last-tee.txt to ccyymmdd-hhmm-os-tee.txt
such as in Windows,
CD c:\temp and press Enter to change your working directory
REN os-last-tee.txt 20220305-0630-os-tee.txt and press Enter
to enable you to attach your file with your local date and time to us.
This will also enable you to create another tee file later,
if needed and you will not have a file naming conflict for os-last-tee.txt
blocking your next request.
In a few days, clean up your own c:\temp folder, please.
ALL suggestions for configuration changes
should be carefully evaluated BEFORE taking action.
POST DATA DESTINATION
After using SHOP to complete your Purchase and you have INVOICE/ORDER # make the Subject of your email INVOICE/ORDER # (assigned at purchase), please so we know which INVOICE/ORDER # your data is to be associated with for analysis, please.
TEXT results to be "Attached" in email(s) to mydatalinks@MySQLServerTuning.com for your OFF CPU analysis processing.
Our receipt of these readable attachments STARTS (or RESTARTS) your 4 Business day clock for expected email delivery of our Suggestions.
Additional information or data may be requested.