How xogxsss/tpi_bd works
FoodStore is a PostgreSQL database engineering project, not an application server. Its main workflow is to create the relational schema, load synthetic data, then inspect and tune queries; separate SQL scripts add reporting views, integrity triggers, and security roles. Reports document performance and concurrency experiments. The README describes the execution order and capabilities, but no source excerpts were supplied, so relationships below are limited to those documented there.
Main entry points: schema.sql Relational schema · data.sql Synthetic data load · queries.sql Query catalog · indices.sql Index experiments
Components 12
Database foundation
- Relational schema
schema.sql - Synthetic data load
data.sql
Query analysis
- Query catalog
queries.sql - Index experiments
indices.sql - Performance report
informe_mediciones.md
Database features
- Reporting views
views.sql - Integrity triggers
restricciones_integridad.sql
Security and operations
- Security roles
food_store_tp_u5/sql/roles.sql - Concurrency report
informe_concurrencia.md - Safe-work protocol
protocolo_seguridad.md
Other components
- Database operator
- PostgreSQL database
Connections 14
- Database operator → Relational schema: runs first
README.md - Relational schema → PostgreSQL database: creates schema
README.md - Database operator → Synthetic data load: runs next
README.md - Synthetic data load → PostgreSQL database: loads rows
README.md - Database operator → Query catalog: executes queries
README.md - Query catalog → PostgreSQL database: queries and explains
README.md - Database operator → Index experiments: runs manually
README.md - Index experiments → PostgreSQL database: experiments on indexes
README.md - Reporting views → PostgreSQL database: defines views
README.md - Integrity triggers → PostgreSQL database: adds triggers
README.md - Security roles → PostgreSQL database: configures roles
README.md - Performance report → PostgreSQL database: reports measurements
README.md - Concurrency report → PostgreSQL database: documents experiments
README.md - Database operator → Safe-work protocol: follows guidance
README.md