From Newsgroup: comp.databases.theory
Nicola
On Monday, 14 June 2021 at 14:35:13 UTC+10, Derek Ignatius Asirvadem wrote:
On Monday, 14 June 2021 at 01:13:54 UTC+10, Nicola wrote:
I'd like to do some benchmarks.
Great idea. Excellent ...
*Benchmark* strongly implies an ability to monitor the server, all metrics that pertain to performance (in general), and the particular metrics that pertain to the particular benchmark. Freeware has no such thing, so you will be working in the dark, with little idea re what is happening under the covers.
For contrast, take a glimpse of what is available in commercial SQLs.
0. Monitoring products
Additional licence fee, not shown. Feel free to search the internet.
There are quite a few.
0.a
Bradmark is probably the best of breed. Great graphical representation with drill-down, etc. Note that we have had these for thirty years, ten years before the open source anti-market produced you-get-what-you-pay-for rCLdatabase systemsrCY.
__
https://www.bradmark.com/products/survSybaseASE.html
AFAIK, none of the players provide support for freeware. This is not to say that there is not a market (there is, there are suckers born every minute). The reason is, there is nothing, no performance stats produced, to monitor. Worse, whatever does exist, keeps changing with every major version. Just think about how rCLtransactionrCY and rCLtransactionalrCY issues have changed in the last ten years, and we are still nowhere near ACID.
0.b
Sybase used to have a full-blown Monitor Server, that sat on the same box as the DB server. Heavy duty like you would not believe. Perfect for benchmarks. Slowly made obsolete as 3P products gained market share.
1. Raw Stats: text, various forms. Free.
Voluminous, not shown. Can be ascertained from the following [which are summaries].
Generally two types:
1.a
Internal counters, reported as requested (eg. 24 x 60 mins), zero overhead. This has been available from the beginning, and this is what I use to produce [2].
1.b
Monitoring & Diagnostic Access. A database in the server, that collects [1.a] and exposes them as Relational tables. Overhead is 5-15% depending on what is collected (configurable). Eg. collection of execuing SQL can be heavy.
2. Raw Stats Formatted, especially for various types of comparison.
__ https://www.softwaregems.com.au/Documents/Article/Sysmon%20Processor/Sysmon%20Processor%20Eg%20Date%20Delta.pdf
I have given mine for comparison. Do you have a link or reference for monitoring PusGres ?
rCLDltrCY is the delta, between that column-of-stats and the first column-of-stats, as a percentage, with {-|+|x}.
For a quick overview, just scan that column: existence of a double-digit value means the metric is worth examination; positive/negative is good/bad thing, depending on the metric of course.
rCLSelectionrCY
At the top of the page. These are selected rCLKey Performance IndicatorsrCY or an executive summary.
Note that the load is identical (two Mondays chosen to ensure that). But the activity within the server is quite different. The first column shows the activity due to the SAN fault, the second shows the activity after the correction:
__ Read Locks reduced by 91%
__ Server/Context Switch reduced by 21%
__ Unix/Context Switch reduced by 24%
__ and of course far less CPU usage, at both levels
For freeware & Oracle, due to not having a Server Architecture, and instead deploying hundreds or thousands of programs running on Unix, the first avenue of rCLperformance monitoringrCY and even rCLproblem diagnosisrCY, is via Unix monitoring:
-- top
-- vmstat
rCLHost SystemrCY
The unix/vmstat metrics are at the bottom of the page.
Sybase is a dedicated server, meaning that it is designed for tight integration (even binding) with the o/s and hardware, and nothing else should be run on the box. This box additionally hosts runs a small MySQL and a few other small things, and the degree to which they allow me (Level 3 support) to tightly integrate with the o/s is limited. Point being, performance is reasonable, but nowhere near best possible for the box. Eg. I can improve throughput significantly, and of course I would cancel the Monitor db.
rCLSelectionrCY
At the top of the page. These are selected rCLKey Performance IndicatorsrCY or an executive summary.
rCLEnginerCY is a single Unix Process. The Sybase ASE server comprises a grand total of FOUR Engines in this instance, and serves hundreds of active connections (doctors; nurses; medical images; client histories; etc). In contrast, freeware and Oracle would have hundreds of Unix Processes and no concept of Engine.
For those who labour over performance tuning of Oracle or PusGres, because it lacks a genuine Architecture diagram, here it is. Please donrCOt say that I only help the top end, that I donrCOt help the bottom-feeders. They are identical, just substitute the Oracle component names with the PusGres equivalents:
__
https://www.softwaregems.com.au/Documents/Article/Oracle%20Circus/Oracle%20vs%20Sybase.pdf
Cheers
Derek
--- Synchronet 3.21d-Linux NewsLink 1.2