BigQuery Tutorial

Google BigQuery Datasets and Tables: How Data Is Organized

Santiago Cardozo
Marketing Manager at Porter

March 19, 2026

Google BigQuery organizes all data in a three-level hierarchy: projects contain datasets, and datasets contain tables. Understanding this structure is the first step to setting up your marketing data warehouse correctly.

The BigQuery Data Hierarchy

The full address of any table in BigQuery follows this format: project_id.dataset_name.table_name. For example: my-marketing-project.meta_ads.daily_performance.

How to Create a Dataset in BigQuery

To create a dataset, open BigQuery Studio and find your project in the Explorer panel on the left. Click the three-dot menu next to your project name and select “Create dataset.”

You will see a form with these fields:

Click “Create dataset” and your dataset appears in the Explorer panel.

How to Create a Table in BigQuery

You create tables in BigQuery in several ways.

Understanding Table Schema

Every BigQuery table has a schema. The schema defines the columns in the table, the data type of each column, and whether each column is required or optional.

Common data types in marketing tables:

When you load data from Porter Metrics into BigQuery, the schema is created automatically based on the metrics and dimensions you selected. You do not define the schema manually.

How Marketing Data Is Organized in BigQuery

A typical marketing data setup in BigQuery looks like this:

This structure keeps data from different sources organized and easy to find. When you write a SQL query, you reference the full path: SELECT * FROM my-marketing-project.meta_ads.daily_performance.

Loading Marketing Data Into Your BigQuery Datasets

Porter Metrics creates your datasets and tables automatically when you set up your first data sync. You select your data source, choose your BigQuery project, and name your dataset and table. Porter loads your data on a daily schedule and keeps your tables up to date.

← Previous Lesson
Next Lesson →

Ready to connect your marketing data to BigQuery?

Porter Metrics makes it easy to sync all your sources — no code required.

Start Free Trial