How To Increase Tablespaces In Sql Server

Jul 14, 2004

Can someone tell me how to increase tablespaces in SQL Server?

Is the syntax the same as Oracle? Is there a wizard in Enterprise Manager?

Cheers

View 4 Replies


ADVERTISEMENT

How To Increase The SQL Server Memory

Dec 21, 2004

We are using SQL server 7.0, our users use to connect to SQL server remotely using Visual Basic Application. When all the users are connected it keeps on increasing the memory utilization and at 1,836,848 KB memory utilization it stops increasing the memory i.e memory utilization become stangnet. The actual amount of physical Memory is around 5GB but SQL server dont increase it after the treshhold level and the performance of the server get affected badly. Any one please suggest me the possible solution.

View 2 Replies View Related

How To Increase Disk Space In Server

Aug 11, 2015

How to increase disk-space of database in sql server?

View 4 Replies View Related

SQL Server Memory Usage Continue To Increase

Dec 28, 2004

Hi,
On the last Sunday 26/12/04 on 20:00 I got on one of our applications in the customer site this error:
"There is insufficient system memory to run this query."

Details:

Computer: IBM XSERIES_345, dual CPU 2.8 Intel xeo, 1,047,952 KB ram, windows 2000 server sp4.
Disk space: 4395 MB, Virtual memory: initial size 1536 MB, Max size 3072 MB. Registry size: current 14 MB, Max 90 MB.

SQL Server 2000 SP 3, two production databases (1) Data size 100 MB, log size 15 MB (2) Data size 500 MB, log size 125 MB
All the memory options are configured as default i.e. dynamically configure for memory and not changes in any sp_configure options.

SQL server is the only major application running on the machine.


Facts:
On that evening the I've checked the Task Manager and found that SQL Server use 500 MB in Mem Usage and 1200 MB in VM size.
In the query analyzer I execute the select query which results the "…insufficient system memory…" error on both databases and on the one with more data it failed with this error, but on the other database it completed successfully.
I restart SQL Server service to solve it, and as for today 28/12/04 at 08:00 it use 590 MB in Mem Usage and 590 MB in VM size.


I have checked the system with Performance monitor and didn't find any problems I use the Memory: Pages/sec, Memory: Available Bytes, Physical Disk: % Disk Time, Processor: % Processor Time, SQL Server Buffer: Buffer Cache Hit Ratio.

We have 8 user connections for one of the database and 16 for the other one.
Our system runs with this configuration for 2 months, I backup the databases FULL, DIFF and LOG backup.
It's not real time system, and the load on the SQL is medium, but we use bad queries as update for all fields in one query (please don't ask…)

I know that SQL server is greedy with the memory and released memory only if other process needs it.

Any ideas why it happens?

Thanks,
Yaniv

View 2 Replies View Related

SQL Search :: How To Increase Server Buffer Size

Nov 6, 2015

I'm trying to query a table where in the data in a cell is 65KB and when i try to do a SELECT I am unable to get the entire data from the cell.

SELECT CAST(Xml_data as XML) from TableName where ID=100
Error Message: Msg 9448, Level 16, State 1, Line 1 XML parsing: line 241, character 76, well formed check: undeclared entity

View 4 Replies View Related

SQL Server 2014 :: Sudden Increase In Table Size?

May 5, 2015

I save Table size and recs. no every day. and check it some days.

...
insert into @t
exec sp_msforeachtable 'exec sp_spaceused ''?'''
...

But Today I saw sudden increase size in a table. about 128 MB in a day. (Average Growth fro this table was 4 or 5 MB in a day)This growth was for Only 4222 Records. While for more number of records (about 7000) in yesterday we had only 2 MB GRowth!

This Table information (Now):

sp_spaceused 'Table1'

Result:

name ---Rows --reserved --data

Table1--1021319--460328 KB --283104 KBI Try to gess The reason. I copy These new records to another table.But The result was more strange : on new table the size of these record was : < 1 MB I copied All records to another table . The size was : 148 MB (while this is 283 MB in my real database)

View 4 Replies View Related

SQL Server 2008 :: How To Increase Performance Of Insertion SP In While Loop

Aug 13, 2015

WHILE (@MyLoop3 > 0)
BEGIN
SELECT Top 1 @UploadId = UploadId,@FirstName = (CASE WHEN FirstName = '' THEN @Update ELSE FirstName END),
@LastName = (CASE WHEN LastName = '' THEN @Update ELSE LastName END),
@Claim = (CASE WHEN Claim = '' THEN @Update ELSE Claim END),
@Insurer = (CASE WHEN Insurer = '' THEN @Update ELSE Insurer END),
@InsurerBranch = (CASE WHEN InsurerBranch = '' THEN @Update ELSE InsurerBranch END),

[Code] .....

View 3 Replies View Related

SQL Server 2012 :: Increase In Usage Percentage Of All Columns

Aug 24, 2015

I have a table which gets updated with the usage figure every week. Any similar t-sql which returns the increase in usage percentage of all the columns.

View 8 Replies View Related

