{"id":2249,"date":"2016-05-19T22:59:51","date_gmt":"2016-05-19T22:59:51","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2249"},"modified":"2025-10-09T07:13:03","modified_gmt":"2025-10-09T14:13:03","slug":"faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/","title":{"rendered":"Indexa\u00e7\u00e3o e consulta mais r\u00e1pidas: Apresentando os \u00edndices secund\u00e1rios globais otimizados para mem\u00f3ria - PARTE II"},"content":{"rendered":"<p dir=\"ltr\" style=\"margin-top: 0pt;margin-bottom: 0pt;line-height: 1.38;color: #333333;text-align: left\">Em <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi\/\">PARTE I<\/a>Na se\u00e7\u00e3o \"Indexa\u00e7\u00e3o\", abordamos as diferen\u00e7as na indexa\u00e7\u00e3o com \u00edndices locais e globais. Tamb\u00e9m conclu\u00edmos com as duas op\u00e7\u00f5es de armazenamento que o Couchbase Server oferece para \u00edndices secund\u00e1rios globais: GSI padr\u00e3o e GSI otimizado para mem\u00f3ria. Vamos nos aprofundar agora no GSI otimizado para mem\u00f3ria;<\/p>\n<h2 dir=\"ltr\" style=\"margin-top: 0pt;margin-bottom: 0pt;line-height: 1.38;color: #333333;text-align: left\">O que \u00e9 um \u00edndice secund\u00e1rio global otimizado para mem\u00f3ria?<\/h2>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\"><span style=\"line-height: 20.8px\">Em <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi\/\">post anterior sobre \u00edndices globais e locais<\/a>Na se\u00e7\u00e3o \"Como manter os \u00edndices globais\", falamos bastante sobre como os \u00edndices globais reduzem a lat\u00eancia das consultas em compara\u00e7\u00e3o com os \u00edndices locais. Tamb\u00e9m vimos como pode ser desafiador manter esses \u00edndices globais: Os \u00edndices globais exigem um subconjunto de n\u00f3s para acompanhar um grande cluster de n\u00f3s. No caso do Couchbase Server, 10 a 100 mil opera\u00e7\u00f5es por segundo \u00e9 a norma para um cluster. <\/span><\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">Desafios<span style=\"line-height: 20.8px\">\u00a0n\u00e3o termina a\u00ed! A indexa\u00e7\u00e3o global pode ser ainda mais desafiadora em casos como \u00edndices de matriz (leia mais sobre \u00edndices de matriz\u00a0<\/span><a style=\"line-height: 20.8px;background-color: #ffffff\" href=\"https:\/\/developer.couchbase.com\/documentation\/server\/4.5\/n1ql\/n1ql-language-reference\/indexing-arrays.html\">aqui<\/a><span style=\"line-height: 20.8px\">). Os \u00edndices de matriz indexam os elementos de uma <\/span>incorporado<span style=\"line-height: 20.8px\">\u00a0em um documento JSON e as muta\u00e7\u00f5es para documentos com matrizes ampliam um documento<\/span><span style=\"line-height: 20.8px\">\u00a0a muitas grava\u00e7\u00f5es de \u00edndice.\u00a0<\/span>O \u00edndice secund\u00e1rio global otimizado de mem\u00f3ria (MOI) foi criado especificamente para resolver os desafios desses aplicativos mais exigentes.\u00a0<em>itiner\u00e1rio de viagem, placar\u00a0<\/em>e<em>\u00a0detec\u00e7\u00e3o de fraudes<\/em>\u00a0- Sem problemas!<\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">A MOI pode oferecer lat\u00eancia e taxa de transfer\u00eancia dez vezes melhores em muta\u00e7\u00f5es mais r\u00e1pidas para os dados em compara\u00e7\u00e3o com a GSI padr\u00e3o, e \u00e9 assim que ela faz isso:<\/p>\n<ol style=\"margin-top: 0pt;margin-bottom: 0pt;color: #333333;line-height: 20.8px;text-align: left\">\n<li>O processamento sem bloqueio para indexa\u00e7\u00e3o simplesmente permite uma concorr\u00eancia maci\u00e7a ao manter a muta\u00e7\u00e3o de entrada no \u00edndice.<\/li>\n<li>A estrutura Skiplist otimiza o armazenamento na mem\u00f3ria, ao contr\u00e1rio dos \u00edndices B+Tree.<\/li>\n<li>For\u00e7ar o \u00edndice para o armazenamento em mem\u00f3ria significa que o MOI n\u00e3o \u00e9 executado em velocidades de disco para armazenar o \u00edndice; em vez disso, ele tira instant\u00e2neos regulares para o disco somente para recupera\u00e7\u00e3o.<\/li>\n<\/ol>\n<h3 style=\"color: #333333;text-align: left\">\u00cdndices secund\u00e1rios globais otimizados para mem\u00f3ria versus \u00edndices secund\u00e1rios globais padr\u00e3o<\/h3>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">Os \u00edndices otimizados para mem\u00f3ria foram adicionados na vers\u00e3o 4.5 como uma op\u00e7\u00e3o de armazenamento adicional para GSIs. Os \u00edndices secund\u00e1rios globais padr\u00e3o est\u00e3o presentes desde a vers\u00e3o 4.0. Os administradores podem configurar o GSI com o armazenamento padr\u00e3o do GSI, que usa o ForestDB por baixo, para \u00edndices que n\u00e3o cabem na mem\u00f3ria, ou podem escolher o GSI otimizado para mem\u00f3ria para indexa\u00e7\u00e3o e consultas mais r\u00e1pidas na mem\u00f3ria.<\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\"><span style=\"line-height: 20.8px\">Normalmente, os \u00edndices s\u00e3o criados para reduzir as lat\u00eancias de consulta, e manter os \u00edndices na mem\u00f3ria reduz muito mais as lat\u00eancias! A MOI foi projetada para reduzir a lat\u00eancia e <\/span>mais alto<span style=\"line-height: 20.8px\">\u00a0As necessidades de taxa de transfer\u00eancia e o MOI exigem m\u00e1quinas com grande mem\u00f3ria para manter o \u00edndice na RAM. O GSI padr\u00e3o pode ser transferido para o disco quando a mem\u00f3ria se esgota. O desempenho do subsistema IO torna-se <\/span>extremamente<span style=\"line-height: 20.8px\">\u00a0importante para que o GSI padr\u00e3o tenha um bom desempenho. Entretanto, diferentemente do GSI padr\u00e3o, o h<\/span><span style=\"line-height: 20.8px\">O subsistema de E\/S de alto desempenho n\u00e3o \u00e9 necess\u00e1rio para o MOI. Como o MOI \u00e9 executado em velocidades na mem\u00f3ria, os tempos de indexa\u00e7\u00e3o inicial e cont\u00ednua s\u00e3o mais r\u00e1pidos com o MOI em compara\u00e7\u00e3o com o GSI padr\u00e3o.\u00a0<\/span><\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">A tabela a seguir resume as principais diferen\u00e7as entre as GSIs padr\u00e3o e as otimizadas para mem\u00f3ria;<\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: center\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/may\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi---part-ii\/indexingdeepdive.jpg\" \/><\/p>\n<h3 style=\"color: #333333;text-align: left\">Cria\u00e7\u00e3o e gerenciamento de GSIs otimizadas para mem\u00f3ria<\/h3>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">Independentemente do tipo de armazenamento, CREATE INDEX \u00e9 a maneira de criar \u00edndices secund\u00e1rios globais no Couchbase Server. De fato, n\u00e3o h\u00e1 op\u00e7\u00f5es espec\u00edficas de MOI na instru\u00e7\u00e3o CREATE INDEX. Em geral, a alta disponibilidade e a mec\u00e2nica de particionamento permanecem as mesmas com padr\u00f5es versus GSI otimizado para mem\u00f3ria. No entanto, \u00e9 importante observar que o MOI vem com estat\u00edsticas e alertas adicionais para ajudar na coloca\u00e7\u00e3o de \u00edndices e no gerenciamento de \u00edndices.<\/p>\n<h4 style=\"font-size: 13px;color: #333333;text-align: left\">Coloca\u00e7\u00e3o de \u00edndices otimizados para mem\u00f3ria no cluster do Couchbase Server<\/h4>\n<p>Os \u00edndices otimizados para mem\u00f3ria fornecem duas estat\u00edsticas importantes que podem orientar o posicionamento do MOI com a cl\u00e1usula NODES em <a href=\"https:\/\/developer.couchbase.com\/documentation\/server\/4.5\/n1ql\/n1ql-language-reference\/createindex.html\">CRIAR \u00cdNDICE<\/a>.<\/p>\n<ul>\n<li><strong>\u00cdndice m\u00e1ximo de RAM usado %:<\/strong> Informa a cota m\u00e1xima de RAM usada em porcentagem (%) no cluster e em cada n\u00f3, tanto em tempo real quanto com um hist\u00f3rico de minutos, horas, dias, semanas e muito mais.<\/li>\n<li><strong>\u00cdndice restante de RAM: <\/strong>Informa a cota de RAM de \u00edndice livre para o cluster como um total e em cada n\u00f3, tanto em tempo real quanto com um hist\u00f3rico de minutos, horas, dias, semanas e mais.<\/li>\n<\/ul>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/may\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi---part-ii\/moistats.jpg\" \/><\/p>\n<p>Ao colocar o pr\u00f3ximo \u00edndice otimizado para mem\u00f3ria, voc\u00ea pode observar a disponibilidade de mem\u00f3ria no n\u00f3 e colocar o \u00edndice com base no tamanho da mem\u00f3ria.<\/p>\n<h4 style=\"color: #333333;line-height: 20.8px;text-align: left\">Alertas com \u00edndices otimizados para mem\u00f3ria<\/h4>\n<p>A falta de mem\u00f3ria interrompe a indexa\u00e7\u00e3o com o MOI, portanto, \u00e9 importante que os administradores possam ver visualmente se um n\u00f3 est\u00e1 se aproximando da cota de RAM. A estat\u00edstica MAX Index RAM Used % (discutida acima) foi criada exatamente para isso. H\u00e1 tamb\u00e9m um alerta que alertar\u00e1 o usu\u00e1rio interativo ou notificar\u00e1 os administradores por e-mail. O alerta <em>\"Aproximando-se da cota total de RAM do indexador\"<\/em>O alerta de cota de RAM do indexador, que dispara se mais de 75% da cota de RAM do indexador for esgotada em qualquer n\u00f3 do cluster. Voc\u00ea pode configurar os alertas no Console da Web em configura\u00e7\u00f5es.<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/may\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi---part-ii\/moialert2.jpg\" \/><\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">A documenta\u00e7\u00e3o t\u00e9cnica fornece informa\u00e7\u00f5es mais detalhadas sobre o MOI e o GSI em geral. Voc\u00ea pode ler mais sobre como selecionar o modo de armazenamento para GSI e como administrar o servi\u00e7o de \u00edndice e GSIs no guia de administradores\u00a0<a href=\"https:\/\/developer.couchbase.com\/documentation\/server\/4.5\/indexes\/gsi-for-n1ql.html\">aqui<\/a>\u00a0e encontre o guia de arquitetura do servi\u00e7o de indexa\u00e7\u00e3o e dos indexadores\u00a0<a href=\"https:\/\/developer.couchbase.com\/documentation\/server\/4.5\/architecture\/views-indexing-index-service.html\">aqui<\/a>.<\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">Em <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/efficient-io-with-circular-writes-on-global-indexes-in-couchbase-server-4.5\/\">Parte III<\/a> da s\u00e9rie, falaremos sobre o novo Circular Write Mode com \u00edndices globais padr\u00e3o e como o Circular Write Mode melhora o desempenho de E\/S ao indexar dados no Couchbase Server 4.5.<\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">Feliz hacking<\/p>\n<p style=\"color: #333333;line-height: 20.8px;text-align: left\">-Cihan<\/p>","protected":false},"excerpt":{"rendered":"<p>In PART I, we have covered the differences in indexing with local and global indexes. We have also concluded with the 2 storage options Couchbase Server provides for global secondary indexes: standard GSI and memory\u00a0optimized GSI. Lets dive into memory [&hellip;]<\/p>","protected":false},"author":7,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1812],"tags":[],"ppma_author":[8978],"class_list":["post-2249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-n1ql-query"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.2 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Memory Optimized Global Secondary Indexes - Faster Indexing and Query<\/title>\n<meta name=\"description\" content=\"See what is Memory Optimized Global Secondary and learn the differences between standard Global Secondary Indexes vs memory optimized GSIs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Faster Indexing and Query: Introducing Memory Optimized Global Secondary Indexes - PART II\" \/>\n<meta property=\"og:description\" content=\"See what is Memory Optimized Global Secondary and learn the differences between standard Global Secondary Indexes vs memory optimized GSIs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-19T22:59:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-09T14:13:03+00:00\" \/>\n<meta name=\"author\" content=\"Cihan Biyikoglu, Director of Product Management, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cihan Biyikoglu, Director of Product Management, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/\"},\"author\":{\"name\":\"Cihan Biyikoglu, Director of Product Management, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3d8c60500ca29254fcdb2f76f29fb088\"},\"headline\":\"Faster Indexing and Query: Introducing Memory Optimized Global Secondary Indexes &#8211; PART II\",\"datePublished\":\"2016-05-19T22:59:51+00:00\",\"dateModified\":\"2025-10-09T14:13:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/\"},\"wordCount\":841,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"SQL++ \/ N1QL Query\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/\",\"name\":\"Memory Optimized Global Secondary Indexes - Faster Indexing and Query\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2016-05-19T22:59:51+00:00\",\"dateModified\":\"2025-10-09T14:13:03+00:00\",\"description\":\"See what is Memory Optimized Global Secondary and learn the differences between standard Global Secondary Indexes vs memory optimized GSIs.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Faster Indexing and Query: Introducing Memory Optimized Global Secondary Indexes &#8211; PART II\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3d8c60500ca29254fcdb2f76f29fb088\",\"name\":\"Cihan Biyikoglu, Director of Product Management, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/a878e65cb37ac2419416d3289816abd5\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3e1ac58dd480dd8a6e93d700a58d329bb81df928061de04395055a45274b8702?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3e1ac58dd480dd8a6e93d700a58d329bb81df928061de04395055a45274b8702?s=96&d=mm&r=g\",\"caption\":\"Cihan Biyikoglu, Director of Product Management, Couchbase\"},\"description\":\"Cihan Biyikoglu is a director of product management at Couchbase, responsible for the Couchbase Server product. Cihan is a big data enthusiast who brings over twenty years of experience to Redis Labs\u2019 product team. Cihan started his career as a C\/C++ developer.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/cihan-biyikoglu\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Memory Optimized Global Secondary Indexes - Faster Indexing and Query","description":"See what is Memory Optimized Global Secondary and learn the differences between standard Global Secondary Indexes vs memory optimized GSIs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/pt\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/","og_locale":"pt_BR","og_type":"article","og_title":"Faster Indexing and Query: Introducing Memory Optimized Global Secondary Indexes - PART II","og_description":"See what is Memory Optimized Global Secondary and learn the differences between standard Global Secondary Indexes vs memory optimized GSIs.","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/","og_site_name":"The Couchbase Blog","article_published_time":"2016-05-19T22:59:51+00:00","article_modified_time":"2025-10-09T14:13:03+00:00","author":"Cihan Biyikoglu, Director of Product Management, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Cihan Biyikoglu, Director of Product Management, Couchbase","Est. reading time":"5 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/"},"author":{"name":"Cihan Biyikoglu, Director of Product Management, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3d8c60500ca29254fcdb2f76f29fb088"},"headline":"Faster Indexing and Query: Introducing Memory Optimized Global Secondary Indexes &#8211; PART II","datePublished":"2016-05-19T22:59:51+00:00","dateModified":"2025-10-09T14:13:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/"},"wordCount":841,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["SQL++ \/ N1QL Query"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/","url":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/","name":"Memory Optimized Global Secondary Indexes - Faster Indexing and Query","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2016-05-19T22:59:51+00:00","dateModified":"2025-10-09T14:13:03+00:00","description":"See what is Memory Optimized Global Secondary and learn the differences between standard Global Secondary Indexes vs memory optimized GSIs.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/faster-indexing-and-query-with-memory-optimized-global-secondary-indexes-gsi-part-ii\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Faster Indexing and Query: Introducing Memory Optimized Global Secondary Indexes &#8211; PART II"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3d8c60500ca29254fcdb2f76f29fb088","name":"Cihan Biyikoglu, diretor de gerenciamento de produtos, Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/a878e65cb37ac2419416d3289816abd5","url":"https:\/\/secure.gravatar.com\/avatar\/3e1ac58dd480dd8a6e93d700a58d329bb81df928061de04395055a45274b8702?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3e1ac58dd480dd8a6e93d700a58d329bb81df928061de04395055a45274b8702?s=96&d=mm&r=g","caption":"Cihan Biyikoglu, Director of Product Management, Couchbase"},"description":"Cihan Biyikoglu \u00e9 diretor de gerenciamento de produtos da Couchbase, respons\u00e1vel pelo produto Couchbase Server. Cihan \u00e9 um entusiasta de big data que traz mais de vinte anos de experi\u00eancia para a equipe de produtos da Redis Labs. Cihan come\u00e7ou sua carreira como desenvolvedor C\/C++.","url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/cihan-biyikoglu\/"}]}},"authors":[{"term_id":8978,"user_id":7,"is_guest":0,"slug":"cihan-biyikoglu","display_name":"Cihan Biyikoglu, Director of Product Management, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/3e1ac58dd480dd8a6e93d700a58d329bb81df928061de04395055a45274b8702?s=96&d=mm&r=g","author_category":"","last_name":"Biyikoglu","first_name":"Cihan","job_title":"","user_url":"","description":"Cihan Biyikoglu \u00e9 diretor de gerenciamento de produtos da Couchbase, respons\u00e1vel pelo produto Couchbase Server. Cihan \u00e9 um entusiasta de big data que traz mais de vinte anos de experi\u00eancia para a equipe de produtos da Redis Labs. Cihan come\u00e7ou sua carreira como desenvolvedor C\/C++."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=2249"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2249\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=2249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=2249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=2249"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=2249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}