Since the guns were first distributed in the city in April 1989, police officers have fired them 30 times, most recently on Friday. In that incident, Officer Mathews Bjelobrkm, 24, of the Midtown North Precinct, fired two shots from a Glock, wounding a suspect in an attempted robbery. The police said the first shot ricocheted off a door frame and struck the suspect in the shoulder; the second shot hit the suspect's bulletproof vest.

In 1990, four people were killed and six wounded by police officers using 9-millimeters. In 1991, three people were wounded in police shootings involving 9-millimeters. Statistics were not available for 1989 or 1992.

Inspector Michael Julian of the department's Office of Management Analysis and Planning said the fears of officers that they are in increasing danger from more powerfully armed criminals are more psychological than real. During the 14-year period between 1970 and 1983, he said, an average of more than four police officers were killed in the line of duty each year. In the last seven years, 17 officers have been killed, he said. Nine Incidents Last Year

Last year, there were nine incidents in which criminals fired more than six bullets at police, he said, and only two confrontations during which officers had to reload their weapons. Inspector Julian added that there was only one occasion last year when officers were fired upon with an automatic weapon, an Uzi machine gun.

If the police are forced by the legislature to permit use of a semiautomatic weapon, department officials still have the authority to designate a brand, or several brands, from which officers may choose. Despite its lengthy testing by the New York Police Department, Glock will not necessarily be among the brands designated, said Inspector Julian.

Even if the legislation passes, general use of the semiautomatics is not likely, at least not for a while, he added. New York police officers pay for their own guns and many may be reluctant to purchase the pistols, which can cost more than $500.

"The ones who are willing to buy the 9-millimeter semiautomatics are the kids in the academy who don't have a gun yet," said Inspector Julian. "The people who will have it are the youngest and most immature people in the Police Department." Several Bullets at Once