Precompression stress, compression index, and swelling index are used for characterizing the compressive behavior of soils, and are essential soil properties for establishing decision support tools to reduce the risk of soil compaction. Because measurements are time-consuming, soil compressive properties are often derived through pedotransfer functions. This study aimed to develop a comprehensive database of soil compressive properties with additional information on basic soil properties, site characteristics, and methodological aspects sourced from peer-reviewed literature, and to develop random forest models for predicting precompression stress using various subsets of the database. Our analysis illustrates that soil compressive properties data primarily originate from a limited number of countries. There is a predominance of precompression stress data, while little data on compression index or recompression index are available. Most precompression stress data were derived from the topsoils of conventionally tilled arable fields, which is not compatible with knowledge that subsoil compaction is a serious problem. The data compilation unveiled considerable variations in soil compression test procedures and methods for calculating precompression stress across different studies, and a concentration of data at soil moisture conditions at or above field capacity. The random forest models exhibited unsatisfactory predictive performance although they performed better than previously developed models. Models showed slight improvement in predictive power when the underlying data were restricted to a specific precompression stress calculation method. Although our database offers broader coverage of precompression stress data than previous studies, the lack of standardization in methodological procedures complicates the development of predictive models based on combined datasets. Methodological standardization and/or functions to translate results between methodologies are needed to ensure consistency and enable data comparison, to develop robust models for precompression stress predictions. Moreover, data across a wider range of soil moisture conditions are needed to characterize soil mechanical properties as a function of soil moisture, similar to soil hydraulic functions, and to develop models to predict the parameters of such soil mechanical functions.