Skip to content
ferkesh.HOSTING

How to Audit Database Time Zones After a Website Move

Developer Resources 72 visualizações Markdown
Workflow: Record all layers; Select representative records; Check data semantics; Verify workflows.

Timestamp problems can occur even when every row migrated. Compare how the application writes, interprets and displays times before changing a global database time zone.

Procedure

  1. Record all layers. Read the application timezone and database server and session settings through approved controls. Ask whether background workers and CLI tools use the same configuration.
  2. Select representative records. Use staging fixtures that cover ordinary times and a daylight-saving transition relevant to the site. Compare stored values, types and the displayed local times.
  3. Check data semantics. In MySQL, TIMESTAMP conversion depends on the session time zone. DATETIME stores the supplied calendar value. Document how the application treats each field before converting anything.
  4. Verify workflows. Compare order history, schedules and data exports after migration. Preserve original values and approve any correction through a reviewed migration and rollback plan.

Official references

Ferkesh Hosting. Last reviewed .

Foi útil?

Obrigado pela sua opinião!

Ainda precisa de ajuda?

A equipa de apoio está disponível a qualquer hora para ajudar com o que não encontrar na base de conhecimento.