Forum Replies Created
-
AuthorPosts
-
peterlaursen
Participantok .. we will need to set up a test environment for that. Can you tell how you specify the machine where this shared folder is? Using the ip or a hostname/alias?
peterlaursen
Participant“Could the “Interrupt query” icon be enabled in this situation?” You are not telling what program version you are using. If the “Interrupt query” icon is the 'red cross' thing that replaces the 'arrow' thing in the icon bar it will not work. It works for queries exectued from the editor.
But the DATA tab in recent program version has a similar feature: the 'refresh' button will become a 'stop' button while data are loading. It should work. If it does not it is because the complete system is irresponsive due to lack of memory.
peterlaursen
Participantok .. we probably use a 32 bit integer variable here and not a 64 bit variable! We will check. It should be rather simple to fix both issues!
peterlaursen
Participant@Lars
I think that in short terms we will need to do the same with such binary data as what we recently did with spatial datatypes as described here:
http://www.webyog.com/faq/content/29/171/e…-datatypes.html
.. what means that we will simply prevent updation of such data from the grid. Still you can update all other non-binary data in the table from the RESULT tab (first execute a SELECT with no such binary columns and next work in the RESULT tab).
It would be better of course if the 'binary/image' display (or a HEX display) was a *placeholder* only as you told it. The original data could then be returned to the server. But that will require that every grid cell should be able to hold both a *value* and a *placeholder* what I think we cannot do in short terms.
We want to protect against data corruption with such data in 8.04 first of all!
peterlaursen
ParticipantI also found this http://java.dzone.com/articles/better-mysql-replication
This may not be exactly as in Cacti, but anyway .. I think it would not be hard to implement like this: if user has configured “is this a replication slave” as “yes” we could give an option to “use heartbeat table”. User will next then specify the database name and the table name of this (replicated) heartbeat table and also the column name where the CURRENT_TIMESTAMP value used for the calculation is stored. It will be rather simple at least if the slave is *slave only* (if not this is the case – if there are other databases in use on this server that are not replicated – it will fail, as I see it) and also only if *slave of a single master only* (if more masters are possible at all for a single slave)
peterlaursen
ParticipantIf you attach the CREATE TABLE statement for this user table and a small CSV (or maybe better a small Excel sheet) we can look into it.
(and please note that non-image-files here should be zipped – we are rather restrictive wiht file types!).
But please first read:
http://www.webyog.com/faq/content/28/73/en…g-csv-data.html
.. and notice the point about comma versus semicolon in various localisations of Excel.
It should work with 'CSV comma seperated' as in attached image:
[attachment=1148:csvsave.jpg]
In the SQLyog import dialogue, click the 'change' button .. next 'fill excel friendly values .. and finally if your excel version is non-english you may need to change the fileld delimiter from COMMA to SEMICOLON.
Also warnings may always not be serious if the warning tells that a truncation took place and it was SPACE charcters that were truncated away. (but it could of course also be because you mismatched the column order! )
peterlaursen
Participant1) I did not get the point about 'heartbeat' when I worte, so what I meant was that 'seconds behind master' from SHOW SLAVE STATUS would be graphable. I have to admit do not know this 'heartbeat' table. When/how is this one created and populated?
I found this too: http://code.google.com/p/mysql-cacti-templ…es/detail?id=11
I understand that a heartbeat could be specific for a table (like if one database on master is replicated to one slave and another database to another slave). That makes it somewhat complicated!
But anyway your point is that we could add a MySQL.HeartbeatVariables.behind_time variable (or a group of variables depending on if we want the calculation on the server or in MONyog)? Actually also I think that for slaves the dashboard should have such graph as per default (and I also think it is added to our issue tracker already)!
2) “(Aren't 1 and 2 referring to the same object?)” .. looks like a typo! One should have been SHOW GLOBAL *STATUS*, I think!
peterlaursen
Participantthanks for the link!
peterlaursen
Participant.. and thanks for that.
peterlaursen
ParticipantI do not think the truncation was done my the MySQL server (it would have *gone away* then instead) and also SQLyog does not. Some size restriction on networking packets / buffers somewhere maybe.
If you select a BULK size of 500 or 1000 KB in SQLyog when exporting you will probably never have problems impoting at all (though it may be a little slower than a larger setting). But life is too short for individual INSERTS!
peterlaursen
ParticipantOK .. this is a priority issue then!
peterlaursen
ParticipantI also think I would modify my previous post. First becase Alex has a good point. But also because a table CHECK and a table REPAIR is not the same.
So I propose this:
“The setting can have values ALL|ON|OFF (ALL indicates that it will always be ON also for tables where it was not specified in table definiton). Setting it ON (or ALL) introduces a high risk of index corruption in the event of a server crash. Setting it OFF will force the server to update indexes for every INSERT/UPDATE/DELETE what reduces risk of index corruption significantly. However no matter the value of this setting you should CHECK TABLES (and REPAIR TABLEs if required) after a server crash. If a table REPAIR is required your database and applications may be rendered more or less useless in the REPAIR period. So though you may achieve a performance inprovement with the setting ON|ALL (as the server will then be able to use idle periods for index maintenance) we generally do not recommend ON|ALL for the reasons mentioned.”
peterlaursen
ParticipantActually we never promised that display would be perfect in other browsers than IE, FF and Opera (and even in Opera there are small issues).
But anyway let us have a look at it!
peterlaursen
ParticipantI understand that is is not MySQL users that you want to create, but users for the JOOMLA system (but I am not familiar with it though)
If you are perfectly sure that your spreadsheet matches (column-per-column) the JOOMLA system user table then save the spreadsheet page to a CSV file and use CSV import (from the context menu of the table in the Object Browser). I would advice that you backup or duplicate the table first!
peterlaursen
ParticipantI think you can customize the dashboard to show such graph. But I will not advice personally ..
But please detail “unreliable”. Are you telling that MONyog is returning directly wrong information or only that a 'snapshot'/'point in time' value is not what you need?
-
AuthorPosts