How to reduce allocated Space to DB in mssql 2005
Hi ,
We are using SAP with Mssql2005 on Windows 2008r2.server.
One week back we provided 400 GB space to My database files (for each 100GB), But right now we don't want that much space for My system.We are planing to use that extra space for another system.
I want to know below points.
1)How to reduce my database free space from Mssql 2005 management studio.
2)What is the Procedure.
3)Is it possible to reduce the Database free size once added to SQL Database files.
Please suggest the procedure, its urgent requirement.
Hi Rao
1. You can perform the Database shrink. During this process keep an eye on transaction log & do it during off peak time. Just go through the Microsoft blog Shrink a File
2. If your are migrating the database to MS Sql 2008 R2 you can get the database compression feature it may reduce your disk space more than 40%,
Regards
Sriram
Similar Messages
-
How to reduce 'other' space in iphone, how to reduce 'other' space in iphone
suddenly other space in my iphone increased to 1.26GB from 800MB. please suggest how to reduce the space in 'other'
I am having 'other' storage problems on a lot of my devices and I have been searching for a way to solve this. I was looking through threads of discussions and everyone pretty much said the same thing- that it 'other' is data that can't be classified into sections eg. things like documents, contacts, mail etc and that a way to get rid of it, as mentioned above, is to restore is. But then I came across this thread of disucssions: https://discussions.apple.com/message/17668547#17668547
which said that there was a way to reduce the storage without restoring, having something to do with old uptade files of apps. I'm not sure if this works as I haven't tried it yet but they said it was safe and worked, so there is an option -
How to reduce the space between to words in Scripts?
Hello Friends,
How can I reduce the space between to words in Scripts?
Thanks & Regards
Sathish Kumaruse &ekpo-ebeln(C)& it is for reducing the space...
if you are trying to codense the space in prog and then want to pass that to script use
condense ekpo-ebeln <no-gaps>.
<no-gaps> is optional ...so as per your requirement you can use it
regards
shiba dutta -
How do reduce the space between the front panel and the display area
I am trying to reduce the space between the front panel and display area but i am not able to reduce the space
A picture would be very helpful in demonstrating what you are having trouble with.
Lacking that, I will guess.
VI Properties >>> Windows Size
lets you define the minimum size of a FP window.
Well that's my guess!
Did I win?
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
os:x86_64 x86_64 x86_64 GNU/Linux
oracle:9.2.0.6
running : Data guard
Problem : Redo space wait is very high
Init.ora paramaeters
*.background_dump_dest='/u01/app/oracle/admin/PBPR01/bdump'
*.compatible='9.2.0'
*.control_files='/s410/oradata/PBPR01/control01.ctl','/s420/oradata/PBPR01/control02.ctl','/s430/oradata/PBPR01/control03.ctl'
*.core_dump_dest='/u01/app/oracle/admin/PBPR01/cdump'
*.cursor_space_for_time=true
*.db_block_size=8192
*.db_cache_size=576000000
*.db_domain='cc.com'
*.db_file_multiblock_read_count=16
*.db_files=150
*.db_name='PBPR01'
*.db_writer_processes=1
*.dbwr_io_slaves=2
*.disk_asynch_io=false
*.fast_start_mttr_target=1800
*.java_pool_size=10485760
*.job_queue_processes=5
*.log_archive_dest_1='LOCATION=/s470/oraarch/PBPR01'
*.log_archive_dest_3='service=DR_PBPR01 LGWR ASYNC=20480'
*.log_archive_format='PBPR01_%t_%s.arc'
*.log_archive_start=true
*.log_buffer=524288
*.log_checkpoints_to_alert=true
*.max_dump_file_size='500000'
*.object_cache_max_size_percent=20
*.object_cache_optimal_size=512000
*.open_cursors=500
*.optimizer_mode='CHOOSE'
*.processes=500
*.pga_aggregate_target=414187520
*.replication_dependency_tracking=false
*.undo_management=AUTO
*.undo_retention=10800
*.undo_tablespace=UNDOTBS1
*.undo_suppress_errors=TRUE
*.session_cached_cursors=20
*.shared_pool_size=450000000
*.user_dump_dest='/u01/app/oracle/admin/PBPR01/udump'
SGA :
SQL> show sga
Total System Global Area 1108839248 bytes
Fixed Size 744272 bytes
Variable Size 520093696 bytes
Database Buffers 587202560 bytes
Redo Buffers 798720 bytes
SQL>
I created log groups with 2 memebers each and with size 25 mb.
Redo space waits shows as
SQL> SELECT name, value
FROM v$sysstat
WHERE name = 'redo log space requests';
NAME VALUE
redo log space requests 152797
this is running between 140000 and 160000
some of the trace file error
[oracle@hipclora6b bdump]$ cat PBPR01_lns0_23689.trc
Dump file /u01/app/oracle/admin/PBPR01/bdump/PBPR01_lns0_23689.trc
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
ORACLE_HOME = /u01/app/oracle/product/9.2.0.6
System name: Linux
Node name: hipclora6b.clickipc.hipc.clickcommerce.com
Release: 2.4.21-37.EL
Version: #1 SMP Wed Sep 7 13:32:18 EDT 2005
Machine: x86_64
Instance name: PBPR01
Redo thread mounted by this instance: 1
Oracle process number: 34
Unix process pid: 23689, image: [email protected]
*** SESSION ID:(82.51071) 2008-04-14 23:40:04.122
*** 2008-04-14 23:40:04.122 46512 kcrr.c
NetServer 0: initializing for LGWR communication
NetServer 0: connecting to KSR channel
: success
NetServer 0: subscribing to KSR channel
: success
*** 2008-04-14 23:40:04.162 46559 kcrr.c
NetServer 0: initialized successfully
*** 2008-04-14 23:40:04.172 46819 kcrr.c
NetServer 0: Request to Perform KCRRNSUPIAHM
NetServer 0: connecting to remote destination DR_PBPR01
*** 2008-04-14 23:40:04.412 46866 kcrr.c
NetServer 0: connect status = 0
A Sample alert Log
Thread 1 advanced to log sequence 275496
Current log# 1 seq# 275496 mem# 0: /s420/oradata/PBPR01/redo01a.log
Current log# 1 seq# 275496 mem# 1: /s420/oradata/PBPR01/redo01b.log
Tue Apr 15 09:10:03 2008
ARC0: Evaluating archive log 4 thread 1 sequence 275495
ARC0: Archive destination LOG_ARCHIVE_DEST_3: Previously completed
ARC0: Beginning to archive log 4 thread 1 sequence 275495
Creating archive destination LOG_ARCHIVE_DEST_1: '/s470/oraarch/PBPR01/PBPR01_1_275495.arc'
Tue Apr 15 09:10:03 2008
Beginning global checkpoint up to RBA [0x43428.3.10], SCN: 0x0000.3c1594fd
Completed checkpoint up to RBA [0x43428.2.10], SCN: 0x0000.3c1594fa
Completed checkpoint up to RBA [0x43428.3.10], SCN: 0x0000.3c1594fd
Tue Apr 15 09:10:03 2008
ARC0: Completed archiving log 4 thread 1 sequence 275495
Tue Apr 15 09:29:15 2008
LGWR: Completed archiving log 1 thread 1 sequence 275496
Creating archive destination LOG_ARCHIVE_DEST_3: 'DR_PBPR01'
LGWR: Beginning to archive log 5 thread 1 sequence 275497
Beginning log switch checkpoint up to RBA [0x43429.2.10], SCN: 0x0000.3c15bc33
Tue Apr 15 09:29:16 2008
ARC1: Evaluating archive log 1 thread 1 sequence 275496
ARC1: Archive destination LOG_ARCHIVE_DEST_3: Previously completed
ARC1: Beginning to archive log 1 thread 1 sequence 275496
Creating archive destination LOG_ARCHIVE_DEST_1: '/s470/oraarch/PBPR01/PBPR01_1_275496.arc'
Tue Apr 15 09:29:16 2008
Thread 1 advanced to log sequence 275497
Current log# 5 seq# 275497 mem# 0: /s420/oradata/PBPR01/redo05a.log
Current log# 5 seq# 275497 mem# 1: /s420/oradata/PBPR01/redo05b.log
Tue Apr 15 09:29:16 2008
ARC1: Completed archiving log 1 thread 1 sequence 275496
Log file size
SQL> select GROUP#,MEMBERS ,sum(bytes)/(1024*1024) from v$log group by
2 GROUP#,MEMBERS;
GROUP# MEMBERS SUM(BYTES)/(1024*1024)
1 2 25
2 2 25
3 2 25
4 2 25
5 2 25
Pl. give your view what can be thought of to reduce redospace waitBelow are my suggestion:
Increase log buffer between [ 5Mb and 15Mb]
differ the the commit: COMMIT_WRITE=NOWAIT,BATCH
You can also increase your redo log fil, but read the following
Sizing Redo Logs with Oracle 10g
Oracle has introduced a Redo Logfile Sizing Advisor that will recommend a size for our redo logs that limit excessive log switches, incomplete and excessive checkpoints, log archiving issues, DBWR performance and excessive disk I/O. All these issues result in transactions bottlenecking within redo and performance degradation. While many DBAs' first thought is throughput of the transaction base, not very many give thought to the recovery time required in relation to the size of redo generated or the actual size of the redo log groups. With the introduction of Oracle's Mean Time to Recovery features, DBAs can now specify through the FAST_START_MTTR_TARGET initialization variable just how long a crash recovery should take. Oracle will then try its best to issue the proper checkpoints during normal system operation to help meet this target. Since the size of redo logs and the checkpointing of data have a key role in Oracle's ability to recover within a desired time frame, Oracle will now use the value of FAST_START_MTTR_TARGET to suggest an optimal redo log size. In actuality, the setting of FAST_START_MTTR_TARGET is what triggers the new redo logfile sizing advisor, and if you do not set it, Oracle will not provide a suggestion for your redo logs. If you do not have any real time requirement for recovery you should at least set this to its maximum value of 3600 seconds, or one hour and you will then be able to take advantage of the advisory. After setting the FAST_START_MTTR_TARGET initialization parameter a DBA need only query the V$INSTANCE_RECOVERY view for the column OPTIMAL_LOGFILE_SIZE value, in MEG, and then rebuild the redo log groups with this recommendation.
Simple query to show the optimal size for redo logs
SQL> SELECT OPTIMAL_LOGFILE_SIZE
FROM V$INSTANCE_RECOVERY
OPTIMAL_LOGFILE_SIZE
64
A few notes about setting FAST_START_MTTR_TARGET
• Specify a value in seconds (0-3600) that you wish Oracle to perform recovery within.
• Is overridden by LOG_CHECKPOINT_INTERVAL:
Since LOG_CHECKPOINT_INTERVAL requests Oracle to checkpoint after a specified amount of redo blocks have been written, and FAST_START_MTTR_TARGET basically attempts to size the redo logs in such a way as to perform a checkpoint when they switch, you can easily see that these two parameters are of conflicting interest. You will need to unset LOG_CHECKPOINT_INTERVAL if you wish to use the redo log sizing advisor and have checkpoints occur with log switches. This is how it was recommended to be done in the v7 days and really I can't quite see any reason for anything else.
• Is overridden by LOG_CHECKPOINT_TIMEOUT:
LOG_CHECKPOINT_TIMEOUT controls the amount of time in between checkpoints if a log switch or the amount of redo generated has not yet triggered a checkpoint. Since our focus is now on Mean Time to Recovery (MTTR) this parameter is no longer of concern because we are asking Oracle to determine when to checkpoint based on our crash recovery requirements.
• Is overridden by FAST_START_IO_TARGET:
Actually, the FAST_START_IO_TARGET parameter is deprecated and you should switch over to the FAST_START_MTTR_TARGET parameter
Thanks -
Re: settings -- how to reduce waste space at top of page to one line only
I find that the wide screens are too short so it seems like more scolling is needed since less of web page is viewable and this problem is made worse by waste space taken up by various lines - for example on my firefox page, there is a blue line at the top that currently says "ask a question" Firefox help etc and then the rest of the line is blank -- about 70% of space not used/needed
The second line down shows: File, Edit, View, History, Bookmarks, Tools, Help -- then about 70%waste space -- rest of line is blank -- How can we put stuff from various lines into one or two lines Max ?
To continue, in my case, the next line has a couple of tabs -- this is useful -- maybe if there could be an easy way to show tabs in their own line when lots of various pages need to be open but when need max space viewable below to click a dropdown to push tabs up to end of next line above (in the waste space)
Finally, my page has the 4th line taken up by the Forward and Back arrows, the web address line, and then a shorter box called iLivid Web Search with a magnifying glass and then a little box at the end of a house -- which I use all the time to go to my home page for new tabs opened
I think it would be cool if we could easily elim all but the blue line and one more line by pushing stuff in line 3 and 4 up into line 1 (blue line) and line 2
My much older IE version had a feature you could drag the lines up they would do what I am saying with all the lines except the blue line at the top -- then when it compressed thje info, it would just show part of title and then a little // sort of button to click to see or expand a part of the line to read it all if needed
It seems likely this has mostly been solved but I can not seem to figure how to use the settting and buttons on my firefox page to accomplish these changes easily back and forth
From my looking at it, these features need to be available when you right click on each line but maybe my version8 is not set up quite right
so any and all assistance is greatly appreciated
Cheers, GFound settings in on the Layout tab of the page and changed the top px from 32 to 10.
Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties. -
My other data is about 2.43 GB is that normal and how to reduce this space
i want to know what is other data shown when i sync my iphone with itunes
and in my iphone it's size about 2.43 GB is that normal ?
and if i want to redeem that space how to do thatkplayer wrote:
i want to know what is other data shown when i sync my iphone with itunes
and in my iphone it's size about 2.43 GB is that normal ?
and if i want to redeem that space how to do that
It's a little above normal, you can't completely delete others.
see link What is "Other" and What Can I Do About It? -
select 'Lease Amount'||' '||'Rs.'||' '||to_char(lease_amt,'999,999,999')Lease_amt from mst_tbl where rt_no=2716result
LEASE_AMT
Lease Amount Rs. 969,000I want output like that
LEASE_AMT
Lease Amount Rs 969,000How to Avoid space between Rs. and the AmountSQL> select 'Lease Amount' || ' ' || 'Rs.' || ' ' || to_char(969000,'999,999,999') from dual;
'LEASEAMOUNT'||''||'RS.'||''|
Lease Amount Rs. 969,000
SQL> select 'Lease Amount' || ' ' || 'Rs.' || ' ' || to_char(969000,'fm999,999,999') from dual;
'LEASEAMOUNT'||''||'RS.'||''|
Lease Amount Rs. 969,000
SQL>Nicolas. -
How to adjust the space between images in a carousel or images with horizontal scroll
I use the next steps to create a carousel or horizontal scroll of images:
Webcenter portal: Spaces
Spaces
Manage Settings
Pages
Create page
Content management
Content presenter
Add images with Plus Icon
It works, but between every image has a lot of space, can you tell me how to reduce the space between every image.
My Oracle Version 11gR1 (11.1.1.3.0)
Regards
Tomas ReyesRemove line 234 in your HTML code.
<p>& n b s p</p>
This is a redundant line of code. Your spacing should get resolved.
PS: I've given spaces between the tag because otherwise this forum would not display the line correctly. -
how can I remove large number of photos on my iPhone 4s from iTunes using a PC - Lenovo Think Pad - so that I can reduce the space used on the phone by 50%?
You don't need iTunes for that. Simply connect the iPhone to the PC where it will be recognized as a camera. You can then select the photos you wish to transfer, transfer them, and delete them.
-
How To Reduce Space Between Text and Image
I am trying to wrap text around an irregular shape in InDesign CS4. I used the pen tool to mark the outline of the image, cut the image, then selected the pen outline and pasted the image into the outline. With the TextWrap settings set to what is in this dialog box, text wrapping appears fine on the right-hand side, but has too much space on the left-hand side.
If I try to reduce the space even further, it just affects the right-hand side of the image, not the left:
It is doing the same thing for all of my irregularly-shaped images where I try to wrap text. How can I reduce the whitespace to the left of the image?Actually just noticed your text is already justified apologies.
Couple more things you can try to improve this:
From Control panel menu choose Justification and try using the following settings:
Minimum
Desired
Maximum
Word Spacing
80%
100%
120%
Letter Spacing
-2%
0%
2%
Glyph Scaling
98%
100%
102%
Also check that Single Word Justification is set to Full Justify.
Cari -
How to delete Ubuntu virtual desktop and free up allocated space in windows 8?
I have tried out Hyper-V for the first time to install Ubuntu desktop. During the installation process, 10GB of space is allocated. I believe this space would have been created as a separate partition and formatted
to linux file system. Please correct me if I am wrong.
Now I would like to remove the Ubuntu virtual desktop and free up the allocated space. I have deleted the desktop from the Hyper-V manager. Is this sufficient to free up the space?
Disk partition tool shows following partitions
Volume
Layout
Type
FS
Status
Capacity
Free
Volume (C;) Simple
Basic NTFS
Healthy(Boot, Page File ...) 218GB
8GB
Volume <nolabel> Simple
Basic Healthy(Recovery Partition)
450MB 450MB
Volume <nolabel>
Simple
Basic
Healthy(Recovery
Partition)
350MB
350MB
Volume <nolabel>
Simple
Basic
Healthy(Recovery
Partition)
10.5GB
10.5GB
Volume <nolabel>
Simple
Basic
Healthy(EFI
System Partition)
260MB
260MB
Volume <nolabel>
Simple
Basic
Healthy(Primary
Partition)
8GB
8GB
I am not sure of the unnamed, unused volume. Hence I listed all.
However Diskpart tool in command prompt does not show the last one [ 8gb]. Does this mean if this was allocated
to Virtual desktop? Please helpYou must delete the VHDx that you created when you created the VM.
This is the virtual disk that Ubuntu was installed into - you will not see this as a volume, you will see this as a VHDx file.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat. -
How to reduce space between cell border and text ?
I want to make a very small print of my class timetable. But I can't reduce the table size after a certain size. The major portion is taken up due to space between the cell borders and the text in them. Is there anyway I can reduce that space so that I can make the font size a little more and still keep the table size small.
Assuming your are using Pages '09 (4.0.3) ..
First select all the cells which you wish to change.
Go to Inspector - Text Inspector, and reduce the Inset Margin -
How will check the space taken by a single table in a tablespace ?
How will check the space taken by a single table in a tablespace ?
dba_segments is giving the same values even if I truncate the table?
Pls replyI need to know how can we find out the size of the table in the tablespace.use user_segments (bytes) column.
How much bytes it has taken ?value from user_segments, bytes column
If u delete records will the space be used for another table in same tablespace?No, it keep the space in the same table for future usage.
How can we free that space ?truncate or drop the table and reduce the size from tablespace, if you want to reclaim the space from the tablespace, OS level.
Jaffar -
Transfer Purchase from iPhone 5s to iTunes reducing free space?
Sometime I Transfer Purchases from my iPhone 5s 32GB running iOS 7.0.4 using iTunes 11.1.4 for Mac and recently notice it reduced free space on the iPhone, even before doing any sync from iTunes.. several weeks ago just before Transfer Purchases there was 7GB of free space on the iPhone, after Transfer Purchases there's only 5.3GB left, I restart the phone and there's 5.9GB left
Today there's 5.7GB free space, after Transfer Purchase there's only 4.3GB left, after restart the phone 4.7GB left
Wondering what Transfer Purchase actually doing with the phone that increase the storage usage up to more than 1GB permanently..? and how do I reclaim those free space?Hi,
Read this http://support.apple.com/kb/HT1386
Jim
Maybe you are looking for
-
Good day, tell me what to do iphone 4s bought preowned raised to 7.2 firmware but it requires aktivatsyi apple id but I do not know it because they do not buy a new one. and contact the seller lost in what to do now tell me?
-
I can't get the IOS 5 to work for windows Vista. I'm running kaspersky pure 2.0, windows firewall and windows defender. I have turned them all off, I then attach my Ipod 4th gen and I get the "cannot connect to itunes update server". I ran diagnos
-
Is excise duty applicable for free goods
is excise duty applicable for free goods
-
Routings: mass change of object dependency
Hi Friends, Do you know if there is way to apply a mass change on object dependency in Routings? My scenario is: add one new obj dependency at one operation on several (hundreds) routings. Thanks a lot for any help or suggestion. Bye, Flavio Ciotola
-
Placing class files for servlets in j2ee
i am new to java servlets. i recently installed j2ee v1.4 sdk. i have gotten my first file that imports packages to compile. i now need a path to place .class files and .jar files. everyone says web-inf/classes and web/lib. due to the directory struc