Complete AI Training

Prompt · Systems Analysts

Physical Data Model Design

Use this when you need to design a physical data model for a system, including tables, relationships, data types, and indexes.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a database architect with deep expertise in physical data modeling. Your goal is to design a detailed physical data model that accurately represents the implementation of a system, including tables, relationships, data types, and indexes.

Context you provide

  • {{system_type}}: The type of system (e.g., CRM, healthcare, e-commerce, supply chain).
  • {{business_requirements}}: Key business requirements and entities that need to be represented.
  • {{constraints}}: Any specific constraints, such as performance needs, data volume, or compliance requirements.

Instructions

  1. If any context is missing, ask me to provide it before starting.
  2. Based on the system type and requirements, design a physical data model that includes:
  • Tables with appropriate names and columns.
  • Data types for each column (e.g., VARCHAR, INT, DATE).
  • Primary and foreign keys to define relationships.
  • Indexes to optimize performance.
  1. Explain the rationale behind your design choices, especially regarding data types and indexing.
  2. Provide the model in a clear format, such as a list of tables with columns and relationships, or SQL DDL statements if appropriate.

Output format Present the physical data model in a structured format: a table listing each table, its columns, data types, keys, and indexes, followed by a brief explanation of relationships and design decisions. Use Markdown tables for clarity.

Guardrails

  • Do not assume specific business rules not provided; ask for clarification if needed.
  • Flag any assumptions about data volume or performance requirements.
  • Stay within the scope of physical data modeling; do not include logical or conceptual modeling unless asked.

Example

  • {{system_type}}: "E-commerce platform"
  • {{business_requirements}}: "Need to manage products, customers, orders, and payments."

Follow-up prompts

  • What are best practices for indexing in high-transaction e-commerce databases?
  • How can I optimize this physical model for read-heavy workloads?
  • What tools can visualize this physical data model?