There's probably something you can be doing different if you need more than 233 characters of data in an attr.
You're committing an SQL Atrocity (Search Google: "new table for each user") by creating a new table of data for each player, and aren't really gaining any kind of performance boost by doing that at all.
SQL just seems really overkill for this. I.e:
PHP Code:
function onPlayerLogin(pl) {
this.shared.(@pl.account).clearvars();
}
function onPlayerLogout(pl) {
this.shared.(@pl.account).clearvars();
}
public function addSharedVariable(target, flagName, value) {
// ... other code
this.shared.(@target).(@flagName) = value;
// Packet...
temp.packet = {};
temp.packet.add(target.account);
temp.packet.add(flagName);
temp.packet.add(value);
// update players
}