Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/homaneeg/public_html/textpattern/lib/constants.php on line 136 homan.ee - databasesErwin's Blogtag:homan.ee,2005:852e2b43ac6f08113cd04ab7bed92889/databasesTextpattern2019-09-23T11:49:16ZErwin Homanhttps://homan.ee/Erwin Homan2017-10-17T14:50:21Z2017-10-17T14:51:23ZSQL - Berekening datum van de eerste dag van de week (ISO 8601)tag:homan.ee,2017-10-17:852e2b43ac6f08113cd04ab7bed92889/17c757d36405e230a6945599672f056dBerekeningen 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 Homan2017-10-17T14:37:01Z2017-10-17T14:51:11ZSQL - Calculation of the date of the first day of the week (ISO 8601)tag:homan.ee,2017-10-17:852e2b43ac6f08113cd04ab7bed92889/243bf878796154668c76ec6be34e7e9fCalculations 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 Homan2017-01-21T20:48:05Z2017-01-21T20:49:42ZDe delta-stores van SAP HANAtag:homan.ee,2017-01-21:852e2b43ac6f08113cd04ab7bed92889/bad34181c29aeda7b8b4f3a951b99a13Om de doorlooptijd van de muterende statements niet te veel te beinvloeden, wordt het bijwerken van rij- en kolom-versies door SAPHANA 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 Homan2017-01-21T20:46:55Z2017-01-21T20:49:55ZThe SAP HANA delta-storestag:homan.ee,2017-01-21:852e2b43ac6f08113cd04ab7bed92889/fc1d91ae1f7fabffca7c036574f8b520In order to avoid impacting the run time of data changing operations too much, SAPHANA 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 Homan2017-01-14T15:39:47Z2017-01-14T20:32:12ZColumn oriented storage in SAP HANAtag:homan.ee,2017-01-14:852e2b43ac6f08113cd04ab7bed92889/d4a29de40ed6c9ca254e107633954293All column oriented tables are also made available in row oriented form by SAPHANA. 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.]]>