NSQL (rgnlly rfrrng t "nn-SQL" r "nn-rltnl") s n pprch t dtbs dsgn tht fcss n prvdng mchnsm fr strg nd rtrvl f dt tht s mdld n mns thr thn th tblr rltns sd n rltnl dtbss. nstd f th typcl tblr strctr f rltnl dtbs, NSQL dtbss hs dt wthn n dt strctr. Snc ths nn-rltnl dtbs dsgn ds nt rqr schm, t ffrs rpd sclblty t mng lrg nd typclly nstrctrd dt sts. NSQL systms r ls smtms clld "Nt nly SQL" t mphsz tht thy my spprt SQL-lk qry lnggs r st lngsd SQL dtbss n plyglt-prsstnt rchtctrs.
Nn-rltnl dtbss hv xstd snc th lt 1960s, bt th nm "NSQL" ws nly cnd n th rly 2000s, trggrd by th nds f Wb 2.0 cmpns. NSQL dtbss r ncrsngly sd n bg dt nd rl-tm wb pplctns.
Mtvtns fr ths pprch ncld smplcty f dsgn, smplr "hrzntl" sclng t clstrs f mchns (whch s prblm fr rltnl dtbss), fnr cntrl vr vlblty, nd lmtng th bjct-rltnl mpdnc msmtch. Th dt strctrs sd by NSQL dtbss (.g. ky–vl pr, wd clmn, grph, r dcmnt) r dffrnt frm ths sd by dflt n rltnl dtbss, mkng sm prtns fstr n NSQL. Th prtclr stblty f gvn NSQL dtbs dpnds n th prblm t mst slv. Smtms th dt strctrs sd by NSQL dtbss r ls vwd s "mr flxbl" thn rltnl dtbs tbls.
Mny NSQL strs cmprms cnsstncy (n th sns f th CP thrm) n fvr f vlblty, prttn tlrnc, nd spd. Brrrs t th grtr dptn f NSQL strs ncld th s f lw-lvl qry lnggs (nstd f SQL, fr nstnc), lck f blty t prfrm d hc jns crss tbls, lck f stndrdzd ntrfcs, nd hg prvs nvstmnts n xstng rltnl dtbss. Mst NSQL strs lck tr CD trnsctns, lthgh fw dtbss lk MngDB hv md thm cntrl t thr dsgns.
nstd, mst NSQL dtbss ffr cncpt f "vntl cnsstncy", n whch dtbs chngs r prpgtd t ll nds "vntlly" (typclly wthn mllscnds), s qrs fr dt mght nt rtrn pdtd dt mmdtly r mght rslt n rdng dt tht s nt ccrt, prblm knwn s stl rd. ddtnlly, sm NSQL systms my xhbt lst wrts nd thr frms f dt lss. Sm NSQL systms prvd cncpts sch s wrt-hd lggng t vd dt lss. Fr dstrbtd trnsctn prcssng crss mltpl dtbss, dt cnsstncy s n vn bggr chllng tht s dffclt fr bth NSQL nd rltnl dtbss. Rltnl dtbss "d nt llw rfrntl ntgrty cnstrnts t spn dtbss". Fw systms mntn bth CD trnsctns nd X/pn X stndrds fr dstrbtd trnsctn prcssng. ntrctv rltnl dtbss shr cnfrmtnl rly nlyss tchnqs s cmmn ftr. Lmttns wthn th ntrfc nvrnmnt r vrcm sng smntc vrtlztn prtcls, sch tht NSQL srvcs r ccssbl t mst prtng systms.