Skip to end of metadata
Go to start of metadata

 

Podstawowe informacje

Pakiet: com.suncode.plugin.system.diagnostic.task.DiagnosticTaskForSystemDB

Kategoria: PLUS_SYSTEM_DIAGNOSTIC

Dostępna od wersji: 1.0.0

Opis

Zadanie zaplanowane które testuję wydajność połączeń z Systemową Bazą Danych. Protokoły to JDBC(tworzy dla tego protokołu własną tabele, odpytuje i na końcu ją usuwa), Hiberbate,Shark. Raport z zadania zaplanowanego znajduje się w logach tego zadania. Zadanie można anulować w trakcie działania (anulowanie może chwilę potrwać ze względu na zakończenie wykonywania zapytania do bazy danych).

Wspierane bazy
  • Postgresql
  • MS SQL
  • Oracle
Parametry konfiguracyjne
Nazwa parametruOpisTyp parametruUwagi i ograniczenia
Ilość powtórzeń dla JDBC Create Statement  Liczbowy 

Ilość powtórzeń dla JDBC Prepare Statement 

 Liczbowy 
Ilość powtórzeń dla Hibernate  Liczbowy 
Ilość powtórzeń dla Shark 

.

Liczbowy 
Przykład
Przykład konfiguracji


R A P O R T:

Raport Diagnostic JDBC Create Statement max repeat: 100
Execute query: DROP AND CREATE TABLE "custom_test_table" avg: 5.33 ms
Execute(Insert 1000 rows) INSERT INTO "custom_test_table" avg: 23.25 ms
Execute SELECT * FROM custom_test_table avg: 74.29 ms
Execute: SELECT * FROM "custom_test_table" WHERE Identyfikator BETWEEN 100 AND 200 OR Identyfikator BETWEEN 500 AND 800 avg: 40.02 ms
Execute: SELECT MAX(Identyfikator) FROM "custom_test_table" avg: 8.24 ms
Execute: SELECT Country FROM "custom_test_table" GROUP BY Country avg: 20.69 ms
Execute UPDATE custom_test_table avg: 948.49 ms
Execute query: DROP TABLE "custom_test_table" avg: 1057.0 ms
Time : 113093 ms

Raport Diagnostic JDBC Prepare Statement max repeat: 100
Execute query: DROP AND CREATE TABLE "custom_test_table" avg: 20.91 ms
Execute(Insert 1000 rows) INSERT INTO "custom_test_table" avg: 26.9 ms
Execute SELECT * FROM custom_test_table avg: 74.86 ms
Execute: SELECT * FROM "custom_test_table" WHERE Identyfikator BETWEEN 100 AND 200 OR Identyfikator BETWEEN 500 AND 800 avg: 40.27 ms
Execute: SELECT MAX(Identyfikator) FROM "custom_test_table" avg: 7.74 ms
Execute: SELECT Country FROM "custom_test_table" GROUP BY Country avg: 20.27 ms
Execute UPDATE custom_test_table avg: 950.46 ms
Execute query: DROP TABLE "custom_test_table" avg: 1064.0 ms
Time : 115205 ms

Raport Diagnostic Hiberante max repeat: 100
Call userFinder.getAll avg: 0.69 ms
Call userGroupFinder.getAll avg: 0.28 ms
Call fileFinder.countAll() avg: 9.04 ms
Time : 1000 ms

Raport Diagnostic Shark max repeat: 100
Call activityFinder.findLastActivity avg: 1.62 ms
Call activityService.getActivityContext( processId, activityId ) avg: 0.83 ms
Call processService.getProcessContex( processId ) avg: 0.87 ms
Time : 341 ms
All time : 229639 ms

  • No labels
Write a comment…