UseBB Community

The official board for UseBB help and discussion

UseBB Community » Bug Reports » No foreign keys defined on any of the tables

No foreign keys defined on any of the tables

Page: 1

Author Post
Member
Registered: May 2006
Posts: 2
Reading install/schemas/mysql.sql, I noticed that there are absolutely no indexes (foreign keys) generated on any of the tables in the database, except for the primary keys.

Is this done on purpose, for the sake of insert speed or tablesize? I guess it would not hurt to use some extra indexes here and there.

Sorry if this was mentioned before. I'm new to UseBB but searched the forum.


# UseBB version: 1.0 RC2 (Version Check)
# PHP version: 5.1.2
# SQL server driver: MySQL/5.0.20a
# HTTP server: Apache
# Operating system: Linux
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
The database scheme is quite old, I haven't yet thought of adding keys to it.

Will check this for RC3.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
I've decided not to put in any of them... 1.0's SQL scheme isn't really consistent after all and a new one is about to be designed for 2.0.

Unless it would really improve speed I doubt it if it would be of any improvement without big changes in the code.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Bug Reports » No foreign keys defined on any of the tables

UseBB Community is powered by UseBB 1 Forum Software