Questions tagged [datadesign]
15 questions
4
votes
4 answers
Make interface extend class
I have the following situation, but I feel like I'm doing something wrong...
I used a interface for Field according to this post. The Field interface inherits from the Style class and Field1, 2 and 3 inherit from the Field interface. I want to…

Markinson
- 2,077
- 4
- 28
- 56
2
votes
0 answers
paginate a response with two data source
I have two sources of data , I fetch data from both the sources and combine them on basis of date and send as response.
Now I am trying to send response as a paginated response but I don't have idea how to do this because there is no way to know how…

Rambo_with_bo
- 21
- 2
2
votes
1 answer
Efficiently store daily dumps in Hadoop HDFS
I believe a common usage pattern for Hadoop is to build a "data lake" by loading regular (e.g. daily) snapshots of data from operational systems. For many systems, the rate of change from day to day is typically less than 5% of rows (and even when a…

Todd Owen
- 15,650
- 7
- 54
- 52
1
vote
1 answer
how count number of data points, to calculate rate (influxdb)?
So we have a system that takes a lot of queries per minute.
We basically want to know the rate at which our system is processing queries at any given time.
In order to achieve it, we send one point to influx per query. No relevant field,…

caeus
- 3,084
- 1
- 22
- 36
1
vote
1 answer
I want to design a grid with n-number of dimensions ,solution for two dimension is available but i want n-dimensions in Numpy?
I need to generate a grid for an array with a general/variable number of dimensions. In the 2D case, I know I can use mgrid:
Some 2D data
N = 1000
x = np.random.uniform(0., 1., N)
y = np.random.uniform(10., 100., N)
xmin, xmax, ymin, ymax = x.min(),…

Sebastian
- 11
- 1
1
vote
2 answers
How to count no of occurrence for each value in a given column of dataframe for a certain class interval?
this is my first question at stackoverflow.
I have two dataframes of different sizes df1(266808 rows) and df2 (201 rows).
df1
and
df2
I want to append the count of each value/number in df1['WS_140m'] to df2['count'] if number falls in a class…
1
vote
1 answer
Vue.js circular computed properties
I have an applicated that requires the update of two fields that depend on each other for their values.
For example:
{{total}}

Gurnzbot
- 3,742
- 7
- 36
- 55
1
vote
0 answers
0
votes
2 answers
inserting multiple values into one row mySQL
How can i insert multiple values into one row?
My query
insert into table_RekamMedis values ('RM001', '1999-05-01', 'D01', 'Dr Zurmaini', 'S11', 'Tropicana', 'B01', 'Sulfa', '3dd1');
i cant insert two values into one row. is there another way to…

Dwi Fajar
- 13
- 1
0
votes
0 answers
Advice in Datadesign for nosql (firebase)
I'm new to the noSQL-Thing (I use firebase Realtime-Database for starters) and I'm writing a react-js app to manage Meetings and their Agenda Points.
The meeting has some attributes(name, planed duration, Start time, ... ) and the Agendaitems as…

Mike Zwgr
- 1
- 2
0
votes
1 answer
Experimental data organization - would Elastic Search work?
Sorry if this is a bit of an abstract question, I'll try to provide more details.
I run "experiments" (eg test runs of various software), each experiment has its own set of metadata (basically key/value pairs, like start time, end time, name,…

persson
- 129
- 2
- 8
0
votes
2 answers
Building a device database. Is it better to have all device attributes in one table or in many separate tables?
I'm building a database for monitoring devices and I've reached an impasse.
I have 40 different types of devices, each of which records different information and have some common (e.g. device name, sample date) but mostly differing attributes (e.g.…

johnnyB
- 1
- 2
0
votes
1 answer
Store overlapping date ranges to be filtered using a custom date range
I need help regarding how to structure overlapping date ranges in my data warehouse. My objective is to model the data in a way that allows date-level filtering on the reports.
I have dimensions — DimEmployee, DimDate and a fact called…

Akshay Rane
- 403
- 4
- 13
0
votes
1 answer
Why are some popular sites not requiring middle name or initial in their registrations?
Here are some major sites that don't ask for middle names or initials:
amazon.com
google.com
etsy.com
yahoo.com
etc.
I was under the impression that middle names are part of our full names and makes our identities as unique as possible.
I know…

tonex
- 87
- 8
-1
votes
3 answers
Embedded versus pointer in nested String-like structures
When designing structures to contain textual data, I have been using two basic approaches illustrated below:
typedef struct {
STRING address1;
STRING address2;
STRING city;
STRING state;
STRING zip;
} ADDRESS;
typedef struct {
…

Tyler Durden
- 11,156
- 9
- 64
- 126