Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 15 posts - 1,966 through 1,980 (of 7,398 total)
  • Author
    Posts
  • in reply to: #28914
    peterlaursen
    Participant

    Yes it is simple to get the information. Now I assume that you will not have a new alert sent every 2 seconds if a query should run for 20 minutes (=1200 mails abot the same!) ? This can very well happen if by mistake a JOIN query generates a full cartesian product of two tables (what would in 99% of cases be a bug with the query) but also maintenaince scripts of some systems use queries running for that long and that can be quite normal.

    So what we would do was to use an internal database so that MONyog would remember what alerts have already been sent and when.

    in reply to: #28919
    peterlaursen
    Participant

    It does not sound like a very good Schema design. In particular if you are using MyIsam, sooner or later the OS and file system will get into serious trouble adressing all the table files (there are 3 for each table). 100 new tables per day = approx. 100,000 files per year in the same folder (the mysql /datadir). Not sure about it but I would guess that with InnoDB also the InnoDB engine could get into serious problems. Why then use a database and not just 'flat files'?

    If you insist I think the only solution is to provide you with a special build tha pops up a message like “you admin has asked for this feature to be disabled”.

    in reply to: #28890
    peterlaursen
    Participant

    To get information to populate the TAGS databases we mostly send various SHOW statements (SHOW DATABASES, SHOW FULL TABLES etc. – but not sure about 'stored programs' – here we may query INFORMATION_SCHEMA – details depend on the server version). Did you tell the server version(s) and are you using 'stored programs' a lot? INFORMATION_SCHEMA can be *very* slow with early MySQL 5.0 servers. And it seems that you have quite a lot of objects in your databases as the SQLite files are more than 1 MB.

    “The rebuild is very slow” .. how are you connected? Direct connection, or HTTP- or SSH-tunnel? Is the server connected over the Internet or is it a local server?

    The AutoComplete database is a SQLite database. LOCKS are handled by the SQLite library internally and not by our code (but generally SQLite will lock databases when LOCKS are required – unlike MySQL that will lock tables. That is why we have 'split' the information across databases for every connection).

    There is no chance to get information about objects on a database/server if we are not connected to it. When you have connected to a server with the GUI, a seperate thread/conection will start in the background gathering the information. When it has finished this background thread will close its connection.

    in reply to: #28912
    peterlaursen
    Participant

    Well – the problem is that only when the PROCESSLIST page is open (in one or more connected browsers) MONyog will send the statement SHOW FULL PROCESSLIST to the server(s). It is not a background thread running continuously (and I think most server admins would say 'no thanks' to having it running constantly).

    I also think Query Analyzer (slow log or sniffer) is a better option here. But that will not alert you, of course.

    At least such BACKGROUND feature should send the statement at much longer interval than the INTERACTIVE PROCESSLIST page I think. It is no principal difficulty to implement a background thread sending the statement independently of the current (interactive) implementation (but it will add lod to both MySQL and MONyog).

    What is *long* in this context for you? How *long* must it be before you want an alert? 2 minutes? 5 minutes? 20 minutes?

    in reply to: #28917
    peterlaursen
    Participant

    The tab cannot be disabled.

    Please explain what *bad things* it does? And also please tell the server version and what table ENGINE you are mostly using!

    What happens is only simple SHOW statements like SHOW TABLE STATUS etc. (Maybe – but I cannot be sure – you should try some maintenaince on the server like CHECK/REPAIR TABLE)

    Also tell if MONyog is running on the same machine as the MySQL server. The calculations will use some CPU of course.

    in reply to: #28888
    peterlaursen
    Participant

    Yuu will not need to copy any sqlyog.ini file. Alls SQLyog installations since 6.06 use the same instance (in users 'AppData folder'). If some server dd no work maybe the TAGS rebul was still in processs?

    Could you try to rename the 'Tags' folder ((in users 'AppData folder') – it contains the Autocomplete databases with connection specific objects)? Then new databases will be build next time you connect.

    in reply to: #28885
    peterlaursen
    Participant

    This we thought too. So it is the program thread doing updation of the Autocomplete database that causes this slowness.

    We are debugging like mad and going through all related code changes.

    in reply to: #28911
    peterlaursen
    Participant

    Do you mean diagrams as graphics? or some meta-format (like XML-based).

    The is no standard for this in MySQL. It will have to be a pure client implementation. The server provides no guidelines and no functionality to generate such server-side (like updating it automatically when schema changes). What we may implement will not be understood by other clients or the server itself. It will specific for each client that does this.

    The client-server interface is so much different between SQL Server and MySQL that you shall not expect that parallel things can be done exactly same way in both. I also believe most server admins would say 'no thanks' to the idea that a client should store internal data on the server!

    in reply to: #28857
    peterlaursen
    Participant

    Actually we originally planned support for ordering and filtering in RESULT tab without sending any queries to MySQL. We intended to order/filter using the RESULT data buffer stored in memory by SQLyog. A complex query can take minutes (and even hours) – sorting internally would not take more than a fraction of a second.

    The BLOB issue referred to occurred with the internal data buffer.

    I think that if this could not be solved we should consider sending a new query to MySQL. However I do not see the need for a subquery .. why not just add a WHERE clause (or rewrite the existing one)?

    A subquery in the FROM-clause will build a temporary table on the server. It may affect performance for queries sent by other clients (and even the memory used and the I/O generated may affect other applications running on the server)

    in reply to: #28907
    peterlaursen
    Participant

    With such large dataset I would consider to save the file on the server using SELECT INTO OUTFILE syntax (provided that you can gain file system privileges on the server) and next copy the file to the local with (S)FTP. There is no native/direct CSV-export facility in the MySQL server and client (ie. SELECT INTO OUTFILE has no LOCAL option in MySQL) and thus to generate a CSV file on the client machine we need to combine/aggregate a lot of results from single-row statementts and small string constants into a file.

    But we had a handful of similar complaints about slow CSV export wwiht a large number of rows. I think we should review the code to see if we can find a more efficient solution.

    in reply to: #28880
    peterlaursen
    Participant

    As you also noted yourself we have no such other reports and have not been able to reproduce on any system we have – what includes a Win2K SP2 and SP4 installation. However our test team will try or a similar system of course as soon as possible.

    We may need to provide you with a special debug build, to find exactly what routine in code causes this delay – but we will update you about this.

    One question that you could reply to however is: is there anything special about the keyboard you are using (like a non-MS driver (like Logitec), a radio/IR/bluetooth wireless keyboard etc.) or are you using a plain wired PS2/USB keyboard?

    in reply to: #28849
    peterlaursen
    Participant

    I was a bug in our code introduced between 8.0 and 8.05 (likely in 8.03). We did not consider in this new code that with those MySQL servers affected there is no option to SET NAMES.

    It is fixed now and next public release will have the fix.

    in reply to: #28905
    peterlaursen
    Participant

    The two options that works with selected rows (and not all rows or a single row) are 'delete selected rows' and 'copy selected rows to clipboard.

    in reply to: #28848
    peterlaursen
    Participant

    Update :It is reproducable on 3.23 and 4.0 servers and not higher versions. We are analyzing this now!

    in reply to: #28846
    peterlaursen
    Participant

    And I still cannot reproduce! 🙁

    [attachment=1184:notbinary.jpg]

Viewing 15 posts - 1,966 through 1,980 (of 7,398 total)