How To Set A Bigger Rollback Segment?
May 17, 2007
Hi,
I´m trying to transfer a large amount of data from Oracle 8 to Sql Server. For each table, I have an OleDBSource with DataAccessMode Command (select with one inner join), Data Conversion and OleDBDestination. Sometimes I´m getting an ORA-01555 snapshot too old error, so I´d like to set a bigger rollback segment, but don´t know how. Please, can anybody help me?
Thanks
Janca
View 1 Replies
ADVERTISEMENT
May 21, 2008
Hi everyone,
I'm new to SQL Server, but have worked a lot with oracle. I'm not sure if some of the terms I'll use is specific to oracle or if SQL server DBAs also use it. Please bear with me.
I was wondering if I could change the default temporary database or file group (sql equivalent to oracle's default temporary tablespace)for a user.
I also would like to change the rollback segment for a transaction. In oracle it would be: set transaction use rollback segment 'seg_name'.
My sql server version is 2000 by the way.
I would be very greatful if anyone could help.
View 4 Replies
View Related
Jul 20, 2005
Hi,I am an Oracle developer and new to SqlServer. Is there rollbacksegment in SqlServer? If there is, does it use only for the purposeof rollback or to maintain read consistency as well?If there is no rbs in SqlServer. How does it handle rollback and readconsistency?Thanks!Susan
View 1 Replies
View Related
Sep 28, 2000
I am getting this error in SQL 6.5:
Error: [Microsoft][ODBC SQL Server Driver][SQL Server]. Can’t allocate space for object ‘Syslogs’ in database ‘ER’ because the ‘logsegment’ is full. If you ran out of space in Syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase the size of the segment.
Should I increase the size? Its already 350 MB. I would like to start over with a new transaction log. Can I do this?
View 2 Replies
View Related
Oct 6, 1998
Hi all,
I encountered error 1105 (Can`t allocate space for object .....) while running a query.
I had dump transaction with no log sucessfully and retry running my query but
still encounter error 1105.
I had checked my database size and following are the info:
Datasize : 2500MB Database size available : 753.39
Log space : 500MB Log space available : 500MB (this was acheive after
after dump trans. twice. it was around 480MB before)
Thus looks like the data segment is full!!!
I expanded the size of the disk device D on which the segment device A is on by 50MB. When I did a sp_helpdevice D, the expansion is reflected.
Next I run sp_extendsegement, A, D.
However running sp_helpsegment A doesn`t show that segment A is expanded.
Please help!!! How do I expand the size of the segment? (without creating a new disk device, is it possible)
Any other way to resolve this problem?
Also how to check if a particular segment is full? eg. the %usage of data/log segment.
Thanks in advance.
View 1 Replies
View Related
Mar 3, 1999
I am trying to increase the performance of a small database with a table
that occupies 60% of the disk space.
Aside from archiving some data , I am thinking of moving the only index now
-- the clustered index -- on to its own segment in an effort to speed up
performance. I am sure if:
1) a clustered index can be on a separate segment since the data, I think,
would move with it? Is hat correct?
2) If it is corect, should I do that? How ?
Thanks.
David Spaisman
View 1 Replies
View Related
Jun 24, 2015
Is it possible to run SQL server clustered instance on 2 different IP on two different segment? or two different IP's on the same segment? We are using SQL server 2014 STD and Windows server 2012r2 STD...
View 3 Replies
View Related
Sep 21, 2000
idp data: 55% full (Total: 4600 MB Used: 2515 MB Free: 2085 MB)
idp log: 88% full (Total: 3500 MB Used: 3073 MB Free: 427 MB)
Normally the "data" is bigger than the "log" would you say this is a problem and how can one reverse the problem?
View 1 Replies
View Related
Jun 26, 2001
Hey - this is a SQL 6.5 Question. I get an error that goes something like this...
Can't allocate space for object 'Syslogs' in database 'test_database' because the 'logsegment' segment is full. If you ran out of space in the Syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase the size fo the segment.
Okay, i understand that the log is full. But since I have been working mainly on SQL 7, I don't completely understand the 'dumping'. I know that everyone is busy, and if you don't have time to explain this to me, could you tell me where to look? I am going to check MS Knowledge Base, but any advice or direction is appreciated.
Thanks guys and gals!!!
View 2 Replies
View Related
Mar 23, 2006
Hi,
We just put on our main accounting (50 GB total, 8 GB largest table - GLTRAN) database on a new Windows Advanced 2003 server with 8 GBs of memory. Everything is essentially the same as the old box, aside from the fact that it's on Windows Advanced 2003 Server and it's using LUNS as the E: drive where the SQL database is kept. It runs fine for the most part, excpet this one report takes literally 20 times longer to run than on the pld box.
It's SQL Enterprise 2000 SP4 (also the same). Are there new config options for SQL when running on a 2003 server? Or is it how the OS is handling the SQL service? I'm perplexed. It's not indexes. I still have the old box and load the current dbase to it for testing purposes and the report runs like lightning on it.
Thanks,
Dave
View 14 Replies
View Related
Feb 17, 2004
Is there something else begger than that ?? as to be in binary !! for my image..
thanx.. because 8000 is not big enought..
View 3 Replies
View Related
Aug 13, 2007
Hi
How can i create a case statement with a bigger and smaller than sign in it. I keep on getting an error.
Here is the piece of code i'm working on and simply enough, the idea of what i am trying to accomplish.
Code Snippet
SELECT Weight.Weight,
Height.Height,
(Weight.Weight/(Height.Height*Height.Height)) AS BMI,
CASE BMI
WHEN (BMI < 18) THEN 'Under Weight'
WHEN (BMI < 25) THEN 'Healthy Weight'
END AS 'BMI Grouping'
Any Help will be greatly appreciated
Kind Regards
Carel Greaves
View 10 Replies
View Related
Mar 11, 2000
Microsoft OLE DB Provider for ODBC Drivers error ' 80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Updated or inserted row is bigger than maximum size (1962 bytes) allowed for this table.
database:microsoft 6.5 SQL
How can I solve this problem
thanks,shay
View 1 Replies
View Related
Aug 30, 2006
Hi.. We have a MSSQL application and the DB file (not the log file) seems getting bigger over this few year and right now you are running almost out of space. May I know how does the other company deal with this kind of situation?
i am sure other company data is getting bigger as well and it has been longer time than ours. How to deal with it ?
View 3 Replies
View Related
Feb 25, 2008
I'm importing about 15 million rows of data from an access file to an MSSQL database. Some of the fields in the Access file are of DataType "text". The destination fields in the SQL DB are of type varchar(50), and none of the text fields in the access file actually use anything other then English characters. I put in a "data conversion" item to handle the switch from "text" (which usually trys conversion to nvarchar by default) to varchar.
The import works, and the resulting table ends up weighing about 1.2 gigs. HOWEVER, the log itself is a crazy 7-8 gigs heavy. I have no idea why the log size bloats this much. I can backup/shrink later in the package, but this 8 gig could easily push the hard drive over its limit at some point before completion and I'm looking for a better alternative.
Database is on "simple" recovery mode. The combined size of the db, before the operation, log + data, is maybe around 5 meg.
Incidentally, I tried with out the intermediate data conversion step, and a similar thing happened - log finishes up about 7 gig, table is 1.2
Seems ridiculous that the log should grow faster then the table. Any ideas why??
---------------------------------------------------------
SSRS Kills Kittens.
View 1 Replies
View Related
Feb 12, 2007
The reason I say this is because a subtotal of a dollar amount will take up more space than other values. Right now, I'm forced to make all columns the same larger width because it appears to be all wrapped into 1 column width setting. I can try to change the value of the subtotal column, "matrixcolumn4", but it reverts to the other value after I press enter to apply the changes.
View 1 Replies
View Related
Oct 22, 2007
I am transferring data from oracle and getting below error message.
I using 4 data flow tasks with in a single control flow and all the 4 tasks quueries same table but populates data in to different sql tables based on the where contidion
[OLE DB Source 1 [853]] Error: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft OLE DB Provider for Oracle" Hresult: 0x80004005 Description: "ORA-01652: unable to extend temp segment by 64 in tablespace TEMP ".
View 4 Replies
View Related
Dec 15, 2004
Hi all,
I have a serious problem:
I created 1 database with 2 file group : 1 primary and 1 index.
- Primary file group includes 1 data file (*.mdf): store all tables
- Index file group includes 1 index file (*.ndf): store all indexes
Most of indexes are non-cluster indexes
After a short time using, data file is 2GB but index file is 12 GB.
I do not know what problem happened in my database.
I have some questions:
1/ How so I reduce size of index file ?
2/ How to know what is stored in index file?
3/ How to trace all impact to index file?
4/ How to limit size growing of index file?
Thanks in advanced
Thi Nguyen
View 2 Replies
View Related
Feb 20, 2002
One of our databases has the following sizes:
Data used : 4017.14MB (191.29%)
Indexes 35.48 mb (1.69%)
Unused : 5.27 MB (0.25 %)
Unreserved: -1957.89 mb (- 93.23 %)
Total Size 2100MB
looking at this the data size is 2100Mb and the data used is more at 4014.14MB.
How can I sort this out, do I simply need to create another device and expand the database or do I need to do something else?
Cheers
View 1 Replies
View Related
Aug 12, 2007
Hello experts, I made a huge mistake on a production server, ran an update without the WHERE clause. UPDATE myTableSET Field1 = 'SOmetext',Field2 = 'sometext2'Is there a way to rollback? I read something a while ago about transaction logs.SOS!Thanks
View 4 Replies
View Related
Sep 27, 2007
HI,
Suppose I execute any transaction say inserted some rows.
I want to delete my previous transaction using rollback.
What is the proper syntax for that.
In Query Window:
Insert ---------- executed
rollback.
it was asking for name of the transaction. How to give that.
Help me out
Thanks
Bye
View 1 Replies
View Related
Nov 12, 2003
This is my stored procedure. Problem is that a rollback does not happen when there is an error ? How can this be, am starting and ending the transaction?
CREATE Procedure opretKunde
(
@cvr int,
@url varchar(200),
@firmaNavn varchar(50),
@adresse varchar(150),
@postnr int,
@fax int,
@tlf int,
@email varchar(200),
@bruger varchar(20),
@kode varchar(32)
)
AS
BEGIN TRANSACTION
INSERT INTO login
(
brugernavn,
kodeord,
type
)
VALUES
(
@bruger,
@kode,
'k'
)
INSERT INTO kunde
(
cvr,
url,
navn,
fax,
tlf,
email,
brugernavn
)
VALUES
(
@cvr,
@url,
@firmaNavn,
@fax,
@tlf,
@email,
@bruger
)
INSERT INTO adresse
(
type,
cvr,
adresse,
postnr
)
VALUES
(
'b',
@cvr,
@adresse,
@postnr
)
COMMIT
GO
View 1 Replies
View Related
Aug 10, 2000
Hi,
Can I rollback a database if I have transaction logs?
For example, I want to rollback the database without all the transactions that occurs within the last 10 days.
Thank you.
View 3 Replies
View Related
May 18, 2000
I tried killing a rollback several times, but it would not disapear.
I came back the next day, it is still there.
Anyone knows how to get rid of a rollback?
Thanks in advance.
View 2 Replies
View Related
May 5, 2000
Hi:
I have rollback on one of the users. I tried killing
her process through Enterprise Manager and Query Analyzer,
but I still can see her process on the screen. However, her
login is grayed out after I execute the kill query.
I have encountered this problem several times, and the only way
I can get clear the rollback is by rebooting the server.
Does anyone have a sugeestion on how to clear the rollback
without rebooting.
Please advise if you have any suggestion.
Thanks in advance.
View 2 Replies
View Related
Apr 5, 2000
Hi All
A question on DTS ROLLBACK CAPABILITY.
Is it possible to setup a DTS pkg to roll back the loaded files if a step fails?
If a step fail records inserted by Data Pump to a table should be removed.
Is this possible? If so how can we achieve this?
Any advice is appreciated.
Thanks
View 5 Replies
View Related
Dec 10, 2003
when i give rollback in my QA it gives an error saying (something like this)
- no begin transaction specified
In oracle it works fine why?
View 6 Replies
View Related
Jan 15, 2004
how to rollback(undo) record was i deleted???
pls tell me...
View 1 Replies
View Related
May 22, 2004
Hello every body,
I would like to know the procedure, that how to rollback my transaction in sql server 2000
View 5 Replies
View Related
Jun 29, 2006
Hi,
i wanna know something, i inserted some rows of data to a table, but i wanna undo those insertion. How can i do it?
thanks
View 9 Replies
View Related
Aug 29, 2006
hi friends,
is it possible to roll back a transaction here? i heard that it will be possible only if we wrote the code only in certain block.please tell me the block.
vinod
View 5 Replies
View Related
Oct 17, 2007
The code inserts into table TABLES. TABLES has a primary key.
If the insert statement has no error it should insert 'ROWS INSERTED' to table CONTROL and update table DATETRACKING else insert 'ROWS NOT INSERTED' to table CONTROL and do not update table DATETRACKING.
1- I will like to improve my code if it is possible.
2- Can I use a rollback?
DECLARE @ROWCOUNT INT
DECLARE @ERROR INT
DECLARE @LASTDT DATETIME
SET @LASTDT =GETDATE()
BEGIN TRAN
insert tables
select 4
SELECT @ROWCOUNT = @@ROWCOUNT, @ERROR = @@ERROR
IF (@ERROR <> 0)
BEGIN
INSERT CONTROL
SELECT 'ROWS NOT INSERTED', @ROWCOUNT
END
ELSE
BEGIN
INSERT CONTROL
SELECT 'ROWS INSERTED', @ROWCOUNT
END
COMMIT TRAN
IF (@ROWCOUNT > 0)
BEGIN
UPDATE DATETRACKING
SET LASTDATEDL = GETDATE()
END
http://www.sqlserverstudy.com
View 4 Replies
View Related
Jan 28, 2008
Hi All,
Can anyone please tell how to rollback a transaction or a command.
TIA
RKNAIR
View 1 Replies
View Related