为什么请求单位在文件检索之间保持一致?

时间:2018-01-18 18:24:05

标签: azure-cosmosdb

在Azure门户网站查询资源管理器中,我对我的Cosmos DB集合发出以下查询:

SELECT *
FROM c
WHERE 
    c.DocumentType = 'SalesHistory' 
    And c.DateOfSale >= '2017-04-01' And c.DateOfSale < '2017-04-02'

返回的文件如下:

{
    "DocumentType": "SalesHistory",
    "PartitionKey": "Dealer:9091",
    "RowId": 3387010,
    "DateOfSale": "2017-04-01T10:21:00",
    "InvoiceNumber": 732996,
    "Paymode": "CG",
    "CreditCardRowId": 3,
    "Taxable": false,
    "SalesTax": 0,
    "SalesSubTotal": 290.7,
    "Layaway": false,
    "Pending": false,
    "Void": false,
    "CustomerRowId": 139957,
    "CheckNumber": 0,
    "GiftCertificate": "",
    "UserRowId": 5,
    "SalesDetailRowId": 8907353,
    "BoothNumber": "85",
    "BoothMasterRowId": 2593,
    "DealerRowId": 9091,
    "Description": "Porc Mail Pouch Therm",
    "StockNumber": "40172",
    "Quantity": 1,
    "UnitPrice": 345,
    "DiscountType": "O",
    "DiscountAmount": 54.3,
    "ItemTotal": 290.7,
    "ItemTaxable": 0,
    "ClosedOut": true,
    "CreditCardRate": 2,
    "CreditCardChargeDealer": 1,
    "UserName": "TJones",
    "ClientId": 2,
    "DealerName": "Smith, Larry",
    "CustomerName": "Miller, William",
    "CashReceived": null,
    "id": "20e9a046-6829-4314-bc08-04831838e9b7",
    "_rid": "hSVlAJF0BADGEwAAAAAAAA==",
    "_self": "dbs/hSVlAA==/colls/hSVlAJF0BAA=/docs/hSVlAJF0BADGEwAAAAAAAA==/",
    "_etag": "\"21004e3c-0000-0000-0000-5a60de010000\"",
    "_attachments": "attachments/",
    "_ts": 1516297729
  },

获得前100个文件的申请费为219.44。接下来的100份文件的费用是40.96。接下来的100份文件的费用为41.22。为什么前100个文件的费用比接下来的两个文件检索多5倍?

0 个答案:

没有答案