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

Forum Replies Created

Viewing 15 posts - 1,681 through 1,695 (of 7,398 total)
  • Author
    Posts
  • in reply to: Sja Sync Problem #29978
    peterlaursen
    Participant

    well .. if the sync job requires INSERTS or UPDATES then of course the user must have appropriate privileges.  Did I miss something?

    in reply to: Order Desc When Clicking On A Table #30129
    peterlaursen
    Participant

     no .. rows are printed in the order they are received from MySQL with a SELECT statements with no ORDER BY-clause. You will probably get different results depending on storage engine and/or indexes on the table. 

    in reply to: Need Sqldump Options Same As Sqlypog Uses #30138
    peterlaursen
    Participant
    Quote:
    I guess sqlyog is calling a mysqldump on the server

    No it doesn't!  Even if we wanted to we cannot do this.  A 'pure' MySQL client  cannot access file system and execute commands on remote servers. That would require a SSH-shell or similar inside the program and there is no such. SQLyog is compiled with the MySQL client C-API (you may know it as 'libmysql') and that one is all what is used for connection. We can only execute SQL (and similar API-calls).  The backup file is aggregated on the client machine from the returns of SELECT statements and the settings specified by user.

    in reply to: Need Sqldump Options Same As Sqlypog Uses #30137
    peterlaursen
    Participant

    I will move your post. This is not MONyog-related.

    in reply to: Illegal Mix Of Collations #30122
    peterlaursen
    Participant

    Please try a recent program version.  You can use the 8.2 TRIAL. What can we do if there is a bug in 6.13? Nothing really as we can only fix 'forwards' not 'backwards'.

    If problem persists with 8.2 then please 

    1) tell versions of bothand server. The 'illegal mix of collation' error could very well be a server bug if you are using an early 4.1 or 5.0 server.

    2) Attach two small dumps to reproduce with. At least we will need *table structure* – but even better would be a dump of a single table with a few rows where this is reproducible (please zip into one file)

    in reply to: Recent Queries #30110
    peterlaursen
    Participant

    This request is same as here I think: http://code.google.com/p/sqlyog/issues/detail?id=1032

    Please confirm!

    in reply to: Calculate Optimal Datatypes Error #30113
    peterlaursen
    Participant

    Can you please attach such dump (zip please) ?  We have not encountered this problem.

    in reply to: Using The Sqlyog Profiler #30104
    peterlaursen
    Participant

    When calculating percentages on very small numbers I do not think you should put much emphasis on the %tage. The percentage may increase with subsequent executions if other operations are faster and this one take the same time.  'freeing items' is basically OS call that makes memory temporarily used by the server available to the OS again.  

    in reply to: Feature Request #30076
    peterlaursen
    Participant

    hmmm .. we have < and > buttons in data tab.  We could add << and >> buttons. That should then return the first/last rows (as defined by current LIMIT setting).  Something like that you imagine?

    One problem is that for >> we will need first to execute a SELECT COUNT (*) – what can take very long time (= several minutes) to return result with large InnoDB tables (SHOW TABLE STATUS cannot be used as it is not exact – it only returns an 'estimate' with InnoD:cool: and an exact 'rowcount' with InnoDB is sometimes horribly slow. This is actually the reason why we did not introduce <<  and >>  when we introduced < and >.

    in reply to: Data Syncronisation Log #30101
    peterlaursen
    Participant

    I agree. we should provide better logs (more info, better formatting). I have added here:

    http://code.google.com/p/sqlyog/issues/detail?id=420

    in reply to: I Need To Update My Sql Database. #30102
    peterlaursen
    Participant

    Maybe you can use an INSERT .. SELECT construction. If your table has the columns (id, col1, col2, col3)

    Code:
    INSERT INTO table1 (col1, col2, col3) SELECT col1, col2, col3 FROM table2;

    .. note that primary/unique key is not specified in (col1, col2, col3) list. Import the two dumps to two different tables first.

    However if you have Foreign Keys or other types of references between tables I do not believe it is possible in simple SQL. It will require some programming logic to ensure that references between rows of different tables are kept intact. You may use your favorite scripting/programming language or a Stored Procedure.

    in reply to: Turn Off Autocommit By Default #30095
    peterlaursen
    Participant

    Currently you will have to execute it manually. We have discussed before solutions like:

    1) an option for user to specify queries to be executed at connection time.

    2) some GUI-element (like icons/bottons) for start transaction/commit/rollback

    .. you are welcome to comment on that.

    We will not make “set autocommit=0” because it will break backwards compatibility and also it will have no effect with non-transactional engines (MyISAM first of all).

    in reply to: Monitoring Without Monyog? #30082
    peterlaursen
    Participant

    I think I already told that such implicit JOIN in an UPDATE statement (updating same rows in multiple tables as what are used for specifying the JOIN)  may not be a good idea.  Was that other discussion also our post (I do not remember details).

    As regards the profiler 'overhead':  You will understand if you try to execute same statement with and without profiler and next see in HISTORY tab what was actually executed by SQLyog in both cases. Profiler adds quite a lot of 'helper statements' of course. It  may take a few seconds to execute and transfer results for those 'helper statements' with remote hosts. But if will not have any effect on the execution time of the *principal statement*.

    in reply to: Which Os Version Is Recommended In My Case? #30066
    peterlaursen
    Participant

    yes .. it runs as a service.

    This also means that it runs independent of user logon. If you 'switch user' or 'logout' it will still run. It start with the OS – not with the user login.

    You can see the MONyog service in control panel .. administration .. services on Windows (and what similar option you have to view installed and running services on your Linux-distribution).

    in reply to: Monitoring Without Monyog? #30080
    peterlaursen
    Participant

    OK .. you are executing multiple queries with SQLyog.  You would like to see which ones have completed already and which one is currently being executed.  Did I understand?

Viewing 15 posts - 1,681 through 1,695 (of 7,398 total)