By using AWS re:Post, you agree to the Terms of Use

Questions tagged with Oracle

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

AWS RDS Oracle: How to import database dump?

**Gist:** Cannot gain terminal access to then run Oracle or SQL Plus commands to import a database dump into Oracle RDS. Struggling to import an Oracle database dump as there is no way to do this via AWS's RDS web console, and I have not been able to gain terminal access. Indeed, it does not seem that AWS RDS really wants the owner to use SSH access, as the IP address of the server instance is not readily displayed, but instead the expectation is that all work is done via the DB instance, and not the host server (it is a managed service, after all!). **Situation** * An Oracle RDS instance was created a few months ago. At that time an 'impdp' import was done. * Now wish to redo this step, yet do not have means to gain terminal access. Alas, the knowledge of how the first import was done is no longer in the company... and we cannot gain terminal access using the Master username + password (known good credentials as these are used to log into the Oracle DB using DBeaver or Oracle SQL Developer tools). * Endpoint is of format oracle.clpf12ab34.us-east-1.rds.amazonaws.com * Master username: known (displayed on RDS console's configuration tab) * Password: known **Failed approaches to gain terminal access:** 1. When I attempt to ssh into the server, having stripped the DB Name "oracle" from the front, I observe error "ssh: Could not resolve hostname ... nodename nor servname provided, or not known" 2. Managed to ping the server, so attempted to ssh using masterusernam@ipaddress - yet this returns error "ssh: connect to host <<IPADDRESS>> port 22: Operation timed out" Note: on all my ECS instances access is done via PEM key files, and not using username/password pair. However, no PEM key-pair has been defined on AWS RDS. Therefore my only credential is the Oracle DB username/password. **What next?** I am aware that AWS services cannot reissue new credentials. Yet I would have anticipated the ability to use the information that I have to be able to do some administration of the Oracle DB server... and specifically to be able to run a database dump import (using Oracle's 'impdp' command). The next approach is to manually conduct import... table by table, and with care for foreign key or constraint dependencies. This shall be laborious. Another approach is to dump this existing RDS instance and to create another. Ideally I would need to make use of Oracle DB version 12.1, as this is what I am needing to use for a project -- and importantly I need to have a patch level that would allow me to conduct the import (as the source database was Oracle 12.1 with patch from July 2021). As always, your guidance and pointers are most welcome. Wish you great end-of-week & weekend!
6
answers
0
votes
19
views
asked 3 days ago

Requesting AWS to add a RDS (Oracle) Time zone which is missing

Hello. We have come across a situation where we need to use the local timezone in the RDS Oracle database. We need to set it to Jamaica Timezone which is America/Jamaica. Jamaica's time zone is different from the rest of the region. It is currently not available in AWS as we checked here [https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.Timezone.html#Appendix.Oracle.Options.Timezone.Zones] Using other nearby timezones or central or eastern timezones is not feasible as DST is observed there. There are some timezones e.g. Bogota and Lima which are the same as Jamaica and could be an option to use but there is a risk due to the following ; 1. The countries might all of a sudden start to observe DST. Although they have not done it in the past 15 to 20 years. 2. We cannot change the timezone in RDS more than once. One Workaround is to use America/Lima or Bogota timezone which is exactly the same as Jamaica, but in the worst case, there is a chance that they start observing DST someday. (may be next month or after 10 years). Please suggest, how we can request AWS to add America/Jamaica which has the below properties. ``` Time Zone: America/Jamaica Current Date and Time in America/Jamaica: Thu 11-Aug-2022 04:41 P.M. Country: Jamaica Daylight Saving Time (DST) in effect? : No Most Recent DST Transition: DST ended on Sun 30-Oct-1983 at 02:00:00 A.M. when local clocks were set backward 1 hour Next Scheduled DST Transition: There are no future Daylight Saving Time rules for this time zone ```
1
answers
0
votes
30
views
profile picture
asked 2 months ago