LINSSI is a Structured Query Language (SQL) database for HPGe gamma-ray spectrometry. It covers the whole production chain from sample preparation to final analysis results. Static or mobile sampling and measurement and multiple sample types are supported. In addition, each sample can be split or combined any number of times. A sample may be measured multiple times and each measurement multiply analyzed as well. With LINSSI, measurement setups with detectors, shields, attenuators and source geometries can be defined. Full control of calibrations, their histories and tracing of each calibration point back to its corresponding analysis and calibration measurement is supported. LINSSI database and user scripts are available from http://linssi.hut.fi/radphys/linssi.