时区显示EDT和SYSTEM表示什么?时区可以修改吗?
show variables like '%time_zone';rlwrap: warning: rlwrap appears to do nothing for mysql, which asks for
single keypresses all the time. Don't you need --always-readline
and possibly --no-children? (cf. the rlwrap manpage)
warnings can be silenced by the --no-warnings (-n) option
+------------------+--------+
| Variable_name | Value|
+------------------+--------+
| system_time_zone | EDT |
| time_zone | SYSTEM |
+------------------+--------
本帖最后由 驭无殇1998 于 2024-6-11 14:45 编辑
我配置的不是你这样的喔。这个修改没影响的吧
你这个应该是跟随系统时间的意思吧
我这用官方配置是这样的:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAn8AAAEWCAIAAACYP2ajAAAgAElEQVR4Ae2dva7cNtqAp13fQG4jRWAkLlwEQW5hu4WBICdwlXrjcoF4gS1iu0iKvYC14WobI5vKjYsUnzsXzvE26TZpposPEkMfSIrUyz+J0mjmUJxHCHI0FH9ePtTwGUqa8W6/aPvqq686NghAAAI+ga+++movNiYKHw+vNkMgOJPFSb3a7m5ZTbypNnMSESgETkggmLOYKE7InqbWJBCcyfsjbNh3zQGjLgicOYFgzsK+Z34+bLf7wZm8P8K23L5fsUEAAhCICMhpKjpIAgQ2Q0CeycfYX2jfY4RCnRCAAAQgAIEzIYB9z2Sg6SYEIAABCFREAPtWNBiEAgEIQAACZ0IA+57JQNNNCEAAAhCoiAD2rWgwCAUCEIAABM6EAPY9k4GmmxCAAAQgUBEB7FvRYBAKBCAAAQicCQHseyYDTTchAAEIQKAiAti3osEgFAhAAAIQOBMCRfa9qnjr2CAAAQhAAAJbI4B9tzZixAsBCEAAAtsngH23P4b0AAIQgAAEtkYA+25txI4T7+Xzt3+699vtJ38cp/rN1HouHL79onvvk+7LF5sZGAKFQHMEsG96SM0sfPdV+mhzqe8ePvrtT/d+u3Hv6vuZfSsA9cfde6py89+N6xF8YQx5Dr/8fvveb7efv5uJZ1H2Lz9Jq/Hbv6t0Zc3HQ73/faxSvv15SJne+7n7VNfz3t+n87adI4e67V7TuzoI1G/f//30n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/B2GKBc9B2teVAAAAAElFTkSuQmCC
应该配置文件加上这个配置重启一下就行了:
default_time_zone = "+8:00"
驭无殇1998 发表于 2024-6-11 14:44
我配置的不是你这样的喔。这个修改没影响的吧
你这个应该是跟随系统时间的意思吧
我的系统是使用默认配置的,SYSTEM应该是根据操作系统的时区而生成的。 EDT代表的是东部夏令时(Eastern Daylight Time),这是美国东部和加拿大东部地区在夏季使用的时区。EDT比协调世界时(UTC)慢4小时,也就是UTC-4。
中国使用的是东八区的时间,也就是协调世界时加上8小时(UTC+8)。因此,当美国东部处于EDT时,中国比EDT快12小时。这意味着如果北京是上午9点,那么在EDT下美国东部应该是前一天晚上9点。
===
设置时区要结合业务需求和实际情况而定,一般在国内会选择 东八区,即 +8:00 网上有说就是当参数设置time_zone=system的时候,查询timestamp字段,会调用系统的时区做时区转换,有全局锁__libc_lock_lock的保护,导致线程并发环境下,系统性能受限。如果将time_zone=’+8:00’则不会调用系统时区,则不会触发系统时区转换,使用mysql自身转换,大大提高了性能。 banjin 发表于 2024-6-12 10:45
网上有说就是当参数设置time_zone=system的时候,查询timestamp字段,会调用系统的时区做时区转换,有全局 ...
是有这个问题。 banjin 发表于 2024-6-12 10:45
网上有说就是当参数设置time_zone=system的时候,查询timestamp字段,会调用系统的时区做时区转换,有全局 ...
前几天看到一个文章,说是备节点无法修改时区的问题。 banjin 发表于 2024-6-12 10:45
网上有说就是当参数设置time_zone=system的时候,查询timestamp字段,会调用系统的时区做时区转换,有全局 ...
对对! TIME_ZONE= SYSTEM 自然要去查系统时区,那么这个系统时区是指SYSTEM_TIME_ZONE吗?
页:
[1]