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

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Rebuilding Tag-files #22158
    peterlaursen wrote on Sep 5 2006, 11:19 AM:
    hmmmm …..

    I do not think that 10% of MySQL servers in use yet are MySQL 5.x.

    But obviously we should keep an eye with this posibility and the developments.

    A small SQLite table holding the time of last rebuild that could be compared with the value in I_S and skipping tables that have not changed is absolutely a possibility. And for those people having thousands of tables with hundreds of columns it does make sense!

    I do not believe in using Information_Schema 'on the fly'. SQLite is undoubtly faster with remote servers at least. I cannot tell what query SQLyog sends to get the columns-list with MySQL 5, but somebody else must be able to.

    But one thing is certain and that is that querying MySQL Information_Schema is not fast as of now. 'SHOW' statements are much faster! This bug: http://bugs.mysql.com/bug.php?id=19588 is very much a 'show-stopper' for MySQL 5.

    Whoa.. I was not aware that I_S is that slow.

    Code:
    mysql> select count(*) from tables;
    +———-+
    | count(*) |
    +———-+
    | 88061 |
    +———-+
    1 row in set (2 hours 2 min 45.43 sec)

    That is totally unacceptable. 😮

    My thougt was that if I_S was “fast enough” it was worth a tiny amount of smaller performance to skip the tags files totally. My guess is that it would make the logic behind autocomplete much simpler.

    But to compare the changed times from the tags files with the changed time in I_S would be great. Lets just not hope the I_S slownes outweighs the improvement. 🙂

    in reply to: Rebuilding Tag-files #22156
    peterlaursen wrote on Sep 5 2006, 10:40 AM:
    Just go on .. ideas are welcome. Actually I was not aware the Information_Schema keeps track of changed tables and the time of it. But that is right, it does.

    Yes, I just found out too. The information in information_schema is actually quite nice.

    Would it be possible to implement the autocompletion without the tags file, only using the information in information_schema?

    It seems like it would be possible to use:

    Code:
    select * from `columns` where table_schema='' and table_name='

    ' order by column_name;

    But I guess that depends on performance.

    peterlaursen wrote on Sep 5 2006, 10:40 AM:
    It is a possibility to define a single database with the connection.

    No, it would not fit in with my working-style.

    peterlaursen wrote on Sep 5 2006, 10:40 AM:
    Except that on some systems the tag-building gives some audible harddisk noise, are there then any other issues? Isn't the system responsive?

    Yes, it is. My “problem” comes from the fact that I

    • Works with servers with many databases, each having quite a lot of tables (50-70 databases with 150 tables each are common)
    • Have other programs making changes to the database schemas
    • Works on a laptop

    It's not a major problem, but it is one of the only annoying things for me when using SQLyog.

    in reply to: Rebuilding Tag-files #22154
    ecco wrote on Aug 24 2006, 10:30 AM:
    It would be great to have the possibility to automaticly rebuild only the tag files of the active/selected database.

    I would like that very much too.

    But I was thinking if it was possible to use the information in information_schema.tables to check which tables have been changed since the last rebuild of the tag files.

    It would be nice if SQLyog could keep track of this and only rebuild the tags for those tables which have changed.

    in reply to: Your Opinion Please #22219

    +1 to the change from me.

    in reply to: Rebuild Tags For Single Database Only #21806
    Ritesh wrote on Jun 2 2006, 08:40 AM:
    Just curious to know whether the process of rebuidling tags ( even for ALL databases ) slows down your normal work? We have taken all measures to make sure that tag rebuilding process is done on a background thread with low priority and is not “intrusive”.

    No. The program and the machine are both responsive. The only annoying part is the constant grinding of the harddrive (I'm using a laptop).

Viewing 5 posts - 1 through 5 (of 5 total)