Quantcast
Channel: SQLServerCentral » SQL Server 7,2000 » Administration » Latest topics
Viewing all 482 articles
Browse latest View live

Add new secondary server to logshipping without pushing full backup to first secondary

$
0
0
I currently have logshipping targetting one system and it is doing great. Now I would like to add a second target system for DR. I would like to have it start with the full backup, but since both of the target systems share a repository used to hold backups, I am afraid the initial full backup would get processed by the existing target system, as well.Would the existing target system recognize that it has that data already and skip by it? Is there a way to do this without having to stop the logshipping that is running now in order to reconfigure?Thanks

Database Boot Page and MinLSN

$
0
0

Hi,

BOL states the following while describing the processes of a checkpoint:

  • Stores information recorded for the checkpoint in a chain of checkpoint log records. The LSN of the start of this chain is written to the database boot page.
  • One piece of information recorded in the checkpoint records is the LSN of the first log image that must be present for a successful database-wide rollback. This LSN is called the Minimum Recovery LSN (MinLSN).
  • What is the database boot page? Does log "image" in the second para mean log "record?" If not, what does it mean? And what is a database-wide rollback?I would highly appreciate if somebody answered these questions.

    Karim

    Error 15023: “User already exists in current database”

    $
    0
    0

    I've had to create a new test database using a restore of a live database. The people who will be doing the testing already exist as logins on this server but when I tried to give them access to the test database I got the above message.

    I've got

    SQL 2000 @@REMSERVER problem

    $
    0
    0
    I am having a problem on a SQL 2000 machine (Yes I know it is really old :-D) When using the @@REMSERVER on 4 of 5 servers it returns the machine value. When I do it on the 5th machine it sends back a NULL. Our DOS Mexico systems use it when tracking inf

    Waitresource - Find Exact Key

    $
    0
    0

    I am trying to interpret deadlock trace information. This is what I see in the waitresource

    waitresource=KEY: 9:72057594065256448 (f20077ea2259)

    Can someone help me decipher this?

    Thanks!

    getting error "The system cannot find the path specified." using xp_cmdshell

    $
    0
    0
    Hi, I am getting error "The system cannot find the path specified." using xp_cmdshell, tyring to copy file from one folder to another. Following is code i execute: DECLARE @fn char(6), @cmd varchar(100) SET @fn=REPLACE(convert(char(8),ge

    SQL DBA new trend

    $
    0
    0
    Hi all, I have a general question to ask I'm a production DBA, Looking at the job market, I saw lots of jobs require SSIS exp, Is this a new trend that DBA need to know SSIS package development ? Please let me know, thanks Dave

    EventID - 833

    $
    0
    0
    Hi, We have Sql server 2005. User databases are in one drive and system databases are in C:/ drive. We are gettting alerts about Event ID: 833 from both user databases and system databases? Is surely indicate IO issues?

    I need to Copy/refresh the "data only" to Test from prod

    $
    0
    0
    I need to Copy/refresh the "data only" to Test from prod without making changes to users/permissions. Please advice on the best approach to follow through with carrying out this ask

    bcp_init error

    $
    0
    0

    Would anyone know how to fix this error?

    dbcc opentran - SPID (server process ID): 74s

    $
    0
    0
    SPID (server process ID): 74s I did n't c this type of Id previously ,I cannot found this SPId in sysprocesses Can u pls help me ? Actually I checked with "dbcc opentran" , so that I found spId : 74 , so I tried to kill , but I couldn't, so resta

    shrinkdatabase taking looooong time

    $
    0
    0
    I have a db that has one 58 gig data file. The server it was housed on finally ran out of disk space due to this app. I moved stuff off for several years to attempt to keep the app running. The end users have finally agreed to deleting data. After del

    Finding out Total Disk Space in TSQL

    $
    0
    0
    anyone know any workaround in TSQL who can give this result set? [b] Drive letter | Total Disk Space (MB) | Free Disk Space (MB) ----------------------------------------------------------- C 150000 10

    Can I kill DBCC Shrinkfile???

    $
    0
    0

    Is it safe to kill DBCC Shrinkfile?  The process has been running for 30 minutes on an 11GB database.  I have no idea how much more time it will take to shrink the database and would like to kill it, assuming that would not cause a 30 minute

    Question about disk space report

    $
    0
    0
    I ran disk usage report on a db and it shows that the total space reserved is lower than Data file space reserved. Exemple: Total space reserved: 1 gig Data Files Space Reserved: 2 gig Transaction log space reserved: 2 m

    Lock timeout request period exceeded error while trying to execute stored procedures

    $
    0
    0
    Hi All, I am trying to execute stored procedure which populates data into the table. It was working fine for few days and not it just throws Lock timeout request period exceeded error 1222 every morning when I try to open Tables and Views in the data

    Msforeachtable

    $
    0
    0

    Is there a way to insert the output from the sp_msforeachtable proc in to a table.

    the query i am trying to run is :sp_MSforeachtable 'sp_spaceused ''?'''

    I tried the different variations of the insert statement as well but that didn't help

    BCP produces garbled output

    $
    0
    0
    Hello, I have created a stored procedure that produces output for specific tables in our database. The output for one of the files is garbled. I have to have it fixed. The strategy I'm employing is to first create a view that contains a select sta

    Pros/Cons between Default vs Named Instances

    $
    0
    0

    My situation is that our network admin has come up with a new, much more complex naming convention for our company's servers.  They contain dashes and the names are sometimes quite long.  I am flexable enough that I can type in

    SQL Server 2000 SP4 - Read Only DB Suspect

    $
    0
    0
    Evening All, In the process of migrating a small DB to SQL Server 2014, I've managed to mark one of the DB's as suspect because it was set to read only during the SP4 upgrade. It was previously SP3. Does anyone know if I can salvage this DB? Thin
    Viewing all 482 articles
    Browse latest View live