Log file initial size is not changing

Hi Team,
I have a database on SQL Server 2008 whos log file is 187 GB while total backup size of database is 5 MB.
When I am taking log backup and full backup and trying to change the initial size of log file then it is again reaching to 187 GB strange?
Kindly help
Thanks

If you don't need log backup (no point-in-time restore, no log-shipping, etc.), put the database into the SIMPLE recovery model.
Shrink log: http://www.sqlusa.com/bestpractices2005/shrinklog/
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Similar Messages

  • In Adobe Acrobat X Standard, our user used to be able to resize drawings to 8.5 x 10, it stopped working yesterday. It allows her to do this without an error but the size does not change?

    In Adobe Acrobat X Standard, our user used to be able to resize drawings to 8.5 x 10, it stopped working yesterday. It allows her to do this without an error but the size does not change?

    Try unmounting the volume on your iMac using Disk Utility. Then mount it again. You may need to reboot the laptop or relaunch its Finder process (using the Force Quit window) after remounting the drive on your iMac. Remember that no process may be accessing any files on the drive you plan to unmount, or the unmount will fail. Unmounting and remounting an external drive on my iMac made it become visible on my MacBook Pro after it had disappeared.

  • The LOG file \work\dev_jcontrol is not present

    The LOG file \work\dev_jcontrol is not present; even thou I have restarted the server:
    stopsap
    startsap <j2ee_instanse>
    Any idea?

    Hi,
    cluster ID is just combination of below parameters:
    In our case, my source system (ABC) was refreshed from another system (XYZ) recently
    so while installing target system ( DEF), I changed the source system details from ABC to XYZ in below file and retried the
    SAPinst screen. System copy has got completed successfully.
    Open the file <installation directory>/jmt/cluster_id_switch.properties and edit the line
    src.ci.sid=
    src.ci.instance.number=
    src.ci.instance.name=
    src.ci.host=
    If in your case source system is not refreshed recently; You may try with functional host name or OS host name etc. details for above parameters.
    If this does not work check details of "SAP Note 966752 - Java system copy problems with the Java
    Migration Toolkit" which says almost the same thing but I could not get that as the statements related to
    box number are bit confusing and contradictory.
    Cheers !!!
    Ashish

  • Tables are deleted but database size does not change in sql server 2008r2

    Hi All,
    20GB Tables are deleted in my database but database size does not change and disk size showing same size.

    Hi ,
    I have ran the Disk usage by Top Tables report and Identified couple of tables with unwanted data for last 5 years. I have deleted the data for the first 3 years and then ran the Disk usage by Top Tables report again. When I compared the report before
    and after the data deletion, I have noticed certain facts which is not matching with what I know or learned from experts like you. The following are the points where I am looking for clarification:
    1.Reserved (KB) has been reduced. I was expecting the data Reserved (KB) will remain the same after the data deletion. 
    2. The Data(KB) and Indexes(KB) fields have been reduced as expected. The Unused(KB) field have been increased as expected.
    I was expecting the total of Data(KB) and Indexes(KB) field space gained will be equal to the Unused(KB) field gained after deleting the data. But that is not the case. When I deducted(subtracted) the difference in  the Reserved(KB)(Difference before
    and after data deletion) field from the Total of space gained from the data deletion is equal to the Unused(KB) gained field value.
    I am not a SQL expert and not questioning but trying to understand whether we really gain space by deleting data from the tables. Also keen to get the concepts right, but my testing by deleting some records confused me.
    Looking ahead to all your expert advice.
    Thanks,
    Vennayat

  • Get Total DB size , Total DB free space , Total Data & Log File Sizes and Total Data & Log File free Sizes from a list of server

    how to get SQL server Total DB size , Total DB free space , Total Data  & Log File Sizes and Total Data  & Log File free Sizes from a list of server 

    Hi Shivanq,
    To get a list of databases, their sizes and the space available in each on the local SQL instance.
    dir SQLSERVER:\SQL\localhost\default\databases | Select Name, Size, SpaceAvailable | ft -auto
    This article is also helpful for you to get DB and Log File size information:
    Checking Database Space With PowerShell
    I hope this helps.

  • Error: License File Exception (check the log file for details): ENT_PE_NODE not found in datastore

    Hi;
    i have install 2 MCS 7816 (publisher and suscriber) with call manager version 6.1, i have load the files licenses for the publisher and the phones, but when i load the file license for the suscriber in publisher server i had the error messeage :
    Error : License File Exception (check the log file for details): ENT_PE_NODE not found in datastore
    what s the solution.
    Thanks for your help

    Hello,
    I seen this issue before, all you have to do is Contact Cisco Licensing team. In order to generate new licenses for your server.
    Thanks,

  • Require 9i Primary and Standby redo logs files same size?

    Hi,
    We have 9.2.0.6 Oracle RAC (2 node) and configured data guard (physical standby).
    I want to increase redo log files size, but i can't this do same time primary and standby side.
    Is there a rule, primary and standby database instances have same size redo log files?
    If I increase only primary redo log files, is there any side effect? However I try this issue on test system. I increased all primary redo log files(if status='INACTIVE' drop redo log group and add redo log group, switch logfile,...)
    , but i couldn't changed standby side. So the system is work well. Is this correct solution or not? How can i increase both sides redo log files?
    Thank you for helps..

    Thank you for your helps.. I found this issue answer:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1010448
    Consequently, when you add or drop an online redo log file at the primary site, it is important that you synchronize the changes in the standby database by following these steps:
    If Redo Apply is running, you must cancel Redo Apply before you can change the log files.
    If the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO, change the value to MANUAL.
    Add or drop an online redo log file:
    To add an online redo log file, use a SQL statement such as this:
    SQL> ALTER DATABASE ADD LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log' SIZE 100M;
    To drop an online redo log file, use a SQL statement such as this:
    SQL> ALTER DATABASE DROP LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log';
    Repeat the statement you used in Step 3 on each standby database.
    Restore the STANDBY_FILE_MANAGEMENT initialization parameter and the Redo Apply options to their original states.
    bye..

  • Log file sync vs log file parallel write probably not bug 2669566

    This is a continuation of a previous thread about ‘log file sync’ and ‘log file parallel write’ events.
    Version : 9.2.0.8
    Platform : Solaris
    Application : Oracle Apps
    The number of commits per second ranges between 10 and 30.
    When querying statspack performance data the calculated average wait time on the event ‘log file sync’ is on average 10 times the wait time for the ‘log file parallel write’ event.
    Below just 2 samples where the ratio is even about 20.
    "snap_time"     " log file parallel write avg"     "log file sync avg"     "ratio
    11/05/2008 10:38:26      8,142     156,343     19.20
    11/05/2008 10:08:23     8,434     201,915     23.94
    So the wait time for a ‘log file sync’ is 10 times the wait time for a ‘log file parallel write’.
    First I thought that I was hitting bug 2669566.
    But then Jonathan Lewis is blog pointed me to Tanel Poder’s snapper tool.
    And I think that it proves that I am NOT hitting this bug.
    Below is a sample of the output for the log writer.
    -- End of snap 3
    HEAD,SID, SNAPSHOT START ,SECONDS,TYPE,STATISTIC , DELTA, DELTA/SEC, HDELTA, HDELTA/SEC
    DATA, 4, 20081105 10:35:41, 30, STAT, messages sent , 1712, 57, 1.71k, 57.07
    DATA, 4, 20081105 10:35:41, 30, STAT, messages received , 866, 29, 866, 28.87
    DATA, 4, 20081105 10:35:41, 30, STAT, background timeouts , 10, 0, 10, .33
    DATA, 4, 20081105 10:35:41, 30, STAT, redo wastage , 212820, 7094, 212.82k, 7.09k
    DATA, 4, 20081105 10:35:41, 30, STAT, redo writer latching time , 2, 0, 2, .07
    DATA, 4, 20081105 10:35:41, 30, STAT, redo writes , 867, 29, 867, 28.9
    DATA, 4, 20081105 10:35:41, 30, STAT, redo blocks written , 33805, 1127, 33.81k, 1.13k
    DATA, 4, 20081105 10:35:41, 30, STAT, redo write time , 652, 22, 652, 21.73
    DATA, 4, 20081105 10:35:41, 30, WAIT, rdbms ipc message ,23431084, 781036, 23.43s, 781.04ms
    DATA, 4, 20081105 10:35:41, 30, WAIT, log file parallel write , 6312957, 210432, 6.31s, 210.43ms
    DATA, 4, 20081105 10:35:41, 30, WAIT, LGWR wait for redo copy , 18749, 625, 18.75ms, 624.97us
    When adding the DELTA/SEC (which is in micro seconds) for the wait events it always roughly adds up to a million micro seconds.
    In the example above 781036 + 210432 = 991468 micro seconds.
    This is the case for all the snaps taken by snapper.
    So I think that the wait time for the ‘log file parallel write time’ must be more or less correct.
    So I still have the question “Why is the ‘log file sync’ about 10 times the time of the ‘log file parallel write’?”
    Any clues?

    Yes that is true!
    But that is the way I calculate the average wait time = total wait time / total waits
    So the average wait time for the event 'log file sync' per wait should be near the wait time for the 'llog file parallel write' event.
    I use the query below:
    select snap_id
    , snap_time
    , event
    , time_waited_micro
    , (time_waited_micro - p_time_waited_micro)/((snap_time - p_snap_time) * 24) corrected_wait_time_h
    , total_waits
    , (total_waits - p_total_waits)/((snap_time - p_snap_time) * 24) corrected_waits_h
    , trunc(((time_waited_micro - p_time_waited_micro)/((snap_time - p_snap_time) * 24))/((total_waits - p_total_waits)/((snap_time - p_snap_time) * 24))) average
    from (
    select sn.snap_id, sn.snap_time, se.event, se.time_waited_micro, se.total_waits,
    lag(sn.snap_id) over (partition by se.event order by sn.snap_id) p_snap_id,
    lag(sn.snap_time) over (partition by se.event order by sn.snap_time) p_snap_time,
    lag(se.time_waited_micro) over (partition by se.event order by sn.snap_id) p_time_waited_micro,
    lag(se.total_waits) over (partition by se.event order by sn.snap_id) p_total_waits,
    row_number() over (partition by event order by sn.snap_id) r
    from perfstat.stats$system_event se, perfstat.stats$snapshot sn
    where se.SNAP_ID = sn.SNAP_ID
    and se.EVENT = 'log file sync'
    order by snap_id, event
    where time_waited_micro - p_time_waited_micro > 0
    order by snap_id desc;

  • Font size WILL NOT change.

    I am using Adobe Acrobat Pro 9.0.0
    I have a BMP file of a certificate and I want to have only certain areas where the user can write the details.  So, I did the following:
    Opened the bitmap.
    Forms - Add or Edit Fields... (selected 'No' - I do not want Acrobat to detect the field, because there are none).
    Saved the file.
    Forms - Form Tools - Text Field
    Drew the filed and gave it a name.
    Double clicked on it
    Clicked on Appearance.
    The default font is Helvetica.
    Changed the font size to 18.
    Clicked on Close
    File - Save
    I then open the file with Adobe  Reader 10.0.1
    The font size is ignore (it's tiny!!!!)
    How do I change the font size?????

    I am updating to the 9.4 version, as we speak.
    It turns out that the issue is that the number shown for the fount is it the NUMBER OR POINTS not the font size.  Changing it to Auto seems to sort the issue out.
    Thanks.

  • Changing Paper size does not change page break?

    I am using Oracle Report R6i.
    I have created a matrix report showing months horizontally and items vertically. By default, the report displays a vertical line (Page Break Line) at 8 inches (as shown in Ruler).
    I change the paper size in Page Setup Menu but still the page break line displaying at 8 inches due to which only 03 months are displaying per page at Landscape mode. My page size is : 210x230 cm.
    How can I extend that page break line so that atleast 6 months to be displayed per page.
    Regards,
    Luqman

    Changing the size used by the printer with the page setup dialog does not affect how Reports formats the output. You need to change Reports page size for this.
    In 6i, the page size for Reports is controlled by properties against the Section objects (header, main, trailer) in the navigator.
    In 2.5 you would set the vertical and horizontal page size in the Reports property palette for all sections. With the introduction of individual sections in 6i, each section can have it's own page size.
    In your example you probably want to change the page size against the "main section" to 13" x 8.26" to get the report to format in Landscape. Also remember to set the ORIENTATION parameter or property to "Landscape" so that the printer is set to Landscape as well.

  • File Type associations will not change!

    This is a problem with Parellels / VMfusion (???)
    I have a problem with some filetype on the Mac OS side associated with the same (or similar) program running on the windows side.
    I do not want macside docs or files launching with the windows applications.
    On the mac side (no windows garbage running):
    When I do this the info box dialog goes though the motions (are you sure your want to change all your xxx applications to xxx applications? Nothing happens.
    Any Ideas?

    I'd use something like Cocktail to clear launch services cache/dB...
    http://www.maintain.se/cocktail/index.php
    http://www.thexlab.com/faqs/resetlaunchservices.html
    Welcome to the Forums Edward!

  • Line chart's marker size is not changing

    Hi,
    I am using Crystal Reports 2008 and trying to change a Line Chart's marker size.  The default size is 35, but every time I change it, it returns back  to 35 again.  Is there a bug in the application?
    Thanks,
    Al

    Hello Al,
    You need to turn of Auto Arrange in Chart Expert > Options > Layout
    Changing the marker size conflicts with the Auto Arrange so it is not possible to change the Marker size with it enabled.

  • Redo log file is full or not

    Hi everybody,
    In Oracle I wanna know the current capacity of a log group, so I will know/estimate when it will be switched. For example, I have three log groups 1, 2 and 3, each log group has only 1 member of size 10MB. So I want to check how full the current log group is? 1MB, 3MB or 7MB... When it's 9MB I know it's going to switch.
    But currently I can't find the solution. I see the LAST_REDO_BLOCK in v$thread. v$thread presents status of current log group. When I do 'alter system switch logfile', LAST_REDO_BLOCK resets to 0 and increase slowly. I try to create table and insert multi rows, and LAST_REDO_BLOCK increase fast. So anybody can tell me if LAST_REDO_BLOCK is the current number of blocks in the current log group, and I can calculate the current size of a log group? If not, any possible solutions?
    Sorry for my bad English and thank you for reading.

    trungquan710 wrote:
    Hi everybody,
    In Oracle I wanna know the current capacity of a log group, so I will know/estimate when it will be switched. For example, I have three log groups 1, 2 and 3, each log group has only 1 member of size 10MB. So I want to check how full the current log group is? 1MB, 3MB or 7MB... When it's 9MB I know it's going to switch.
    But currently I can't find the solution. I see the LAST_REDO_BLOCK in v$thread. v$thread presents status of current log group. When I do 'alter system switch logfile', LAST_REDO_BLOCK resets to 0 and increase slowly. I try to create table and insert multi rows, and LAST_REDO_BLOCK increase fast. So anybody can tell me if LAST_REDO_BLOCK is the current number of blocks in the current log group, and I can calculate the current size of a log group? If not, any possible solutions?
    Sorry for my bad English and thank you for reading.
    yes, but what difference does it make?
    how do you plan on using this new information?
    How do I ask a question on the forums?
    https://forums.oracle.com/forums/thread.jspa?threadID=2174552#9360002

  • Specifying log file as jvm argument not working

    I've long used the java.util.logging by having a logging.properties file and specifying the "java.util.logging.FileHandler.pattern" in that file and specifying the location of the logging.properties as a jmv arg (-Djava.util.logging.config.file=logging.properties). No issues with that.
    I now, however, want to override the file pattern by using a jvm arg (-Djava.util.logging.FileHandler.pattern=somename.log), but when I do that, I get no file log output. If I leave it specified in the logging.properties it uses the value there and NOT the jvm arg value. If I comment it out of the logging.properties file is uses nothing (no file output).
    I see (via Google) others using this parameter, but I am having no luck.
    All in latest JDK release (6u11).
    Can't find any documentation on doing this on Sun's site (it might be there, but I haven't been able to find it). Don't see posts of others having this problem. I've got the same results on linux and OSX, different releases and all.
    Thanks for any insight in advance!

    This is easy to do! Remember you can write things like
    ... ${user.home}...In your config file. So write something like:
    log4j.rootLogger=debug, R
    log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.R.File=${my.file}Then launch your app with:
    java ... -Dmy.file=goomba.txt ...

  • Why when I change itunes file name does it not change the info in the folder?

    So you download music it has it's info in the folders if you click in the order of music- artist- album - then it displays the file
    Q1, if you edit the iTunes name of the file (through iTunes) why does it leave the folder name the same??
    Q2, How can you make what displays in your iTunes library (worded wise) display like that in your windows folders without going through each file 1 by 1 twice?

    Check your setting under Edit > Preferences > Advanced > Keep iTunes Media folder organized.
    Changes in capital letters may not be enforced.
    tt2

Maybe you are looking for