1. Pickles are prepared usually by addition of excess salt. The salty solution creates a high concentration (hypertonic) in the external medium of the vegetable / fruit which is used for making pickles.
2. Therefore water comes out of the vegatable and it undergoes plasmolysis and begins to shrink.
3. Thus when water content is lost the pickle is able to retain its shelf life for a longer period.