Changes between Version 24 and Version 25 of ModelInheritance
- Timestamp:
- Mar 19, 2006, 10:19:55 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModelInheritance
v24 v25 51 51 CREATE TABLE "myapp_restaurant" ( 52 52 /* PRIMARY KEY REFERENCES "myapp_places" ("id") works for postgres, what about others? */ 53 /* This works in MySQL too. -- Andy Dustman */ 53 54 "id" integer NOT NULL PRIMARY KEY REFERENCES "myapp_places" ("id"), 54 55 "description" text NOT NULL … … 98 99 '' 99 100 I think some dbs have a maximum number of joins (something like 16), and even within the maximum, the query optimizer will either spend a while deciding which way to best join the tables or it will give up and choose the wrong way quickly. This wording is FUD-- I'll try to find specifics. --jdunck 101 '' 102 103 '' 104 MySQL-4.1 and newer can handle up to 61 tables in a JOIN or VIEW (5.0 and newer). Unclear what the limit is for 4.0 and 105 older. -- Andy Dustman 100 106 '' 101 107