Delivery Table

This table stores the user IDs and IP addresses of visitors as they view ad banners on the various sections of your site. If a user clicks on an ad banner, this table is used to look up the last-seen creative so that the appropriate clickthrough can be delivered.

For more on why this is done using a heap table (and not using shared memory or other techniques), see Delivery Table Design History.

Column Type Default Extra Comment
IDString char(25)      
CreativeID int(11)      
LastSeen timestamp(14)     This is used by the minutely maintenance script to clean up old entries in the table. This column is not indexed. While indexing it would improve the speed with which the cleanup could be performed, it would slow down insertions and use more space, both of which would outweigh the benefits to the maintenance code.