The database design process for noSQL databases is different from one for relational (SQL) databases.
As we learned noSQL database does not require to have a predefined structure, except of creating a list of databases and the list of collections. Some of the noSQL databases (like MongoDB) allow to define certain rules that will define what should be the structure of the acceptable documents for each collection.
As you may recall, when you need to store multiple data points in a relational database you use multiple records (rows) where each record and then values to describe properties of that record will be placed in the columns. Unlike relational databases, noSQL databases allow two ways of storing multiple values (lists):
The choice between one or another is based on the potential size of the list, size of the records, and the most common operations the database will need to process. The rule of thumb will be if the list changes regularly and each item in the list or complex (an object itself), not very well connected to the other items, or the list is very long, then use one document per record approach. Note, that the size of the document may also be limited (e.g. 15MB for a MongoDB document).
If the list is small, it has with small records, and unlikely change often, then you can make it as a part of one document.
For example, if you have a database of the business transactions, and there could be millions of those transactions recorded per minute, create a new document for each of them with me more efficient choice. In contrary, when you store information about degrees that an employee earned, which will be updated rarely, all degrees can be combined into a list in one employee profile document.
MongoDB also allows to use relational database – like relations, by using a document id as a value in another document.
You may read more about best practices of MongoDB design (Links to an external site.).
Business Case
A car-sharing company decided to use a MongoDB noSQL database to store information about their primary operations, which include recording of all rides, real time car locations, and users. A ride defined as combination of pick-up location, drop-off locations (if the car has been returned), with the associated timestamps of the those events.
Directions
In this assignment, you will propose a database structure for the given business case. It should include the list of collections, and one sample document (in JSON format) for each collection to demonstrate the document structure.
Put the list of the collections with the comments on their role along with the sample documents in JSON format in a single .txt file and submit it.
In: Computer Science
Exercise 10-24
On December 31, 2017, Oriole Inc. has a machine with a book value of $1,297,200. The original cost and related accumulated depreciation at this date are as follows.
| Machine |
$1,794,000 |
|
| Less: Accumulated depreciation |
496,800 |
|
| Book value |
$1,297,200 |
Depreciation is computed at $82,800 per year on a straight-line
basis.
Presented below is a set of independent situations. For each
independent situation, indicate the journal entry to be made to
record the transaction. Make sure that depreciation entries are
made to update the book value of the machine prior to its
disposal.
A fire completely destroys the machine on August 31, 2018. An insurance settlement of $593,400 was received for this casualty. Assume the settlement was received immediately. (Credit account titles are automatically indented when amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)
| Date | Account Titles and Explanation | Debit | Credit |
| August 31, 2018 | |||
| (to record current depreciation) | |||
| August 31, 2018 | |||
| (to record loss of the machine) |
On April 1, 2018, Oriole sold the machine for $1,435,200 to Dwight Yoakam Company. (Credit account titles are automatically indented when amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)
| Date | Account Titles and Explanation | Debit | Credit |
| April 1, 2018 | |||
| (to record current depreciation) | |||
| April 1, 2018 | |||
| (to record sale of the machine) |
On July 31, 2018, the company donated this machine to the Mountain King City Council. The fair value of the machine at the time of the donation was estimated to be $1,518,000. (Credit account titles are automatically indented when amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)
| Date | Account Titles and Explanation | Debit | Credit |
| July 31, 2018 | |||
| (to record current depreciation) | |||
| July 31, 2018 | |||
| (to record donation of the machine) |
ATtached is a list of accounts
Accounts Payable
Accumulated Depreciation-Building
Accumulated Depreciation-Equipment
Accumulated Depreciation-Machinery
Accumulated Depreciation-Trucks
Buildings
Cash
Common Stock
Contribution Expense
Contribution Revenue
Cost of Goods Sold
Depreciation Expense
Direct Labor
Discount on Notes Payable
Equipment
Factory Overhead
Gain on Disposal of Buildings
Gain on Disposal of Equipment
Gain on Disposal of Machinery
Gain on Disposal of Trucks
Gain on Disposal of Plant Assets
Insurance Expense
Interest Expense
Interest Payable
Interest Revenue
Inventory
Land
Land Improvements
Loss on Disposal of Buildings
Loss on Disposal of Equipment
Loss on Disposal of Machinery
Loss on Disposal of Trucks
Machinery
Maintenance and Repairs Expense
Materials
No Entry
Notes Payable
Organization Expense
Paid-in Capital in Excess of Par - Common Stock
Prepaid Insurance
Retained Earnings
Salaries and Wages Expense
Sales Revenue
Trading Securities
Trucks
In: Accounting
Electronic Commerce Act, 2000
In: Operations Management
Digg company is evaluation two projects for next year’s capital budgeting. The after-tax cash flow ($) (including depreciation) are following:
Project A Project B
Year 0 -6000 -17500
Year 1 2000 5600
Year 2 2000 5600
Year 3 2000 5600
Year 4 2000 5600
Year 5 2000 5600
Year 6 4000 9000
If company’s WACC is 13%, find NPV, IRR, Payback and discount payback for each project. If the projects are mutually exclusive what is your recommendation to the company.
In: Finance
Project C0 C1 C2 C3 C4 C5
A -2000 +2000 0 0 0 0
B -3000 +2000 +1000 +2000 +1000 0
C -4000 +0 +2000 +1000 +1000 +3000
1. If the opportunity cost of capital is 12%, which projects have positive NPVs? Which
projects would a firm accept using the NPV rule?
2. Calculate the payback period of each project. Which project(s) would a firm using the
payback rule accept if the cutoff period were three years?
In: Finance
There are two unrelated parts to this question. Part 1 is worth 9 marks and Part 2 is worth 11 marks.
Required:
|
$ |
$ |
|
|
Building |
318,000 |
|
|
Less: Accumulated depreciation |
145,200 |
172,800 |
|
Equipment |
720,000 |
|
|
Less: Accumulated depreciation |
288,000 |
432,000 |
|
Total non-current assets |
604,800 |
During 2019, the following selected transactions occurred:
May 1 Sold equipment that cost $720,000 for $420,000.
June 30 There was an indication that the building could be impaired due to flooding, Prince Ltd calculated the recoverable amount of the building. The net selling price was $155,000 and the value in use was estimated to be $147,000.
Prince Ltd uses straight-line depreciation for buildings and equipment. The building is estimated to have a 40-year useful life and no residual value. The equipment is estimated to have a 10-year useful life and no residual value.
Required
WORKINGS
In: Accounting
For each of the following categories of compounds, indicate the type of liquid chromatography that could be used to separate analytes in that category. (Drag the appropriate chromatography label to the blank next to the category. Only one label applies to each category, but a label may be used more than once).
Seperation Mode Analyte Category
Fm>2000,soluble in octane,size10 nm
Fm>2000, soluble in butanol, size 100 nm
Fm>2000, soluble in water,nonionic,size 10 nm
Fm<2000, soluble in in ethanol
Fm<2000 , soluble in water, ion-paired
Fm<2000, soluble in water, ionic
Choices:
ion -exchange
Bonded-reverse phase
Adsorption
Bonded normal phase
Molecular exculsion
In: Chemistry
In debian and in red hat how would you update a package with file1.1.deb and file1.1.rpm respectively?
Use linux
In: Computer Science
International Economics
Explain how to manage/overcome balance of payments deficit of a country. Give explaination for each method. Put in-text-citations if you have any to support your point.
In: Economics
In: Nursing