How To Increase A Session Timeout For Report Creation Uing SQL Server 2005 Reporting Services.

Dec 31, 2007



Hi,
Does any know how to increase a session timeout for Report Creation uing SQL Server 2005 Reporting Services. Iam trying to export a report (to a .pdf) using SQL 05 reporting services. However, it seems that the the query is timing out coz of session-time out. Can anyone tell me how to increase this value ?


Thanks
Nik

View 11 Replies View Related

Increase

Dec 10, 2007

Choose an EEO-1 Classification: Increase all employees salaries that have: the selected EEO-1 classification by 10%.

Increase all employees salaries by 5%
Hi! I am new to SQL, but trying to teach myself. I have had lots of help from you guys and appreciate it very much. Today, I was trying to do the following:

In my table of "Employees", I have a column called classifications. I want to increase the salaries of the employees with a classification of EE0-1 by 10%, but I have not figured out to do so.

My second question is how would I increase all employees' salaries by 5%?


Anyone can help?

Thanks!

Scott

View 2 Replies View Related

Increase Ram?

Jul 20, 2005

i have DB 2GB on disk.if i increase tha ram up to 4GB, the sql sever use with theram to his temporary table while process quiry?

View 1 Replies View Related

Increase Number By 1

Sep 2, 2004

Hello all,
I have, what i think, is a unique problem that i'm hoping some of you can help me on.

I need to create a record number that is incremented by 1 whenever someone adds a new record to the database. For example, records numbering 1,2,3 are in the database. When the users adds a new record, SQL takes the last recordno, 3 in this case, and adds 1 to it thus producing 4.

Also, i need to have the ability to replace deleted record numbers with new ones. Using the example above, say a user deletes record number 2. Whenever someone adds a new record, sql would see the missing number and assign the new record that number.

I hope i'm making sense here. Does anyone have any ideas about this? Any articles on the web that someone could point me to?

Thanks.
Richard M.

View 1 Replies View Related

Sp To Increase Value Of Index

Jan 26, 2004

Can someone tell me how I can write a stored procedure that will automatically increment the value of the index by 001? I am attempting to build a table for a menu system and I need to increment the index value of the document by 001 when submitted to the database. I also need to have the script obtain the last index value of the node before inserting new value.

All ideas appreciated.

Sincerely,

Tim

If interested, this requested is based upon an article written by Michael Feranda:
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=7321&lngWId=4

View 1 Replies View Related

Sql Log Files Can Not Increase?

Oct 30, 2006

Database's log file can not increase when nearly get 2 GB

Mine is sql server2000,What's wrong with this? Any idea about this?

Thanks

View 2 Replies View Related

How To Increase The DB Size

Mar 5, 2007



hi,

I have one DB in SQL Server 2005.When I was creating it

takes 7813 MB.Now the databse size almost full.Now I want to extend the

DB Size.At my HDD has more space(near by 160 GB).But I don't know how to

extend the Size.More over I had one doubt.Am executing the

exec sp_helpdb command.It shows the Datafile maxsize is Unlimited.I want to

know when the data is full,whether it automatically takes the size from the

HDD or not.

Please Help me out to this Problem.

View 2 Replies View Related

How Do You Increase The Value For: DTS_I_CHOSENMAXEXECUTABLES

Feb 14, 2007

We are getting the following error on an SSIS package:
"54 Diagnostic VirtualSQLName DomainUserName Load Daily 859CF005-CB7F-47D8-8432-AE7C074B343C 1A986F18-343F-4424-ABAB-AC6575187DF3 2007-02-14 10:05:42.000 2007-02-14 10:05:42.000 0 0x Based on the system configuration, the maximum concurrent executables are set to 4. "


Basically it is saying the we have reached the maximum amount of executables. How can we increase this value and where?

Thanks

View 3 Replies View Related

Increase Scope Of CTE?

Jan 10, 2008



I am really starting to like CTEs. My only qualm is that you can only use them within the first statement after you declare them. I wish they would remain active for the duration of the sql batch just like everything else (variables,local temp tables, ect). Is there any trick so that you can use them multiple times? Maybe define them as a string and do dynamic sql or something like that? Hopefully (i have not researched the new version of sql server) in SQL Server 2008 the scope has increase. Anyways any help would be appreciated.

thanks,
Ncage

View 19 Replies View Related

Increase &#39;View&#39; Performance

Apr 1, 2001

Hi,
I created a view on two huge tables. I tried to run a simple SELECT statement on this view and it took me several hours to obtain the result. How can I improve the performance of a view? The view should make use of the indexes built in both table, am I right? Thanks.

View 1 Replies View Related

Cursor Will Increase Performance Or Not

Jun 29, 2000

"Cursor provide row-by-row level processing and it will store the result sets in 'TEMPDB' database".

(Because of this) or (By using Cursor in Triggers or Stored Procedures) the performance will increase or performance will come down?. I am thankful if I get a good reason for this?

Srinivasan

View 3 Replies View Related

How To Increase Number Of Licences?

Jan 29, 2001

I wonder is there any way to increase number of server licences without re-installing SQLServer?

View 1 Replies View Related

How To Increase The Maximum No. Of DB Processes?

Sep 4, 1998

I am receiving an error from my ODBC driver “Maximum number of DBPROCESSes already allocated.”

I confirmed that there are 25 connections and that this is the default. This is caused by error message 10029, SQLEDBPS, when the maximum number of simultaneously open DBPROCESS structures exceeds the current setting. I would like to increase this maximum.

I have found only two ways to do this. One is using dbsetmaxprocs using C and the other is using SqlSetMaxProcs using Visual Basic. My problem is that I am interfacing to SQL Server using a third party tool that is doing the lower level programming.

Is there some way that I can increase the maximum number of DB processes for all databases that are part of the SQL Server 7 environment, or can I set this value using a program that is called from a stored procedure?

Any ideas in this area will be greatly appreciated.

View 1 Replies View Related

Increase Segment Size

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

How Do I Increase Font Size In 6.5?

Jan 27, 1999

I seem to remember that the font size and type can be controlled in SQL Server 6.5 and the process controlls the fonts displayed
throughout the program - Enterprise Manager, Query Tool, etc.

I have just re-installed 6.5 and the fonts are way too small.

Can anyone tell me how this is done?

Thanks.

Jack

View 1 Replies View Related

Increase Database Size

Jan 13, 2005

I have a database that is over 45 GB and need to increase the size, can someone help me with the code to get it done?

Thanks

View 6 Replies View Related

How To Increase Size Of Datatype...

Jul 15, 2006

Dear

I am using varchar data type in my table.it provides maximum 8000 character. but i want more than that.

how to increase size more than 8000

i want to use text datatype but when i type in length it doenst type.it displays only 16.i cant change to another value.

please help me out

Waiting for reply

Regards,
ASIF

View 1 Replies View Related

Drive Space Getting Increase

Apr 29, 2014

Am using Windows Server 2008R2,In this Server C:/ drive space is getting increase day by day as per my knowledge i have to format that system.If is there any other chances to get space and remove unwanted things from my Server.

View 7 Replies View Related

Procedure Increase By % Using Criteria?

Sep 17, 2014

I am trying to increase the price of an product by a user entered % for items with Dishwasher in the itemdesc.

Below is the procedure I have which doesn't appear to show any errors in the SQL Developer.

CREATE OR REPLACE PROCEDURE AdjustPrice(
pItemDesc IN ITEM.ItemDesc%TYPE,
pPercent IN NUMBER)
IS
BEGIN
UPDATE Item
SET ItemPrice = ItemPrice + ItemPrice * pPercent / 100
WHERE ItemDesc = pItemDesc;
END;

This is my run script:

BEGIN
AdjustPrice ('%Dishwasher%',10);
END;

I think the problem is with the way I have done the run script to filter to items with Dishwasher in the description. I tried LIKE an that didn't work either.

View 2 Replies View Related

How Can I Increase The Size Of Varchar

Nov 10, 2006

Dearfriends,
please guide me,
i've a column with varchar(100).
presently, i need that column as varchar(500).



thank you very much.

Vinod

View 4 Replies View Related

How To Increase Peformance In Paging ?

Jan 22, 2007

I use Sql server 2000.I have implemented paging as guide in link :
http://dotnetjunkies.com/Tutorial/975BE770-E5DC-4610-870B-A82BDB9B8845.dcik
Is peformance good ? My database has 200000 records.
I feel my web application quite slowly in loading.
I suppose that 100 user simultaneously run in store above links.Mean that it create 100 temp table and load 100 * 200000 records.is it correct ?
Please give me valueable suggestion about performance.
Thank you very much.

View 1 Replies View Related

HOW TO INCREASE THE COLUMN SIZE

Feb 23, 2007

Dear friends,

i've a column with nvarchar type. how can i increase the size of the column?

Vinod

View 5 Replies View Related

How To Increase SSIS Performance

Nov 3, 2006

Hello again,

I'll just throw my question: how could I increase SSIS-performance?

I have a really heavy job with thousands of records my base selection, then I perform some lookups (I replaced most of them by sql) and derived columns (again, I replaced as much as possible by sql). Finally, after a slowly changing dimension task, I do update/insert on a given table. Is there a trick to speed up lookups and inserts (something like manipulating the buffer sizes - just asking).
Fact is that I replaced a script task by pure sql-joins and gained 6 of the 12 hours this job took.

Any ideas?

Greets,
Tom

View 2 Replies View Related

Cant Increase Column Size

Jul 9, 2007

hey

i've a db running sql server express sp2. the db size now is 1.1 gb
i've a table with a varchar column of size 20 . when i try to increase the column size to 50 i get a
timeout exception, and the the cloumn size is unchanged. this table has 2.5 million records

i use sql server management studio express to do the changes

is there a way to increase this timeout or whtever i can do to update this column size?

thx in advance

View 4 Replies View Related

Increase Activation Time

Oct 23, 2006

Is there any way to increase the activation time, i.e. the time between service broker creating a new instance of the activation SP.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved