473,398 Members | 2,212 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Modeling

1
Let say you have theses tables:

-Fact table T1(a,b,g,h) with pk (a)
-Dimension table T2(b,i,j,k) with pk(b)
-Fact table T3(a,b,c) with pk (a,b) , Fk(a) -> T1 and FK(b) -> T2

The table T3 can be very big ! more than 30 million rows. And even more !!!
- columns a and b are both of type integer.
- based on the vaule of b, value of c can be integer, money , char or varchar.

Major uses of this table are :
A) do lookups based on b and c columns
Select * from T where b='xxxx' and c ='yyyy'.
Select * from T where b='xxxx' and c < 9999.

B) do lookups based on a column
Select * from T where a='zzzz'

Knowing that T3 is a very big table, my question is:
what should be done, in term of modeling, in order to optimize the lookups queries described in A and B.


Thanks in advance.
Numid
Oct 18 '06 #1
0 1075

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Bishara Gabriel | last post by:
I encourage feedback from all parties and especially those which would like to be directly involved (I may include you in the grant proposal and budget). Send me your comments! -------> ...
5
by: mACKnIFE | last post by:
Hi list! I've just finished reading the nice book: "Data Modeling and Relational Database Design Volume 1 - Student Guide", by Jan Speelpenning, Patrice Daux and Jeff Gallus, published by Oracle...
0
by: Redd | last post by:
The following is a technical report on a data modeling project that was recently assigned to me by my professor. I post it so that anyone else who is studying databases and data modeling can have...
0
by: Joseph H Allen | last post by:
I've discovered that the C preprocessor is powerful enough to create a cheap object modeling language for XML (or any structured data format). Check out http://world.std.com/~jhallen/sdu.html The...
1
by: Markus Seibold | last post by:
Hi, I am looking for an open source (free) data modeling tool for PostgreSQL. It should - if possible - support: - E-R-Modelling - relational data model / modeling - (GUI SQL interface to...
1
by: Mike | last post by:
I'm starting up on big project that will take much of my time in next year or two. Until now I was mostly self-employed on small projects so I didn't spent so much time modeling system before...
4
by: shalafi | last post by:
Looking for a good, cheap (preferrably free) UML modeling tool. Used Jumli in the past, has everything i want but it isnt terribly stable and doesnt look as if they will have a new version anytime...
1
by: Ronald S. Cook | last post by:
I'm learning DeKlarit, a RAD modeling tool that creates business and data logic to speed development. It seems pretty cool, but I'm just so used to writing these layers myself. I can understand...
1
by: Nate | last post by:
Modeling of Lookup Values and ORM I know this is not the correct forum for object design patterns, but I haven't found any design related newsgroups. Scenario: Customers (table)...
25
by: Thomas R. Hummel | last post by:
I'm going to try to describe this situation as best as I can, but if anything is unclear please let me know. Some of this database was already in place before I arrived on the scene, and I don't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.