SLD renders lines in which are discontinuous (missing segments)

Description

I am new to geoserver I have downloded osm.xml data and convert it to sql using osm2pgsql and then imported that postgis data to geoserver .When I try to render the roads using xml coded sld it gives discontinuous lines with missing lines segments and tile caching shows an error.
1) osm data
http://download.geofabrik.de/europe/germany/hamburg.html

Environment

geoserver 2.8 java 1.7 postgreSql 9.4

Status

Assignee

Unassigned

Reporter

Darshan Lingegowda

Triage

None

Fix versions

None

Affects versions

Components

Priority

Highest
Configure