[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1013
  • Last Modified:

Table Update_time with InnoDB


Guys,
       Currently I am on MyISAM engine and using "SHOW TABLE STATUS" query to get the last updated time for a table. Now I have to switch to InnoDB. When I tested the aforestated query, the "Updated_time" column is NULL.
Is this expected ? If yes, is there another way to get the updated time of a table ?

Thanks.
0
mxjijo
Asked:
mxjijo
  • 2
1 Solution
 
nagkiCommented:
I think there is no way other than the one u mentioned for getting the last modified time of table
(from show table status)

And that update_time will be maintained for InnoDB tables..thats why it's showing NULL in that column for InnoDB tables

0
 
nagkiCommented:
oops..small change in my last post.
And that update_time will not be maintained for InnoDB tables..thats why it's showing NULL in that column for InnoDB tables
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now