Skip to Content
Bad Data 技術手冊
book

Bad Data 技術手冊

by Q. Ethan McCallum
September 2013
Intermediate to advanced
264 pages
5h
Chinese
GoTop Information, Inc.
Content preview from Bad Data 技術手冊
166
|
第十三章:臥庫表,藏網路
關聯式成本分攤模型
會計師可能會將成本分攤視為一個叫做成本中心的帳戶。成本中心同時擁有收益以及成
本,並且會使用收益減去成本,來看是否獲利。我們需要一個方法來對所有的成本中
心,從成本動因(執行事務時所發生的費用)來追蹤成本。讓我們委婉的將成本動因稱
資產
,希望它們能夠對企業有貢獻進而產生收益。要開始為成本分攤的領域來建置
模型,我們能夠使用從關聯式資料庫而來的實體關係模型(Entity-Relationship Model
ER Model)技巧。在這個領域概念中的實體將會是獨一無二的。關係則捕捉了描述實體
之間連結的性質。請看圖 13-1 中,此情境的 ER 圖。我們會考慮的成本分攤關係有:
一個資產能夠被分配到許多的成本中心上;一個成本中心能夠擁有許多的資產。
一個部門能夠擁有許多的成本中心;一個成本中心能夠屬於許多的部門。
一個資產能夠被分配到許多的部門上;一個部門能夠擁有許多的資產。
一個資產能夠被分配到許多的服務上;一個服務能夠擁有許多的資產。
一個服務能夠被分配到許多的產品上;一個產品能夠使用許多的服務。
一個產品能夠被分配到許多的部門上;一個部門能夠擁有許多的產品。
一個產品能夠被分配到許多的成本中心上;一個成本中心能夠擁有許多的產品。
我們使用了五個實體以及七種用來代表實體間多對多的關係。我們的實體需要一個名稱
以及描述,而我們的分配關係需要一個有效的日期以及百分比來記錄分配的比例。這給
了我們能夠用來解決這個問題的概念性綱要。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

RxJava反应式编程

RxJava反应式编程

Tomasz Nurkiewicz, Ben Christensen
高效能PYTHON程式設計

高效能PYTHON程式設計

Micha Gorelick, Ian Ozsvald
Kubernetes编程

Kubernetes编程

Michael Hausenblas, Stefan Schimanski

Publisher Resources

ISBN: 9789862768952