Binary storage for nested data structures and application ...
[Pages:65]Binary storage for nested data structures and application to hstore data type
Oleg Bartunov, Teodor Sigaev Moscow University
Oleg Bartunov, Teodor Sigaev Nested hstore with array support PGConf.EU, Dublin, Nov 1, 2013
Hstore developers
Teodor Sigaev, Oleg Bartunov Sternberg Astronomical Institute of Moscow University Major contributions:
PostgreSQL extendability: GiST, GIN, SP-GiST Full-text search, ltree, pg_trgm, hstore, intarray,..
Oleg Bartunov, Teodor Sigaev Nested hstore with array support PGConf.EU, Dublin, Nov 1, 2013
Agenda
Introduction to hstore History of hstore development Hstore internals Limitations Hstore operators and functions Performance study Summary Development plans
Oleg Bartunov, Teodor Sigaev Nested hstore with array support PGConf.EU, Dublin, Nov 1, 2013
Introduction to hstore
Hstore -- key/value storage (inspired by perl hash)
'a=>1, b=>2'::hstore
Key, value -- strings
Get value for a key: hstore -> text
Operators with indexing support (GiST, GIN)
Check for key: hstore ? text
Contains:
hstore @> hstore
.........check documentations for more ........
Functions for hstore manipulations (akeys, avals, skeys, svals, each,......)
Oleg Bartunov, Teodor Sigaev Nested hstore with array support PGConf.EU, Dublin, Nov 1, 2013
Introduction to hstore
?Google Trends? noticed hstore since 2011
Oleg Bartunov, Teodor Sigaev Nested hstore with array support PGConf.EU, Dublin, Nov 1, 2013
History of hstore development
May 16, 2003 -- first version of hstore
Oleg Bartunov, Teodor Sigaev Nested hstore with array support PGConf.EU, Dublin, Nov 1, 2013
Introduction to hstore
Hstore benefits
In provides a flexible model for storing a semistructured data in relational database
Hstore drawbacks
Too simple model ! Hstore key-value model doesn't supports tree-like structures as json (introduced in 2006, 3 years after hstore)
Oleg Bartunov, Teodor Sigaev Nested hstore with array support PGConf.EU, Dublin, Nov 1, 2013
hstore vs json
PostgreSQL already has json since 9.0, which supports document-based model, but
It's slow, since it has no binary representation and needs to be parsed every time
Hstore is fast, thanks to binary representation and index support
It's possible to convert hstore to json and vice versa, but current hstore is limited to key-value
Need hstore with document-based model. Share it's binary representation with json !
Oleg Bartunov, Teodor Sigaev Nested hstore with array support PGConf.EU, Dublin, Nov 1, 2013
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- before you begin
- json performance features in oracle 12c release 2
- native json datatype support maturing sql and nosql
- jsonpath in examples and roadmap postgresql
- postgresql and json
- vsomeip genivi alliance
- postgresql and json the build
- schemadrill interactive semi structured schema design
- binary storage for nested data structures and application
- json decoder for pic and avr devices
Related searches
- american structures and design
- brain structures and their functions
- brain structures and functions worksheet
- subcortical structures and their functions
- us government structures and institutions
- academic essay structures and format
- structures and functions of the brain
- cerebral structures and function
- market structures and their characteristics
- body structures and functions answers
- supply chain structures and relationships
- circulatory system structures and functions