Showing posts with label dba. Show all posts
Showing posts with label dba. Show all posts

Wednesday, March 28, 2012

Max Filegroup Size set to 20 how do I change it?

Hello,

I have been trying to figure out how to temporarily change the max
filegroup size of a SQL 2000 database I "inherited" when our DBA quit.

I just need some breathing room until I can figure out how to properly
archive and remove some filegroups.

Here is the scenario, my filegroup is set to 20. Each filegroup is set
to grow to 4096.
I currently have all 20 filegroups in use and filegroup number 20 is
more than 1/2 full.

I have considered making the max size for each filegroup larger but
believe this is treating the symptom not fixing the problem.

I would RTFM if I knew how to ask the question in 5 words or less.
I have plenty of room to grow in terms of disk space.
In Query Analyzer I suspect I have to use an ALTER DATABASE
In Gui mode I suspect I have to right click on the database properties,
filegoups,,,,

In the past I have setup my databases with 1 filegroup and auto
configured to grow as needed so this is new territory for me so please
feel free to dumb it down for a noob as I need baby steps.Filegroups contain files. Files have settable parameters like max size not
filegroups. Unless something is configured strangely 20 files in a
filegroup usually indicates an attempt to spread out IO operations across
lots of disks (probably SAN based). MS also recommends having at least one
file per processor on multiprocessor servers for performance reasons. Yes.
You are correct you have two choices.

Use the Alter database command or EM and access the properties of the
database.

Ps. Try to keep the file sizes within a Filegroup the same size so that the
proportional fill algorithm can distribute the extents evenly.

<mchang@.allosource.org> wrote in message
news:1118379203.356973.4140@.o13g2000cwo.googlegrou ps.com...
> Hello,
> I have been trying to figure out how to temporarily change the max
> filegroup size of a SQL 2000 database I "inherited" when our DBA quit.
> I just need some breathing room until I can figure out how to properly
> archive and remove some filegroups.
> Here is the scenario, my filegroup is set to 20. Each filegroup is set
> to grow to 4096.
> I currently have all 20 filegroups in use and filegroup number 20 is
> more than 1/2 full.
> I have considered making the max size for each filegroup larger but
> believe this is treating the symptom not fixing the problem.
> I would RTFM if I knew how to ask the question in 5 words or less.
> I have plenty of room to grow in terms of disk space.
> In Query Analyzer I suspect I have to use an ALTER DATABASE
> In Gui mode I suspect I have to right click on the database properties,
> filegoups,,,,
> In the past I have setup my databases with 1 filegroup and auto
> configured to grow as needed so this is new territory for me so please
> feel free to dumb it down for a noob as I need baby steps.|||Filegroups contain files. Files have settable parameters like max size not
filegroups. Unless something is configured strangely 20 files in a
filegroup usually indicates an attempt to spread out IO operations across
lots of disks (probably SAN based). MS also recommends having at least one
file per processor on multiprocessor servers for performance reasons. Yes.
You are correct you have two choices.

Use the Alter database command or EM and access the properties of the
database.

Ps. Try to keep the file sizes within a Filegroup the same size so that the
proportional fill algorithm can distribute the extents evenly.

<mchang@.allosource.org> wrote in message
news:1118379203.356973.4140@.o13g2000cwo.googlegrou ps.com...
> Hello,
> I have been trying to figure out how to temporarily change the max
> filegroup size of a SQL 2000 database I "inherited" when our DBA quit.
> I just need some breathing room until I can figure out how to properly
> archive and remove some filegroups.
> Here is the scenario, my filegroup is set to 20. Each filegroup is set
> to grow to 4096.
> I currently have all 20 filegroups in use and filegroup number 20 is
> more than 1/2 full.
> I have considered making the max size for each filegroup larger but
> believe this is treating the symptom not fixing the problem.
> I would RTFM if I knew how to ask the question in 5 words or less.
> I have plenty of room to grow in terms of disk space.
> In Query Analyzer I suspect I have to use an ALTER DATABASE
> In Gui mode I suspect I have to right click on the database properties,
> filegoups,,,,
> In the past I have setup my databases with 1 filegroup and auto
> configured to grow as needed so this is new territory for me so please
> feel free to dumb it down for a noob as I need baby steps.

Wednesday, March 7, 2012

math notation in db?

I'm not a professional dba or dbd, but I'm proficient in the basics of
database design and sql. I want to create a database of math
definitions, and I'm wondering how one would go about creating a
database that contains mathematical notation (and I'm not just talking
about basic symbols where I could get away with ascii code). I need
to be able to insert a wide variety of mathematical expressions, from
fractions to integrals, into fields (just like you can enter in-line
math symbols in MS Word using equation editor). I have no clue how to
go about this. Is it a matter of developing certain programming
skills/languages? Would such a capabliltiy be proprietary (dbms-
specific)? Is it possible at all? Any help would be appreciated.
Thank you.One way to implement this is to use the Mathematical Markup Language
(MathML). MathML is based on XML and is used for describing mathematical
notation and encoding both its structure and content. The main purpose of
MathML is to enable mathematics to be used on Internet, but since it is XML
based it is widely used in applications that can process XML.

SQL Server supports Unicode and also SQL Server 2005 adds support for XML
data type. There are many parsers, and any browser can serve as presentation
layer.

See more info on the official W3C site at the links below:
http://www.w3.org/Math/whatIsMathML.html
http://www.w3.org/Math/
http://www.w3.org/TR/2007/WD-MathML3-20070427/
http://www.w3.org/Math/XSL/
http://www.w3.org/Math/XSL/pmathml2.xml
http://www.w3.org/Math/XSL/csmall2.xml
I have seen some applications that use MathML to store mathematical
notations, but developed in Oracle (still storing in XML columns).

HTH,

Plamen Ratchev
http://www.SQLStudio.com|||>MathML is based on XML <<

How is this standard doing? I think I might be behind the curve,
since I have not done any math writing in a very long time. LaTEX was
the standard in the US for the American Mathematical Association
papers and other journals. It was also popular with textbook
publishers because you could get Knuth's Metafont symbols for
typesetting.|||On Nov 30, 5:43 pm, "Plamen Ratchev" <Pla...@.SQLStudio.comwrote:

Quote:

Originally Posted by

One way to implement this is to use the Mathematical Markup Language
(MathML). MathML is based on XML and is used for describing mathematical
notation and encoding both its structure and content. The main purpose of
MathML is to enable mathematics to be used on Internet, but since it is XML
based it is widely used in applications that can process XML.
>
SQL Server supports Unicode and also SQL Server 2005 adds support for XML
data type. There are many parsers, and any browser can serve as presentation
layer.
>
See more info on the official W3C site at the links below:http://www.w3.org/Math/whatIsMathML...XSL/csmall2.xml
>
I have seen some applications that use MathML to store mathematical
notations, but developed in Oracle (still storing in XML columns).
>
HTH,
>
Plamen Ratchevhttp://www.SQLStudio.com


Very helpful post. Thank you.