RDS MySQL 5.7 Aurora2 missing table in INNODB_SYS_TABLESPACES

0

Hi,

While being in progress of updating 5.7 to 8, we are hitting the issue of "Usage of old temporal type" on 1 table -> 1 column This exact type/config of column is used in various other tables, so that got us digging in the information schema tables.

Turns out, the table with the problem is not listed in table INNODB_SYS_TABLESPACES.

It's a 500GB, ~3 billion record table.

Converting the table so it's ready for 8 is doable with some tricks, but I prefer to first look into the challenge why this is the only table that is missing, is the one complaining.

Google and AI both are pointing towards "panic" and contact AWS :D

Cheers!

Rob
질문됨 7달 전289회 조회
2개 답변
0

Hello.

When you mention the "Usage of old temporal type," it likely refers to the changes that happened with temporal types like DATETIME and TIMESTAMP between MySQL versions. In MySQL 5.6.4 and later, these types were changed to support fractional seconds. If your MySQL 5.7 installation was upgraded from an older version and the table was created before 5.6.4, then the table might be using the older format. This difference can cause issues when upgrading.

INNODB_SYS_TABLESPACES: This InnoDB system table provides metadata about tablespaces. If a table isn't listed here, it's typically a cause for concern. It suggests some form of inconsistency or corruption.

Before making any changes, verify the table for corruption using the CHECK TABLE command:

CHECK TABLE your_table_name;

If any issues are reported, they might need to be addressed before you continue.

Regards, Andrii

profile picture
전문가
답변함 7달 전
  • Yes, it's about the "timestamp /* 5.5 binary format */" item.

    The DB was created years and years ago, before 5.5. it was upgraded from 5.5 to 5.7 in 2021. I'm not able to verify if the upgrade to 5.6 was done in between, or it was jumped from 5.5 to 5.7 in one go.

0

Lastly, if the problems persist or if you're concerned about potential data loss or corruption, consider seeking assistance from AWS team.

profile picture
전문가
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인