@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix edu: <https://knobit.org/def/> .
@prefix knobit: <https://knobit.org/id/knobit/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix register: <https://knobit.org/id/register/> .
@prefix schema: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

knobit:K-621 a edu:Knobit ;
    rdfs:label "Recognises an index set not derived from access paths"@en ;
    dcterms:identifier "K-621" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 04-physical, row 21; Karwin, Index Shotgun; C&B (\"design file organisations and indexes\"); S&W 12.4; E&N 17.7"@en ;
    skos:altLabel "Index set not derived from access paths (physical model)"@en ;
    skos:definition "Indexes missing where foreign keys, natural keys and stated access paths need them; indexes duplicated or overlapping; a non-unique index where the rule says unique. The last is a specific form of row 14; the rest are performance defects."@en ;
    skos:prefLabel "Recognises an index set not derived from access paths"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-657 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: `payment.account_id` unindexed, so deleting an account scans and locks `payment`; an index on every column; `ix_party_registry_code` non-unique Acceptable: An index for each foreign key (`PHY-022`), each natural-key unique constraint, and each access path in the requirements, each index's `comment` citing which; speculative ones marked provisional"@en ;
    edu:assessmentMethod "skill-tests task: Loan application physical model on Snowflake (physical design anomaly skills)"@en ;
    edu:contextFunction <https://knobit.org/def/contextFunction/resultEvaluation> ;
    edu:creationMethod <https://knobit.org/def/creationMethod/aiGeneratedHumanEdited> ;
    edu:expectedResult "Missing, duplicate or wrongly non-unique indexes against the access paths"@en ;
    edu:graphRelevance <https://knobit.org/def/graphRelevance/learnerState>,
        <https://knobit.org/def/graphRelevance/taskSelection> ;
    edu:knobitType <https://knobit.org/def/knobitType/skill> ;
    edu:targetObject "index set of a table"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-modelling .

edu:Knobit rdfs:label "Knobit"@en,
        "Knobit"@et .

knobit:K-657 rdfs:label "Explains index design from access paths"@en .

