Re: SHOW TABLE STATUS

2010-04-08 Thread spacemarc
2010/4/7 Carsten Pedersen cars...@bitbybit.dk: AFAIR, MySQL 4.x supports LIKE, e.g. SHOW TABLE STATUS LIKE 'tab_%' yes, but if the tables have different names (table1, tab_2, abcd... ) your syntax will not work. How to do? -- MySQL General Mailing List For list archives: http

Re: SHOW TABLE STATUS

2010-04-08 Thread Johan De Meersman
On Thu, Apr 8, 2010 at 9:33 AM, spacemarc spacem...@gmail.com wrote: 2010/4/7 Carsten Pedersen cars...@bitbybit.dk: AFAIR, MySQL 4.x supports LIKE, e.g. SHOW TABLE STATUS LIKE 'tab_%' yes, but if the tables have different names (table1, tab_2, abcd... ) your syntax will not work. How

SHOW TABLE STATUS

2010-04-07 Thread spacemarc
hi all, in MySQL 4.1.x i want to obtain the status of more tables with one only query. In 5.x i use SHOW TABLE STATUS WHERE Name IN ('tab_1', tab_2, 'tab_3') In 4.1.x i tried to use but it doesn't works: how to set the query? Thanks -- MySQL General Mailing List For list archives: http

Re: SHOW TABLE STATUS

2010-04-07 Thread Carsten Pedersen
AFAIR, MySQL 4.x supports LIKE, e.g. SHOW TABLE STATUS LIKE 'tab_%' / Carsten spacemarc skrev: hi all, in MySQL 4.1.x i want to obtain the status of more tables with one only query. In 5.x i use SHOW TABLE STATUS WHERE Name IN ('tab_1', tab_2, 'tab_3') In 4.1.x i tried to use but it doesn't

SHOW TABLE STATUS constantly wildly fluctuating

2009-03-24 Thread jidanni
$ watch -d mysqlshow --status myDB #shows the count of rows is constantly fluctuating for some tables, even though the database is offline. There ought to be a note about it here and on HELP SHOW TABLE STATUS; Must use o --count Show the number of rows per table. (Which also

How to extract data from the show table status?

2008-01-14 Thread Dominic Baines
. The first task I need to run is to determine the database table storage engines (all make use of MyISAM, InnoDB and Archive), then update frequency and row numbers. Now if I use: show table status from database name; It will list all the table information I need however, what I am trying to figure

Re: How to extract data from the show table status?

2008-01-14 Thread Baron Schwartz
version, some installations have just 2 or 3 databases some have 20 or more. The first task I need to run is to determine the database table storage engines (all make use of MyISAM, InnoDB and Archive), then update frequency and row numbers. Now if I use: show table status from database

Re: How to extract data from the show table status?

2008-01-14 Thread Werner Puschitz
databases some have 20 or more. The first task I need to run is to determine the database table storage engines (all make use of MyISAM, InnoDB and Archive), then update frequency and row numbers. Now if I use: show table status from database name; It will list all the table information I

mysql cluster show table status

2006-12-15 Thread Lars Wilke
Hi, we are using MySQL Cluster 5.0.27 on Solaris 9 Sparc. The packages are from mysql.com. Doing an show table status on a database with the ndb engine returns 0 for rows count, average row length etc. Hm, i have read that such a bug existed and has been fixed with 5.0.3. So i am wondering what

MySQL 5.0 probleam with show table status

2006-02-03 Thread Dyego Pessoal
I have a serius probleam , my backup system see the FK's with show table status like 'tablename' , and read the Comment column... in mysql 4.x works fine... but em 5.x the FK's has cuted ex: | apresentante | InnoDB | 9 | Redundant | 44 |372 | 1 6384

Re: MySQL 5.0 probleam with show table status

