Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorials/hana-cloud-ecn/hana-cloud-ecn.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---

Check warning on line 1 in tutorials/hana-cloud-ecn/hana-cloud-ecn.md

View workflow job for this annotation

GitHub Actions / checks / checks

content/body-no-steps

No step headings found (expected at least one '## ' heading that is not 'You will learn' or 'Prerequisites')
parser: v2
author_name: Dan van Leeuwen
author_profile: https://github.com/danielva
auto_validation: true
time: 45
tags: software-product>sap-hana-cloud, software-product>sap-hana-cloud, software-product-function>sap-hana-cloud--sap-hana-database,tutorial>license]
tags: [tutorial>intermediate, software-product-function>sap-hana-cloud--sap-hana-database,tutorial>license]
primary_tag: software-product>sap-hana-cloud
---

Expand Down Expand Up @@ -43,7 +43,7 @@

![Usage monitor](usage_monitor.png)

2. The following examples are used for simulation purposes and can create a memory and CPU spike that will be moved to an ECN node. They are intended to be run on a test or trial instance and not a production instance. The size of the spike can be adjusted by increasing or decreasing the number of rows in the table.

Check warning on line 46 in tutorials/hana-cloud-ecn/hana-cloud-ecn.md

View workflow job for this annotation

GitHub Actions / checks / checks

markdown/MD009

Trailing spaces

```SQL
SELECT AVG(CPU) AS "CPU Usage %" FROM M_LOAD_HISTORY_HOST WHERE TIME > ADD_SECONDS(CURRENT_TIMESTAMP, -60); --avg of the past 1 minute
Expand Down Expand Up @@ -134,7 +134,7 @@

![Add ECN](add-ecn.png)

- An ECN can be created or deleted using a CLI. The BTP CLI is shown below but the CF CLI can also be used.

Check warning on line 137 in tutorials/hana-cloud-ecn/hana-cloud-ecn.md

View workflow job for this annotation

GitHub Actions / checks / checks

markdown/MD009

Trailing spaces

- Create a file named **ecn1.json** with the contents below which can be used to create an ECN.

Expand Down Expand Up @@ -649,7 +649,7 @@

![ECN verification 2](ecn_ex2.png)

Notice that this time the table is also located on the ECN.

Check warning on line 652 in tutorials/hana-cloud-ecn/hana-cloud-ecn.md

View workflow job for this annotation

GitHub Actions / checks / checks

markdown/MD009

Trailing spaces

### Remove the workload class and ECN

Expand All @@ -675,7 +675,7 @@
btp.exe get services/instance <instance ID>
```

### Node.js app demonstrating prepared statements and the option routeDirectExecute on statement routing

Check warning on line 678 in tutorials/hana-cloud-ecn/hana-cloud-ecn.md

View workflow job for this annotation

GitHub Actions / checks / checks

markdown/MD009

Trailing spaces

The below Node.js app is used to demonstrate that statements must be prepared first to be routed to an ECN as documented at [Statement Routing](https://help.sap.com/docs/SAP_HANA_CLIENT/f1b440ded6144a54ada97ff95dac7adf/077d30cc847443288d3f0574356de4e7.html).

Expand Down Expand Up @@ -1581,11 +1581,11 @@

- The timeframe duration must not exceed 24 hours

- The timeframe cannot be less than 30 minutes.

Check warning on line 1584 in tutorials/hana-cloud-ecn/hana-cloud-ecn.md

View workflow job for this annotation

GitHub Actions / checks / checks

markdown/MD009

Trailing spaces

- The timeframe must be within the last 14 days

- The timeframe must be 20 minutes later than the current timestamp.

Check warning on line 1588 in tutorials/hana-cloud-ecn/hana-cloud-ecn.md

View workflow job for this annotation

GitHub Actions / checks / checks

markdown/MD009

Trailing spaces

### Knowledge check

Expand Down
Loading