forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PMM-11673-fix-psmdb-configuration: add extra configuration, add defau…
…lt configuration
- Loading branch information
1 parent
a712e59
commit ebb95b8
Showing
6 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...ster/EditDBClusterPage/DBClusterAdvancedOptions/Configurations/Configuration.constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Databases } from 'app/percona/shared/core'; | ||
export const PXCDefailtConfiguration = | ||
'Configuration: [mysqld]\n' + | ||
'wsrep_provider_options="gcache.size=600M"\n' + | ||
"wsrep_trx_fragment_unit='bytes'\n" + | ||
'wsrep_trx_fragment_size=3670018'; | ||
export const PSMDBDefaultConfiguration = ' Configuration: \n' + ' operationProfiling:\n' + ' mode: slowOp'; | ||
|
||
export const DefaultDatabaseConfiguration: Partial<Record<Databases, string>> = { | ||
[Databases.mysql]: PXCDefailtConfiguration, | ||
[Databases.mongodb]: PSMDBDefaultConfiguration, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters