Re: why in procedure truncate table do not reset auto_increment?

2008-01-10 Thread Sebastian Mendel
x schrieb: thanks may you point out which chapter says? From manual I get the following answer agaist to my result(my server version 5.0.45), For |InnoDB| before version 5.0.3, |TRUNCATE TABLE| is mapped to |DELETE|, so there is no difference. Starting with MySQL 5.0.3, fast |TRUNCATE TABLE

Re: why in procedure truncate table do not reset auto_increment?

2008-01-09 Thread x
thanks may you point out which chapter says? From manual I get the following answer agaist to my result(my server version 5.0.45), For |InnoDB| before version 5.0.3, |TRUNCATE TABLE| is mapped to |DELETE|, so there is no difference. Starting with MySQL 5.0.3, fast |TRUNCATE TABLE| is

Re: why in procedure truncate table do not reset auto_increment?

2008-01-09 Thread Sebastian Mendel
Martijn Tonies schrieb: > >>>>>>> [...] why in procedure TRUNCATE table >>>>>>> demo do not reset auto_increment? >>>>>> is clearly written in the documentation, just read ... >>>>>> >>>>>> in s

Re: why in procedure truncate table do not reset auto_increment?

2008-01-09 Thread Martijn Tonies
> >>>>> [...] why in procedure TRUNCATE table > >>>>> demo do not reset auto_increment? > >>>> is clearly written in the documentation, just read ... > >>>> > >>>> in short: > >>>> > >>>

Re: why in procedure truncate table do not reset auto_increment?

2008-01-09 Thread Sebastian Mendel
Martijn Tonies schrieb: >>>>> [...] why in procedure TRUNCATE table >>>>> demo do not reset auto_increment? >>>> is clearly written in the documentation, just read ... >>>> >>>> in short: >>>> >>>> auto_

Re: why in procedure truncate table do not reset auto_increment?

2008-01-09 Thread Martijn Tonies
> >>> [...] why in procedure TRUNCATE table > >>> demo do not reset auto_increment? > >> is clearly written in the documentation, just read ... > >> > >> in short: > >> > >> auto_increment is used for primary key, primary key

Re: why in procedure truncate table do not reset auto_increment?

2008-01-09 Thread Sebastian Mendel
Martijn Tonies schrieb: >>> [...] why in procedure TRUNCATE table >>> demo do not reset auto_increment? >> is clearly written in the documentation, just read ... >> >> in short: >> >> auto_increment is used for primary key, primary keys co

Re: why in procedure truncate table do not reset auto_increment?

2008-01-09 Thread Martijn Tonies
> > [...] why in procedure TRUNCATE table > > demo do not reset auto_increment? > > is clearly written in the documentation, just read ... > > in short: > > auto_increment is used for primary key, primary keys could be referenced > from another table, setting au

Re: why in procedure truncate table do not reset auto_increment?

2008-01-09 Thread Sebastian Mendel
过客 schrieb: > [...] why in procedure TRUNCATE table > demo do not reset auto_increment? is clearly written in the documentation, just read ... in short: auto_increment is used for primary key, primary keys could be referenced from another table, setting auto_increment back to 0 could l

why in procedure truncate table do not reset auto_increment?

2008-01-06 Thread 过客
begin TRUNCATE table demo; show table status like 'demo'; END// delimiter ; when call test() I got auto_increment=101, why in procedure TRUNCATE table demo do not reset auto_increment? any help much appreciate !

Re: truncate table ...

2002-12-03 Thread Heikki Tuuri
Sekhar, - Original Message - From: ""Sekhar.Thota"" <[EMAIL PROTECTED]> Newsgroups: mailing.database.mysql Sent: Tuesday, December 03, 2002 3:14 PM Subject: truncate table ... > Dear All, > > I am getting a severe problem with truncate comand( InnoDB

truncate table ...

2002-12-03 Thread Sekhar.Thota
Dear All, I am getting a severe problem with truncate comand( InnoDB Tables - Mysql 3.23.52-MAX on Linux 7.3) . The scenario is: I have a table with more than 100 Million records. I gave a truncate table command to delete all the data from this table. Once I gave

Re: Re[4]: TRUNCATE TABLE

2002-07-29 Thread Benjamin Pflugmann
tings, Benjamin. On Sat 2002-07-27 at 20:53:45 +0300, [EMAIL PROTECTED] wrote: > > BP> Hi. > > BP> First, when you start an independend question, please start a new > BP> thread, but at least change the subject accordingly. > This is not independent question. Man

Re[4]: TRUNCATE TABLE

2002-07-27 Thread Andrew Sitnikov
Hello Benjamin, BP> Hi. BP> First, when you start an independend question, please start a new BP> thread, but at least change the subject accordingly. This is not independent question. Manual say what TRUNCATE TABLE will recreate table from frm file, but when i use TRUNCATE TABLE, i

Re[2]: TRUNCATE TABLE

2002-07-27 Thread Andrew Sitnikov
Hello Benjamin, >> Why after TRUNCATE TABLE data file with indexes not freed ? BP> See http://www.mysql.com/doc/A/d/Adding_and_removing.html (2nd paragraph) BP> and http://www.mysql.com/documentation/mysql/bychapter/manual_Table_types.html#InnoDB_File_space BP> (second link d

Re: Re[2]: TRUNCATE TABLE

2002-07-26 Thread Benjamin Pflugmann
Hi. First, when you start an independend question, please start a new thread, but at least change the subject accordingly. On Fri 2002-07-26 at 11:07:17 +0300, [EMAIL PROTECTED] wrote: [...] > If table recreated from table.frm why it not recreate indexes file? Because this is the documented beh

Re: Re[2]: TRUNCATE TABLE

2002-07-26 Thread Benjamin Pflugmann
Hi. On Fri 2002-07-26 at 11:03:26 +0300, [EMAIL PROTECTED] wrote: > Hello Benjamin, > > >> Why after TRUNCATE TABLE data file with indexes not freed ? > BP> See http://www.mysql.com/doc/A/d/Adding_and_removing.html (2nd paragraph) > BP> and >http://www.mysql.com

TRUNCATE TABLE

2002-07-25 Thread Andrew Sitnikov
Hello mysql, Why after TRUNCATE TABLE data file with indexes not freed ? and TRUNCATE TABLE is very slow ... MySQL 3.23.51+InnoDB OS: Linux 2.4.18/ReiserFS Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109

Replication failed: TRUNCATE TABLE command

2002-03-27 Thread Lopez David E-r9374c
Anti-SPAM: mysql, query Gurus I'm new to replication. Set it up this weekend and has worked flawlessly for several days. Then I used the command: TRUNCATE TABLE tbl; That worked in master, but was not replicated in slave. No mention of this in manual. Using version 3.23.49 on maste