+ All Categories
Home > Technology > N1QL_Query_Language_Couchbase_SF_2013

N1QL_Query_Language_Couchbase_SF_2013

Date post: 02-Jul-2015
Category:
Upload: couchbase
View: 989 times
Download: 0 times
Share this document with a friend
37
Transcript
Page 1: N1QL_Query_Language_Couchbase_SF_2013
Page 2: N1QL_Query_Language_Couchbase_SF_2013

N1QLan early peek at Couchbase's query language

developer preview available now

Page 3: N1QL_Query_Language_Couchbase_SF_2013

agenda

who, what, why, when, how, Q&A

Page 4: N1QL_Query_Language_Couchbase_SF_2013

agenda

who, what, why, when, how, Q&A

and, demo^

Page 5: N1QL_Query_Language_Couchbase_SF_2013

agenda

who, what, why, when, how, Q&A

demo^

Page 6: N1QL_Query_Language_Couchbase_SF_2013

hello

steve yen

­ co-founder

­ [email protected]

Page 7: N1QL_Query_Language_Couchbase_SF_2013

hello

• steve yen

­ co-founder

­ [email protected]

Page 8: N1QL_Query_Language_Couchbase_SF_2013

why N1QL?

Page 9: N1QL_Query_Language_Couchbase_SF_2013

the world also hastrianglesnot only rectangles

Page 10: N1QL_Query_Language_Couchbase_SF_2013

the world also hastrianglesnot only rectangles

Page 11: N1QL_Query_Language_Couchbase_SF_2013

the world also hastrianglesnot only rectangles

Page 12: N1QL_Query_Language_Couchbase_SF_2013

the world also hastrianglesnot only rectangles

Page 13: N1QL_Query_Language_Couchbase_SF_2013

a language for triangles

why N1QL?

Page 14: N1QL_Query_Language_Couchbase_SF_2013

the solid core of N1QL

Page 15: N1QL_Query_Language_Couchbase_SF_2013

the solid core of N1QL

Non-First Normal Form

Page 16: N1QL_Query_Language_Couchbase_SF_2013

N1NF

Non-First Normal Form

the solid core of N1QL

Page 17: N1QL_Query_Language_Couchbase_SF_2013

the solid core of N1QL

N1QL

N1NF

Non-First Normal Form

Page 18: N1QL_Query_Language_Couchbase_SF_2013

key concepts

embrace JSON

all types are unified to JSON

Page 19: N1QL_Query_Language_Couchbase_SF_2013

key concepts

go beyond SQL

familiarity, and more

Page 20: N1QL_Query_Language_Couchbase_SF_2013

a quick tasteSELECT

name,

emailAddress AS email

FROM

users

WHERE

email = "[email protected]"

Page 21: N1QL_Query_Language_Couchbase_SF_2013

a quick tasteSELECT

name,

emailAddress AS email

FROM

users

WHERE

email = "[email protected]"

[

{ "name": "Jerry Sandi",

"email": "[email protected]

}

]

Page 22: N1QL_Query_Language_Couchbase_SF_2013

FROM

users

WHERE

email = "[email protected]"

SELECT

name,

emailAddress AS email

a quick taste

[

{ "name": "Jerry Sandi",

"email": "[email protected]

}

]

Page 23: N1QL_Query_Language_Couchbase_SF_2013

logical processing steps

FROM

WHERE

GROUP BY

HAVING

SELECT

DISTINCT

ORDER BY

OFFSET

LIMIT

Page 24: N1QL_Query_Language_Couchbase_SF_2013

demo!

Page 25: N1QL_Query_Language_Couchbase_SF_2013

when can I use N1QL?

N1QL developer preview 1

available today

at

http://query.couchbase.com

Page 26: N1QL_Query_Language_Couchbase_SF_2013

would love your feedback & help

http://query.couchbase.com

Page 27: N1QL_Query_Language_Couchbase_SF_2013

where to go next

room 1, sessions on N1QL

2:40pm to 4:20pm

http://query.couchbase.com

Page 28: N1QL_Query_Language_Couchbase_SF_2013
Page 29: N1QL_Query_Language_Couchbase_SF_2013

thanks!

room 1, session on N1QL

2:40pm to 4:20pm

http://query.couchbase.com

Page 30: N1QL_Query_Language_Couchbase_SF_2013

extra slides

Page 31: N1QL_Query_Language_Couchbase_SF_2013

links

• http://query.couchbase.coml

­ documentation, cheatsheet, whitepaper

­ how to get help

­ how can you help

­ downloads

• http://cbfs-ext.hq.couchbase.com/tuqtng

• language specification

• https://github.com/couchbaselabs/tuqtng/blob/master/docs/n1ql-v1.md

• open source

• https://github.com/couchbaselabs/tuqtng

Page 32: N1QL_Query_Language_Couchbase_SF_2013

FAQ?

• how does it go beyond SQL?

• non-first normal form?

• can I use against my database?

• today, just SELECT's

­ what about DML?

­ what's coming after v1, v2?

• what about non-JSON data?

Page 33: N1QL_Query_Language_Couchbase_SF_2013

the world

hasbeen

changing

Page 34: N1QL_Query_Language_Couchbase_SF_2013

in my lifetime

BDMS

mobile

NoSQL

3-tiered architecture

internet

Page 35: N1QL_Query_Language_Couchbase_SF_2013

move fasteror else

Page 36: N1QL_Query_Language_Couchbase_SF_2013

move fasteror else

Page 37: N1QL_Query_Language_Couchbase_SF_2013

the world also hastrianglesnot only rectangles

easy

modeling

with documents;

flexibility of no schema


Recommended