Amazon Aurora | Manageability Flashcards

1
Q

Can I use Amazon Aurora with applications that require HIPAA compliance?

Manageability

Amazon Aurora | Database

A

Yes, the MySQL- and PostgreSQL-compatible editions of Aurora are HIPAA-eligible, so you can use them to build HIPAA-compliant applications and store healthcare related information, including protected health information (PHI) under an executed Business Associate Agreement (BAA) with AWS. If you already have an executed BAA, no action is necessary to begin using these services in the account(s) covered by your BAA. If you do not have an executed BAA with AWS, or have any other questions about HIPAA-compliant applications on AWS, please contact us.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

On which instance sizes will Performance Insights be available?

Manageability

Amazon Aurora | Database

A

All non-micro instance sizes. As RDS introduces new instance sizes, Performance Insights will be made available on those that have sufficient performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When will Performance Insights be available for RDS for PostgreSQL, Aurora MySQL, RDS for MySQL, RDS for Oracle, RDS for SQL Server and RDS for MariaDB?

Manageability

Amazon Aurora | Database

A

Performance Insights will be initially available on Aurora PostgreSQL, followed soon after by Aurora MySQL. Additional engines will be added over time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does Performance Insights show me the cause of performance problems?

Manageability

Amazon Aurora | Database

A

Performance problems appear in the Performance Insights section of the RDS console as spikes in the database load graph. One look at this graph can quickly tell you what type of resources your application has been spending time and resources on in the database. The console allows you to zoom in to any period within the retention time. By selecting the periods of high load, customers can display a list of SQL statements, ordered by overall contribution to load.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does Performance Insights know about load in my RDS DB instance?

Manageability

Amazon Aurora | Database

A

Performance Insights samples the state of all of the connected sessions in your DB instance every second. If a session is spending time in a database-related operation, Performance Insights records the sample time, the type of operation (I/O, CPU, locking, etc.), the current SQL statement and several other session attributes. Over periods of time, this sampled data is used to characterize how sessions are contributing to load in your database instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can performance data be queried from inside the RDS instance?

Manageability

Amazon Aurora | Database

A

No. The Performance Insights sampling process does not populate any tables in the database, nor does it present data to be retrieved from within the database via SQL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can I see what is happening on my instance in real time?

Manageability

Amazon Aurora | Database

A

Yes. By default, Performance Insights displays a moving one hour window of performance data. The feature is designed to present the latest performance information within a few seconds of real time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How much does Performance Insights cost?

Manageability

Amazon Aurora | Database

A

Performance Insights includes 24 hours of retained data and console access. Performance Insights while in preview, offers a free tier that includes a trailing 24 hours of performance data retention. Pricing for longer term data rentention will be announced.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How far back can I look at performance data stored in Performance Insights?

Manageability

Amazon Aurora | Database

A

You can see 24 hours of performance history. Options for longer retention will be announced at a future date.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Can I turn off Performance Insights on new instances, even though it is enabled by default?

Manageability

Amazon Aurora | Database

A

Yes. The option for Performance Insights is selected by default in the AWS Console when you use the instance creation wizard. You can de-select the option in the wizard to prevent Performance Insights from being enabled, or you can disable Performance Insights in an enabled instance my modifying the instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Does Performance Insights work on RDS database instances using encrypted storage?

Manageability

Amazon Aurora | Database

A

Yes. Performance Insights does not read the data you store in your database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is DB load and why is it the primary measure used in Performance Insights to detect performance issues?

Manageability

Amazon Aurora | Database

A

DB load is a time series showing how much time a customer’s applications are spending in the database, and how they are spending that time. DB Load is measured in units of average active sessions (AAS). An active session is a connection (session) that has submitted work to the database engine and is waiting for a response from it. For example, if you submit a SQL statement to a database instance, that session is considered “active” during the time that the instance is processing that query. By counting the number of sessions that are active in an instance at a given moment, we can provide a metric which, averaged over time periods, can show how busy an instance is, and how much time sessions are spending waiting for the instance to respond; this is DB Load. Performance Insights counts active sessions and records each session’s attributes about every second using a lightweight sampling mechanism. The sampled data is encrypted and aggregated to a variety of granularities and served in the DB Load chart. Console users can select the timeframe they want to view.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Do I have to do anything special to my database to enable Performance Insights?

Manageability

Amazon Aurora | Database

A

No. However, Performance Insights will work even better on some database engines when additional performance tracking is enabled. For instance, when the pg_stat_statement extension is enabled on RDS PostgreSQL or Aurora PostgreSQL, Performance Insights will use the PostgreSQL-native SQL identifier to identify the statement, and will be able to collect the full text of longer statements. In MySQL, enabling the Performance Schema will allow Performance Insights to collect much richer and deeper detail on wait events affecting the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Will enabling Performance Insights affect my database performance?

