Has anyone have a RDS OS Patch upgrade (not RDS instance patch upgrade)? If so I would like to understand the following :
When the OS Patch updates, does AWS take a snapshot of the underlying ec2 instance?
Does AWS take a backup of the RDS database prior to os patch install.
any issues to look out for?
TIA
Related
We are seeing bad performance from the disk subsystem (high PAGEIOLATCH_SH) on our SQL Server 2016 SP3 hosted on AWS RDS.
The log files are on the same drive as the data files, which in my book is bad practice - is there a way to change this? I can't find anything in the AWS RDS UI that lets me configure this; but maybe I'm just blind (often am).
I have running MariaDB Database and I want to migrate it to Amazon Aurora, how can I migrate It to Amazon Aurora
This migration is doable in multiple ways. Few questions to begin with :
Which version of Maria DB are you currently on and which version of Aurora Mysql are you planning to move to?
Are you already on RDS MariaDB? If yes, the migration might be a bit simple with snapshot restore.
If you are not currently on RDS MariaDB:
MariaDB 10.0 to Aurora 5.6 and MariaDB 10.1, 10.2, 10.3 to Aurora 5.7 should be doable without much complications. This is based on the compatibility shown here: https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/ . You would most likely export your data using mysqldump and then import them via SQL apis or LOAD from S3 that Aurora supports.
For any other migrations, you might need to do additional steps since you'd be crossing the compatibility boundaries.
Doc: https://docs.aws.amazon.com/dms/latest/sbs/CHAP_MySQL2Aurora.html
If you are already on RDS Maria DB:
Try snapshot restore. A direct snapshot restore might not get you where you need to get, but thats the starting point for you.
Doc: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Migrating.RDSMySQL.Import.html
I'm trying to use impdp on RHEL without GUI. I'm not sure if my direction is correct. Since RHEL has no GUI, so what I do is install SQLcl from https://www.oracle.com/tools/downloads/sqlcl-downloads.html
Basically my objective is to migrate on-premise oracle database to RDS and this RDS can only be accessed by particular EC2 instance. In other words, I would need to find a way to perform Data Migration by SSH into this EC2. Wondering if anyone can shed some light on whether my direction is correct? Or is there any simpler way to do it?
Importing Data into Oracle on Amazon RDS
You do not have direct access to the RDS instance file system.
There are several data migration solutions.
The first solution using S3 Bucket.
Export data from the premise database using expdp.
Upload the dump file to the S3 cloud.
Copy Dump File from Amazon S3 Bucket to the RDS instance.
Use DBMS_DATAPUMP to Import the DUMP File on the RDS Instance.
The second solution using Database Link.
Export data from the premise database using expdp.
Create a Database Link to the RDS Instance.
Use DBMS_FILE_TRANSFER to Copy the Dump File to the RDS Instance.
Use DBMS_DATAPUMP to Import the DUMP to the RDS Instance.
The third solution using Oracle XE, if you cannot make a db link between your DB and RDS instance.
Export data from the premise database using expdp.
Create a free instance of EC2(1 CPU core, 1G RAM, 30GD HDD ) or a
paid instance with a large disk and CPU.
Install a free database version of the Oracle XE version on EC2 instance.
Copy files to the DUMP directory to Oracle XE on EC2 instance via the sftp protocol.
Create a Database Link to the RDS Instance Use DBMS_FILE_TRANSFER to
Copy the Dump File to the RDS Instance.
Use DBMS_DATAPUMP to Import the DUMP to the RDS Instance.
And other solutions without using DATA PUMP:
Importing Using Oracle SQL Developer.
Oracle Original Export/Original Import Utilities
Oracle SQL*Loader Oracle Materialized Views using db link
I have in hands a task where I'm required to copy a 300GB SQL Server 2008 R2 Standard Edition to Amazon's AWS RDS.
The issue is that a couple weeks ago, AWS finally released a feature that allows the restore of a .bak file generated by T-SQL's EXPORT command (or SSMS's one). This is a good start, but the procedure of exporting the DB, copying the .bak file to S3 and then restoring it to RDS takes about 6h.
During that time, our application servers must be down so that the databases are in sync and; as we are talking about our website's database, 6h is something very difficult to cope with.
We have already tried AWS's DMS service and RedGate's Data Compare to no avail...
Anyone has an idea how this can be done or do we really have to accept the 6h downtime?
The features of SQL Server standard edition on AWS and rest environment is detailed in TaskLance blog
Issues with MS SQL Server Standard edition in AWS: http://tasklance.com/index.php/2016/03/16/issues-with-ms-sql-server-standard-edition-in-aws-2/
Recently, we have migrated a business application database to Amazon AWS SQL Server RDS. We have loved the flexibility of backup and scaling with the cloudified database, but we have need for writing reports for our gathered analytics data. Our in house data analyst is most comfortable using SQL Reporting Services. Normally, this is installed as a component with the SQL Server install, but we obviously do not have that option on RDS.
My question is, has anyone been able to successfully deploy and use SQL Reporting services with Amazon RDS?
What I have tried:
I attempted to spin up another EC2 instance, install "SQL Server Express with Advanced Services", and point SSRS to RDS, but it said that I had incompatible license types.
I plan on contacting the AWS team directly for this as well, but I thought that I would reach out to SO first to see if anyone has run into this. Thanks.
You might need to use a certain Microsoft-created "Amazon Machine Image", specifically the "SQL Server Optimized" AMI: Microsoft AMIs.
Another option would be to apply SQL Server SSRS containers, hosted on an EC2 VM, connected to RDS. There's a blog on Windocks.com that outlines steps to deliver configured containers for improved scalability (multiple SSRS containers), with simplified management.
I have successfully ran SSRS in Docker containers on Windows ECS/2 VMs for a while and just today came across a fresh out of the oven announcement from Amazon on running SSRS natively on RDS: https://aws.amazon.com/about-aws/whats-new/2020/05/amazon-rds-for-sql-server-now-supports-sql-server-reporting-services/?nc1=h_ls