MySQL Forums
Forum List  »  Performance

Re: Implementing distance matrix 2500 X 2500
Posted by: STARYNKEVITCH Basile
Date: December 13, 2004 02:46PM

Felix John wrote:
> We would like to implement a distance matrix as a web database. (2500 rows X 2500 columns). [....]

Did you consider the more usual way of having a single table with 3 columns: x, y (the two matrix coordinates) and the associated distance d? Of course, you'll need appropriate indexes on x & on y.

Regards.

--
Basile STARYNKEVITCH :::: http://starynkevitch.net/Basile/

Options: ReplyQuote


Subject
Views
Written By
Posted
5026
December 13, 2004 11:06AM
Re: Implementing distance matrix 2500 X 2500
2696
December 13, 2004 02:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.