Question: What do
I do to change my Oracle timezone? I need to change my
Oracle timezone and I need to know what parameters to
change.
Answer: First, see my notes on
Oracle timezone. To see your local time zone, enter:
select
sessiontimezone
from
dual;
The time_zone is normally set at database creation
time:
SQL> create database . . . set
time_zone='+00:00';
To change the Oracle time zone for an existing Oracle
database, we change the time_zone parameter and then bounce
the database.
SQL> alter
database set time_zone = '-05:00';
SQL>
shutdown immediate
SQL> startup
For OMS, log into the OMS repository as the SYSMAN user,
the above command 'emctl resetTZ agent' tells you exactly
what needs to be executed in the repository.
SQL>
exec mgmt_target.set_agent_tzrgn('',
'Etc/GMT-6');
SQL> commit;
SQL> emctl
start agent -- (or emctl start dbconsole)
Reference:
MOSC: Timestamps & time zones - Frequently Asked
Questions Doc ID:
Note:340512.1
|
|
|
Oracle Training from Don Burleson
The best on site
"Oracle
training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!
|
|
|
|
|
Burleson is the American Team
Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
Burleson
Oracle ®
is the registered trademark of Oracle Corporation.
|
|