I am wondering if anyone can help me answer this technical question. I have a list of things that can or cannot happen at any given date/time during the course of a year. Let's say there are a million items. To simplify let's say this thing can or cannot happen every half of an hour, 365 days a year. Therefore there are 17,520 possible binary values. I need to query against this in real time to say whether or not something can happen at time x. For obvious reasons it is not efficient to create a table with 17,520 columns.
Can anyone recommend any methods that would allow me to handle such data? Thanks.