Thanks for the input Anthony!

-Jake

On Tue, Jul 17, 2012 at 4:20 PM, Anthony Scopatz <scop...@gmail.com> wrote:

> On Tue, Jul 17, 2012 at 3:30 PM, Jacob Bennett 
> <jacob.bennet...@gmail.com>wrote:
>
>> Hello PyTables Users & Contributors,
>>
>> Just a quick question, let's say that I have certain identifiers that
>> link to a set of data. Would it generally be faster for lookup to have each
>> set a data as a separate table with an id as the tables name or to add this
>> id as another column to a universal table of data and then let the
>> in-kernel search query data only with a specific id?
>>
>
> I think that in general it is faster to have more tables with ids as
> names.  For very small data, searching through a single larger table might
> be quicker than node access...but even then I doubt it.
>
>
>> I hope you can understand my question would 1,000 tables of 100,000
>> records each be better for searching than 1 table with 100 million records
>> and one extra id column?
>>
>
> For these data sizes more tables is probably faster.
>
> (It should also be noted that in the more tables case, that data is
> actually smaller, because you can eliminate the id column.)
>
> Be Well
> Anthony
>
>
>>
>> Thanks,
>> Jacob Bennett
>>
>> --
>> Jacob Bennett
>> Massachusetts Institute of Technology
>> Department of Electrical Engineering and Computer Science
>> Class of 2014| benne...@mit.edu
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Pytables-users mailing list
>> Pytables-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pytables-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Pytables-users mailing list
> Pytables-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytables-users
>
>


-- 
Jacob Bennett
Massachusetts Institute of Technology
Department of Electrical Engineering and Computer Science
Class of 2014| benne...@mit.edu
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to