fetching logs using a command y_ini
#7

Post the table structure and what needs to be fetched.

Some documentation about what will be required for the query:
Limit rows to N: https://dev.mysql.com/doc/refman/5.5...imization.html
Order by asc/desc: https://dev.mysql.com/doc/refman/8.0...imization.html

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
even the logging plugin uses MySQL IIRC...
It does not. The log plugin is threaded while writing to file but will still need to read from files in PAWN thread to show the last lines and as it was mentioned, this is not suitable*

*reading whole file once to know the number of lines, reading the file for second time to extract only N last lines.
Reply


Messages In This Thread
Fetching last 10 transactions using MySQL R39 - by div - 25.06.2018, 08:19
Re: fetching logs using a command y_ini - by GospodinX - 25.06.2018, 08:35
Re: fetching logs using a command y_ini - by div - 25.06.2018, 08:40
Re: fetching logs using a command y_ini - by Sew_Sumi - 25.06.2018, 09:14
Re: fetching logs using a command y_ini - by div - 25.06.2018, 09:48
Re: fetching logs using a command y_ini - by Sew_Sumi - 25.06.2018, 11:30
Re: fetching logs using a command y_ini - by Calisthenics - 25.06.2018, 11:42
Re: fetching logs using a command y_ini - by div - 25.06.2018, 13:04

Forum Jump:


Users browsing this thread: 2 Guest(s)