Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Creating a Circular Log/History Table

$
0
0

In MySQL, I was able to leverage a combination Unique Key with the REPLACE statement to create a table that had circular rows of data per user. With this, no user would have more than say 100 rows of logs in the table. Basically, I leveraged the ideas from http://dt.deviantart.com/journal/Build-Your-Own-Circular-Log-with-MySQL-222550965

 

The REPLACE/UPSERT in HANA doesn't use Unique Keys. Does anyone have an example of how a circular log table for multiple users could be created in HANA?


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>