What data in Amazon Redshift could be useful to a buyer
Useful Redshift data connects business observations to the conditions and outcomes a buyer needs to study. A warehouse query can supply those records, but table size, query logs and backups do not establish complete business history, licensing rights or buyer demand.
Start with a business question, then inspect the tables
For an operations owner, a useful starting question is: could someone test a late-delivery forecast using the warehouse records available before departure? That requires shipment events, the promised delivery window and the later delivery result. A monthly on-time percentage cannot supply the individual examples behind it.
Redshift is the place where these sources may have been joined and transformed. Ask the data engineer to trace one proposed output back to its source systems, table definitions and transformation logic. Separate original observations, corrected records, calculated fields and aggregates. The following map describes material to look for, not inventory known to exist in your warehouse.
| Material to inspect | Why it matters for this task | Context to retain |
|---|---|---|
| Shipment or delivery-leg events | Defines the example being predicted | Stable shipment/leg key; event type; source system; event time and warehouse arrival time |
| Promised windows and route assignments | Explains the operating conditions at the decision | The version effective at departure, its source and time zone; later edits separately |
| Delivery attempts and confirmations | Supplies an observed outcome | Attempt time, actual arrival, cancellation or unresolved status; meaning of “delivered” |
| Facility, route and service definitions | Makes comparable records interpretable | Units, calendars and effective dates; a current lookup may describe a different past service |
| Query and transformation definitions | Explains how the offered records were produced | Selected fields, joins, filters, deduplication, refresh schedule and extraction time |
Worked example: what was knowable at 09:00?
This example is entirely fictional. Table and field labels are illustrative business concepts, not built-in Redshift objects. A dispatch team wants to evaluate a model that flags shipments likely to miss a 17:00 delivery deadline. For shipment S-41, the forecast cutoff is 09:00 on 6 May; all times below are UTC.
Join the shipment to events using a stable shipment key, and to its route definition using the version effective and available at the cutoff. Check join counts: one shipment joined to five tracking events produces five rows, not five independent shipments. Reduce or summarize those events deliberately before counting examples.
Here, availability means available to the model through the warehouse. A dispatcher might have learned something through another channel; warehouse arrival time alone does not establish everything a person knew.
| Record | Time evidence | How to use it |
|---|---|---|
| Original promised deadline: 17:00 | Promise recorded before 09:00 | An eligible input and the basis for this outcome definition |
| Congestion observation | Observed 08:55; arrived in the warehouse 09:07 | Exclude from the 09:00 input: the earlier event timestamp alone would hide its late arrival |
| Route changed from R-3 to R-8 | Dispatch decision recorded at 10:20 | Keep as later context; do not attach the current R-8 assignment as if it were known at 09:00 |
| Arrival confirmation: 16:40 | Confirmed after arrival | Withhold from the model input; it supports an on-time outcome under the original 17:00 promise |
| Deadline overwritten to 18:00 | Correction entered the next day | Retain the correction separately; using only the latest value changes what the forecast was being judged against |
What the example supports—and what it cannot show
A proposed evaluation would supply only warehouse information available by 09:00 and ask for a late-risk estimate with supporting evidence. Hold the arrival and later decisions apart for scoring. Choose a scoring method before examining results, and keep unresolved deliveries separate from confirmed on-time or late outcomes. Split repeated shipments or related route periods carefully so near-duplicate cases do not appear on both sides of a test.
The 16:40 confirmation establishes this shipment met the original deadline; it does not prove the reroute caused success. If warehouse-arrival times or historical promise versions were never retained, a faithful 09:00 reconstruction may be impossible. The remaining data might still support a retrospective delivery report, with that narrower scope stated.
Training examples, forecast evaluation and internal operational reporting need different preparation and permissions. The example proposes a task worth investigating; no external buyer, purchase offer or confirmed demand has been established for a Redshift collection.
An UNLOAD is a query result written to S3
AWS documents UNLOAD to Amazon S3 as text, JSON or Parquet. It requires SELECT on the source data and authority to write to the destination, including the relevant IAM-role and bucket permissions. Have the administrator approve the extraction identity and destination; database access and S3 access are separate checks.
Request a bounded query with explicit columns and a recorded cutoff, then inspect the resulting files. MANIFEST VERBOSE lists output files and adds schema, row-count and size details. With PARTITION BY, partition columns are removed from the files unless INCLUDE is specified. Preserve the folder layout or include the needed columns so dates do not disappear when files are moved.
Keep the exact query, source definitions, format options and extraction time with the package. The output contains what that query selected; it does not automatically bundle other tables, source documents, external S3 objects or the code that produced an aggregate. Public documentation was checked for this guide; no account or unload was tested.
Sources: UNLOAD
Record whose view of the data was exported
Redshift permissions can be assigned through roles; column grants, row-level policies and dynamic masking can further shape what a user sees. Record the database user and active access context for the proposed query. Ask the administrator to explain omitted tenants, regions, columns or masked values before treating a restricted result as the whole population.
Use an approved scoped view of the data for inspection. Do not remove security policies or request broad administrator access just to increase the count. A deliberately limited sample can be useful when its selection boundary is explicit. S3 readers must also be restricted appropriately: a file recipient is receiving an extracted result, so review those file permissions separately.
Sources: Database security, Amazon Redshift security overview
Separate business history, technical logs and backups
A current shipment table may retain only the latest status. Business history requires retained event records, earlier versions or another verified source of change history. A backup is a state at a point in time, not a continuous explanation of every business change between backups.
For provisioned clusters, AWS describes automated and manual snapshots with configured retention; automated retention defaults to one day, while manual snapshots default to indefinite retention unless a period is set. Redshift Serverless instead has manual snapshots and automatic recovery points; recovery points last 24 hours. Ask which backups actually survive and what they contain. Do not assume an old month can be recovered or restore anything merely to assess a commercial opportunity.
System tables are excluded from cluster snapshots. STL logging views retain seven days unless their data was separately preserved. SYS monitoring views cover provisioned clusters and Serverless workgroups, while STL/STV and related legacy families are provisioned-only. Identify the deployment and the specific view before adapting a monitoring query.
SYS_QUERY_HISTORY describes user queries, not delivery attempts. Regular users see their own query rows by default; query text may be truncated. A successful query is not proof its enclosing transaction committed—AWS shows a separate transaction-history join for that check. Nor is a query ID a shipment key: SYS and STL query identifiers cannot be joined as if interchangeable.
Audit logging is another retention path. It is not enabled by default; user activity logging also needs its database parameter enabled. It captures activity from enablement onward. Provisioned audit logs can use S3 or CloudWatch; Serverless audit logging goes to CloudWatch. Verify actual enabled dates, selected logs and destination retention. These logs can help investigate extraction provenance or a separate query-performance task; they cannot recreate missing delivery confirmations.
Sources: System tables and views reference, Amazon Redshift snapshots and backups, Snapshots and recovery points, Database audit logging, SYS_QUERY_HISTORY
Use a coverage sheet before counting supply
Have the operations owner and data engineer fill in this sheet for one permitted period and a bounded sample. The unit for the forecast task is a distinct shipment at a defined cutoff with a checkable outcome. Report raw rows, distinct shipments, eligible examples and output files separately.
SVV_TABLE_INFO can help locate storage-heavy tables, but it is not a saleable-volume measure. It omits empty tables; its tbl_rows includes rows marked for deletion, and access is restricted unless granted. Reconcile the actual selected query and distinct business keys instead of presenting that catalog count as usable examples.
| Inspection | Record the result | If the check fails |
|---|---|---|
| Scope and grain | Period, included services, shipment-versus-leg definition and exclusions | Narrow the claim; do not add tables with incompatible units |
| Time boundary | Event time, arrival/availability time, cutoff and historic promise/route version | Exclude from as-of prediction inputs when timing cannot be established |
| Join integrity | Distinct keys before/after each join; unmatched keys and duplicate versions | Resolve multiplication or preserve a documented exclusion |
| Outcomes | Confirmed on-time, confirmed late, canceled and unresolved counts | Keep unknowns visible; do not turn a missing confirmation into success |
| Delivery files | Manifest entries, readable files, schema, null handling and reconciled row totals | Locate missing or mismatched files before describing delivery as complete |
| Access and origin | Source owner, export identity, filtered/masked scope and third-party inputs | Have the responsible owner resolve the missing authority or scope |
Sources: SVV_TABLE_INFO
Describe what survives in business units
A fictional review might start with 40 distinct shipments: 30 have verified cutoff inputs and outcomes, four have unverified input-availability times, three lack confirmations, and three have conflicting promise versions. Those are disjoint review categories in this example, not findings about an actual account or buyer thresholds. Multiple tracking rows or output files do not increase the 30 eligible cases.
A useful inventory would state the selected dates, services and geography; these counts; outcome distribution; missing periods; permitted fields; query version; and refresh expectations. Keep rare or excluded cases visible in the description. A collection covering only routinely completed routes may not represent disrupted operations.
Resolve the source rights, then choose the next task
A warehouse can combine company-owned records, customer information, carrier feeds and separately licensed reference data. Follow each input back to its owner and terms. Permission to use a feed internally may not cover resale, external model training or onward sharing. The responsible commercial and privacy owners should resolve the intended use before anyone sends a sample.
Shipment locations, recurring routes and employee identifiers can reveal people or confidential operating patterns. Replacing names with stable IDs helps joins but is not an anonymity guarantee. For Canadian organizations subject to PIPEDA, the privacy regulator’s Principle 5 guidance limits use, disclosure and retention to identified purposes, subject to the stated consent or legal conditions. Determine the applicable law and authority for the proposed use; a database grant does not answer that question.
Next, ask the data engineer and operations owner to trace one permitted shipment through the timing example and complete the coverage sheet. If the sequence survives, measure a bounded mix of outcomes and prepare a description without private records. If it does not, name the missing timing, version or outcome evidence and decide whether a narrower reporting task remains credible. Use the related provenance and location guides for those specific preparation questions; no verified Redshift-specific buyer program is claimed here.
Sources: PIPEDA Fair Information Principle 5 – Limiting Use, Disclosure, and Retention
Sources and scope
Source checks support the statements identified below. Product access, contractual rights and suitability for a particular buyer still need to be confirmed for your situation.
- UNLOAD ↗Amazon Web Services · Checked
Query-result formats, source/destination permissions, MANIFEST VERBOSE and partition-column handling.
Location: Description; Required privileges and permissions; PARTITION BY; MANIFEST
Documentation only; no account, role, query or output tested.
- System tables and views reference ↗Amazon Web Services · Checked
Cluster snapshots omit system tables; STL retention is seven days; view families differ by deployment.
Location: Opening note; Types of system tables and views; Migrating from provisioned clusters to Amazon Redshift Serverless
Seven-day statement applies to STL; no universal SYS-retention duration asserted.
- Amazon Redshift snapshots and backups ↗Amazon Web Services · Checked
Provisioned snapshots are point-in-time backups with distinct automated/manual retention defaults and settings.
Location: Introduction; Automated snapshots; Manual snapshots
Actual surviving snapshots and source-event coverage unverified.
- Snapshots and recovery points ↗Amazon Web Services · Checked
Serverless manual snapshots differ from automatic recovery points retained for 24 hours.
Location: Opening paragraphs
No restore, snapshot sharing or account inspection performed.
- Database audit logging ↗Amazon Web Services · Checked
Audit contents, default disabled state, separate user-activity parameter, enablement boundary and Serverless CloudWatch-only destination.
Location: Amazon Redshift logs; Audit logs and Amazon CloudWatch
Actual logging configuration, first retained date and destination retention require administrator inspection.
- Database security ↗Amazon Web Services · Checked
Role grants, row-level policies and dynamic data masking govern database visibility.
Location: Database security; finer control features
Not evidence of legal authority or the policies applied to any account.
- SYS_QUERY_HISTORY ↗Amazon Web Services · Checked
User-query scope and visibility, truncated query text, transaction-status join and SYS/STL identifier distinction.
Location: Introduction; Note; Important; Table columns: query_text
Not a record of business outcomes or necessarily a complete retained SQL script.
- SVV_TABLE_INFO ↗Amazon Web Services · Checked
Table-summary visibility and omissions; tbl_rows includes rows marked for deletion.
Location: Introduction; Table columns: tbl_rows
Not a count of selected, distinct, eligible business examples.
- Considerations for data sharing in Amazon Redshift ↗Amazon Web Services · Checked
Datashares provide live access; write access requires explicit grants and cross-account authorization.
Location: Opening paragraphs
A sharing feature does not establish licensing or buyer demand.
- Considerations for data sharing reads and writes in Amazon Redshift ↗Amazon Web Services · Checked
Supported compute, exclusion of system tables/views and limits on attaching/removing security policies.
Location: Considerations list: system views/tables; Compute type; Security
Read/write arrangement must be checked against actual deployment and privileges.
- PIPEDA Fair Information Principle 5 – Limiting Use, Disclosure, and Retention ↗Office of the Privacy Commissioner of Canada · Checked · Source dated Aug 13, 2020
Canadian regulator guidance on identified purposes, new purposes, disclosure and retention.
Location: Your responsibilities; How to fulfill these responsibilities
Applies where PIPEDA governs; no determination about a particular supplier, licence or jurisdiction.
- Amazon Redshift security overview ↗Amazon Web Services · Checked
Column grants and row-level policies further restrict database access.
Location: Column-level access control; Row-level security control
Effective policies and user-specific results not inspected.