2006-02-03 Thread Martijn Tonies
Hi, I have a serius probleam , my backup system see the FK's with show table status like 'tablename' , and read the Comment column... in mysql 4.x works fine... but em 5.x the FK's has cuted This didn't work fine in 4.x at all. The comments columns was being misused to report FKs. Even

RE: MySQL db size using show table status

2005-09-12 Thread Martijn van den Burg
the size of my databases I use the 'show table status' command and I ignore .frm file size. Kind regards, -- Martijn -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any

Re: MySQL db size using show table status

2005-09-11 Thread Josh Chamas
Jaspreet Singh wrote: Hi, I am trying to compute the MySQL db size using show table status command. It gives me the size of .MYD and .MIY files, but not .frm which is typically 12k (using 4.1.9 version of MySQL) Qus 1. is there any way to deterministically compute the value of .frm file

MySQL db size using show table status

2005-09-09 Thread Jaspreet Singh
Hi, I am trying to compute the MySQL db size using show table status command. It gives me the size of .MYD and .MIY files, but not .frm which is typically 12k (using 4.1.9 version of MySQL) Qus 1. is there any way to deterministically compute the value of .frm file Qus 2. Is there any other way

Show table status

2005-08-17 Thread DePhillips, Michael P
Hello, Does anyone know where (c-api functions perhaps) SHOW TABLE STATUS gets its info from? Specifically, the new columns added in 4.1.2 and 4.1.3, are they the result of underlying c-function changes, new functions, or something else. Thanks Michael -- MySQL General Mailing List For list

show table status extremely slow

2005-02-10 Thread Zhe Wang
Hi, there, We have a huge database (84 tables of about 360 G of data in MyISAM tables). Recently, we converted the entire database to InnoDB (in one table space) and set up replication. Then we experienced some slower performance. For example, show table status on the master took more

Re: show table status extremely slow

2005-02-10 Thread Eric Bergen
My experience with innodb is that show table status is slow. It's better to do show table status like 'my_table' -Eric On Thu, 10 Feb 2005 16:47:41 -0500, Zhe Wang [EMAIL PROTECTED] wrote: Hi, there, We have a huge database (84 tables of about 360 G of data in MyISAM tables). Recently

show table status

2005-01-21 Thread sirisha gnvg
defined tables does not exceed 10.The size of each table also does not exceed 10 rows. We executed 'show table status' command and it gave innodb freespace:4092 KB. What does that mean?How come system tables and user defined tables(which are not more than 10) occupy 6MB?Does mysql does 10MB

RE: SHOW TABLE STATUS: Update_Time Is Wrong?

2004-12-30 Thread Robinson, Eric
PROTECTED] Sent: Wednesday, December 29, 2004 6:23 PM To: Robinson, Eric Cc: Mikael Fridh; mysql@lists.mysql.com Subject: RE: SHOW TABLE STATUS: Update_Time Is Wrong? Eric, I'm glad that last answer worked, but I'm wondering what exactly you did to resolve the problem? I see the bug report and work

RE: SHOW TABLE STATUS: Update_Time Is Wrong?

2004-12-29 Thread Robinson, Eric
, December 28, 2004 8:15 PM To: Robinson, Eric Cc: mysql@lists.mysql.com Subject: Re: SHOW TABLE STATUS: Update_Time Is Wrong? Robinson, Eric wrote: When I execute SHOW TABLE STATUS on my master replication server, it shows an Update_Time for some tables that is more than 2 hours earlier than

Re: SHOW TABLE STATUS: Update_Time Is Wrong?

2004-12-29 Thread Mikael Fridh
Robinson, Eric wrote: When I execute SHOW TABLE STATUS on my master replication server, it shows an Update_Time for some tables that is more than 2 hours earlier than the Update_Time for the same tables on the slave server. However the bin log names, positions, and number or records are correct

RE: SHOW TABLE STATUS: Update_Time Is Wrong?

