There are several very interesting petrology databases available on the web.
PetDB: Information System for Geochemical Data of Igneous and Metamorphic Rocks from the Ocean Floor.
British Geological Survey: Mineral and Rock Database Search
geologynet – Rock Database Search:
– Index of online databases