증분이 필요합니까? UUID를 사용할 수 없습니까?
왜 dim_table이 필요한지 알 수 없습니다.
당신이 스타 스키마를 수행하는 경우, 이것은 당신이 테이블이 당신의 크기에 대한 UUID를 생성하여 치수를 채울 때
Fact_table
----------
time_id character(36)
geographic_id character(36)
measure whatyouwant
Dim Time
--------
time_id character(36) (That matches the time_id inside your fact table)
...
...
Dim Geogrphic
-------------
geographic_id character(36) (that matches the geographic_id inside your fact_Table)
....
....
를 작동 할 수있는 방법입니다. 사실 테이블을 필렛 할 때 차원 테이블을 조회하여이 값과 관련된 uuid를 가져올 수 있습니다.
편집 : 나는, 치수는 사실 전에로드되는 표준 스타 스키마에서 당신에게 http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html
갑자기 '23131'은 무엇입니까? :) – Konerak