The Starfleet database was a record of historical data maintained by Starfleet in the mid-22nd century. The database continued to be used during the 24th century by the Federation's Starfleet.
In 2151, Sub-Commander T'Pol ran a check through the Starfleet database and found that Charles Tucker III was the first recorded Human male to become pregnant. (ENT: "Unexpected")
In 2373, Captain Kathryn Janeway searched the classified Starfleet database for information on the Borg to aid in the USS Voyager's trip through their space. (VOY: "Scorpion")