Friday, March 30, 2012
RAID setup.
I would like to know the point of view of the experts at this forum.
I have one IBM xSeries 236 Server with just one ServeRAID 7 controller and
six internal hot swapable SCSI hard drives of 73.4 Gb each.
I will setup that Server with MS Windows 2003 Server Standard Edition and MS
SQL Server 2000.
I will load the Server with 5 databases:
1.- MRP production database, very intensive in writing data and also on be
red for reports and other applications. Current size about 1.5 Gb.
2.- MRP test database, same than (1) but only to be used when testing
something new, not very often. Current size about 1.5 Gb.
3.- Payroll database, used ligthly about two days a week, just collecting
employee's checks ins and outs from employees the remaining time of the
week. Current size about 700 Mb
4. - Other small database, very few usage. Current size 100 Mb.
What would be the best option to setup this Server, number of logical
drives, RAID levels, stripe size, write cache settings?
I would like also to implement log shipping in this Server, do I need
exactly the same configuration for the secondary Server?
Thanks for your help...!
Alex.
The info you ahve given would not be sufficient to recommend 'the best option
to setup this server'. But if I have to make a decision, I'd probably use two
disks to create a mirror for the OS, and use the other four disks to create a
RAID5 set.
For log shipping, you don't absolutely need the same configurations for the
standby server. The key factor to consider is what/how you'll use your
standby server. If you don't want any performance degradation after failover,
use an identical server. If the standby server is intended for temporary
relief and your customers are okay with performance degradation while the
primary server is beign restored/recovered, you may consider a less powerful
server config. We typically use the same class of servers for both the
primary and the secondary.
Linchi
"Microsoft Newsgroups" wrote:
> Hello.
> I would like to know the point of view of the experts at this forum.
> I have one IBM xSeries 236 Server with just one ServeRAID 7 controller and
> six internal hot swapable SCSI hard drives of 73.4 Gb each.
> I will setup that Server with MS Windows 2003 Server Standard Edition and MS
> SQL Server 2000.
> I will load the Server with 5 databases:
> 1.- MRP production database, very intensive in writing data and also on be
> red for reports and other applications. Current size about 1.5 Gb.
> 2.- MRP test database, same than (1) but only to be used when testing
> something new, not very often. Current size about 1.5 Gb.
> 3.- Payroll database, used ligthly about two days a week, just collecting
> employee's checks ins and outs from employees the remaining time of the
> week. Current size about 700 Mb
> 4. - Other small database, very few usage. Current size 100 Mb.
> What would be the best option to setup this Server, number of logical
> drives, RAID levels, stripe size, write cache settings?
> I would like also to implement log shipping in this Server, do I need
> exactly the same configuration for the secondary Server?
> Thanks for your help...!
> Alex.
>
>
RAID setup.
I would like to know the point of view of the experts at this forum.
I have one IBM xSeries 236 Server with just one ServeRAID 7 controller and
six internal hot swapable SCSI hard drives of 73.4 Gb each.
I will setup that Server with MS Windows 2003 Server Standard Edition and MS
SQL Server 2000.
I will load the Server with 5 databases:
1.- MRP production database, very intensive in writing data and also on be
red for reports and other applications. Current size about 1.5 Gb.
2.- MRP test database, same than (1) but only to be used when testing
something new, not very often. Current size about 1.5 Gb.
3.- Payroll database, used ligthly about two days a week, just collecting
employee's checks ins and outs from employees the remaining time of the
week. Current size about 700 Mb
4. - Other small database, very few usage. Current size 100 Mb.
What would be the best option to setup this Server, number of logical
drives, RAID levels, stripe size, write cache settings?
I would like also to implement log shipping in this Server, do I need
exactly the same configuration for the secondary Server?
Thanks for your help...!
Alex.The info you ahve given would not be sufficient to recommend 'the best option
to setup this server'. But if I have to make a decision, I'd probably use two
disks to create a mirror for the OS, and use the other four disks to create a
RAID5 set.
For log shipping, you don't absolutely need the same configurations for the
standby server. The key factor to consider is what/how you'll use your
standby server. If you don't want any performance degradation after failover,
use an identical server. If the standby server is intended for temporary
relief and your customers are okay with performance degradation while the
primary server is beign restored/recovered, you may consider a less powerful
server config. We typically use the same class of servers for both the
primary and the secondary.
Linchi
"Microsoft Newsgroups" wrote:
> Hello.
> I would like to know the point of view of the experts at this forum.
> I have one IBM xSeries 236 Server with just one ServeRAID 7 controller and
> six internal hot swapable SCSI hard drives of 73.4 Gb each.
> I will setup that Server with MS Windows 2003 Server Standard Edition and MS
> SQL Server 2000.
> I will load the Server with 5 databases:
> 1.- MRP production database, very intensive in writing data and also on be
> red for reports and other applications. Current size about 1.5 Gb.
> 2.- MRP test database, same than (1) but only to be used when testing
> something new, not very often. Current size about 1.5 Gb.
> 3.- Payroll database, used ligthly about two days a week, just collecting
> employee's checks ins and outs from employees the remaining time of the
> week. Current size about 700 Mb
> 4. - Other small database, very few usage. Current size 100 Mb.
> What would be the best option to setup this Server, number of logical
> drives, RAID levels, stripe size, write cache settings?
> I would like also to implement log shipping in this Server, do I need
> exactly the same configuration for the secondary Server?
> Thanks for your help...!
> Alex.
>
>
RAID setup.
I would like to know the point of view of the experts at this forum.
I have one IBM xSeries 236 Server with just one ServeRAID 7 controller and
six internal hot swapable SCSI hard drives of 73.4 Gb each.
I will setup that Server with MS Windows 2003 Server Standard Edition and MS
SQL Server 2000.
I will load the Server with 5 databases:
1.- MRP production database, very intensive in writing data and also on be
red for reports and other applications. Current size about 1.5 Gb.
2.- MRP test database, same than (1) but only to be used when testing
something new, not very often. Current size about 1.5 Gb.
3.- Payroll database, used ligthly about two days a week, just collecting
employee's checks ins and outs from employees the remaining time of the
week. Current size about 700 Mb
4. - Other small database, very few usage. Current size 100 Mb.
What would be the best option to setup this Server, number of logical
drives, RAID levels, stripe size, write cache settings?
I would like also to implement log shipping in this Server, do I need
exactly the same configuration for the secondary Server?
Thanks for your help...!
Alex.The info you ahve given would not be sufficient to recommend 'the best optio
n
to setup this server'. But if I have to make a decision, I'd probably use tw
o
disks to create a mirror for the OS, and use the other four disks to create
a
RAID5 set.
For log shipping, you don't absolutely need the same configurations for the
standby server. The key factor to consider is what/how you'll use your
standby server. If you don't want any performance degradation after failover
,
use an identical server. If the standby server is intended for temporary
relief and your customers are okay with performance degradation while the
primary server is beign restored/recovered, you may consider a less powerful
server config. We typically use the same class of servers for both the
primary and the secondary.
Linchi
"Microsoft Newsgroups" wrote:
> Hello.
> I would like to know the point of view of the experts at this forum.
> I have one IBM xSeries 236 Server with just one ServeRAID 7 controller and
> six internal hot swapable SCSI hard drives of 73.4 Gb each.
> I will setup that Server with MS Windows 2003 Server Standard Edition and
MS
> SQL Server 2000.
> I will load the Server with 5 databases:
> 1.- MRP production database, very intensive in writing data and also on be
> red for reports and other applications. Current size about 1.5 Gb.
> 2.- MRP test database, same than (1) but only to be used when testing
> something new, not very often. Current size about 1.5 Gb.
> 3.- Payroll database, used ligthly about two days a week, just collecting
> employee's checks ins and outs from employees the remaining time of the
> week. Current size about 700 Mb
> 4. - Other small database, very few usage. Current size 100 Mb.
> What would be the best option to setup this Server, number of logical
> drives, RAID levels, stripe size, write cache settings?
> I would like also to implement log shipping in this Server, do I need
> exactly the same configuration for the secondary Server?
> Thanks for your help...!
> Alex.
>
>
Friday, March 23, 2012
R
Hi Experts,
After performing some tests on my setup I recorded very large performance degradation between simple setup and mirrored setup (High Availability – with witness). In some inserts tests (100K in a loop) it took up to 400% longer to complete for mirror setup compared to the simple one (40 seconds compared to 170 seconds).Is this performance hit normal? Is there something that can be done to make it perform better?
The PCs are connected using a 100MB switch and I'm using SQL Server Developer Edition.
Thanks,
Avi
Hi Avi,
The tests that you are running are bad scenario for high-availability mirroring. Each insert statement in the loop practically commits a single-statement transaction. This causes log to be sent to disk and mirror and waits for the mirror to harden that log. That way you are directly adding to the per-statement latency.
Here are a few things you can try:
- Don't run all inserts sequentially on a single connection. Rather, distribute them among multiple connections. That way you are increasing the chance that while one transaction is committing and thus waiting for the mirror to harden the log, others may run in parallel, thus amortising the wait time.
- If at all possible, make your transactions bigger (do several inserts in a single transaction). That way each log flush will carry several transactions.
- If at all possible, use high-performance mirroring mode (here you have the risk of having your log growing, though).
Hope this helps.
Thanks,
Kaloian.
|||For better estimation of performance impact of database mirroring, your tests should be as close to the actual application as possible. For discussion on database mirroring performance, take a look at the paper: http://www.microsoft.com/technet/prodtechnol/sql/2005/technologies/dbm_best_pract.mspx
|||PCs?
Would you please give more details on the hardware of the mirrored servers?
|||Thank you all for the replys.
I use two dual Xeon PCs with 2GB memory. The disks are fast too. The performance without the mirroring is great - over 2000 inserts per second. However with mirroring it goes down sharply.
When I run the inserts in a single transaction it flies. However I cannot always do that. My workaround for now is to suspend the mirroring for a few seconds do my inserts and run the resume command. This brings me back to the performance I used to have, but I hope to find a more "clean solution". It is not so good to suspend and resume the mirroring so many times…
Any suggestions (hardware, configuration or application implementation)
Thanks,
Avi
|||
Avi,
What you are doing (suspend/insert/resume) is essentially similar to high-performance mirroring mode with possibly more overhead, because of the resynchronisation.
If you can tolerate possible data loss on failure, then SAFETY = OFF is the better choice. Does that work for you? If not can you give some more details on what you want to accomplish.
Thanks,
Kaloian.
Wednesday, March 21, 2012
Qury regarding SQl Reporting services 2005(Authentication Problem)
I have some questions on Sql server reporting services 2005.
First one is that on my report server there are some reports for which
i want to remove authentication
i.e. Any body can run those reports without giving any user name and
password, How i can do this please tell me.
Second thing is
For multiple selection, how to implement it because previously i was
working on SSRS 2000
I can show now multipple selection check list boxes now but in quert
how i can implement that
in query i wrote like this
Select * from Table where
City like @.Dataset2
But when i select multiple parameters for city it is giving error
if i select one parameter then it is running fine
So please tell me how to do these.
Thanks & Regards
DineshOn Mar 18, 2:51 pm, "Dinesh" <dinesh...@.gmail.com> wrote:
> Hi experts,
> I have some questions on Sql server reporting services 2005.
> First one is that on my report server there are some reports for which
> i want to remove authentication
> i.e. Any body can run those reports without giving any user name and
> password, How i can do this please tell me.
> Second thing is
> For multiple selection, how to implement it because previously i was
> working on SSRS 2000
> I can show now multipple selection check list boxes now but in quert
> how i can implement that
> in query i wrote like this
> Select * from Table where
> City like @.Dataset2
> But when i select multiple parameters for city it is giving error
> if i select one parameter then it is running fine
> So please tell me how to do these.
> Thanks & Regards
> Dinesh
To remove report authentication (on a report-by-report basis), select
a report in the Report Manager, then select the Properties tab and
select the very bottom radio button that says 'Credentials are not
required' and then 'Apply.'
Something like the below query should work for the multi-select
parameter:
--CREATE PROC SomeProc
DECLARE
@.CityList VARCHAR(MAX)
--AS
DECLARE @.CityListBuffer VARCHAR(MAX),
@.END_POSITION INT;
--TEST DATA--
SET @.CityList = 'Chicago, New York, Miami, San Diego, Los Angeles,
Nashville';
--TEST DATA--
CREATE TABLE #CityList (City INT);
SET @.CityListBuffer = @.CityList;
WHILE (LEN(@.CityListBuffer) > 0)
BEGIN
IF (CHARINDEX(',', @.CityListBuffer) > 0)
BEGIN
SET @.END_POSITION = CHARINDEX(',', @.CityListBuffer);
INSERT INTO #CityList VALUES (SUBSTRING(@.CityListBuffer, 1,
(@.END_POSITION - 1)));
END
IF (CHARINDEX(',', @.CityListBuffer) = 0)
BEGIN
SET @.END_POSITION = LEN(@.CityListBuffer);
INSERT INTO #CityList VALUES (SUBSTRING(@.CityListBuffer, 1,
(@.END_POSITION + 1)));
END
SET @.CityListBuffer = RIGHT(@.CityListBuffer, (LEN(@.CityListBuffer)
- @.END_POSITION));
END
SELECT * FROM TABLE WHERE CITY IN (SELECT City FROM #CityList)
DROP TABLE #CityList;
You may have to change the charindexes above for a different delimiter
(i.e., ''',''' for strings, etc); but it should work.
Regards,
Enrique Martinez
Sr. SQL Server Developer|||On Mar 19, 4:25 pm, "EMartinez" <emartinez...@.gmail.com> wrote:
> On Mar 18, 2:51 pm, "Dinesh" <dinesh...@.gmail.com> wrote:
>
>
> > Hi experts,
> > I have some questions on Sql server reporting services 2005.
> > First one is that on my report server there are some reports for which
> > i want to remove authentication
> > i.e. Any body can run those reports without giving any user name and
> > password, How i can do this please tell me.
> > Second thing is
> > For multiple selection, how to implement it because previously i was
> > working on SSRS 2000
> > I can show now multipple selection check list boxes now but in quert
> > how i can implement that
> > in query i wrote like this
> > Select * from Table where
> > City like @.Dataset2
> > But when i select multiple parameters for city it is giving error
> > if i select one parameter then it is running fine
> > So please tell me how to do these.
> > Thanks & Regards
> > Dinesh
> To remove report authentication (on a report-by-report basis), select
> a report in the Report Manager, then select the Properties tab and
> select the very bottom radio button that says 'Credentials are not
> required' and then 'Apply.'
> Something like the below query should work for the multi-select
> parameter:
> --CREATE PROC SomeProc
> DECLARE
> @.CityList VARCHAR(MAX)
> --AS
> DECLARE @.CityListBuffer VARCHAR(MAX),
> @.END_POSITION INT;
> --TEST DATA--
> SET @.CityList = 'Chicago, New York, Miami, San Diego, Los Angeles,
> Nashville';
> --TEST DATA--
> CREATE TABLE #CityList (City INT);
> SET @.CityListBuffer = @.CityList;
> WHILE (LEN(@.CityListBuffer) > 0)
> BEGIN
> IF (CHARINDEX(',', @.CityListBuffer) > 0)
> BEGIN
> SET @.END_POSITION = CHARINDEX(',', @.CityListBuffer);
> INSERT INTO #CityList VALUES (SUBSTRING(@.CityListBuffer, 1,
> (@.END_POSITION - 1)));
> END
> IF (CHARINDEX(',', @.CityListBuffer) = 0)
> BEGIN
> SET @.END_POSITION = LEN(@.CityListBuffer);
> INSERT INTO #CityList VALUES (SUBSTRING(@.CityListBuffer, 1,
> (@.END_POSITION + 1)));
> END
> SET @.CityListBuffer = RIGHT(@.CityListBuffer, (LEN(@.CityListBuffer)
> - @.END_POSITION));
> END
> SELECT * FROM TABLE WHERE CITY IN (SELECT City FROM #CityList)
> DROP TABLE #CityList;
> You may have to change the charindexes above for a different delimiter
> (i.e., ''',''' for strings, etc); but it should work.
> Regards,
> Enrique Martinez
> Sr. SQL Server Developer- Hide quoted text -
> - Show quoted text -
Hi Enrique,
I have tried what you suggested for removing the authentication but
after doing like that report is not rendring it is showng error that
credential is not set.
So please tell what to do... This i done for a single report only
suppoese if i want to remove authentication from my report server it
self then what to do, how i can implement that.
Regards
Dinesh