{"id":304265,"date":"2020-05-26T15:00:20","date_gmt":"2020-05-26T15:00:20","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=304265"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=304265","title":{"rendered":"\u041f\u0440\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434 database: \u043a\u0430\u043a\u0438\u0435 \u0431\u044b\u0432\u0430\u044e\u0442, \u0447\u0442\u043e \u0441 \u043d\u0438\u043c\u0438 \u0434\u0435\u043b\u0430\u044e\u0442 \u0438 \u0441 \u0447\u0435\u043c \u0438\u0445 \u0435\u0434\u044f\u0442"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/503936\/\">\n<p>\u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, <strong>\u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u043e\u043d\u0430 \u0438 \u0432 \u0410\u0444\u0440\u0438\u043a\u0435 <strong>database<\/strong>, \u043d\u043e \u0447\u0438\u0442\u0430\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0447\u043d\u0443\u044e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u043f\u043e \u0421\u0423\u0411\u0414 <em>(\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0438 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044f\u0442 \u043a\u0430\u043a DBMS \u2014 database management system)<\/em>, \u044f \u043d\u0438 \u0440\u0430\u0437\u0443 \u044d\u0442\u043e\u0442 \u0442\u0435\u0440\u043c\u0438\u043d \u2014 DBMS \u2014 \u0442\u0430\u043c \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b <em>(\u043d\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e, \u0447\u0442\u043e \u043f\u043b\u043e\u0445\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b, \u043d\u043e \u0435\u0439-\u0431\u043e\u0433\u0443 \u043d\u0435 \u0432\u0440\u0443)<\/em>.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u044d\u0442\u043e\u0442 \u0442\u0435\u0440\u043c\u0438\u043d \u0432\u044b\u0434\u0443\u043c\u0430\u043d? \u0418 \u043c\u043d\u043e\u0433\u043e \u043b\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0441\u0430\u043c\u043e\u043f\u0430\u043b\u0430?<\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0438\u0437 \u0440\u0430\u0437\u043d\u043e\u0439 \u0418\u0422-\u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0435 \u00ab\u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u043e\u043b\u0435\u00bb \u0432\u043e\u043a\u0440\u0443\u0433 \u0442\u0435\u0440\u043c\u0438\u043d\u0430 <strong>database<\/strong> \u2014 <em>\u043a\u0430\u043a\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u044b\u0432\u0430\u044e\u0442, \u0447\u0442\u043e \u0441 \u043d\u0438\u043c\u0438 \u0434\u0435\u043b\u0430\u044e\u0442 \u0438 \u0441 \u0447\u0435\u043c \u0438\u0445 \u0435\u0434\u044f\u0442<\/em>. \u041c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u044f\u0432\u043d\u043e \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u0435\u0435 \u0438 \u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u043d\u0435\u0435, \u0447\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0433\u043b\u043e\u0441\u0441\u0430\u0440\u0438\u0438. \u0420\u0435\u0448\u0430\u0442\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0432\u0430\u043c.<\/p>\n<p>  <\/p>\n<p>\u0418\u0442\u0430\u043a, \u043f\u043e\u0435\u0445\u0430\u043b\u0438.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/624\/ed1\/05d\/624ed105d987c4c8d592ce10b63f6ffb.jpg\"><\/p>\n<p>  <\/p>\n<h2 id=\"kakie-byvayut\">\u041a\u0430\u043a\u0438\u0435 \u0431\u044b\u0432\u0430\u044e\u0442?<\/h2>\n<p>  <\/p>\n<blockquote><p><strong>\u041e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432 \u043a\u043e\u043d\u0446\u0435 1980-\u0445 \u2014 \u043d\u0430\u0447\u0430\u043b\u0435 1990-\u0445 \u0433\u043e\u0434\u043e\u0432 \u0438 \u0441\u043d\u043e\u0432\u0430 \u0432\u044b\u0448\u043b\u0438 \u0438\u0437 \u043c\u043e\u0434\u044b.<br \/>  <strong>Object databases<\/strong> came and went again in the late 1980s and early 1990s.<\/p>\n<p>  \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 2000-\u0445 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c <strong>\u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 XML<\/strong>, \u043d\u043e \u043d\u0430\u0448\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0437\u043a\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435.<br \/>  <strong>XML databases<\/strong> appeared in the early 2000s, but have only seen niche adoption. <a name=\"habracut\"><\/a><\/p>\n<p>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043f\u0440\u0438\u0447\u0438\u043d \u0448\u0438\u0440\u043e\u043a\u043e\u0433\u043e \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f <strong>\u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 NoSQL<\/strong>\u2026<br \/>  There are several driving forces behind the adoption of <strong>NoSQL databases<\/strong>\u2026<\/p>\n<p>  \u2026JSON. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c XML. \u042d\u0442\u0443 \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0442\u0430\u043a\u0438\u0435 <strong>\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0411\u0414<\/strong>, \u043a\u0430\u043a MongoDB, RethinkDB, CouchDB \u0438 Espresso.<br \/>  JSON has the appeal of being much simpler than XML. <strong>Document-oriented databases<\/strong> like MongoDB, RethinkDB, CouchDB, and Espresso support this data model.<\/p>\n<p>  \u0412 <strong>\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0411\u0414<\/strong> \u0434\u043b\u044f \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043d\u0435 \u043d\u0443\u0436\u043d\u044b, \u0442\u0430\u043a \u0447\u0442\u043e \u0438\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0447\u0430\u0441\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u0430\u0431\u0430.<br \/>  In <strong>document databases<\/strong>, joins are not needed for one-to-many tree structures, and support for joins is often weak.<\/p>\n<p>  \u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0434\u043b\u044f <strong>\u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u2014 \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0432\u0435\u0449\u0438, \u043e\u043d\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0438 \u043c\u043d\u043e\u0433\u0438\u0445 \u043b\u0435\u0442 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438<br \/>  Query optimizers for <strong>relational databases<\/strong> are complicated beasts, and they have consumed many years of research and development effort<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 2.3 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Cypher, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u043b\u0435\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0440\u0438\u0441. 2.5 \u0432 <strong>\u0433\u0440\u0430\u0444\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>.<br \/>  Example 2-3 shows the Cypher query to insert the lefthand portion of Figure 2-5 into a <strong>graph database<\/strong><\/p>\n<p>  \u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 <strong>\u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 OLTP<\/strong> \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e: \u0432\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0440\u044f\u0434\u043e\u043c \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c.<br \/>  In most <strong>OLTP databases<\/strong>, storage is laid out in a row-oriented fashion: all the values from one row of a table are stored next to each other.<\/p>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u043d\u0430\u0431\u043e\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u043f\u0440\u043e\u0441\u0442\u0443 \u043d\u0435 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u043b\u0438\u043a\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0438\u0445 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u043c\u0430\u0448\u0438\u043d\u0430\u043c. \u042d\u0442\u043e\u0442 \u0444\u0430\u043a\u0442 \u043f\u0440\u0438\u0432\u0435\u043b \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 <strong>\u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c\u044b\u0445 \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0411\u0414<\/strong>.<br \/>  Many datasets are simply not that big, so it\u2019s quite feasible to keep them entirely in memory, potentially distributed across several machines. This has led to the development of <strong>in-memory databases<\/strong>.<\/p>\n<p>  \u041f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043a \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0437\u043e\u0432\u043e\u043c \u0438\u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0435\u0435 \u043f\u043e\u043c\u0435\u0447\u0430\u043b\u0438 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<br \/>  Similar to concurrency control in a <strong>multiuser database<\/strong> environment, locking requires that before the value of a global variable can be used or updated, the variable must be \u00abchecked out.\u00bb<\/p>\n<p>  \u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u043c \u0441 \u0433\u0435\u043d\u043e\u043c\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u0441\u0445\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439, \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0438\u0439 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043e\u0447\u0435\u043d\u044c \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043c\u043e\u043b\u0435\u043a\u0443\u043b\u0435 \u0414\u041d\u041a) \u0441\u043e \u0441\u0445\u043e\u0436\u0438\u043c\u0438, \u043d\u043e \u043d\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0438\u0437 <strong>\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>. \u041d\u0438 \u043e\u0434\u043d\u0430 \u0438\u0437 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u0411\u0414 \u043d\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u0438\u043c, \u0432\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0447\u0435\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u041f\u041e \u0434\u043b\u044f <strong>\u0433\u0435\u043d\u043e\u043c\u043d\u043e\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>, \u043a\u0430\u043a GenBank.<br \/>  Researchers working with genome data often need to perform sequence-similarity searches, which means taking one very long string (representing a DNA molecule) and matching it against a <strong>large database<\/strong> of strings that are similar, but not identical. None of the databases described here can handle this kind of usage, which is why researchers have written specialized <strong>genome database<\/strong> software like GenBank.<\/p>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u043e\u0434\u043d\u043e\u0440\u0430\u043d\u0433\u043e\u0432\u044b\u0435 \u0441\u0435\u0442\u0438, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a BitTorrent, \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 <strong>\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430.<br \/>  Many peer-to-peer systems, such BitTorrent, do not have any <strong>central database<\/strong> of content.<\/p>\n<p>  \u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0438\u0441\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c\u0441\u044f \u0441\u043a\u043e\u043b\u044c \u0443\u0433\u043e\u0434\u043d\u043e \u0434\u043e\u043b\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0443\u044e <strong>\u043c\u0435\u0441\u0442\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438.<br \/>  This lookup process can be repeated indefinitely to build up a large <strong>local database<\/strong> of what is out there.<\/p>\n<p>  \u0412\u0441\u0435 \u0432\u044b\u0448\u0435\u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432\u043e\u0432\u043b\u0435\u043a\u0430\u044e\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043c \u0438 <strong>\u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>, \u043f\u043e\u043b\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<br \/>  All of the above applications involve interactions between a person and a <strong>remote database<\/strong> full of information.<\/p><\/blockquote>\n<p>  <\/p>\n<h2 id=\"chto-oni-delayut-chto-s-nimi-delayut\">\u0427\u0442\u043e \u043e\u043d\u0438 \u0434\u0435\u043b\u0430\u044e\u0442? \u0427\u0442\u043e \u0441 \u043d\u0438\u043c\u0438 \u0434\u0435\u043b\u0430\u044e\u0442?<\/h2>\n<p>  <\/p>\n<blockquote><p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0432\u0430\u0441 \u043a\u0430\u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u043e\u043b\u043d\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043d\u044e\u0430\u043d\u0441\u044b \u0442\u043e\u0433\u043e, \u043a\u0430\u043a <strong>\u0411\u0414 \u0445\u0440\u0430\u043d\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435<\/strong> \u0438 \u043a\u0430\u043a \u043e\u043d\u0430 \u0438\u0445 \u043d\u0430\u0445\u043e\u0434\u0438\u0442?<br \/>  Why should you, as an application developer, care how the <strong>database handles storage<\/strong> and retrieval internally?<\/p>\n<p>  \u041f\u043e\u043b\u043d\u043e\u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u2014 \u0432\u0438\u0434 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0447\u0430\u0441\u0442\u043e <strong>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0432 \u0411\u0414<\/strong>.<br \/>  Full-text search is arguably a kind of data model that is frequently <strong>used alongside databases<\/strong>.<\/p>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 <strong>\u0411\u0414 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442<\/strong> \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 db_set \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, <strong>\u0436\u0443\u0440\u043d\u0430\u043b<\/strong>, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u043e\u0439 \u0444\u0430\u0439\u043b, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0435\u0433\u043e \u043a\u043e\u043d\u0435\u0446.<br \/>  Similarly to what db_set does, many <strong>databases internally use a log<\/strong>, which is an append-only data file.<\/p>\n<p>  \u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432 SQL Server \u2014 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0445 \u043a\u043e\u043f\u0438\u0439 \u0438 <strong>\u0432\u043e\u0437\u0432\u0440\u0430\u0442 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>.<br \/>  A restore scenario in SQL Server is the process of restoring data from one or more backups and then <strong>recovering the database<\/strong>.<\/p>\n<p>  \u0412 SQL Server \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f CREATE <strong>\u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0434\u043b\u044f \u043d\u0435\u0435 \u0444\u0430\u0439\u043b\u044b \u0438 \u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b.<br \/>  In SQL Server, CREATE statement <strong>creates a new database<\/strong> and the files used and their filegroups.<\/p>\n<p>  \u0412 SQL Server \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f ALTER <strong>\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u0438\u043b\u0438 \u0444\u0430\u0439\u043b\u044b \u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b, <strong>\u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>.<br \/>  In SQL Server, ALTER statement <strong>modifies a database<\/strong>, or the files and filegroups <strong>associated with the database<\/strong>.<\/p>\n<p>  \u0423\u0434\u0430\u043b\u0435\u043d\u043d\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0437 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438.<br \/>  A dropped database can be re-created only by restoring a backup.<\/p>\n<p>  \u041f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 <strong>\u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0434\u0430\u043b\u044f\u0435\u0442\u0441\u044f<\/strong> \u0438\u0437 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 SQL Server. \u0422\u0430\u043a\u0436\u0435 \u0441 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0444\u0430\u0439\u043b\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445.<br \/>  <strong>Dropping a database<\/strong> <strong>deletes the database<\/strong> from an instance of SQL Server and deletes the physical disk files used by the database.<\/p><\/blockquote>\n<p><em>(\u041f\u0440\u0438\u043c. \u043f\u0435\u0440.: \u0425\u043e\u0442\u044c \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044d\u0442\u0438 \u00ab<strong>\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435<\/strong>\u00bb \u0438 \u00ab<strong>\u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435<\/strong>\u00bb \u0437\u0432\u0443\u0447\u0430\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e, \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044d\u0442\u043e \u0440\u0430\u0437\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438:<\/em><br \/>  <em>\u2014 <strong>ALTER<\/strong> \u0438 <strong>DROP<\/strong> \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432;<\/em><br \/>  <em>\u2014 <strong>UPDATE<\/strong> \u0438 <strong>DELETE<\/strong> \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0435\u0439).<\/em><\/p>\n<p>  <\/p>\n<blockquote><p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 <strong>\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0443\u0442\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430 \u0435\u0435 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435<\/strong> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043d\u0438\u043c\u043a\u0430.<br \/>  If you make a mistake, you can use the snapshot <strong>to recover by reverting the database<\/strong> to the snapshot.<\/p><\/blockquote>\n<p><em>(\u041f\u0440\u0438\u043c. \u043f\u0435\u0440: \u0432\u043e\u043e\u0431\u0449\u0435, \u0441\u0430\u043c \u0444\u0430\u043a\u0442 \u2014 \u00ab\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0431\u0430\u0437\u0443 \u0438\u0437 \u043a\u043e\u043f\u0438\u0438\u00bb \u2014 \u044d\u0442\u043e <strong>restore<\/strong>. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0411\u0414 \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 (\u043d\u0430\u043a\u0430\u0442\u0438\u0442\u044c \u0438\u043b\u0438 \u043e\u0442\u043a\u0430\u0442\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f) \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0447\u0442\u043e-\u0442\u043e \u0441 \u043d\u0435\u0439 \u0434\u0435\u043b\u0430\u0442\u044c \u2014 \u044d\u0442\u043e <strong>recover<\/strong>).<\/em><\/p>\n<p>  <\/p>\n<blockquote><p>\u041f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0435\u043c <strong>\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 [\u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445] \u0438\u0437 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438<\/strong>, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u043d\u0430 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u043a\u0430\u0442.<br \/>  Reverting is potentially much faster for this purpose than <strong>restoring from a backup<\/strong>; however, you cannot roll forward afterward.<\/p><\/blockquote>\n<p><em>(\u041f\u0440\u0438\u043c. \u043f\u0435\u0440: \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u043d\u0430\u043a\u0430\u0442\u0435 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439, \u0433\u0434\u0435 \u043c\u043e\u0433\u043b\u0438 \u0431\u044b\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0449\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u0438 \u0441 \u0411\u0414 \u043f\u043e\u0441\u043b\u0435 \u0441\u043d\u0438\u043c\u043a\u0430. \u0412 \u0443\u0441\u0442\u043d\u043e\u0439 \u0440\u0435\u0447\u0438 \u00ab\u043d\u0430\u043a\u0430\u0442\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u00bb \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e).<\/em><\/p>\n<p>  <\/p>\n<blockquote><p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f <strong>\u0447\u0442\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0411\u0414<\/strong> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u043e\u0440\u043c\u043e\u0439 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<br \/>  Using one class to <strong>read from<\/strong> and <strong>write to a database<\/strong> is a form of centralized control.<\/p>\n<p>  PHP-\u043a\u043e\u0434 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d \u0432 Web-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0434\u043b\u044f <strong>\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0411\u0414 \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/strong> \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0439\u0441\u044f \u0432 \u043d\u0435\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<br \/>  It [PHP] can be embedded in Web pages to <strong>access and present database<\/strong> information.<\/p>\n<p>  SQL \u00ab\u0434\u0435-\u0444\u0430\u043a\u0442\u043e\u00bb \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c <strong>\u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439<\/strong> \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043d\u044b\u0445 <strong>\u0411\u0414 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/strong> \u0438\u043c\u0438.<br \/>  SQL is the de facto standard language for <strong>querying, updating, and managing<\/strong> relational <strong>databases<\/strong>.<\/p>\n<p>  \u041a\u0430\u043a \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u0435\u0431\u044f \u0447\u0443\u0432\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 <strong>\u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f <strong>\u0438\u0441\u043f\u043e\u0440\u0447\u0435\u043d\u043d\u043e\u0439<\/strong>?<br \/>  How would they feel if that <strong>database<\/strong> was suddenly <strong>corrupted<\/strong>?<\/p>\n<p>  \u2026 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 within_recursive \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u0441\u0435 <strong>\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435\u0441\u044f \u0432<\/strong> \u043d\u0430\u0448\u0435\u0439 <strong>\u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0443\u043d\u043a\u0442\u044b \u0432 \u0421\u0435\u0432\u0435\u0440\u043d\u043e\u0439 \u0410\u043c\u0435\u0440\u0438\u043a\u0435 (\u0438\u043b\u0438 \u0432 \u043b\u044e\u0431\u043e\u043c \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435).<br \/>  \u2026 the within_recursive predicate can tell us all the locations in North America (or any other location name) <strong>contained in<\/strong> our <strong>database<\/strong>.<\/p>\n<p>  \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c <strong>\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442<\/strong> \u0441\u0432\u043e\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e <strong>\u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u0432 \u043c\u0435\u0441\u0442\u043d\u043e\u043c \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435 \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0440\u0443\u0433\u0438\u0445 \u043b\u044e\u0434\u0435\u0439 \u043f\u043e \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u043b\u0435\u043d\u0430\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<br \/>  Instead, each user <strong>maintains<\/strong> his own <strong>database<\/strong> locally and provides a list of other nearby people who are members of the system.<\/p><\/blockquote>\n<p>  <\/p>\n<h2 id=\"svyazannye-slovosochetaniya\">\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441\u043b\u043e\u0432\u043e\u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f<\/h2>\n<p>  <\/p>\n<blockquote><p>\u0414\u043b\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e <strong>\u043a\u043b\u044e\u0447\u0430 \u0432 \u0411\u0414<\/strong> \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0434\u0440\u0443\u0433\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445: \u0438\u043d\u0434\u0435\u043a\u0441.<br \/>  In order to efficiently find the value for a particular <strong>key in the database<\/strong>, we need a different data structure: an index.<\/p>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 <strong>\u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u0438 \u0432\u044b\u043f\u0443\u0441\u043a\u0430 SQL Server.<br \/>  The supported restore scenarios depend on the <strong>recovery model of the database<\/strong> and the edition of SQL Server.<\/p>\n<p>  \u041c\u043e\u0434\u0435\u043b\u044c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u2014 \u044d\u0442\u043e <strong>\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u043b\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u043a\u0430\u043a\u0438\u0435 \u0442\u0438\u043f\u044b \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b.<br \/>  A recovery model is a <strong>database property<\/strong> that controls how transactions are logged, whether the transaction log requires (and allows) backing up, and what kinds of restore operations are available.<\/p>\n<p>  \u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c <strong>\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0443 SQL Server Database Engine<\/strong> \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f <strong>\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043a \u0441\u0435\u0442\u0438<\/strong>.<br \/>  For most restore scenarios, it is necessary to apply a transaction log backup and allow the <strong>SQL Server Database Engine<\/strong> to run the recovery process for the <strong>database to be brought online<\/strong>.<\/p>\n<p>  \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 SQL Server \u0434\u043b\u044f <strong>\u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u043e\u043d\u043d\u043e-\u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u043d\u043e\u043c<\/strong> (\u0447\u0438\u0441\u0442\u043e\u043c) <strong>\u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438<\/strong>.<br \/>  Recovery is the process used by SQL Server for each <strong>database to start in a transactionally consistent<\/strong> \u2014 or clean <strong>\u2014 state<\/strong>.<\/p>\n<p>  \u0415\u0449\u0435 \u043e\u0434\u043d\u0430 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u0430\u044f \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0441\u0441\u0430 \u2014 \u0441\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0438 \u0442\u0430\u043a\u0438\u0445 \u0441\u043b\u043e\u0436\u043d\u044b\u0445, \u043a\u0430\u043a \u043c\u0443\u0434\u0440\u0435\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 <strong>\u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0411\u0414<\/strong>, \u0438 \u0441\u0442\u043e\u043b\u044c \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0445, \u043a\u0430\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0434\u0430\u043d\u043d\u044b\u0445, \u0445\u0440\u0430\u043d\u0438\u043c\u044b\u0439 \u0432 \u0444\u043e\u0440\u043c\u0435 \u0447\u0438\u0441\u043b\u0430 \u0438\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0438.<br \/>  The desire to hide implementation details is a wonderful reason to create a class whether the details are as complicated as a convoluted <strong>database access<\/strong> or as mundane as whether a specific data member is stored as a number or a string.<\/p>\n<p>  \u0412\u0438\u0434\u044b \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433\u0430, \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0449\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 \u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434\u0430, <strong>\u0441\u0445\u0435\u043c\u044b \u0411\u0414<\/strong> \u0438\u043b\u0438 \u0431\u0443\u043b\u0435\u0432\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432, \u043e\u0431\u044b\u0447\u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u0440\u0438\u0441\u043a\u043e\u0432\u0430\u043d\u043d\u044b.<br \/>  Refactorings that involve class or routine interface changes, <strong>database schema<\/strong> changes, or changes to boolean tests, among others, tend to be more risky.<\/p>\n<p>  \u0422\u0430\u043a [\u0441\u043b\u043e\u0432\u0430\u0440\u044f\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445] \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u0432\u0430\u0436\u043d\u0443\u044e \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u0412\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0441\u0432\u044f\u0437\u0430\u043d \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u043e <strong>\u0441\u0445\u0435\u043c\u0430\u043c\u0438 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>.<br \/>  A data dictionary is a database that describes all the significant data in a project. In many cases, the data dictionary focuses primarily on <strong>database schemas<\/strong>.<\/p>\n<p>  \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435\u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e \u0441\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c <strong>\u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0411\u0414<\/strong>\u2026<br \/>  Errors can include &lt;\u2026&gt; improperly designing <strong>database tables<\/strong>\u2026<\/p>\n<p>  \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u0434\u0430 \u043e\u0431\u044b\u0447\u043d\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0430 <strong>\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>, \u043d\u043e \u043a \u044d\u0442\u043e\u043c\u0443 \u043a\u043b\u0430\u0441\u0441\u0443 \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<br \/>  Code-generating tools tend to focus on <strong>database applications<\/strong>, but that includes a lot of applications.<\/p>\n<p>  \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043f\u043b\u0430\u043d \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438, \u0442\u0430\u043a\u0438\u043c\u0438 \u043a\u0430\u043a <strong>\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0411\u0414, \u043f\u043e\u0442\u043e\u043a\u0438 \u0438 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u044b<\/strong>.<br \/>  The architecture should describe a plan for managing scarce resources such as <strong>database connections, threads,<\/strong> and <strong>handles<\/strong>.<\/p>\n<p>  \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c, \u043a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0440\u043e\u0441\u0442 \u0447\u0438\u0441\u043b\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432, \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0443\u0437\u043b\u043e\u0432, <strong>\u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 \u0411\u0414<\/strong>, \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439 \u0438 \u0442. \u0434.<br \/>  The architecture should describe how the system will address growth in number of users, number of servers, number of network nodes, <strong>number of database records, size of database records<\/strong>, transaction volume, and so on.<\/p>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043e \u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 <strong>\u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u0411\u0414<\/strong>?<br \/>  Is the <strong>database organization and content<\/strong> specified?<\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u0438\u043d\u044f\u043b \u043a\u043e\u043d\u0432\u0435\u043d\u0446\u0438\u044e, \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0444\u0430\u0439\u043b\u0430\u043c .frm (\u0444\u0430\u0439\u043b\u0430\u043c \u0444\u043e\u0440\u043c\u044b) \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e <strong>\u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0411\u0414<\/strong> \u0438 <strong>\u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0445 \u043e\u0431\u0440\u0430\u0442\u043d\u043e<\/strong>, \u043d\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u043c \u0447\u0430\u0441\u0442\u044f\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<br \/>  Consequently, I adopted a design convention that the .frm file (the form file) was allowed only to <strong>retrieve data from the database<\/strong> and <strong>store data back into the database<\/strong>. It wasn\u2019t allowed to communicate that data directly to other parts of the program.<\/p>\n<p>  \u041e\u043d\u0438 [\u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b] \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043b\u0435\u0433\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c <strong>\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0411\u0414<\/strong> \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<br \/>  They [subsystems] make it easy to change the <strong>database design structure<\/strong> without changing most of the program.<\/p>\n<p>  \u0412\u043e\u043f\u0440\u043e\u0441 \u00ab\u0411\u0443\u0434\u0435\u0442 \u043b\u0438 \u044d\u0442\u0430 <strong>\u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c?\u00bb \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<br \/>  A design question like \u00abWill this <strong>database framework<\/strong> work?\u00bb does not provide enough direction for prototyping.<\/p>\n<p>  \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u0442\u044c <strong>\u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0443 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>.<br \/>  You don\u2019t even need to know the <strong>database specifics<\/strong>.<\/p>\n<p>  \u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u0441\u043d\u0443\u043b\u0438\u0441\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u0430 CSS \u0438 XSL\/ XPath, \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0445\u0441\u044f <strong>\u044f\u0437\u044b\u043a\u0430\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0411\u0414<\/strong>, \u043d\u043e \u0438\u043c\u0435\u044e\u0449\u0438\u0445 \u0441 \u043d\u0438\u043c\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438.<br \/>  We also touched on CSS and XSL\/XPath, which aren\u2019t <strong>database query languages<\/strong> but have interesting parallels.<\/p>\n<p>  \u2026 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e <strong>\u0432 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u0441\u0442\u0430\u043b\u0438 \u043e\u0442\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c, \u0430 <strong>\u0431\u0430\u0437\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>.<br \/>  \u2026 data processing was changing from a computer-centered view of information systems to a <strong>database-centered view<\/strong>.<\/p>\n<p>  \u0421\u0443\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u043b\u0430\u0441\u044c \u0432 \u043e\u0442\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u043f\u0443\u043b\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f (<strong>\u043f\u043e\u0434\u0445\u043e\u0434, \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0411\u0414<\/strong>).<br \/>  The change was to focus on a pool of data on which the computer happened to act (<strong>a database-oriented view<\/strong>).<\/p>\n<p>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0442\u0430\u043a\u0436\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a\u043b\u0430\u0441\u0441\u043e\u0432-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432, \u043d\u0430\u0443\u0447\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u043b\u0430\u0441\u0441\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0438 <strong>\u043a\u043b\u0430\u0441\u0441\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0411\u0414<\/strong>.<br \/>  You might also use prebuilt libraries of container classes, scientific functions, user interface classes, and <strong>database-manipulation classes<\/strong>.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u044b\u0442\u044c \u0443 \u0431\u0443\u0445\u0433\u0430\u043b\u0442\u0435\u0440\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430\u043c, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043d\u0443\u0436\u043d\u043e \u043d\u0430 \u0441\u043a\u043e\u0440\u0443\u044e \u0440\u0443\u043a\u0443 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0442\u0447\u0435\u0442\u044b, \u0430 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a \u0434\u0435\u043b\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0438\u043b\u0438 <strong>\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 \u0441 \u0431\u0430\u0437\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>.<br \/>  To get Finance the data they need, we may have to cobble together some custom reports, which means bringing in the application developers or <strong>database people<\/strong>.<\/p>\n<p>  \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044c \u043f\u044f\u0442\u044c <strong>\u0438\u043d\u0441\u0442\u0430\u043d\u0446\u0438\u0439 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> Oracle\u2026<br \/>  Upgrade thirty-five <strong>instances<\/strong> <strong>of<\/strong> Oracle <strong>databases\u2026<\/strong> <\/p>\n<p>  \u0412\u044d\u0441 \u0433\u043e\u0432\u043e\u0440\u0438\u0442: \u00ab\u042d\u0442\u043e \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435! \u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a <strong>\u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>\u00bb.<br \/>  But Wes says, \u201cThat\u2019s not a change! That\u2019s just running a <strong>database script<\/strong>.<\/p>\n<p>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0442\u0430\u043a\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b \u0431\u044b \u043a \u043d\u0430\u043c, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043e\u0442\u043e \u0432\u0441\u0435\u0445 <strong>\u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u0432<\/strong> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 <strong>\u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0442 \u0431\u0438\u0437\u043d\u0435\u0441-\u043e\u0442\u0434\u0435\u043b\u0430.<br \/>  Before that change request would even come to us, I would expect him to get the nod from the application and <strong>database owners<\/strong>, and also the business.<\/p>\n<p>  \u0414\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u044f\u0437\u044b\u043a\u0438 \u2026 \u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044f\u0434\u0440\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0447\u0435\u043c\u0443 \u0443 <strong>\u0421\u0423\u0411\u0414<\/strong> \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0432\u044b\u0448\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u044b.<br \/>  A declarative query language \u2026 hides implementation details of the database engine, which makes it possible for the <strong>database system<\/strong> to introduce performance improvements without requiring any changes to queries.<\/p><\/blockquote>\n<p>  <\/p>\n<hr>\n<p>  <\/p>\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0435 (\u0445\u043e\u0442\u044f, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c). \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0431\u044b\u043b\u043e \u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e. <\/p>\n<p>  <\/p>\n<p>\u041e\u0442\u0431\u0438\u0440\u0430\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b: <a href=\"http:\/\/vk.com\/kvasniri\" rel=\"nofollow\">\u041a\u0432\u0430\u0441\u043d\u0438\u043a\u043e\u0432\u0430 \u0418\u0440\u0438\u043d\u0430<\/a>, <a href=\"https:\/\/vk.com\/id325858284\" rel=\"nofollow\">\u0421\u043c\u0438\u0440\u043d\u043e\u0432\u0430 \u042e\u043b\u0438\u044f<\/a>, <a href=\"https:\/\/vk.com\/pie_or_die\" rel=\"nofollow\">\u041f\u0430\u043d\u0438\u0431\u0440\u0430\u0442\u043e\u0432\u0430 \u041d\u0430\u0434\u0435\u0436\u0434\u0430<\/a>, <a href=\"https:\/\/t.me\/bartov_e\" rel=\"nofollow\">\u0415\u0432\u0433\u0435\u043d\u0438\u0439 \u0411\u0430\u0440\u0442\u043e\u0432<\/a><br \/>  \u0420\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b \u043f\u043e \u043f\u043e\u043b\u043a\u0430\u043c: <a href=\"https:\/\/t.me\/bartov_e\" rel=\"nofollow\">\u0415\u0432\u0433\u0435\u043d\u0438\u0439 \u0411\u0430\u0440\u0442\u043e\u0432<\/a><br \/>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0430\u044f \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0430:<\/p>\n<p>  <\/p>\n<ul>\n<li><strong>Code Complete<\/strong> <em>by Steve McConnell<\/em><\/li>\n<li><strong>Computer networks<\/strong> <em>by Andrew Tannenbaum<\/em><\/li>\n<li><strong>Designing Data-Intensive Applications<\/strong> <em>by Martin Kleppmann<\/em><\/li>\n<li><strong>The Phoenix Project<\/strong> <em>by Gene Kim<\/em> <\/li>\n<li><strong>Microsoft SQL documentation<\/strong> <strong>\u0438 \u0434\u0440.<\/strong><\/li>\n<\/ul>\n<p>  <\/p>\n<p><em>P.S. \u0423\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043c\u044b \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u0438, \u0447\u0442\u043e DBMS \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u0441\u044f \u043c\u043d\u0435 \u043d\u0430 \u0433\u043b\u0430\u0437\u0430 \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0442\u0435\u0440\u043c\u0438\u043d \u0441\u043b\u0435\u0433\u043a\u0430 \u0443\u0441\u0442\u0430\u0440\u0435\u043b, \u0438 \u0432 \u043d\u043e\u0432\u043e\u0439 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0435 \u043f\u043e \u0431\u0430\u0437\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0447\u0442\u0438 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. \u0412 \u0441\u0442\u0430\u0440\u043e\u0439 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0435 \u2014 \u0441\u043f\u043b\u043e\u0448\u044c \u0438 \u0440\u044f\u0434\u043e\u043c. \u041f\u0430\u0440\u0434\u043e\u043d.<\/em><\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/503936\/\"> https:\/\/habr.com\/ru\/post\/503936\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/503936\/\">\n<p>\u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, <strong>\u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u043e\u043d\u0430 \u0438 \u0432 \u0410\u0444\u0440\u0438\u043a\u0435 <strong>database<\/strong>, \u043d\u043e \u0447\u0438\u0442\u0430\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0447\u043d\u0443\u044e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u043f\u043e \u0421\u0423\u0411\u0414 <em>(\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0438 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044f\u0442 \u043a\u0430\u043a DBMS \u2014 database management system)<\/em>, \u044f \u043d\u0438 \u0440\u0430\u0437\u0443 \u044d\u0442\u043e\u0442 \u0442\u0435\u0440\u043c\u0438\u043d \u2014 DBMS \u2014 \u0442\u0430\u043c \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b <em>(\u043d\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e, \u0447\u0442\u043e \u043f\u043b\u043e\u0445\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b, \u043d\u043e \u0435\u0439-\u0431\u043e\u0433\u0443 \u043d\u0435 \u0432\u0440\u0443)<\/em>.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u044d\u0442\u043e\u0442 \u0442\u0435\u0440\u043c\u0438\u043d \u0432\u044b\u0434\u0443\u043c\u0430\u043d? \u0418 \u043c\u043d\u043e\u0433\u043e \u043b\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0441\u0430\u043c\u043e\u043f\u0430\u043b\u0430?<\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0438\u0437 \u0440\u0430\u0437\u043d\u043e\u0439 \u0418\u0422-\u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0435 \u00ab\u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u043e\u043b\u0435\u00bb \u0432\u043e\u043a\u0440\u0443\u0433 \u0442\u0435\u0440\u043c\u0438\u043d\u0430 <strong>database<\/strong> \u2014 <em>\u043a\u0430\u043a\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u044b\u0432\u0430\u044e\u0442, \u0447\u0442\u043e \u0441 \u043d\u0438\u043c\u0438 \u0434\u0435\u043b\u0430\u044e\u0442 \u0438 \u0441 \u0447\u0435\u043c \u0438\u0445 \u0435\u0434\u044f\u0442<\/em>. \u041c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u044f\u0432\u043d\u043e \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u0435\u0435 \u0438 \u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u043d\u0435\u0435, \u0447\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0433\u043b\u043e\u0441\u0441\u0430\u0440\u0438\u0438. \u0420\u0435\u0448\u0430\u0442\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0432\u0430\u043c.<\/p>\n<p>  <\/p>\n<p>\u0418\u0442\u0430\u043a, \u043f\u043e\u0435\u0445\u0430\u043b\u0438.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/624\/ed1\/05d\/624ed105d987c4c8d592ce10b63f6ffb.jpg\"><\/p>\n<p>  <\/p>\n<h2 id=\"kakie-byvayut\">\u041a\u0430\u043a\u0438\u0435 \u0431\u044b\u0432\u0430\u044e\u0442?<\/h2>\n<p>  <\/p>\n<blockquote><p><strong>\u041e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong> \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432 \u043a\u043e\u043d\u0446\u0435 1980-\u0445 \u2014 \u043d\u0430\u0447\u0430\u043b\u0435 1990-\u0445 \u0433\u043e\u0434\u043e\u0432 \u0438 \u0441\u043d\u043e\u0432\u0430 \u0432\u044b\u0448\u043b\u0438 \u0438\u0437 \u043c\u043e\u0434\u044b.<br \/>  <strong>Object databases<\/strong> came and went again in the late 1980s and early 1990s.<\/p>\n<p>  \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 2000-\u0445 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c <strong>\u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 XML<\/strong>, \u043d\u043e \u043d\u0430\u0448\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0437\u043a\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435.<br \/>  <strong>XML databases<\/strong> appeared in the early 2000s, but have only seen niche adoption. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-304265","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/304265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=304265"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/304265\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=304265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=304265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=304265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}