Sparse tables are sometimes used by some functions (for example, SVM) to allow processing of more attributes than the database can support as columns. In other cases, dense tables are used. Often, algorithms perform more efficiently if the input is a dense table.