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

Schema changes on on large tables

PR
Hi,
I have a basic question on schema changes performed on populated tables.
Should I prepare for big roll back area and so on for both of these changes:
ALTER TABLE ADD COLUMN
ALTER TABLE ALTER COLUMN
Table contain abt. 40 mill records

Appriciate the help, as i am just DBA stand in in my project:-)
Jul 19 '05 #1
2 5189
pr*******@netscape.net (PR) wrote in message news:<d9**************************@posting.google. com>...
Hi,
I have a basic question on schema changes performed on populated tables.
Should I prepare for big roll back area and so on for both of these changes:
ALTER TABLE ADD COLUMN
ALTER TABLE ALTER COLUMN
Table contain abt. 40 mill records

Appriciate the help, as i am just DBA stand in in my project:-)


ALTER TABLE ADD COLUMN

As far this is only a change in Oracle's data repository there is
nothing to concern about rbs sizing = fast.

ALTER TABLE MODIFY COLUMN (you mean)

generally, no overhead if you keep the sizes or extend them = fast
if you shrink the sizes there's some validation that could take a
while, but nothing to concern about regarding rbs.

RBS will come into play when you have to update your new/changed
column.
I prefer several RBS split in one RBS per tablespace , enough data
files with autoextend (but with max. size limit, say 2 Gb) so the
system can choose ANY rbs to end the transaction successfully.

hope that helps

yk
Jul 19 '05 #2
PR
Hi,
Thanks a lot for your answer.
I checked the details of the operations (traced up the transactions),
and they are all "ALTER ADD" types. However the statements contain a
default value setting of 0,00 (Datatype DEC 2,2). I belive this
results in roll?
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sgt. Sausage | last post by:
Quick question: Does SQL do table/schema changes "in place"? I've got a large table (140+ million rows of very wide data) that we want to change the schema on -- basically to remove a number...
5
by: Shock | last post by:
Hello all, I am doing some research on database conversions. Currently, I am interested in any information that would help me convert a database from one schema to another. This could be...
3
by: Robin Tucker | last post by:
Hi there, I have a database on my test machine that will need to be installed on users machines. I would like to create the database with the given schema on the users machine and also with...
10
by: wackyphill | last post by:
I know in SQL Server the terms Database and Catalog are used interchangably. But a table is also assigned a schema. As seen in the INFORMATION_SCHEMA.Tables View. I don't get what this schema...
7
by: Robert Stearns | last post by:
I ran the following bit of SQL and my PRIMARY KEY wound up in schema SYSIBM called SQL.... not schema is3 called primary. The index registation did wind up there. Obviously there's something I...
13
by: Martin Z | last post by:
I'm making a CRUD screen for an Oracle database... but problem is that the primary key in that table is populated via an autonumber, which in Oracle is done just with triggers and sequences. ...
2
by: PR | last post by:
Hi, I have a basic question on schema changes performed on populated tables. Should I prepare for big roll back area and so on for both of these changes: ALTER TABLE ADD COLUMN ALTER TABLE ALTER...
5
by: Dmitriy Lapko | last post by:
Hallo all Is it possible to change schema of table in DB2 v.8.2 without recreating and coping a table into a new schema? I need it for several purposes, one of them - refactoring of existing...
3
by: Gladiator | last post by:
Any Suggestions on the below scenario will be helpful to us. # There are 10 tables in a schema “S1” and I have to give select privilege (Only read access) to a user on all the tables in the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.