This might be a silly question but i just want to make this clear. Does it take longer to preform a SQL query if each row has a large amount of data inside of it?
For instance if i’ve like 2000 bytes worth of data stored as an blob (we call the colum “Data”) in a row of a table containing 10 000 rows as a total (all of them similar with the blob size of “Data”) . Will it then take longer to process of an search if i only search for the ID for one row e.g does the server have to like process the whole information stored in each colum of every row it passes by?
In general if your ID column is the primary key on the table (or at least has an index) then a simple query like
will be just as fast no matter the size of the Data column