![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I design a DB which contains districts of cities. The question: Is it reasonable to store IDs of districts instead of district names, provided that we have hard-coded map from district IDs to district names? Conditions: 1. Disk space is not an issue. 2. Search on districts is not going to be implemented. I'm sure that disk space and ability to quickly search districts mandate to use IDs in place of strings. But that's is not an issue. |
#3
| |||
| |||
|
|
I design a DB which contains districts of cities. The question: Is it reasonable to store IDs of districts instead of district names, provided that we have hard-coded map from district IDs to district names? Conditions: 1. Disk space is not an issue. 2. Search on districts is not going to be implemented. I'm sure that disk space and ability to quickly search districts mandate to use IDs in place of strings. But that's is not an issue. |
#4
| |||
| |||
|
|
I design a DB which contains districts of cities. The question: Is it reasonable to store IDs of districts instead of district names, provided that we have hard-coded map from district IDs to district names? Conditions: 1. Disk space is not an issue. 2. Search on districts is not going to be implemented. I'm sure that disk space and ability to quickly search districts mandate to use IDs in place of strings. But that's is not an issue. |
#5
| |||
| |||
|
|
I design a DB which contains districts of cities. The question: Is it reasonable to store IDs of districts instead of district names, provided that we have hard-coded map from district IDs to district names? Conditions: 1. Disk space is not an issue. 2. Search on districts is not going to be implemented. I'm sure that disk space and ability to quickly search districts mandate to use IDs in place of strings. But that's is not an issue. So, should I? |
#6
| |||
| |||
|
|
I design a DB which contains districts of cities. The question: Is it reasonable to store IDs of districts instead of district names, provided that we have hard-coded map from district IDs to district names? Conditions: 1. Disk space is not an issue. 2. Search on districts is not going to be implemented. I'm sure that disk space and ability to quickly search districts mandate to use IDs in place of strings. But that's is not an issue. So, should I? |
#7
| |||
| |||
|
|
I design a DB which contains districts of cities. The question: Is it reasonable to store IDs of districts instead of district names, provided that we have hard-coded map from district IDs to district names? Conditions: 1. Disk space is not an issue. 2. Search on districts is not going to be implemented. I'm sure that disk space and ability to quickly search districts mandate to use IDs in place of strings. But that's is not an issue. So, should I? |
#8
| |||
| |||
|
|
Your search comment is totally wrong for many DBMS products. Numeric ID keys are NOT significantly faster than text keys. And with the prices and capacities of disc drives nowadays, trying to squeeze disc space is a poor planning approach. |

#9
| |||
| |||
|
|
Your search comment is totally wrong for many DBMS products. Numeric ID keys are NOT significantly faster than text keys. And with the prices and capacities of disc drives nowadays, trying to squeeze disc space is a poor planning approach. |

#10
| |||
| |||
|
|
Your search comment is totally wrong for many DBMS products. Numeric ID keys are NOT significantly faster than text keys. And with the prices and capacities of disc drives nowadays, trying to squeeze disc space is a poor planning approach. |

![]() |
| Thread Tools | |
| Display Modes | |
| |