Have a 4 meg db file. The file is too big.
29 seconds to return 1 record. DbManSQL too expensive (maybe next year!). This file will _never_ change. It is used only for reporting.
Is there a way to get db.cgi to determine from code which db to use. If so I could split this up into 66 much smaller files. I'm thinking:
pass db.cgi?verse=Gen+1:1
($key, $value) = split /=/ARGV[0]/;
$db_file = split /+/$value/;
$db_file_name = $db_script_path . $db_file;
Where would I try to put these?
Thanks
joe/
29 seconds to return 1 record. DbManSQL too expensive (maybe next year!). This file will _never_ change. It is used only for reporting.
Is there a way to get db.cgi to determine from code which db to use. If so I could split this up into 66 much smaller files. I'm thinking:
pass db.cgi?verse=Gen+1:1
($key, $value) = split /=/ARGV[0]/;
$db_file = split /+/$value/;
$db_file_name = $db_script_path . $db_file;
Where would I try to put these?
Thanks
joe/