amazon-rds

Restore a remote dump to RDS

馋奶兔 提交于 2019-12-06 01:14:17
问题 I know how to restore a pg dump into a RDS database if that dump is in my machine, but how could I do it when the dump is available at a remote location, say Amazon S3? What I want to do is something like this: pg_restore -h somedomain.us-east-1.rds.amazonaws.com -p 5432 -d databasename -U username https://s3.amazonaws.com/database.dump But of course this results in pg_restore: [archiver] could not open input file "https://s3.amazonaws.com/database.dump" Thanks for your help! 回答1: If a

Is it possible to launch an RDS instance without a VPC?

夙愿已清 提交于 2019-12-05 18:19:08
I'm trying to insert records into a Postgres database in RDS from a Lambda function. My Node.js lambda function works correctly when run locally, but the database connection times out when run in AWS. I've read several articles and tutorials which suggest that AWS Lambda functions cannot access RDS instances that are within a VPC. For example: http://ashiina.github.io/2015/01/amazon-lambda-first-impression/ Unfortunately; it seems I am unable to create an RDS instance that exists outside of a VPC. At this dropdown I would expect to be able to select an option for "No VPC" or something along

Connection hanging occasionally with Amazon RDS MySQL & Play Framework 1.2.5 (c3p0 default settings)

不羁的心 提交于 2019-12-05 17:28:00
We're having problems with Amazon-hosted Play application with RDS Mysql . Sometimes the application ends up unresponsive. Today I checked the thread status with jstack -F and there were multiple threads stuck in native code for c3p0 connection : Thread 14060: (state = IN_NATIVE) - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Compiled frame; information may be imprecise) - java.net.SocketInputStream.read(byte[], int, int, int) @bci=79, line=150 (Compiled frame) - java.net.SocketInputStream.read(byte[], int, int) @bci=11, line=121 (Compiled frame

What does the MySQL 5.6 error “InnoDB presently supports one FULLTEXT index creation at a time. Try LOCK=SHARED” mean?

社会主义新天地 提交于 2019-12-05 17:16:23
In MySQL 5.6.22 (specifically running on Amazon RDS) I once had a fulltext index on a table. I have since dropped that index in favor of using sphinxsearch. There are no more fulltext indexes on any of the tables on the database. When I try to now perform an online DDL such as adding a tinyint column to a table with LOCK=NONE I get this error: InnoDB presently supports one FULLTEXT index creation at a time. Try LOCK=SHARED. But, there are no fulltext indexes anywhere. I've even tried creating a read-replica in Amazon in hopes that the rebuilding of the database would fix that and I get the

Difference between RDS and Redshift

风流意气都作罢 提交于 2019-12-05 12:56:24
Can anyone list down the main differences between Amazon Redshift and RDS? I know both are relational DB's but why choose one over the other ? RDS is a managed service for Online Transaction Processing databases (OLTP), i.e. a managed service for the usual MySQL, PostgreSQL, Oracle, MariaDB, Microsoft SQL Server or Aurora (Amazon's own relational database) Redshift is a managed service for data warehousing, i.e. columnar oriented storage, typical for business analytics type of workloads. Brief Introduction of AWS RDS & Redshift, AWS RDS: Amazon RDS is a managed relational database service that

How to modify my.ini parameters of an Amazon RDS instance

て烟熏妆下的殇ゞ 提交于 2019-12-05 04:26:23
While launching a MySQL 5.5 RDS instance, Amazon uses a default parameter group to configure the my.ini parameters, but the console doesn't allow me to modify them. How can I achieve this? (e.g. setting the storage engine to MyISAM by default or setting character set ...) This is documented here: http://aws.amazon.com/articles/2935 If you're looking for these parameters to modify, then AWS has to say no... Because of architectural differences between Aurora MySQL and MySQL, some MySQL parameters and status variables do not apply to Aurora MySQL. The following MySQL parameters do not apply to

Elastic Beanstalk: Migrate DB Security Group to VPC Security Group

六眼飞鱼酱① 提交于 2019-12-05 02:49:29
问题 When trying to deploy my application, I recently got the following error: ERROR: Service:AmazonCloudFormation, Message:Stack named 'awseb-e-123-stack' aborted operation. Current state: 'UPDATE_ROLLBACK_IN_PROGRESS' Reason: The following resource(s) failed to update: [AWSEBRDSDatabase]. ERROR: Updating RDS database named: abcdefg12345 failed Reason: DB Security Groups can no longer be associated with this DB Instance. Use VPC Security Groups instead. ERROR: Failed to deploy application. How do

Copying CSV to Amazon RDS hosted Postgresql database

◇◆丶佛笑我妖孽 提交于 2019-12-05 02:37:46
I have a database hosted using Amazon's RDS service and I am attempting to write a web service that will update said database. The problem I am having is that it will not let me use the COPY command as I get this error: "ERROR: must be superuser to COPY to or from a file". I am using the only user I have made for the database and I am fairly certain it has superuser access. I can, however, use PGAdmin's import tool to import the data which, when looking at the log, uses almost the exact same command as I do. The only difference is instead of the file path it has stdin. How can I fix this error

Unable to connect on AWS - RDS DB : SQL Server 2012 Express

一世执手 提交于 2019-12-05 01:42:35
I'm new in AWS world. I have an issue to access to my instance of Microsoft SQL Server 2012 Express (11.00.5058) on RDS (US-East-1a). When I have created DB instance, I was able to access to it, create some tables, transfer data, etc.. everything worked fine ! I didn't change anything and few hours after some inactivity, I try to access to the SQL Server instance by using Microsoft SQL Server Enterprise Manager but I was not able to connect to it anymore. I got following message: Cannot connect to m3instance.cqbvdcpcgye3.us-east-1.rds.amazonaws.com,1433. A network-related or instance-specific

What is the best method to remedy Magento being slow with 20,000+ products

a 夏天 提交于 2019-12-05 00:59:11
问题 I'm running magento on 3 Amazon EC2 instances. One is set up to be accessed directly for the admin panel, the other two are sitting behind a load balancer. Things were running smoothly until we imported our data with 20k+ products, each a configurable product with ~4 simple products (for different sizes, colours etc.) The only things running slow seem to be things that loop over products - both admin and frontend catalog pages take 5-10+ seconds to get a response from the server. Static/CMS