{"title":"Catalogs","description":"Create hosted, optimized lakehouse catalogs on Altertable, backed by Parquet files in object storage.","order":25,"askSuggestions":["When should I use an Altertable catalog instead of an external one?","Can I store catalog data in my own bucket?"],"navigation":true,"routeId":"lakehouseCatalogs","body":{"code":"var Component=(()=>{var u=Object.create;var l=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty;var k=(a,e)=>()=>(e||a((e={exports:{}}).exports,e),e.exports),w=(a,e)=>{for(var n in e)l(a,n,{get:e[n],enumerable:!0})},s=(a,e,n,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of f(e))!p.call(a,r)&&r!==n&&l(a,r,{get:()=>e[r],enumerable:!(o=b(e,r))||o.enumerable});return a};var y=(a,e,n)=>(n=a!=null?u(m(a)):{},s(e||!a||!a.__esModule?l(n,\"default\",{value:a,enumerable:!0}):n,a)),x=a=>s(l({},\"__esModule\",{value:!0}),a);var i=k((D,c)=>{c.exports=_jsx_runtime});var C={};w(C,{default:()=>g,frontmatter:()=>A});var t=y(i()),A={title:\"Catalogs\",routeId:\"lakehouseCatalogs\",description:\"Create hosted, optimized lakehouse catalogs on Altertable, backed by Parquet files in object storage.\",order:25,askSuggestions:[\"When should I use an Altertable catalog instead of an external one?\",\"Can I store catalog data in my own bucket?\"]};function h(a){let e={a:\"a\",code:\"code\",h1:\"h1\",h2:\"h2\",li:\"li\",ol:\"ol\",p:\"p\",strong:\"strong\",ul:\"ul\",...a.components},{DocsPreviewDocument:n,DocsPreviewSection:o}=e;return n||d(\"DocsPreviewDocument\",!0),o||d(\"DocsPreviewSection\",!0),(0,t.jsxs)(n,{anchors:\"altertable-catalogs when-to-use-altertable-catalogs create-a-catalog storage-options learn-more\",children:[(0,t.jsxs)(o,{sectionId:\"altertable-catalogs\",sectionTitle:\"Altertable catalogs\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,t.jsx)(e.h1,{id:\"altertable-catalogs\",children:\"Altertable catalogs\"}),`\n`,(0,t.jsx)(e.p,{children:\"Altertable catalogs are hosted lakehouse databases you create and manage on the Altertable platform. They are the default place to store new data when you want Altertable to handle the catalog, storage layout, and query path for you.\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"Unlike \",(0,t.jsx)(e.a,{href:\"/docs/lakehouse/external-catalogs\",children:\"external catalogs\"}),\", which connect existing databases, warehouses, or buckets, Altertable catalogs are managed by Altertable from the start. They use Altertable \",(0,t.jsx)(e.a,{href:\"/docs/lakehouse/compute/workers\",children:\"Workers\"}),\" for compute and \",(0,t.jsx)(e.a,{href:\"/docs/lakehouse/storage/buckets\",children:\"Buckets\"}),\" for durable object storage.\"]}),`\n`,(0,t.jsx)(e.p,{children:\"Each table in an Altertable catalog is backed by Parquet files written to an underlying bucket. Because Altertable controls the full path from SQL execution to file layout, Altertable catalogs are the most optimized catalog type available on the platform.\"}),`\n`]}),(0,t.jsxs)(o,{sectionId:\"when-to-use-altertable-catalogs\",sectionTitle:\"When to use Altertable catalogs\",anchors:\"\",ancestors:\"\",index:\"1\",children:[(0,t.jsx)(e.h2,{id:\"when-to-use-altertable-catalogs\",children:\"When to use Altertable catalogs\"}),`\n`,(0,t.jsx)(e.p,{children:\"Use an Altertable catalog when you want to:\"}),`\n`,(0,t.jsxs)(e.ul,{children:[`\n`,(0,t.jsx)(e.li,{children:\"Create new lakehouse tables without provisioning your own database.\"}),`\n`,(0,t.jsx)(e.li,{children:\"Store durable data in open Parquet files.\"}),`\n`,(0,t.jsx)(e.li,{children:\"Let Altertable optimize file layout, caching, and query execution together.\"}),`\n`,(0,t.jsx)(e.li,{children:\"Query managed tables alongside external catalogs in the same SQL engine.\"}),`\n`]}),`\n`]}),(0,t.jsxs)(o,{sectionId:\"create-a-catalog\",sectionTitle:\"Create a catalog\",anchors:\"\",ancestors:\"\",index:\"2\",children:[(0,t.jsx)(e.h2,{id:\"create-a-catalog\",children:\"Create a catalog\"}),`\n`,(0,t.jsxs)(e.ol,{children:[`\n`,(0,t.jsxs)(e.li,{children:[\"Open \",(0,t.jsx)(e.strong,{children:\"Catalogs\"}),\" and choose \",(0,t.jsx)(e.strong,{children:\"New catalog\"}),\".\"]}),`\n`,(0,t.jsxs)(e.li,{children:[\"Choose \",(0,t.jsx)(e.strong,{children:\"Default\"}),\" to create a managed Altertable catalog.\"]}),`\n`,(0,t.jsxs)(e.li,{children:[\"Enter a name and choose a \",(0,t.jsx)(e.a,{href:\"/docs/lakehouse/storage/buckets\",children:\"bucket\"}),\" for its storage.\"]}),`\n`,(0,t.jsxs)(e.li,{children:[\"Choose \",(0,t.jsx)(e.strong,{children:\"Create catalog\"}),\".\"]}),`\n`]}),`\n`,(0,t.jsxs)(e.p,{children:[\"Continue with \",(0,t.jsx)(e.a,{href:\"/docs/getting-started/ingest-data\",children:\"Ingest your first data\"}),\" to write a record and query it back. Use the catalog's name in fully qualified table references, such as \",(0,t.jsx)(e.code,{children:\"my_catalog.main.events\"}),\".\"]}),`\n`]}),(0,t.jsxs)(o,{sectionId:\"storage-options\",sectionTitle:\"Storage options\",anchors:\"\",ancestors:\"\",index:\"3\",children:[(0,t.jsx)(e.h2,{id:\"storage-options\",children:\"Storage options\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"When using a connected bucket, \",(0,t.jsx)(e.strong,{children:\"Folder\"}),\" sets the catalog's storage path and defaults to the catalog name. This field is hidden for built-in buckets.\"]}),`\n`,(0,t.jsxs)(e.p,{children:[\"Open \",(0,t.jsx)(e.strong,{children:\"Advanced\"}),\" during catalog creation to configure retention and \",(0,t.jsx)(e.strong,{children:\"Data inlining\"}),\". The catalog overview shows its configured inlining row limit. Review these settings for the workload rather than assuming every catalog uses the same layout.\"]}),`\n`]}),(0,t.jsxs)(o,{sectionId:\"learn-more\",sectionTitle:\"Learn more\",anchors:\"\",ancestors:\"\",index:\"4\",children:[(0,t.jsx)(e.h2,{id:\"learn-more\",children:\"Learn more\"}),`\n`,(0,t.jsxs)(e.ul,{children:[`\n`,(0,t.jsxs)(e.li,{children:[(0,t.jsx)(e.strong,{children:(0,t.jsx)(e.a,{href:\"/docs/lakehouse/compute/workers\",children:\"Workers\"})}),\": Workers that execute SQL and cache hot data\"]}),`\n`,(0,t.jsxs)(e.li,{children:[(0,t.jsx)(e.strong,{children:(0,t.jsx)(e.a,{href:\"/docs/lakehouse/storage/buckets\",children:\"Buckets\"})}),\": Buckets that store catalog files\"]}),`\n`,(0,t.jsxs)(e.li,{children:[(0,t.jsx)(e.strong,{children:(0,t.jsx)(e.a,{href:\"/docs/lakehouse/external-catalogs\",children:\"External Catalogs\"})}),\": Connect existing databases, warehouses, and buckets\"]}),`\n`,(0,t.jsxs)(e.li,{children:[(0,t.jsx)(e.strong,{children:(0,t.jsx)(e.a,{href:\"/docs/lakehouse/endorsement\",children:\"Endorsement\"})}),\": Steer which catalogs and tables agents use\"]}),`\n`]})]})]})}function g(a={}){let{wrapper:e}=a.components||{};return e?(0,t.jsx)(e,{...a,children:(0,t.jsx)(h,{...a})}):h(a)}function d(a,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+a+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return x(C);})();\n;return Component;"},"_id":"docs/lakehouse/catalogs.mdx","_raw":{"sourceFilePath":"docs/lakehouse/catalogs.mdx","sourceFileName":"catalogs.mdx","sourceFileDir":"docs/lakehouse","contentType":"mdx","flattenedPath":"docs/lakehouse/catalogs"},"type":"Docs","path":"/lakehouse/catalogs","level":2,"parent":"lakehouse"}