Examples of the use of semi-structured data


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
5 views
In English there is a term — semi-structured data — semistructured data. These are data for which the exact structure is unknown, or known but changes frequently. The point is, for these reasons, these data can be awkward to store in relational tables.

I'm writing a paper and I need specific examples of work with such data. Share your experience when the store you selected xml/json/document-oriented storage, etc. Tell us what features of the problem.

Thank you.
by | 5 views

3 Answers

0 like 0 dislike
well, the example is lying on the surface — configuration files.
\r
By the way the reason for the choice of such storage can be not only weak but structured and often manjushaka scheme.
\r
For example, user profiles. Today, they want icq, and tomorrow some ID in MoiKrug. You need to make all these fields in the auxiliary table or often to change the scheme.
\r
Very well the idea of document-oriented storage suitable for creating a generic cms. There in the development of a specific site is necessary to complement the standard scheme additional fields that are stored in vspomogatelny the table. One field — one line. In a real project I have a number of fields up to a hundred.
\r
In cms with a document-oriented hranilischa this problem, the problem is solved much more elegant: you just describe the schema, and the document is still stored in a single document.
by
0 like 0 dislike
using json & MongoDB
many of the parameters of goods in predstavleny substructureredirect a
we previously do not know the name of the parameters, to fence the three-storey relational queries are not profitable, see post habrahabr.ru/qa/3248/ about the proposed structure of the data, in particular my comments.
I this rake was in another project
by
0 like 0 dislike
You can use the generic table of the form:
\r
The ID of the record (int)
Type-write (int)
The value of the record (text)
\r
You can also add ceterae field, and to store the numeric value to write:
\r
Rank-record (float)
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
27,912 users