<h1>DataTables example <span>Server-side processing</span></h1>
<divclass="info">
<p>There are many ways to get your data into DataTables, and if you are working with seriously large databases, you might want to consider using the server-side options that DataTables provides. With server-side processing enabled, all paging, searching, ordering etc actions that DataTables performs are handed off to a server where an SQL engine (or similar) can perform these actions on the large data set (after all, that's what the database engine is designed for!). As such, each draw of the table will result in a new Ajax request being made to get the required data.</p>
<p>Server-side processing is enabled by setting the <ahref="//datatables.net/reference/option/serverSide"><codeclass="option"title="DataTables initialisation option">serverSide</code></a> option to <code>true</code> and providing an Ajax data source through the <ahref="//datatables.net/reference/option/ajax"><codeclass="option"title="DataTables initialisation option">ajax</code></a> option.</p>
<p>The examples in this section shows server-side processing in use and how it can be customised to suit your needs.</p>
Please refer to the <ahref="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
Additionally, there are a wide range of <ahref="http://www.datatables.net/extensions">extensions</a> and <ahref="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.