You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/deployment/sap-btp/_index.md
-107Lines changed: 0 additions & 107 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,113 +282,6 @@ Click **Next** to continue to the **Runtime** tab. Here, you can **Add**, edit (
282
282
283
283
2. When the application has been started, you are taken to the **Environment Details** page for the selected environment. See [Environment Details](/developerportal/deploy/sap-cloud-platform/environments).
284
284
285
-
## Databases in SAP BTP {#databases}
286
-
287
-
Mendix needs access to a relational database back end and can run using different types of database. For deployment to SAP BTP, you have the choice of PostgreSQL, Hyperscaler Option, or SAP HANA.
288
-
289
-
### Running Mendix on PostgreSQL, Hyperscaler Option {#sap-hyperscaler}
290
-
291
-
{{% alert color="info" %}}
292
-
SAP has removed some of the PostgreSQL databases available in their Marketplace. If you need a PostgreSQL database, you will have to use PostgreSQL, Hyperscaler Option as your database. This requires some extra configuration which is described below. Alternatively, you can use [SAP HANA](#sap-hana).
293
-
{{% /alert %}}
294
-
295
-
Select the **postgresql-db** (PostgreSQL, Hyperscaler Option) database service from the **Available Services**.
Upload a file which contains the configuration for this database. Click **Browse** to select your configuration file. You can use the [SAP Hyperscaler PostgreSQL Configurator](#postgresql-configurator) to help you create the configuration file. For more information, refer to the [Parameters](https://help.sap.com/viewer/b3fe3621fa4a4ed28d7bbe3d6d88f036/Cloud/en-US/0630e03aa45d479eaf806c564dc2447a.html) section of *PostgreSQL on SAP Business Technology Platform, Hyperscaler Option*.
300
-
301
-
During the creation of the environment, the selected PostgreSQL, Hyperscaler Option service is added to your space. When you deploy your app, the app is bound to it.
302
-
303
-
This database service should not be unbound from your environment. For more information on required services, see the [Services Tab](#binding-services) above.
304
-
305
-
#### SAP Hyperscaler PostgreSQL Configurator {#postgresql-configurator}
306
-
307
-
To get help to create the configuration file, click **Configurator**.
308
-
309
-
You can set the required values for your **SAP Hyperscaler PostgreSQL** database. Tooltips describe the values which you need to provide.
There is no validation on the value of the **Source Instance ID** or **Restore Time** you enter for Standard or Premium plans. If you have issues, check that you entered the correct value here.
315
-
{{% /alert %}}
316
-
317
-
Click **Upload Configuration To Service** to automatically apply the generated configuration to the PostgreSQL, Hyperscaler Option database service. Alternatively, click **Download Configuration File** to create the file which you can then use on the **Services** tab to configure your PostgreSQL, Hyperscaler Option database.
318
-
319
-
### Running Mendix on SAP HANA {#sap-hana}
320
-
321
-
{{% alert color="info" %}}
322
-
You can only use SAP HANA as the Mendix database for Mendix V7.23.3 and above.
323
-
324
-
There are also some differences in the way that Mendix can be used with SAP HANA compared to a PostgreSQL, Hyperscaler Option database. For more information, see [SAP HANA – Known Issues](/refguide/saphana/).
325
-
{{% /alert %}}
326
-
327
-
#### SAP HANA Configuration for Full Accounts
328
-
329
-
To run a Mendix application on SAP BTP using SAP HANA as the database, there are two options. Both options need to be set up in the SAP BTP cockpit. You can choose one of the following options:
330
-
331
-
* Provision the SAP HANA DB Service and make it available in your application space.
332
-
* Provision SAP HANA Cloud and make this service available to your application space.
333
-
334
-
Once one of these services is available, you can use the SAP Cloud deployment functions of the Mendix Portal to deploy your app and use the **HANA_SCHEMA** service to bind your application to the provisioned service. The HANA_SCHEMA creates a separate schema on the SAP HANA Database which isolates your application's data from other applications. In this way, the SAP HANA DB/Cloud Service is shared across applications.
335
-
336
-
{{% alert color="warning" %}}
337
-
338
-
* Do not attempt to add the SAP HANA *service* to your app. It is the SAP HANA *schema* which needs to be bound to your app.
339
-
340
-
* Do not use the **Services** tab or the SAP BTP Marketplace to add both a PostgreSQL, Hyperscaler Option database and an SAP HANA schema to your app. If you do this, it is not possible to predict which database your Mendix app will choose to bind.
341
-
{{% /alert %}}
342
-
343
-
If you have issues with your app running on SAP HANA, use the SAP BTP cockpit to investigate. The Mendix Portal does not have information on the status or configuration of the SAP HANA service.
344
-
345
-
#### SAP HANA Configuration for Trial Accounts
346
-
347
-
For new trial accounts, you can bind your Mendix app to a trial SAP HANA database. Choose **hanatrial-securestore** from the drop-down of supported databases.
Some older trial accounts do not include `hanatrial-securestore`. In this case, you can get an error when you try to deploy your Mendix app saying that *provisioning has failed because service hanatrial with plan securestore is not found*.
352
-
353
-
#### SAP HANA Performance Tuning
354
-
355
-
If your SAP HANA database has performance issues, you can improve it by performing the following tuning:
356
-
357
-
1. Obtain the following service binding credentials from the **Environment Variables** of SAP BTP cockpit, or via the CLI:
358
-
359
-
* Host
360
-
* Url
361
-
* Schema
362
-
* Password
363
-
* User
364
-
365
-
1. Go to the [Runtime tab](/developerportal/deploy/sap-cloud-platform/environments/#runtime-tab) of your app environment.
366
-
1. Enter the following unsupported environment variables with the associated values, using the values taken from the service binding credentials:
1. Go to the [General tab](#general-tab) and restart your app to apply the changes.
378
-
379
-
The additional parameters that you added to the URL in the `MXRUNTIME_DatabaseJdbcUrl` set the following tuning parameters:
380
-
381
-
| Parameter | Value |
382
-
| --- | --- |
383
-
| closeHandlesByCleaner | false |
384
-
| deferredPrepare | true |
385
-
| maxLazyDroppedStatements | 100 |
386
-
| nonBlockingIO | false |
387
-
| packetSize | 130000 |
388
-
| statementCacheSize | 500 |
389
-
| timeZonePerObject | false |
390
-
| transactionalLobs | false |
391
-
392
285
## Deleting an App
393
286
394
287
If you are the last person to leave a Mendix app, you can delete the app. However, this does not delete the app or resources on SAP BTP. To leave the app, find it on the [My Apps](https://sprintr.home.mendix.com/link/myapps) page in the Mendix Portal and click **Leave app**.
0 commit comments