Manageability

Amazon Aurora | Database

A

The Performance Insights agent is designed to stay out of the way of your database workloads. Performance Insights runs at a lower priority than the other processes on your instance, and monitors the health of the host and database. When Performance Insights detects heavy load or depleted resources, it backs off from the usual frequency of data gathering, still collecting data, but only when it is safe to do so. Database options, such as pg_stat_statement in RDS PostgreSQL and Aurora Postgres, and Performance Schema in MySQL may use some database resources and potentially affect performance. Whether enabling these options will affect a particular system depends on the application workload. AWS recommends testing any database options against your workload prior to enabling them on a production system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Should I keep using Enhanced Monitoring or just use Performance Insights?

Manageability

Amazon Aurora | Database

A

Customers using Enhanced Monitoring to monitor O/S metrics should continue to obtain that data via Enhanced Monitoring. In the months to come, that data, as well as an extensive colletion of database metrics, will also become available via the Performance Insights console and an API. At that point, customers will be able to obtain all performance data from Performance Insights. Enhanced Monitoring will remain available for those customers who prefer to use it, but we will encourage customers to standardize their database monitoring on Performance Insights.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Is the data stored in Performance Insights encrypted?

Manageability

Amazon Aurora | Database

A

Yes. Performance Insights encrypts all potentially sensitive data using your own KMS key. Data is encrypted in flight and at rest. AWS personnel cannot access or see any potentially sensitive performance data. Only your users on your AWS account with full access to RDS can view Performance Insights. You can revoke RDS’s grant for your KMS key, which enables us to process and display your performance data, at any time.

17
Q

If I turn off Performance Insights, does AWS retain the data or is it deleted?

Manageability

Amazon Aurora | Database

A

Performance data retention free tier is restricted to one day. Disabling Performance Insights on an instance causes your performance data for that instance to be deleted.

18
Q

What happens to Performance Insights data retention when I stop my RDS database instance?

Manageability

Amazon Aurora | Database

A

Stopping an RDS instance that has Performance Insights enabled has no effect on retention or visibility of historical data for that instance. The period during which the instance was stopped will simply contain no data.

19
Q

How would I interface Performance Insights with my existing performance tools?

Manageability

Amazon Aurora | Database

A

In the future, Performance Insights will expose a publicly available API designed to enable customers and third parties to take advantage of the valuable data in Performance Insights.

20
Q

Is there any way for third party performance tools to integrate with Performance Insights?

Manageability

Amazon Aurora | Database

A

In the future, Performance Insights will expose a publicly available API designed to enable customers and third parties to take advantage of the valuable data in Performance Insights.

21
Q

Will Performance Insights be available in all AWS Regions RDS is?

Manageability

Amazon Aurora | Database

A

Yes. Performance Insights will initially be available in four regions: US East (N. Virginia, Ohio), US West (Oregon), and EU (Ireland). Over time, the feature will be made available in all reguions where RDS is supported.

22
Q

Can I turn on Performance Insights on existing instances or only on new ones?

Manageability

Amazon Aurora | Database

A

Yes, Performance Insights can be enabled on existing instances by modifying the instance to enable Performance Insights. It can be enabled on new instances by specifying that Performance Insights should be enabled when creating the instance.

23
Q

Does Performance Insights use any of the storage on my database instance?

Manageability

Amazon Aurora | Database

A

No, Performance Insights does not consume storage space on your RDS instances.

24
Q

How will Performance Insights be different, if at all, when running against different database engines?

Manageability

Amazon Aurora | Database

A

Performance Insights is designed to present a common approach, look and feel to tuning across all database engines in RDS. Because certain attributes like wait events and SQL identifiers vary by engine type, these will naturally vary in Performance Insights as well, when working with different database engines. One of the core tenets of Performance Insights is that existing concepts, identifiers, and attributes in a database engine should remain intact. Performance Insights will generally not re-interpret or rename wait events an other engine-specific attributes, but will present them faithfully as reported by the database engine.

25
Q

Does Performance Insights work on Multi-AZ instances and Read Replica instances?

Manageability

Amazon Aurora | Database

A

Yes. If an RDS database uses Multi-AZ and has Performance Insights enabled, then Performance Insights will remain enabled when and if that instance fails over to the other availability zone. Because Read Replicas are independent instances, customers can either enable or disable Performance Insights on those instances.

26
Q

Can I export my data from Performance Insights?

Manageability

Amazon Aurora | Database

A

In the future, Performance Insights will be adding functionality to export data.