2004-12-29 Thread Robinson, Eric
That looks like a direct hit. Thanks! -- Eric Robinson -Original Message- From: Mikael Fridh [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 29, 2004 1:06 PM To: Robinson, Eric Cc: mysql@lists.mysql.com Subject: Re: SHOW TABLE STATUS: Update_Time Is Wrong? Robinson, Eric wrote

RE: SHOW TABLE STATUS: Update_Time Is Wrong?

2004-12-29 Thread Spenser
Eric, I'm glad that last answer worked, but I'm wondering what exactly you did to resolve the problem? I see the bug report and work around. But what specifically did you do, what did you type to fix it? By the way, what operating system are you using for your servers? -- MySQL General

SHOW TABLE STATUS: Update_Time Is Wrong?

2004-12-28 Thread Robinson, Eric
When I execute SHOW TABLE STATUS on my master replication server, it shows an Update_Time for some tables that is more than 2 hours earlier than the Update_Time for the same tables on the slave server. However the bin log names, positions, and number or records are correct. What's

Re: SHOW TABLE STATUS: Update_Time Is Wrong?

2004-12-28 Thread Mikael Fridh
Robinson, Eric wrote: When I execute SHOW TABLE STATUS on my master replication server, it shows an Update_Time for some tables that is more than 2 hours earlier than the Update_Time for the same tables on the slave server. However the bin log names, positions, and number or records are correct

VIEWS and SHOW TABLE STATUS in MySQL 5.0.1

2004-08-03 Thread Martijn Tonies
Hi, Currently, a VIEW lists NULL as value for the Engine column in the SHOW TABLE STATUS resultset. Is this the right behaviour? With regards, Martijn Tonies Database Workbench - developer tool for InterBase, Firebird, MySQL MS SQL Server. Upscene Productions http://www.upscene.com -- MySQL

SHOW TABLE STATUS in MySQL 4.1.latest different from 4.1.1 !?

2004-07-28 Thread Martijn Tonies
Hi all, I just noticed that the MySQL 4.1.latest version handles a SHOW TABLE STATUS different from 4.1.1! Instead of a field Type that holds the table type, it's now Engine. Just a quick question: who makes up these changes in a minor minor (x.x.x) release What do they expect from third

Re: SHOW TABLE STATUS in MySQL 4.1.latest different from 4.1.1 !?

2004-07-28 Thread Martijn Tonies
the 4.x series, but likely will be removed in MySQL 5.1. So I assume it makes sense to change it also for SHOW TABLE STATUS :) Well, in that case - the documentation fails to document the behaviour :-) The latest 4.1 beta does NOT have a Type column. Remove it in 5 or 5.1, fine - that's a major

Re: SHOW TABLE STATUS in MySQL 4.1.latest different from 4.1.1 !?

2004-07-28 Thread Dan Nelson
become deprecated. TYPE will be supported throughout the 4.x series, but likely will be removed in MySQL 5.1. So I assume it makes sense to change it also for SHOW TABLE STATUS :) Well, in that case - the documentation fails to document the behaviour :-) The latest 4.1 beta does NOT have

Re: SHOW TABLE STATUS in MySQL 4.1.latest different from 4.1.1 !?

2004-07-28 Thread Paul DuBois
deprecated. TYPE will be supported throughout the 4.x series, but likely will be removed in MySQL 5.1. So I assume it makes sense to change it also for SHOW TABLE STATUS :) Well, in that case - the documentation fails to document the behaviour :-) The latest 4.1 beta does NOT have a Type column

Re: SHOW TABLE STATUS in MySQL 4.1.latest different from 4.1.1 !?

2004-07-28 Thread Martijn Tonies
the 4.x series, but likely will be removed in MySQL 5.1. So I assume it makes sense to change it also for SHOW TABLE STATUS :) Well, in that case - the documentation fails to document the behaviour :-) The latest 4.1 beta does NOT have a Type column. The current manual does document

show table status problem

