Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/homaneeg/public_html/textpattern/lib/constants.php on line 136
homan.ee - databases Erwin's Blog tag:homan.ee,2005:852e2b43ac6f08113cd04ab7bed92889/databases Textpattern 2019-09-23T11:49:16Z Erwin Homan https://homan.ee/ Erwin Homan 2017-10-17T14:50:21Z 2017-10-17T14:51:23Z SQL - Berekening datum van de eerste dag van de week (ISO 8601) tag:homan.ee,2017-10-17:852e2b43ac6f08113cd04ab7bed92889/17c757d36405e230a6945599672f056d Berekeningen met datum-waarden in selecties op de database zijn lastig. Voor aggregatie naar weeknummers, waren we op zoek naar een manier om de datum van de eerste dag van de week te berekenen, uitgaande van een willekeurige datum en op basis van ISO 8601 weeknummers.

]]>
Erwin Homan 2017-10-17T14:37:01Z 2017-10-17T14:51:11Z SQL - Calculation of the date of the first day of the week (ISO 8601) tag:homan.ee,2017-10-17:852e2b43ac6f08113cd04ab7bed92889/243bf878796154668c76ec6be34e7e9f Calculations involving dates in database selections can cause headaches. For aggregation into “week buckets”, we were looking for a way to calculate the date of the first day of the week, given an arbitrary date and using the ISO 8601 definiton of a week.

]]>
Erwin Homan 2017-01-21T20:48:05Z 2017-01-21T20:49:42Z De delta-stores van SAP HANA tag:homan.ee,2017-01-21:852e2b43ac6f08113cd04ab7bed92889/bad34181c29aeda7b8b4f3a951b99a13 Om de doorlooptijd van de muterende statements niet te veel te beinvloeden, wordt het bijwerken van rij- en kolom-versies door SAP HANA niet direct gedaan tijdens het uitvoeren van het muterende statement. Iedere mutatie op de inhoud van een tabel wordt in eerste instantie in een delta-store voor de betreffende tabel vastgelegd, en wordt pas later volledig verwerkt. Een gevolg is, dat voor simpele operaties op de gegevens, verschillende administraties moeten worden geraadpleegd.

]]>
Erwin Homan 2017-01-21T20:46:55Z 2017-01-21T20:49:55Z The SAP HANA delta-stores tag:homan.ee,2017-01-21:852e2b43ac6f08113cd04ab7bed92889/fc1d91ae1f7fabffca7c036574f8b520 In order to avoid impacting the run time of data changing operations too much, SAP HANA does not immediately update the row and column versions of a columnar tabular upon posting the changes. Every change to the table’s content is initially saved to a delta-store for that table, to be processed at a later moment. A consequence is that, for simple operations on the data, different administrations have to be read.

]]>
Erwin Homan 2017-01-14T15:39:47Z 2017-01-14T20:32:12Z Column oriented storage in SAP HANA tag:homan.ee,2017-01-14:852e2b43ac6f08113cd04ab7bed92889/d4a29de40ed6c9ca254e107633954293 All column oriented tables are also made available in row oriented form by SAP HANA. This makes it possible to choose the best way to access the data: via the row store or the column store. Changes to the data require extra work to update both the row and the column store.

]]>