Dataplex in Google Cloud
A beginner-friendly guide to the service that helps you find, organize, trust, and protect all the data scattered across your company, without moving it.
Imagine a giant company with thousands of filing cabinets spread across many buildings. Some cabinets are labeled, some are not. Nobody is sure which papers are accurate, which are secret, or who is allowed to open which drawer. Finding one document can take days, and nobody trusts the numbers they find.
Now imagine hiring a clever librarian who walks through every building, labels each drawer, checks the papers for mistakes, remembers where each paper came from, and makes sure only the right people can open the right drawers. Dataplex is that librarian for your data in Google Cloud. This guide teaches it from zero, in simple words, with an analogy for each big idea.
1What Is Dataplex?
First the basic words, then the service.
Data, metadata, and governance
Data is the actual information: customer records, sales numbers, photos, logs. Metadata is information about data: its name, what it means, who owns it, when it changed, and how good it is. Data governance means the rules and habits that keep data findable, trustworthy, and safe.
Data is the content of a book. Metadata is the label on its spine and the card in the library catalog: title, author, shelf, and year. Governance is the library’s rulebook about who may borrow which book and how damaged books are repaired.
The data sprawl problem
A modern company stores data in many places: Cloud Storage buckets, BigQuery tables, databases, and even other clouds. Teams create new datasets every day. Soon, nobody knows what exists, what it means, or whether it can be trusted. This mess is called data sprawl.
So what is Dataplex?
Dataplex is Google Cloud’s intelligent data governance and management service. It sits on top of your data and gives you one place to discover it, describe it, check its quality, trace where it came from, and control who can use it. Importantly, Dataplex mostly works without moving or copying your data. The data stays where it is.
You may also see the name Dataplex Universal Catalog. Google has been bringing its older data catalog features and Dataplex features together under this umbrella. Product names have shifted over time, so check the current documentation for the latest naming.
every dataset
lineage tracking
control and policy
Dataplex has changed a lot in recent years: features have been added, merged, and renamed. This guide explains the ideas and avoids exact limits and prices. Always check the current Google Cloud documentation before you design a real system.
2Why Does Dataplex Exist?
The pain it takes away.
Five painful questions
- Where is it? Analysts spend hours hunting for the right table.
- What does it mean? A column called “amt” could mean amount, amortization, or something else.
- Can I trust it? Numbers may be missing, duplicated, or wrong.
- Where did it come from? If a report looks strange, who changed what, and when?
- Who may see it? Sensitive data must be protected, but access rules differ in every tool.
The old fix: spreadsheets and meetings
Many teams try to answer these with shared spreadsheets, wiki pages, and long meetings. These go out of date within weeks. A tool that automatically reads, labels, and watches the data scales much better.
Keeping a data inventory in a spreadsheet is like trying to keep a street map by hand while the city builds new roads every day. A live navigation system updates itself, and that is what Dataplex does for your data.
One searchable catalog
Find datasets across projects and services with a simple search.
Meaning and context
Add descriptions, owners, and business terms to data.
Quality and lineage
Check data health and see its journey from source to report.
Central policy
Apply access and security rules consistently.
3Core Concepts You Must Know
The vocabulary of Dataplex in simple words.
Lake, zone, and asset
Dataplex’s original way to organize data uses three levels:
- Lake: a large grouping of data that belongs together, such as everything for one business domain like “Sales”.
- Zone: a section inside a lake with a purpose. A raw zone holds messy, original data in any format. A curated zone holds cleaned, structured data ready for analysis.
- Asset: a real storage place linked to a zone, such as a Cloud Storage bucket or a BigQuery dataset.
A lake is a whole warehouse for one department. Zones are rooms inside: the receiving dock for unsorted goods (raw) and the tidy display floor (curated). Assets are the actual shelves and boxes in those rooms.
Catalog entry
An entry is the catalog’s record for one piece of data, such as a table, a file set, a dashboard, or a model. It stores the name, location, description, and extra details.
Aspects and aspect types
An aspect type is a template for extra information, such as “Data owner: name and email” or “Sensitivity: low, medium, high”. An aspect is that template filled in for one entry. This lets you attach custom, structured labels to any data.
Business glossary
A business glossary is a shared dictionary of business words, such as “Active customer”, with an agreed meaning. You can link glossary terms to columns and tables so everyone uses words the same way.
Data quality, profile, and lineage
- Data quality scan: checks whether data meets rules you define, such as “email must not be empty”.
- Data profile scan: describes what the data looks like, such as the range of values and the share of empty cells.
- Data lineage: a map of where data came from and where it went.
Data discovery
Discovery means Dataplex automatically scans storage, finds files and tables, and registers them in the catalog, so you do not have to list each one by hand.
Catalog finds. Aspects and glossary explain. Quality and profile check. Lineage traces. Policies protect. Lakes, zones, and assets organize.
4Architecture and Components
How the pieces connect.
The main building blocks
- Data sources: BigQuery, Cloud Storage, Pub/Sub, Spanner, Cloud SQL, Looker, Vertex AI, and many more. Some outside systems can be brought in through connectors or imports.
- Universal Catalog: the central store of metadata and its search.
- Discovery and metadata harvesting: automatic reading of sources to create and update entries.
- Governance tools: glossary, aspects, quality scans, profiling, and lineage.
- Security layer: IAM and policy settings that apply across the data.
- Processing and tasks: serverless jobs, often Spark, that Dataplex can run on your data.
- Consumers: analysts, data scientists, dashboards, and AI tools that search and use the data.
flowchart TD
SRC["Data sources: BigQuery, Cloud Storage, databases, other services"] --> DISC["Discovery and metadata harvesting"]
DISC --> CAT["Dataplex Universal Catalog"]
CAT --> GOV["Governance: glossary, aspects, policies"]
CAT --> DQ["Quality and profile scans"]
CAT --> LIN["Lineage"]
CAT --> SEARCH["Search for people and tools"]
SEARCH --> USERS["Analysts, data scientists, dashboards, AI"]
Think of an airport’s control tower. It does not carry passengers or fly planes. It sees every plane, labels each one, checks safety, records where each flight came from, and decides which gates may be used. Dataplex is the tower for your data, while the data itself stays on the runways of storage and analytics services.
Metadata, not data
A key point: Dataplex mainly handles metadata. It reads descriptions and structure and builds an index. Your actual rows and files remain in BigQuery, Cloud Storage, or wherever they live. This keeps things fast, cheap, and low-risk.
5Organizing Data: Lakes, Zones, and Assets
A closer look at the structure that keeps things tidy.
Why organize by domain
A good data setup follows the business. Sales, Finance, and Marketing each have their own data and their own experts. Giving each domain its own lake makes it clear who owns what, and who should fix problems. This idea is part of a modern approach sometimes called data mesh, where each domain owns its data like a product.
Raw and curated zones
Raw zone
- Original data in any format
- Kept as it arrived
- Good for data engineers and data scientists
Curated zone
- Cleaned and structured data
- Standard formats such as Parquet or tables
- Good for analysts and dashboards
How data moves between zones
flowchart LR
IN["Source systems"] --> RAW["Raw zone: Cloud Storage assets"]
RAW --> PROC["Cleaning and transformation jobs"]
PROC --> CUR["Curated zone: BigQuery and Parquet assets"]
CUR --> USE["Analytics, BI, machine learning"]
RAW -. "Discovery registers entries" .-> CAT["Catalog"]
CUR -. "Discovery registers entries" .-> CAT
Raw is the farm where vegetables are picked, muddy and mixed. Curated is the supermarket shelf where they are washed, sorted, and labeled. The catalog is the store map that tells you which aisle has what.
Newer Dataplex features focus more on the catalog, data products, and governance across any storage, and less on strictly using lakes and zones. Lakes and zones are still useful for organizing, but check the current guidance on which approach is recommended for new projects.
6How It Works Internally: Discovery and the Catalog
The story of how data gets into the catalog and becomes searchable.
Automatic harvesting
For many Google Cloud services, such as BigQuery, metadata is added to the catalog automatically as data is created or changed.
Discovery scans
For files in Cloud Storage, you set up a discovery scan. It reads the files, detects structure such as columns and types, and creates table-like entries.
Entries appear in the catalog
Each dataset gets an entry with its name, schema, location, and update times. Search can now find it.
Enrichment
People and tools add descriptions, owners, glossary terms, and aspects so the entry becomes meaningful.
Scans and lineage
Quality and profile scans run on schedule, and lineage is recorded as jobs move data between tables.
Users search and use
An analyst searches for “customer orders”, sees owner, quality score, and lineage, and decides whether to trust and use it.
sequenceDiagram
participant S as Cloud Storage bucket
participant D as Discovery scan
participant C as Catalog
participant O as Data owner
participant A as Analyst
D->>S: Scan files and detect structure
S-->>D: Files and columns found
D->>C: Create or update entries
O->>C: Add description, owner, glossary terms
A->>C: Search for customer orders
C-->>A: Entry with schema, owner, quality, lineage
Importing outside metadata
Not all your data is in Google Cloud. Dataplex offers ways to import metadata from other systems, such as other databases and tools, using connectors and import jobs, so the catalog can describe your whole data estate. Check current documentation for supported sources.
Discovery is a clerk who walks into a room of unlabeled boxes, opens each one, writes a description card, and files it in the library catalog. The owners later add notes like “this box belongs to Finance and is confidential”.
7Data Quality and Profiling
Can you trust what is in the table?
What is data quality?
Data quality is how well data fits its purpose. Good quality data is complete, accurate, consistent, valid, unique, and timely. Poor quality data leads to wrong decisions, such as a sales report that counts the same order twice.
Quality rules
With Dataplex you define rules that describe what good data looks like. Examples in plain words:
- The customer identifier must never be empty.
- Order amounts must be greater than zero.
- The email column must look like an email address.
- No two rows may share the same order number.
- Dates must not be in the future.
- At least ninety-nine percent of the values in this column must be valid.
A data quality scan checks the data against the rules, gives a score, and reports failing rows or columns. Scans can be run once or on a schedule, and results can feed alerts.
Profiling
A profile scan looks at a table and reports what it contains: minimum and maximum values, average, number of distinct values, and the share of empty cells. It helps you understand new data and even suggest sensible quality rules.
A profile is a medical check-up report: height, weight, and blood pressure. Quality rules are the doctor’s guidelines: “blood pressure must be below this number”. The scan says which patients are in the healthy range and which need attention.
Acting on quality results
- Send alerts to the data owner when the score falls.
- Stop a pipeline from publishing bad data until it is fixed.
- Show the score next to the dataset in the catalog so users see how trustworthy it is.
- Track the score over time to see whether things improve.
Quality scans read your data, so large scans on big tables cost compute. Start with the most important tables and columns, use sampling when suitable, and schedule scans wisely.
8Data Lineage
The family tree of your data.
What is lineage?
Data lineage shows where data came from, how it was changed, and where it is used. It is like a family tree for a table: its parents (source tables), its grandparents, and its children (reports and downstream tables).
Why it matters
- Troubleshooting: when a dashboard shows a wrong number, you can trace it back to the source of the problem.
- Impact analysis: before changing a table, you can see which reports and jobs depend on it.
- Compliance: you can show auditors how sensitive data flows through your systems.
- Trust: users feel safer using data when they can see where it came from.
How it is collected
Lineage is captured automatically for supported Google Cloud services such as BigQuery, and can be sent from other tools using an open standard called OpenLineage. Each job that reads one dataset and writes another leaves a trail, and Dataplex joins these trails into a graph you can explore.
flowchart LR
A["Raw orders: Cloud Storage"] --> J1["Job: clean orders"]
B["Customer table: BigQuery"] --> J2["Job: join orders and customers"]
J1 --> C["Clean orders table"]
C --> J2
J2 --> D["Sales summary table"]
D --> R["Executive dashboard"]
Lineage is the label on a food package that tells you the farm, the factory, and the truck that handled it. If someone gets sick, investigators can trace exactly where things went wrong and which other products are affected.
9Security and Access Control
Governance includes keeping the right people in and the wrong people out.
IAM roles
IAM (Identity and Access Management) controls who can view the catalog, edit metadata, run scans, and manage lakes. Give roles by job: viewers for most people, editors for data owners, and administrators for a small governance team.
Policy propagation to data
One feature of lakes and zones is that you can set access at the lake or zone level, and Dataplex pushes matching permissions to the underlying buckets and datasets. This avoids setting the same rules by hand in many places.
Fine-grained control
Tools such as BigQuery’s column-level and row-level security work alongside the catalog. Policy tags can mark columns as sensitive, such as “personal data”, so only approved groups can read them. The catalog can show these labels so people know what is protected.
Sensitive data discovery
Google Cloud also offers tools that scan for sensitive items such as identification numbers or card numbers. Their findings can be added to the catalog as labels, helping you apply the right protection.
Audit and compliance
Audit logs record who searched, viewed, or changed metadata and policies. Combined with lineage, they help show regulators that you know where sensitive data lives and who touched it.
IAM roles are building badges. Policy tags are the “restricted” stickers on certain filing cabinets. The catalog is the map that shows where the restricted cabinets are, and the audit log is the visitor book at the front desk.
A catalog entry can reveal that a dataset exists, its column names, and its owner. Limit who can see metadata for highly sensitive datasets, not only who can see the data itself.
10Business Glossary, Aspects, and Data Products
Giving data meaning and packaging it for people.
Business glossary
Technical names do not tell the story. A glossary term such as “Net revenue” has a clear business definition, an owner, and related terms. Linking terms to columns lets anyone hovering over a column see what it truly means.
Aspects for custom metadata
Aspects allow you to add your own structured labels, such as data owner, retention period, sensitivity, and cost center. Because aspects are structured, they can be searched and filtered, such as “show all datasets owned by Finance with high sensitivity”.
Data products
A data product is a bundle of related data assets packaged for a clear purpose, with a description, an owner, and access rules, much like a product on a store shelf. For example, a “Customer 360” product may combine several tables and views. Producers publish it, and consumers request access and use it with confidence. The data product idea is newer in Dataplex, so check the current docs for the exact features.
Raw data tables are like loose ingredients. A data product is a meal kit: the right ingredients, a recipe card, an owner you can call, and clear rules on who can order it.
Example: one definition for everyone
Finance and Marketing both talk about “active customers” but count them differently. The glossary stores one agreed definition, links it to the right column, and shows the owner. Meetings about whose number is right become much shorter.
11Processing and Automation
Dataplex can do work, not just describe data.
Tasks
A Dataplex task is a scheduled or on-demand job, often Spark or a notebook-style job, that runs on serverless compute. You can use tasks to clean data, convert file formats, or run checks without managing clusters.
Templates
Dataplex offers ready-made templates for common work, such as converting files to a columnar format, or moving data between systems. Templates save effort for standard jobs.
Automation with APIs and events
Everything in Dataplex can be controlled through APIs and command-line tools, and many actions can be managed as code. Changes in the catalog can trigger notifications, which can start other work, such as sending an alert or kicking off a pipeline.
Working with orchestration tools
Tools such as Cloud Composer and Workflows can start scans and tasks as part of a larger data pipeline. A good pattern is: load data, run quality scans, publish only if the scores are good.
flowchart TD
L["Load new data"] --> Q["Run data quality scan"]
Q --> D{"Score above threshold?"}
D -- "Yes" --> P["Publish to curated zone and notify users"]
D -- "No" --> A["Alert owner and hold the data"]
A --> F["Fix the source or the rules"]
F --> L
A quality gate is the inspector at the end of a factory line. Products that pass go to the shop. Products that fail go back for repair, and the factory manager is told right away.
12Performance, Scalability, Monitoring, and Cost
How it behaves at scale, how to watch it, and what it costs.
Scale
Because Dataplex works mainly on metadata, it can handle very large estates: thousands of datasets and millions of columns. The heavy work, such as scanning data for quality, uses compute that scales with the size of your tables. Plan scans for your most valuable data first.
Monitoring
- Scan results and scores: track quality over time and set alerts on drops.
- Discovery job status: confirm scans are finding new data and not failing.
- Catalog coverage: measure what share of important datasets have owners and descriptions.
- Audit logs: see who changed policies and metadata.
- Cloud Monitoring and Logging: collect metrics and logs from Dataplex jobs.
What drives cost
- Catalog and metadata storage: the amount of metadata stored and the operations performed.
- Scans: data quality, profiling, and discovery scans consume processing based on how much data is read.
- Tasks and processing: serverless compute used by jobs.
- Underlying services: BigQuery queries, Cloud Storage reads, and network charges.
Prices and free allowances change, so use the current pricing page and calculator.
Ways to save
- Scan important tables first, and use sampling or incremental scans for large ones.
- Schedule scans at sensible intervals instead of constantly.
- Filter discovery so it only scans the folders that matter.
- Delete old scans and unused entries.
- Use labels so you can see which team drives the cost.
Checking every item in a warehouse every hour is wasteful. A smart manager checks the fragile and valuable items often and the sturdy, rarely used ones once in a while.
13Advantages, Disadvantages, and Trade-offs
An honest report card.
Advantages
- One place to find, understand, and govern data
- Works across many Google Cloud services without moving data
- Automatic metadata collection and discovery
- Built-in quality, profiling, and lineage
- Consistent access and policy approach
- Business glossary and custom aspects
- Supports data products and a data mesh style
Disadvantages
- People must still write descriptions and own their data
- Quality rules need thoughtful design
- Scans can add compute cost
- Product names and features have changed often
- Coverage of non-Google systems depends on connectors
- It is a governance tool, not a storage or analytics engine
Compared with neighbors
| Service | Main job | Relationship to Dataplex |
|---|---|---|
| Dataplex | Catalog, governance, quality, lineage | The governance layer across your data |
| BigQuery | Warehouse and SQL analytics | A major source that Dataplex catalogs and governs |
| Cloud Storage | Object storage for files | Holds raw and curated files described by Dataplex |
| Dataproc and Dataflow | Processing engines | Move and transform data, with lineage captured by Dataplex |
| Sensitive data protection tools | Find and mask sensitive items | Findings can feed catalog labels |
| Third-party catalogs | Independent data catalog products | Alternatives or partners, sometimes used alongside Dataplex |
14Design Patterns and Anti-patterns
Habits that work, and traps to avoid.
Good patterns
Domain ownership
Each business domain owns its data, with named owners in the catalog.
Raw to curated flow
Land messy data in raw areas, publish clean data in curated areas.
Quality gates
Run quality scans before publishing, and block bad data.
Glossary first
Agree on business definitions before building dashboards.
Tag sensitive data
Label sensitive columns early, and tie access rules to the labels.
Data products
Package key datasets with owners, documentation, and access rules.
Anti-patterns
What people do
They switch on the catalog and expect good governance without any human effort.
Why it hurts
Entries exist, but without owners, descriptions, or glossary terms, nobody can use them well.
Do this instead
Assign owners, set simple documentation rules, and track coverage over time.
What people do
They write hundreds of quality rules on day one for every table.
Why it hurts
Rules are noisy, scans are costly, and nobody acts on the alerts.
Do this instead
Start with a few critical rules on key tables and grow carefully.
What people do
They give everyone editor rights on all metadata.
Why it hurts
Descriptions, labels, and policies can be changed by accident or on purpose, and trust in the catalog drops.
Do this instead
Give edit rights only to owners and stewards, and let others view and suggest.
15Best Practices, Common Mistakes, and Real-World Uses
Your checklist, the usual stumbles, and where Dataplex shines.
Best practices
- Start with a few high-value domains, not the whole company at once.
- Name owners for every important dataset.
- Write short, clear descriptions and link glossary terms.
- Define a standard set of aspects such as owner, sensitivity, and retention.
- Use quality scans on critical data and show scores in the catalog.
- Capture lineage for key pipelines, including non-Google tools through OpenLineage.
- Tag sensitive columns and connect them to access policies.
- Review IAM roles regularly with least privilege in mind.
- Measure adoption, such as the number of searches and the share of documented datasets.
- Automate with code so settings are repeatable and reviewable.
Common mistakes
Treating it as an IT-only project
Governance fails when only the platform team cares. Business owners must take part, because they know what the data means.
Forgetting about freshness
Discovery scans run once and never again, so the catalog drifts out of date. Schedule scans where files change often.
Scanning everything
Large profile scans on huge tables run daily and cost far more than expected. Prioritize and schedule carefully.
Ignoring naming and structure
Files with random names and folder layouts confuse discovery. Use consistent paths and formats.
Real-world uses
Analyst self-service
A new analyst searches the catalog for “monthly churn”, sees the owner, the quality score, and the lineage, and builds a report in minutes instead of days.
Regulated industries
Banks and healthcare companies map where sensitive data lives, label it, restrict access, and use lineage and audit logs for reviews, together with proper legal and compliance advice.
Data lake organization
A media company with millions of files in Cloud Storage uses discovery to register them as tables that analysts can query.
Data mesh programs
Each business domain publishes data products with owners and quality guarantees, while a small central team sets common rules.
Machine learning preparation
Data scientists check profile and quality results and lineage before they trust a dataset for training a model.
Migration and cleanup
During a warehouse migration, lineage shows which reports depend on which tables, so old tables can be retired safely.
16Frequently Asked Questions
17Summary and Key Takeaways
You started with a company full of unlabeled filing cabinets and a librarian who could fix the chaos. You now understand that Dataplex is that librarian for Google Cloud: it finds your data, explains it, checks it, traces it, and helps protect it, without moving it.
Key Takeaways
- Dataplex is a data governance and intelligence layer that works mostly on metadata, leaving your data in BigQuery, Cloud Storage, and other sources.
- Know the vocabulary: catalog entries, aspects, glossary terms, lakes, zones, and assets describe and organize data.
- Discovery fills the catalog automatically, and humans add the meaning: owners, descriptions, and business terms.
- Trust comes from quality and lineage: rules and scans show how healthy data is, and lineage shows where it came from and what depends on it.
- Protect with layers: IAM roles, policy tags, fine-grained security, and audit logs, applied consistently.
- Start small and own it: begin with one domain, name owners, add a few high-value rules, and grow with real adoption.
- Watch cost and naming changes: scans cost compute, so prioritize them, and always check current documentation because product names and features keep evolving.