My aim is to find which point is the most distant point relatively to all the other points.
here is an example of some points:

As i already mentioned, my mission is to find the most faraway point from all the others.
in this case its point A.
the relativeness defined by the radius to the closest point as shown here:

and here it is for all the points

At first i thought to measure the distant from each point to all the other points, but i think maybe there is a better way to solve this problem.
Anyway, my table currently contains 3,000 points and it requires 3,000 * 2,999=8,997,000 measures just to know which point is the most distant from all the others.
This process lasts more that a minute.
Another problem is that during the calculations a new points are being inserted to the DB so i cannot allow this calculation to last more than a second.
If anyone has a good solution for me, it would be very nice
Thanks ahead.
