Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for aggregated (0.17 sec)

  1. cmd/metrics-realtime.go

    			aggr.Merge(&disk)
    		}
    		m.Aggregated.Disk = &aggr
    	}
    
    	if types.Contains(madmin.MetricsScanner) {
    		metrics := globalScannerMetrics.report()
    		m.Aggregated.Scanner = &metrics
    	}
    	if types.Contains(madmin.MetricsOS) {
    		metrics := globalOSMetrics.report()
    		m.Aggregated.OS = &metrics
    	}
    	if types.Contains(madmin.MetricsBatchJobs) {
    		m.Aggregated.BatchJobs = globalBatchJobsMetrics.report(opts.jobID)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		m.Merge(&mLocal)
    
    		mRemote := collectRemoteMetrics(ctx, madmin.MetricsBatchJobs, collectMetricsOpts{})
    		m.Merge(&mRemote)
    
    		if m.Aggregated.BatchJobs == nil {
    			return
    		}
    
    		for _, mj := range m.Aggregated.BatchJobs.Jobs {
    			jtype := toSnake(mj.JobType)
    			var objects, objectsFailed float64
    			var bucket string
    			switch madmin.BatchJobType(mj.JobType) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/tier-last-day-stats.go

    		cl.forwardTo(cm.UpdatedAt)
    		merged.UpdatedAt = cm.UpdatedAt
    	}
    
    	for i := range cl.Bins {
    		merged.Bins[i] = cl.Bins[i].add(cm.Bins[i])
    	}
    
    	return merged
    }
    
    // DailyAllTierStats is used to aggregate last day tier stats across MinIO servers
    type DailyAllTierStats map[string]lastDayTierStats
    
    func (l DailyAllTierStats) merge(m DailyAllTierStats) {
    	for tier, st := range m {
    		l[tier] = l[tier].merge(st)
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    	if !s3Select.Progress.Enabled {
    		getProgressFunc = nil
    	}
    	writer := newMessageWriter(w, getProgressFunc)
    
    	var outputQueue []sql.Record
    
    	// Create queue based on the type.
    	if s3Select.statement.IsAggregated() {
    		outputQueue = make([]sql.Record, 0, 1)
    	} else {
    		outputQueue = make([]sql.Record, 0, 100)
    	}
    	var err error
    	sendRecord := func() bool {
    		buf := bufPool.Get().(*bytes.Buffer)
    		buf.Reset()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseNonUnaryAggregateFunctionCall: {
    		Code:           "ParseNonUnaryAggregateFunctionCall",
    		Description:    "Only one argument is supported for aggregate functions in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseMalformedJoin: {
    		Code:           "ParseMalformedJoin",
    		Description:    "JOIN is not supported in the SQL expression.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. internal/s3select/sql/statement.go

    		return []*Record{&input}, nil
    	}
    	return nil, errDataSource(errors.New("unexpected non JSON input"))
    }
    
    // IsAggregated returns if the statement involves SQL aggregation
    func (e *SelectStatement) IsAggregated() bool {
    	return e.selectQProp.isAggregation
    }
    
    // AggregateResult - returns the aggregated result after all input
    // records have been processed. Applies only to aggregation queries.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. cmd/erasure.go

    			if info.Total > 0 {
    				di.Utilization = float64(info.Used / info.Total * 100)
    			}
    			disksInfo[index] = di
    			return nil
    		}, index)
    	}
    
    	g.Wait()
    	return disksInfo
    }
    
    // Get an aggregated storage info across all disks.
    func getStorageInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) StorageInfo {
    	disksInfo := getDisksInfo(disks, endpoints, metrics)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. internal/bucket/bandwidth/measurement.go

    	atomic.AddUint64(&m.bytesSinceLastWindow, bytes)
    }
    
    // updateExponentialMovingAverage processes the measurements captured so far.
    func (m *bucketMeasurement) updateExponentialMovingAverage(endTime time.Time) {
    	// Calculate aggregate avg bandwidth and exp window avg
    	m.lock.Lock()
    	defer func() {
    		m.startTime = endTime
    		m.lock.Unlock()
    	}()
    
    	if m.startTime.IsZero() {
    		return
    	}
    
    	if endTime.Before(m.startTime) {
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  9. LICENSE

    in or on a volume of a storage or distribution medium, is called an
    "aggregate" if the compilation and its resulting copyright are not
    used to limit the access or legal rights of the compilation's users
    beyond what the individual works permit.  Inclusion of a covered work
    in an aggregate does not cause this License to apply to the other
    parts of the aggregate.
    
      6. Conveying Non-Source Forms.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser.go

    	Trim      *TrimFunc      `parser:"| @@"`
    	DateAdd   *DateAddFunc   `parser:"| @@"`
    	DateDiff  *DateDiffFunc  `parser:"| @@"`
    
    	// Used during evaluation for aggregation funcs
    	aggregate *aggVal
    }
    
    // SimpleArgFunc represents functions with simple expression
    // arguments.
    type SimpleArgFunc struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top