Wheeee - Done!!!
select name_full from ind_1101
where state = 'NJ' and name_last like 'ROOMBE%'
4 rows in set (0.57 sec)
1/2 second for a dual index lookup out of 50 million records.
I'll whip up a bench to simulate a couple hundred variations
an exec them same time to make sure it scales.
PostGreSQL isn't done 'vacuuming' yet, so the comparison isn't
ready, but it seems MUCH slower, and the indexes ARE analyzed
at this point. About 30 seconds for the same query.
MySQL is the keeper. Double the hardware, and the load can be
done in a single day. $3,000 in hardware saves $80,000 in Oracle.
I'll also modify the load:
create table
create indexes
disable indexes
load data
enable indexes
I suspect that will be faster.
Also, MySQL took 1/2 the space for the tables than PostGreSQL.