your request. ✲ Introduced in 1.2 ✲ Useful for understanding behavior of your data →Which nodes are involved? →What happens? →How long do certain events take? ✲ Can be enabled on a per request basis or probabilistically 2
# configures 1% of requests to be traced. ambpro:bin atolber$ ./nodetool settraceprobability 0.01 3 ✲ sessions are logged to the system_traces.sessions and events table and last for 24 hours. ✲ Use sparingly, each request will probably create at least 10 events.
player batting statistics from 1871-2013. ✲ 97899 rows. ✲ Want to be able to query by player, team, and year. ✲ Choices are to create indices on team and year, or to create separate tables ‘batting_by_team’ and ‘batting_by_year’. ✲ Tradeoffs are on data duplication & more write traffic vs. worse read performance →but how much worse is the read performance and why? 10