I have a table with two varchar columns (Max)
Column 1 Column 2
-----------------------
URLRewitten OriginalURL
its part of my url rewriting for asp.net website.
when url arrives. I check to see if it is in the table, if I use OriginalURL.
My question is: if all I do is query the table for the URLs and no other table in the database ever links to this table, do I need a dedicated primary key field? how is the auto number? will this make queries faster?
and also how to make the request work faster?
Edit: I have a unique restriction on URLRewitten.
Edit: how do I use this table.
- Query when a new query appears .. Search URLRewitten to search OriginalURL
- , OriginalURL, URL- URL-, .
- URL- , .
thats , .. .
.