W dniu 22.04.2020 o 22:04, Phil Smith III pisze:
I sure hope someone got a big bonus for saving that byte...
Oy. Did not mean to cause a firestorm over this. Sure, it can add up; but a big database
back then was what, 10M rows? So saving one byte was 10MB, not nothing, but still only 5%
of a 3330. At some point, the cost of folks' time and the extra CPU involved also becomes
significant. And dealing with it now is going to cost even more. So my comment was meant
just to be rueful, as in, "It might have made sense at the time, and now we're
really sorry; c'est la guerre."
It wasn't single byte per record in single table! It was (it *IS*)
element of some culture - to avoid dummy characters.
How many? It depends. For well constructed record the room for savings
is zero or close to zero.
For PFCSK ever date contains separators (2020-04-22 14:55:12), fields
are separated by blank etc.
It can be few bytes per EVERY RECORD IN almost EVERY TABLE. The example
above - at least 5 bytes in date, let's assume also 6 bytes for field
separation, 4 another junk and LRECL=400. We have 400 vs 385. 3.75% Is
it huge difference? For current storage prices (2M assumed) it will be
$37,500.
This is the cost of 5 minutes thinking.
Add improper blocksize, redundant datasets, lack of compression, poor
migration policy, etc.
--
Radoslaw Skorupka
Lodz, Poland
======================================================================
Jeśli nie jesteś adresatem tej wiadomości:
- powiadom nas o tym w mailu zwrotnym (dziękujemy!),
- usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś
na dysku).
Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać
tylko adresat.Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza)
tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać
karze.
mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950
Warszawa,www.mBank.pl, e-mail: [email protected]. Sąd Rejonowy dla m. st.
Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 0000025237,
NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na
01.01.2020 r. wynosi 169.401.468 złotych.
If you are not the addressee of this message:
- let us know by replying to this e-mail (thank you!),
- delete this message permanently (including all the copies which you have
printed out or saved).
This message may contain legally protected information, which may be used
exclusively by the addressee.Please be reminded that anyone who disseminates
(copies, distributes) this message or takes any similar action, violates the
law and may be penalised.
mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950
Warszawa,www.mBank.pl, e-mail: [email protected]. District Court for the Capital
City of Warsaw, 12th Commercial Division of the National Court Register, KRS
0000025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN
169.401.468 as at 1 January 2020.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN