Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Problems with DB 70 GB
hello,

Im trying to update millions of records , to a table , and the SQL SERVER ,
go too slow ?
how can I do ?

I have only one datafile , can i split ? It will increase the speed ?

Thanks

Report this thread to moderator Post Follow-up to this message
Old Post
Batzal via webservertalk.com
10-28-05 02:23 PM


RE: Problems with DB 70 GB
You might be able to break the update into more manageable pieces with a
where clause.  It's tough to know how to help you without more information.
Can you post the update query?

"Batzal via webservertalk.com" wrote:

> hello,
>
>    Im trying to update millions of records , to a table , and the SQL SERV
ER ,
> go too slow ?
>    how can I do ?
>
>     I have only one datafile , can i split ? It will increase the speed ?
>
>    Thanks
>

Report this thread to moderator Post Follow-up to this message
Old Post
fnguy
10-28-05 02:23 PM


RE: Problems with DB 70 GB
I Have a table with 30 Millions of rows , and I must to add, 12 Millions .

The query is :

Insert into Table1
Select *
from TableTemp

This query works good , when i put a where clause , but if i want to insert
all the rows , it dont work.

I Dont know what to do , Split the Database ?  This Database , has 70 GB .

Thanks

fnguy  wrote:[color=darkred
]
>You might be able to break the update into more manageable pieces with a
>where clause.  It's tough to know how to help you without more information.
>Can you post the update query?
> 
>[quoted text clipped - 5 lines] 

Report this thread to moderator Post Follow-up to this message
Old Post
Batzal via webservertalk.com
10-28-05 04:23 PM


RE: Problems with DB 70 GB
You might be running out of log space or something similar such as server
resources.  I'd suggest you get a dba in their to look at and review the
process for you.  He / She should be able to resolve this easily in a day.

But be forwarned that you may hear something like "You need to drop your
non-clustered indexes first", "You need to get users out of the database
first", etc.



"Batzal via webservertalk.com" wrote:

> I Have a table with 30 Millions of rows , and I must to add, 12 Millions .
>
> The query is :
>
> Insert into Table1
> Select *
> from TableTemp
>
> This query works good , when i put a where clause , but if i want to inser
t
> all the rows , it dont work.
>
> I Dont know what to do , Split the Database ?  This Database , has 70 GB .
>
> Thanks
>
> fnguy wrote: 
>

Report this thread to moderator Post Follow-up to this message
Old Post
fnguy
10-29-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 03:56 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006