Link-state database building is the last step in the link-state routing process. Each router in the link-state uses the database to build a complete map of the topology and also computes the best path to each destination network. All routers receive LSPs from every other link-state router in the same routing area. These LSPs stores in the link-state database. Each router maintains a separate link state database for every area to which; it belongs in case of more than one area configured in the network. The link state database also referred to as the topological database and routers belong to the same area have the same topological database for the area.
The databases for each area always process separately and link-state calculate; the shortest path separately for each area and the topological database; is flooded throughout the respected area only. The area database build of router links advertisements, network links advertisements; and summary link advertisements included external routes in all non-stub area databases.