Re: table optimisation

2005-05-12 Thread Gleb Paharenko
Hello.



It depends on the table's type. For MyISAM see:

  http://dev.mysql.com/doc/mysql/en/optimize-table.html



For InnoDB:

  http://dev.mysql.com/doc/mysql/en/innodb-file-defragmenting.html





Seena Blace <[EMAIL PROTECTED]> wrote:

> [-- text/plain, encoding 7bit, charset: us-ascii, 9 lines --]

> 

> Hi,

> I have been noticing table performanace issue when # of rows grows more.How 
> to tune that table?

> thanks

> -Seena

> 

>

> -

> Do you Yahoo!?

> Read only the mail you want - Yahoo! Mail SpamGuard.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: table optimisation

2005-05-12 Thread Peter Brawley




Seena,

>How to check whae are tables are having how many 
>indexes on which columns ?

http://dev.mysql.com/doc/mysql/en/show-index.html

and alternatively if you're using 5.03 or later, http://dev.mysql.com/doc/mysql/en/statistics-table.html

eg an approximate equivalent of SHOW KEYS FROM tbl [FROM db] would be
  SELECT * 
  FROM information_schema.statistics 
  WHERE table_name='tbl' 
  [AND table_schema = 'db']

PB

-

Seena Blace wrote:

  How to check whae are tables are having how many indexes on which columns ?

Thomas Sundberg <[EMAIL PROTECTED]> wrote:
  
  
-Original Message-
From: Seena Blace [mailto:[EMAIL PROTECTED]] 
Sent: den 11 maj 2005 23:58
To: mysql@lists.mysql.com
Subject: table optimisation

Hi,
I have been noticing table performanace issue when # of rows 
grows more.How to tune that table?

  
  
Adding index on the column or columns that are often used in queries could
be a start. Performing full table scan on large, unindexed tables can take
quite longtime when the number of rows are increasing.

/Thomas



		
-
Yahoo! Mail
 Stay connected, organized, and protected. Take the tour
  
  

No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005
  



No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: table optimisation

2005-05-11 Thread Seena Blace
How to check whae are tables are having how many indexes on which columns ?

Thomas Sundberg <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: Seena Blace [mailto:[EMAIL PROTECTED] 
> Sent: den 11 maj 2005 23:58
> To: mysql@lists.mysql.com
> Subject: table optimisation
> 
> Hi,
> I have been noticing table performanace issue when # of rows 
> grows more.How to tune that table?

Adding index on the column or columns that are often used in queries could
be a start. Performing full table scan on large, unindexed tables can take
quite longtime when the number of rows are increasing.

/Thomas




-
Yahoo! Mail
 Stay connected, organized, and protected. Take the tour

RE: table optimisation

2005-05-11 Thread Thomas Sundberg

> -Original Message-
> From: Seena Blace [mailto:[EMAIL PROTECTED] 
> Sent: den 11 maj 2005 23:58
> To: mysql@lists.mysql.com
> Subject: table optimisation
> 
> Hi,
> I have been noticing table performanace issue when # of rows 
> grows more.How to tune that table?

Adding index on the column or columns that are often used in queries could
be a start. Performing full table scan on large, unindexed tables can take
quite longtime when the number of rows are increasing.

/Thomas


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]