2004-06-10 Thread Jean Zhong
I try to take a look on the table1 status by: mysql show table status from jean1; It gave me the following error: ERROR 12: Can't read dir of './jean1/' (Errcode: 2) I think it supposes that there would be a sub-directry under .../jeandatabase/, and named jean1. But when I cd to /usr/local

Re: show table status problem

2004-06-10 Thread SGreen
Jean, Here is the format for the SHOW TABLE STATUS command from http://dev.mysql.com/doc/mysql/en/SHOW_TABLE_STATUS.html: SHOW TABLE STATUS [FROM db_name] [LIKE wild] You are using FROM TABLENAME not your database's name. Try this: SHOW TABLE STATUS FROM jeandatabase and see if it works

Re: show table status problem

2004-06-10 Thread Keith Ivey
Jean Zhong wrote: mysql show table status from jean1; It gave me the following error: ERROR 12: Can't read dir of './jean1/' (Errcode: 2) In SHOW TABLE STATUS, the thing after the FROM is a database name. See here: http://dev.mysql.com/doc/mysql/en/SHOW_TABLE_STATUS.html You want SHOW TABLE

Re: show table status problem

2004-06-10 Thread mos
Jean, The from jean1 is looking for a database named jean1, it is not the table name. See http://dev.mysql.com/doc/mysql/en/SHOW_TABLE_STATUS.html If you are already connected to the database, just use: Show Table Status; If you want status for a particular table then try: Show

Re: show table status problem

2004-06-10 Thread Jean Zhong
Hello, Thank you very much, everyone. Yes, I want to know the table jean1 status. I tried: show table status like jean1 It works. Thanks a lot. Jean --- mos [EMAIL PROTECTED] wrote: Jean, The from jean1 is looking for a database named jean1, it is not the table name. See

Re: Show table status query

2004-05-18 Thread Stefan Hinz
Daniel Kasak wrote: Andrew Barnes wrote: When I run the SHOW TABLE STATUS query against a database with 4 tables, 3 of the tables come have the correct row count, but 1 table changes the No of rows every time I run the query. The correct row count for this table is 313, but the query returns

Show table status query

2004-05-17 Thread Andrew Barnes
Hi When I run the SHOW TABLE STATUS query against a database with 4 tables, 3 of the tables come have the correct row count, but 1 table changes the No of rows every time I run the query. The correct row count for this table is 313, but the query returns anywhere from 97 to 574. I am running

Re: Show table status query

2004-05-17 Thread Daniel Kasak
Andrew Barnes wrote: Hi When I run the SHOW TABLE STATUS query against a database with 4 tables, 3 of the tables come have the correct row count, but 1 table changes the No of rows every time I run the query. The correct row count for this table is 313, but the query returns anywhere from 97

Create a table from SHOW TABLE STATUS ?

2004-04-30 Thread Richard A. DeVenezia
I'm running 4.1.1a-alpha-max-nt using innodb tables with foreign keys . I know how to use SHOW TABLE STATUS to see the referential linkages in the COMMENT column. Supppose I am typing away in MySQL monitor: Q: Is there a way to create a table from the SHOW TABLE STATUS command ? Q: Does v5 have

Re: Create a table from SHOW TABLE STATUS ?

2004-04-30 Thread Victoria Reznichenko
Richard A. DeVenezia [EMAIL PROTECTED] wrote: I'm running 4.1.1a-alpha-max-nt using innodb tables with foreign keys . I know how to use SHOW TABLE STATUS to see the referential linkages in the COMMENT column. Supppose I am typing away in MySQL monitor: Q: Is there a way to create a table

Re: Create a table from SHOW TABLE STATUS ?

2004-04-30 Thread Garth Webb
On Fri, 2004-04-30 at 06:03, Richard A. DeVenezia wrote: I'm running 4.1.1a-alpha-max-nt using innodb tables with foreign keys . I know how to use SHOW TABLE STATUS to see the referential linkages in the COMMENT column. Supppose I am typing away in MySQL monitor: Q: Is there a way

