Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.oracle    |    Overblown overpriced overengineered SHIT    |    2,288 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 612 of 2,288    |
|    mcstock to Sanjay Minni    |
|    Re: optimum datatype for primary key col    |
|    30 Oct 03 09:28:58    |
      From: mcstock@enquery.com              Sanjay,              You're focusing much to much attention on what really is a non-issue. For       many years, any type of NUMBER datatype has been the recommended datatype       for PKs. Overhead of NUMBER(10) vs NUMBER vs NUMBER(10,0) etc, etc. is in       reality not relevant.              What has a far greater impact on performance are 1) poorly written PL/SQL       (typically excessive loops that spawn excessive recursive SQL). 2)poorly       indexed tables and 3) poorly written SQL (partial joins, joins to multiple       tables rather than natural PK/FK joins, columns wrapped in expressions).              Use NUMBER datatypes, constrain them if you like, and move on to some more       important issues.              -- MCS              "Sanjay Minni" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca