For my science project, I am developing (in C # 4 and T-SQL) an application that is potentially designed to handle very large numbers of very simple records that perform simple operations with them (a scientific modeling mechanism rather than linear time-series cruncher). I would like to use 64-bit integers as primary keys for better capacity.
I am going to integrate using Entity Framework, POCO collections and T-SQL arrays and stored procedures in practice.
I am going to store a database on SQL Server 2008 and access it from several application instances at the same time for distributed processing.
SQL Server and application instances will run on 32-bit Windows XP systems, sometimes on completely 64-bit inattentive hardware.
What penalties will I face for using 64-bit integer types as primary keys?
source
share