473,323 Members | 1,551 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,323 software developers and data experts.

Database optimizing vs Total Columns in a table

roswara
Dear all,

Does anyone know the maximum amount of columns of a table in a database? Currently, I am using SQL Server 2005. [*1] Is it normal to have 50 columns in a table? I wonder about the optimization of query processing. [*2]Should I split them into several tables to optimize query processing time? [*3]But if I split them, will it guarantee that my query processing time will be faster? As we know, if we split it into several tables, there must be tables relationship that will effect query processing time. [*4]Should I use index for important fields in the tables?
[*4]What is the normal amount of columns in a table that will keep query processing time high? How can we investigate it? Maybe you have good ideas.
Jan 31 '08 #1
1 1576
Rimsky
3
Does anyone know the maximum amount of columns of a table in a database? Currently, I am using SQL Server 2005. [*1] Is it normal to have 50 columns in a table? I wonder about the optimization of query processing. [*2]Should I split them into several tables to optimize query processing time? [*3]But if I split them, will it guarantee that my query processing time will be faster? As we know, if we split it into several tables, there must be tables relationship that will effect query processing time. [*4]Should I use index for important fields in the tables?
[*4]What is the normal amount of columns in a table that will keep query processing time high? How can we investigate it? Maybe you have good ideas.
From BOL:Maximum Capacity Specifications for SQL Server 2005
maxmum columns = 1024
I have frequently > 100 columns per table
Split into multiple tables (normalize) as much as possible, smaller tablestructures are faster.
One pont of view is to create an index for each combination of columns in a where statement. Remember, too many unused indexes decrease Insert/Update statements
Feb 22 '08 #2

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

Similar topics

5
by: ArShAm | last post by:
Hi there Please help me to optimize this code for speed I added /O2 to compiler settings I added /Oe to compiler settings for accepting register type request , but it seems that is not allowed...
1
by: John | last post by:
I'm developing an application for medical use that will be used to capture patient background and visit data. The application will have approximately 50 forms, with an average of about 20 fields...
0
by: unixman | last post by:
As usual, it is 2:00am, and I'm pulling my hair out, finally resorting to posting in the newsgroups for help. :) Simple problem, in theory. Given table "map": CREATE TABLE map ( entry_id...
2
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
1
by: Shelby | last post by:
Problem: My company generates its own data export from a propietary database. These (free) tables can be read in C#.NET using a Visual FoxPro driver (vfpoledb). I can read each of the six tables...
10
by: shsandeep | last post by:
The ETL application loaded around 3000 rows in 14 seconds in a Development database while it took 2 hours to load in a UAT database. UAT db is partitioned. Dev db is not partitioned. the...
2
by: igovada | last post by:
Hi I have a table (Sql server 2000) which has 14 cost columns for each record, and now due to a new requirement, I have 2 taxes which needs to be applied on two more fields called Share1 and...
3
by: Pachalo | last post by:
I would like to add data to a database using text Boxes and l should be able to retrieve that data into a datagrid So far l have managed to create a connection between a datagrid and the data base...
2
by: programmerx101 | last post by:
Ok, I'm looking for expert advice on this one. I have a database which keeps going into read_only mode. Sometimes it goes into read_only / single user mode. Once it was taken offline completely....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.