HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Oracle columns
 
Operating System - HP-UX
        1840139
        Members
    
    
        2669
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-07-2002 11:15 AM
11-07-2002 11:15 AM
			
				
					
					
						This is a performance related question.
What factors should be considered when creating multiple (30-50) column tables?
I am trying to give input to my developers on the performance related issues that may occur when doing inserts/updates/deletes on a table that has 2-3 columns as opposed to one that has 20-30 columns?
					
				
			
			
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
What factors should be considered when creating multiple (30-50) column tables?
I am trying to give input to my developers on the performance related issues that may occur when doing inserts/updates/deletes on a table that has 2-3 columns as opposed to one that has 20-30 columns?
Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-07-2002 12:11 PM
11-07-2002 12:11 PM
			
				
					
						
							Re: Oracle columns
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						This is one of the classic it depends question. If the question is "Is one insert of a 30 column table faster than 10 inserts into tables of 3 columns each?" The answer is one table is much faster especially when you realize that you must have some sort of 'glue' (joins) to hold these 10 related tables. 
The general answer to this question is make the number of columns larger but limit the number of indices. Performance tends to really suffer when the value of one column changes and that causes 15 indices to be altered.
					
				
			
			
				
		
		
	
	
	
The general answer to this question is make the number of columns larger but limit the number of indices. Performance tends to really suffer when the value of one column changes and that causes 15 indices to be altered.
	If it ain't broke, I can fix that.
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-08-2002 07:01 AM
11-08-2002 07:01 AM
Solution
			
				
					
					
						General rules of thumb:
Primary key columns first.
Foreign key columns next.
Frequently searched columns next.
Frequently updated columns later.
Nullable columns last.
Least used nullable columns after more frequently used nullable columns.
Blobs in own table with few other columns.
Performance issues:
Chained rows (row doesn't fit in a block -> multiple reads).
Updating indexed columns.
Updating indexed columns in block.
Updates increasing row size (row migration or chaining).
Trailing null columns not written to database (less data).
Recommendations:
Normalize data.
Don't split tables for performance. (Possible
exception for tombstone data
versus high update derived
data, such as product info and
product inventory info).
Don't spend too much time tuning the database before
implementation.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
Primary key columns first.
Foreign key columns next.
Frequently searched columns next.
Frequently updated columns later.
Nullable columns last.
Least used nullable columns after more frequently used nullable columns.
Blobs in own table with few other columns.
Performance issues:
Chained rows (row doesn't fit in a block -> multiple reads).
Updating indexed columns.
Updating indexed columns in block.
Updates increasing row size (row migration or chaining).
Trailing null columns not written to database (less data).
Recommendations:
Normalize data.
Don't split tables for performance. (Possible
exception for tombstone data
versus high update derived
data, such as product info and
product inventory info).
Don't spend too much time tuning the database before
implementation.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP