SQLinfo.ru - Все о MySQL

Форум пользователей MySQL

Задавайте вопросы, мы ответим

Вы не зашли.

#1 26.08.2012 01:05:49

acyagruppa
Участник
Зарегистрирован: 26.08.2012
Сообщений: 2

Update_time

делаю запрос к таблице, дату создания показывает, а Update_time - пусто! помогите решить проблему!

Неактивен

 

#2 26.08.2012 01:20:02

acyagruppa
Участник
Зарегистрирован: 26.08.2012
Сообщений: 2

Re: Update_time

Вот что выдает Array ( [Name] => users [Engine] => InnoDB [Version] => 10 [Row_format] => Compact [Rows] => 2 [Avg_row_length] => 8192 [Data_length] => 16384 [Max_data_length] => 0 [Index_length] => 0 [Data_free] => 6291456 [Auto_increment] => 37 [Create_time] => 2012-08-10 11:41:17 [Update_time] => [Check_time] => [Collation] => utf8_general_ci [Checksum] => [Create_options] => [Comment] => )

Неактивен

 

#3 30.08.2012 02:07:17

vasya
Архат
MySQL Authorized Developer
Откуда: Орел
Зарегистрирован: 07.03.2007
Сообщений: 5833

Re: Update_time

Update_time

When the data file was last updated. For some storage engines, this value is NULL. For example, InnoDB stores multiple tables in its system tablespace and the data file timestamp does not apply. Even with file-per-table mode with each InnoDB table in a separate .ibd file, change buffering can delay the write to the data file, so the file modification time is different from the time of the last insert, update, or delete. For MyISAM, the data file timestamp is used; however, on Windows the timestamp is not updated by updates so the value is inaccurate.

Неактивен

 

Board footer

Работает на PunBB
© Copyright 2002–2008 Rickard Andersson