LOCK TABLES and SHOW TABLE STATUS FROM - deadlock? (3.23.58)

2004-03-23 Thread Ondra Zizka
(),$sql)); } The result is expected: B MySQL error: Table 'f' was not locked with LOCK TABLES SQL: SELECT * FROM firmy AS f C MySQL error: Table 'test' was not locked with LOCK TABLES SQL: INSERT INTO test SET id = NULL The output doesn't change, until PhpMyAdmin sends SHOW TABLE STATUS

no create/update time for InnoDB from SHOW TABLE STATUS?

2004-03-18 Thread Ray Kiddy
It looks as though, when I go into my databases, and use the command SHOW TABLE STATUS, that InnoDB tables do not have some information. I am on MySQL 4.1.0-alpha-debug. Has this been fixed in later versions? Example: mysql show table status

Re: SHOW TABLE STATUS without LIKE

2003-11-25 Thread Ed Leafe
On Nov 25, 2003, at 1:10 AM, Jozsa Boti wrote: Please reply to the list, not to me personally, so that others can follow this discussion. Thanks. Sorry, Don't feel bad. The list admins could easily set up the list so that the default action when replying is the correct one, but apparently

Re: SHOW TABLE STATUS without LIKE

2003-11-25 Thread Paul DuBois
Check-time of a specific table without using LIKE statements? There isn't another way. There's the SHOW TABLE STATUS command, but if there are many tables in a database this command is very slow, even if a specific table name is after the LIKE statment. Slow? How many tables

Re: SHOW TABLE STATUS without LIKE

2003-11-24 Thread Paul DuBois
STATUS command, but if there are many tables in a database this command is very slow, even if a specific table name is after the LIKE statment. Slow? How many tables are we talking about? I'm talking about nearly 20 000 tables in a database. In this case a SHOW TABLE STATUS commande takes about

Re: SHOW TABLE STATUS without LIKE

2003-11-24 Thread Mikhail Entaltsev
Hi, I have noticed also that SHOW TABLE STATUS became slower in 5 times at least (from 1 sec to 5-6 secs). Since I've switched to version 3.23.53 to version 4.0.14. But I have changed type of all my tables (~30 tables) from MyISAM to InnoDB as well. How long does an ls command in the database

Re: SHOW TABLE STATUS without LIKE

2003-11-24 Thread Jozsa Boti
another way. There's the SHOW TABLE STATUS command, but if there are many tables in a database this command is very slow, even if a specific table name is after the LIKE statment. Slow? How many tables are we talking about? I'm talking about nearly 20 000 tables in a database

SHOW TABLE STATUS without LIKE

2003-11-21 Thread Jozsa Boti
Hi! How an i get the last Check-time of a specific table without using LIKE statements? There's the SHOW TABLE STATUS command, but if there are many tables in a database this command is very slow, even if a specific table name is after the LIKE statment. Thanks -- MySQL General Mailing List

Re: SHOW TABLE STATUS without LIKE

2003-11-21 Thread Paul DuBois
At 13:21 +0200 11/21/03, Jozsa Boti wrote: Hi! How an i get the last Check-time of a specific table without using LIKE statements? There isn't another way. There's the SHOW TABLE STATUS command, but if there are many tables in a database this command is very slow, even if a specific table name

Bug: MySQL 4.0.13 crashes during simultaneous execution ALTER TABLE ... ENABLE KEYS and SHOW TABLE STATUS statements.

2003-06-10 Thread Mikhail Entaltsev
Hi all, My MySQL crashed during simultaneous execution of ALTER TABLE ... ENABLE KEYS and SHOW TABLE STATUS statements. There were 2 threads: #3 and #4. In thread #4 I executed: 4 Query DROP TABLE IF EXISTS History 4 Query CREATE TABLE History ... 4 Query

error executing 'show variables' and 'show table status from [table]'

