Questions tagged [aws]

Amazon Web Services.

Filter by
Sorted by
Tagged with
0
votes
1answer
898 views

Schema replication Postgresql AWS

Is there a way to replicate Postgres Schemas in AWS into one location for reporting purposes? I have 3 postgres databases (up to date with current version) running in AWS that I would like to ...
1
vote
0answers
256 views

A transport-level error has occurred when receiving results from the server [duplicate]

Our application is made from asp.net webforms using framework 4.5. And since migrating to Amazon AWS from an inhouse server. We've been flooded by this error through out our system. On the software ...
-1
votes
1answer
2k views

The fastest way to Copy Schema or Table in MySQL DB

I have a schema (size 500 GB) in my MySQL DB and I want to make a copy of this schema to another schema in the same DB. May I ask what is the fastest way of copying all the tables in that schema? (I ...
0
votes
1answer
35 views

MySQL eats up all the memory from the RHEL OS

Currently, I have MySQL server installed in the AWS RHEL EC2 instance. The team was running heavy data processing in the DB and we found out that every now and then the DB restarted itself. After ...
0
votes
1answer
529 views

Integrating MongoDB metrices with Cloud watch

We are hosting mongodb in AWS environment and planning to create incident in Servicenow using AWS Cloud watch alarm facility Has anyone integrated MongoDB Monitoring metrices with Cloud watch to ...
1
vote
1answer
1k views

PostgreSQL Materialized View not refreshing

I'm using PostgreSQL in DBeaver and querying data from AWS. ana.bookings is a materialized view and it shows only the data up to 26th November 2018 even though all the tables and views prior to it ...
2
votes
0answers
271 views

How to backup a local database to cloud database?

I am about to start developing a POS software as my new project with python and electron js. It is going to be a desktop application. However, my concern is it should work in both cases when desktop ...
1
vote
0answers
90 views

Best Distkey and Sortkey for the tables in Redshift

I have the following tables: orders: id => primary key customer_id => store_id => order_date => datetime order_items: id => primary key order_id => FK The query I usually run ...
0
votes
1answer
2k views

Change in bind_ip value is not reflecting

I have mongo installed on Centos instance in AWS and I am connecting to the mongoDB server from my system. To connect from remote system we need to change bind_ip value to 0.0.0.0 in /etc/mongod.conf ...
1
vote
2answers
73 views

How do you know when it's time to upgrade a RDBMS/SQL database infrastructure? What metrics to follow? [closed]

In my specific case, I have just deployed my side project to AWS and using AWS MySQL Tier 2 Micro instance, which is within AWS' Free Tier; https://aws.amazon.com/ec2/instance-types/t2/ It has: 20 ...
1
vote
1answer
600 views

What database to choose for 1TB of time series? [closed]

I'm saving about 3GB per day of financial orderbook data to a database (currently Mysql). In the coming weeks, I'm going to save trade and quote (bids/asks) data too. Data is structured, but I'm ...
0
votes
1answer
83 views

What's your data ETL methodology? [closed]

I think this is more like an open question: How do you do the ETL for your company? We are using MySQL as our database management system and we have a production schema. Every month, when we received ...
0
votes
1answer
489 views

Master slave replication with different mysql version is on both slave and master

Currently, we have MySQL master-slave replication. Both master and slave servers have Mysql 5.5 Currently I need to add one more Master server having version 5.7. Is it possible to add Multiple ...
1
vote
1answer
572 views

MongoDB deployment across cloud and On Premises

We are planning to implement MongoDB as a stretch cluster which includes Primary secondary in DC 1, Secondary secondary in DC 2, Arbiter in cloud(DC 3) where DC 1 and DC 2 are on premise servers and ...
11
votes
1answer
12k views

Best way to pg_dump PostgreSQL on RDS to S3

I need to dump my PostgreSQL on RDS to a file on S3 periodically (to use it elsewhere than AWS). Is there a better way than running a script that runs pg_dump and uploads results to S3 using e.g. ...
1
vote
1answer
720 views

Recommended innodb_file_per_table value for AWS MySQL RDS database

We have the following scenario: Our databases are hosted on AWS MySQL 5.6, and we are planning the following migration: we currently have 10 distinct instances with about 50 databases split between ...
1
vote
1answer
3k views

What is the optimal setting for innodb_buffer_pool_instances for a mid level AWS RDS server with 6gb buffer pool?

We have a MySQL 5.7 AWS RDS instance running on a db.m4.large instance. The basic resources for that instance type are: 7.5gb RAM 2 VCPU RDS defaults to a calculation that allocates 75% of RAM to ...
0
votes
1answer
216 views

Cannot Create or Drop User in MySQL Workbench [closed]

OK. I have set up a new MySQL Server in AWS Ubuntu EC2 and migrate databases from the RDS. After importing the tables, stored procedures and functions into the new server, I encountered the attached ...
6
votes
1answer
8k views

Cannot remotely access PostgreSQL on EC2 instance

I was unable to access a remote AWS postgres database via things like psql -h *EC2ExternalIP* -U *me*. I would get: psql -h *EC2ExternalIP* -U *me* psql: could not connect to server: Operation timed ...
1
vote
1answer
27 views

Backup weekly current production db to Historical db server [closed]

I have a production sql db of 600gb and a historical server where i move the full db every month. Now we want to have only the last 3 months information on the production server, and move every week ...
2
votes
0answers
439 views

AWS RDS PostgreSQL - Managing Permissions

Relatively new to AWS RDS PostgreSQL environment. We are creating a database with multiple schemas. Users are grouped by "schema_role" that have privileges to create objects in assigned schemas. My ...
0
votes
2answers
683 views

Redshift table level security

I have a common scenario where I need to drop and create an Amazon Redshift table or view (more often with views). There are situations where an ALTER is not going to work, which would preserve ...
3
votes
1answer
3k views

PostgreSQL - can I use logical replication from a replica's WAL?

I would like to use logical replication. However, as PostgreSQL works now, it can eat up the whole disk and then block the database. Especially in Amazon Web Services RDS, this is a problem because ...
1
vote
0answers
162 views

Domain Independent Cluster on AWS

I am trying to work out whether it's possible to create a Domain Independent Workgroup Cluster in AWS (on Windows Server 2016 for use with SQL 2017 Availability Groups). This environment also has no ...
0
votes
1answer
42 views

One SQL Server RDS instance plus one Ubuntu instance cost money on my initial free trial year [closed]

Why do I get charged when I only have one micro instance running as Ubuntu and another one a RDS. Does the extra RDS count as a separate instance? My RDS is Microsoft SQL Server exchange which should ...
2
votes
1answer
356 views

Replication from Amazon's RDS to Postgres via DMS errors out

I have a transactional replication from SQL Server 2008 to RDS SQL Server 2016 in 2014 compatibility mode. This works okay. I now want to replicate this RDS database via DMS to Postgresql. This errors ...
3
votes
1answer
2k views

How to install cstore_fdw inside RDS postgres 9.6

cstore_fdw is foreign data wrapper for columnar storage for postgresql. I want to install it inside RDS postgre 9.6 instance. Is it possible to install inside RDS instance? Thanks
1
vote
1answer
265 views

Can PAGELATCH Waits cause increase in SOS_SCHEDULER_YIELD wait in SQL Server?

We have a high concurrency web server application on which we have some amount of PAGELATCH_UP & PAGELATCH_SH Waits due to tempdb contention. But recently we have noticed the SOS_SCHEDULER_YIELD ...
2
votes
1answer
1k views

I/O errors backing up to an SMB Share from MSSQL Server 2014

I'm having some issues with SQL backups which are being written to an SMB share on a AWS Storage Gateway Appliance from an EC2 SQL Server. I'm consistently getting the same error in the SQL Event log ...
0
votes
0answers
347 views

Wal-e : " pg_stop_backup still waiting for all required WAL segments to be archived"

I've been trying to use wal-e to take incremental backup of my postgresql database by following this blog. I've a database on my postgresql and using an AWS S3 bucket. while I'm using the following ...
1
vote
1answer
617 views

Are read replicas heavy reading in affect masterDB?

We have a very heavy load in Read side with large DB tables in 2 hours per day that affect to Db so as solutions I have created read replica for it. If application fetches large heavy data on read ...
1
vote
0answers
186 views

How to connect to a SQL Server from another computer using SSMS with only hostname?

I set up a VM server computer on AWS EC2 and got a SQL Express Server running on it on port 1433. I made sure to allow TCP/IP requests and allowed TCP port 1433 through the firewall along with UDP ...
1
vote
3answers
866 views

Significantly Slower DB Dumps on AWS RDS After Turning on Encryption?

Turning on encryption on an AWS RDS MySQL instance results in significantly slower database dumps (using mysqldump). mysqldump -u test -p -h xxx.aws.com > dump.sql Is there a reason for ...
0
votes
0answers
30 views

Database for storing frequency of access token usage

I would like to create a database to store how often access tokens in my system are being used. I was thinking of a data model like so - Access Token from (basically I will store this hourly, so ...
0
votes
1answer
771 views

Mongodb Cross-region failover replication aws

I have deployed 3 MongoDB nodes(node-1, node-2, node-3) in AWS. The first two nodes (node-1, node-2) are deployed in Virginia region and the third node(node-3) is deployed in Oregon region and enabled ...
1
vote
1answer
152 views

AWS VS Azure , which one is preferable for SQL Server 2012 standard version? [closed]

I want few recommendations while considering azure vs aws for our current database which is SQL Server 2012 standard edition. Currently we are using AWS RDS for managing our database, recently we had ...
4
votes
1answer
2k views

Queries running very slowly in Amazon RDS PostgreSQL read-replica

We have been maintaining a project which has both web and mobile application platform. The backend of the project is developed in Django 1.10 and deployed in AWS. At the beginning, when there were ...
-1
votes
1answer
29 views

How to backup documents to s3 in a particular collection older than specific dates in a mongodb collection where timeseries data are stored? [closed]

I have mongodb database. I have a collection in that stores time series data, time values are stored as ISODate. Older than few days are not required on database, but required to be backed up in aws ...
4
votes
2answers
701 views

Postgres "session variables" kludge on AWS RDS

I am trying to migrate a PostgreSQL database to AWS RDS. The problem I ran into was that the database in question makes extensive use of the SET kludge.variable TO 'foo' hack, that is, it uses the ...
1
vote
1answer
108 views

Unable to see measurements in influxdb

I am new to influxdb and I am having this trouble to show measurements. Our setup is that prometheus(aws ec2) is writing data to Influxdb(aws ec2). When I execute 'SHOW MEASUREMENT' I cannot see ...
2
votes
1answer
215 views

MongoDB write lock every n seconds during data import

I am experiencing an issue with a data import in a sharded cluster and I'd like some help to investigate and maybe find where the bottleneck is in my cluster. So I'm hosting a sharded cluster (3 ...
1
vote
0answers
65 views

Mongodb secondary going down

I have a problem with my secondary, which is constantly going down, in normal replica set (primary, secondary, arbiter). What I saw while investigating that there is one long lasting operation in ...
1
vote
1answer
41 views

Guideline for MySQL free space

What is the guideline for how much free space to keep available on a MySQL AWS RDS instance (SSD)? In the past for an on-premises SQL Server install we used to use something like 2x the largest table ...
1
vote
1answer
817 views

After adding indexes to an AWS RDS MySQL DB getting huge/crippling spikes in IOPS

So after looking at the production database, I realised that several queries were running utilizing no indexes at all, and as such, were row-scanning close to 4 million rows. :/ I added the required ...
0
votes
1answer
689 views

Unable to conditionally commit/rollback transaction

I am trying to create a reuable SQL script that I can run that will guard against unintentional db changes based on the expected number of affected rows (not looking to create a sproc/func at this ...
1
vote
1answer
1k views

Making a new database onto existing AWS RDS instance

I know that we can create multiple databases on a single AWS RDS instance. I have an existing MySQL instance and was wondering what steps are required to create an additional database on that server? ...
0
votes
1answer
661 views

Do I need to perform db.fsyncLock() when running a replica set without journal enabled

I'm running MongoDB 3.2.9 with WiredTiger on 3 EC2 instances. When backing up the database volumes using elastic block store snapshots, do I need to perform db.fsyncLock() when running a 3 node ...
0
votes
0answers
623 views

Once daily AWS Postgres CPU spike caused by mysterious "OS processes"

We've been experiencing huge CPU usage spikes on our Postgres 9.6 AWS RDS so the point we've had to upgrade to a cost prohibitive instance just to handle these once daily spikes. This spike always ...
4
votes
1answer
6k views

How to enable force ssl on AWS Aurora Postgres?

In AWS's direct postgres offering RDS Postgres, you can require SSL by setting the parameter group item rds.force_ssl to 1. This is as per the RDS postgres documentation: https://docs.aws.amazon.com/...
0
votes
1answer
625 views

Mongodb 3.6.3 disappears after 2 weeks on centos 7 ec2 instance

My Mongodb has disappeared 2 times, after 2 weeks, over the weekend within a 4 week time period. I had a snapshot to recover from but I can't keep on recovering my db every 2 weeks. In an ec2 ...

1 2 3
4
5
9