2002-10-15 Thread Jeff Mathis
-variables' from a shell prompt crashes the database. the database then restarts. this appears to be 100% repeatable on my install. Also, I cannot execute 'show table status from [tablename]'. All of my tables happen to be InnoDB tables. However, executing only 'show table status' or 'mysqlshow --status

RE: SHOW TABLE STATUS InnoDB Tables

2002-07-03 Thread Bert VdB
, July 03, 2002 01:51 To: [EMAIL PROTECTED] Subject: BUG: SHOW TABLE STATUS InnoDB Tables Hi, I have just noticed that SHOW TABLE STATUS is returning different number of rows each time you execute the query. This seams to affect only InnoDB Tables (Although I have tested only with ISAM/MyISAM/InnoDB

BUG: SHOW TABLE STATUS InnoDB Tables

2002-07-02 Thread Crercio O. Silva
Hi, I have just noticed that SHOW TABLE STATUS is returning different number of rows each time you execute the query. This seams to affect only InnoDB Tables (Although I have tested only with ISAM/MyISAM/InnoDB Tables). I'm using MySQL 3.23.49Max on WIN2K. How to repeat the problem: Execute

Re: SHOW TABLE STATUS InnoDB Tables

2002-07-02 Thread Heikki Tuuri
Crecrio, - Original Message - From: Crercio O. Silva [EMAIL PROTECTED] Newsgroups: mailing.database.mysql Sent: Wednesday, July 03, 2002 3:49 AM Subject: BUG: SHOW TABLE STATUS InnoDB Tables Hi, I have just noticed that SHOW TABLE STATUS is returning different number of rows each

Re: Re: BUG: SHOW TABLE STATUS InnoDB Tables

2002-07-02 Thread Paul DuBois
sql,query At 21:50 -0300 7/2/02, Crercio O. Silva wrote: PS: SELECT COUNT(*) FROM table is working just fine, but on InnoDB tables with large number of rows (my tables have -+ 30 records each) it take a few seconds to get the results. This is not a big issue for me, but I'd like to confirm

DBug Test Signal/Illegal Op received with Show table status comand

2002-06-21 Thread Brandon McCombs
hello, i'm using mysql 3.23.51-max on windows 98. It worked fine up until the point where I started using a PHP app that used the command SHOW TABLE STATUS FROM tablename. Everytime this is executed Mysql gives me a dialog window that says Test Signal with an OK button, then I get an illegal op

show table status

2002-01-29 Thread mysql-max
Hi, my problem is that when i do a show table status like al% one of my innodb tables (named 'aluno') says to have 255 rows. But, in fact, it have 286 rows, by: select count (*) from aluno; Someone can help me

show table status command in MySQL

2001-04-30 Thread Mark Lo \(3\)
Hi, For show table status command in MySQL, which field is indicate the table size? Or, Which command is to find out the database size. Thanks in advance mark - Before posting, please check: http://www.mysql.com

Re: show table status command in MySQL

2001-04-30 Thread Basil Hussain
Hi, For show table status command in MySQL, which field is indicate the table size? Or, Which command is to find out the database size. The 'Data_length' field in the SHOW TABLE STATUS output will tell you how big the data is (in bytes). Bear in mind this doesn't give the actual size taken

Re: Table timestamps? More specific control of SHOW TABLE STATUS command

2001-02-16 Thread Gerald L. Clark
Why don't you : select timestampfield from mytable order timestampfield decs limit 1 Jay Lawrence wrote: Atle, your suggestion is for the last time a record was updated. I am interested in the entire table. The closest that I have seen thus far is: SHOW TABLE STATUS The Update_time

Re: Table timestamps? More specific control of SHOW TABLE STATUS command

2001-02-15 Thread Jay Lawrence
Atle, your suggestion is for the last time a record was updated. I am interested in the entire table. The closest that I have seen thus far is: SHOW TABLE STATUS The Update_time field is most likely what I am after. However I was hoping to do something more like select Update_time from