[how to] How to create a database for unknown kinds of data? |
- How to create a database for unknown kinds of data?
- Misunderstanding statement in MySQL documentation
- What is meant by Clustering index and Multilevel indices? [closed]
- How to fix filestream SQL database
- Creating an admin user in Oracle
- how to set a column to fetch the date now?
- What is a partitioned view?
- How should I store multiple relationships (many posts to many categories)?
- Postgres: Given some parent id's how can I SELECT X child records for each?
- how can Audit All Login To SQL Server BY ODBC Connection
- Is there a way to stop MySQL Replication on the master?
- Is there a way to recover this database (MySQL)
- SSIS Data Flow Task Slows Down
- How do I stop a query from running if the row is locked?
- Is there a generic SQL-92 ODBC 64-bit Mac driver for Python?
- SQL Server best practice for tempdb log file
- Exporting and importing a database
- Linux 32b MySQL periodically crashing with signal 11 and OOM errors
- Second time query execution using different constants makes faster?
- MySQL General log not working on Mac OS X
- Full Text Search With PostgreSQL
- In MySQL Multiple instance, default instance is running, second instance is not
- SQL Server 2012 installation failure An error occurred for a dependency of the feature causing the setup process for the feature to fail
- postgis problem with shortest distance calculation
How to create a database for unknown kinds of data? Posted: 21 Apr 2013 04:54 PM PDT I am in the process of designing a database for a new PHP/MySql-based application. My problem is that I do not and cannot represent what should be saved in the database because it is unlimited and changing. Here is the problem example: The application will be a shopping website that has many kind of products all of them have some shared attributes such as This is just an example but I really have many kinds with many different attributes. I can create a table for each kinds, but what I have is not all the available kinds, many kinds of items are unknown at this time. Is their a way to accommodate this problem without over head in the user's side? |
Misunderstanding statement in MySQL documentation Posted: 21 Apr 2013 02:39 PM PDT I can't understand this statement in Optimizing Data Size:
Can anyone describe this statement with example? |
What is meant by Clustering index and Multilevel indices? [closed] Posted: 21 Apr 2013 11:41 AM PDT What is meant by I could not find much when I googled it. |
How to fix filestream SQL database Posted: 21 Apr 2013 04:58 PM PDT I have SQL Server 2008 R2 FileStream enabled Database, when I try to access any value that stored in the filestream I get the following error : Also the following error thrown in the SQL ERRORLOG file : I read about that exception and Microsoft has KB for it (KB972936), but it also didn't worked after I installed its hotfix. If I SELECT the count of the records in that table using : I get a correct result. Here is some details for the database files and filegroups : The database have 2 files the "Row Data" file and the "Log" file where it should also contains the "Filestream Data" item. The database has the following filegroups :
Here is a snapshots for the DB properties page And here is the full SQL ERRORLOG file. Its my first question here, Any help please .. |
Creating an admin user in Oracle Posted: 21 Apr 2013 01:27 PM PDT How can I create a "root" (like on MySQL) in Oracle? I installed Oracle database on my system, for homework, for school (faculty) but it didn't give me the option to make a root user. Well at least I don't think so. It asked me on preparation for install to create a password but when I tried connecting with the id and password it failed. (So that is why I presume it did not make a root user) Connected on the databse with Tried (error) (succes) (error) I want to have all privileges on all tables, etc. |
how to set a column to fetch the date now? Posted: 21 Apr 2013 09:37 AM PDT hi i have a sample table named datenow and used the following to create my table on flamerobin to have a column that gets the date today automatically when an entry is added. also tried inserting these sql statement but i cannot generate a table and cant determine where will i put the sql statement or what to do in order to have a column that gets the date today automat |
Posted: 21 Apr 2013 06:58 AM PDT What is a partitioned view? I googled but could not get a satisfactory result. |
How should I store multiple relationships (many posts to many categories)? Posted: 21 Apr 2013 08:23 AM PDT I have posts stored in a I thought of it this way first: Using this structure I will have lots of rows inside the relationships table, for example if a post has 4 categories I will have 4 rows only for this post, of course I won't have that much categories related to the post but I want to implement the same structure for tags too. Am I doing it right ? is there a better structure to use ? |
Postgres: Given some parent id's how can I SELECT X child records for each? Posted: 21 Apr 2013 05:07 AM PDT In Postgres, if I have : so 5 children for each parent, how do I get, say, the first 3 children for parent id 1,3,4 in one query? |
how can Audit All Login To SQL Server BY ODBC Connection Posted: 21 Apr 2013 07:06 AM PDT I MAke Report By Access Form On SQL database I make ODBC Connection For login To Update the data From Database Now I want Audit All logins To know who make Update today Or who make Update Now ? Any One Help ME |
Is there a way to stop MySQL Replication on the master? Posted: 21 Apr 2013 03:01 PM PDT I want the master to stop replicating data to the slave. I know I can do that on the slave with One possible solution might be to change the What I'm looking for is a statement like |
Is there a way to recover this database (MySQL) Posted: 21 Apr 2013 09:51 AM PDT I did a "cold" (db offline, all filesystem files) backup of a MySQL db. I wrote the backup to an ISO image. Unfortunately Joliet filenames are not default. I didn't realize that until attempting to restore the backup and notice that the entire set of files are in DOS 8.3 format. Many of the MySQL filesystem files are not 8.3. Anyone have tips or information on whether this is a lost cause? If it's not a lost cause for restoring, are there some tips directions that can be offered? Much appreciated. |
SSIS Data Flow Task Slows Down Posted: 21 Apr 2013 08:33 AM PDT I am trying to transfer data from one table to another in the same database using SSIS. It seems to go fine (I can see the record count going up) until it gets to about 30 million records, then it starts pausing. It will resume again but there are really long pauses in between. I've made sure to set my initial database size large enough so that it won't have to grow during the process. I am using OLE DB as a source and destination with fast load. Any ideas why it runs great and then slows right down? |
How do I stop a query from running if the row is locked? Posted: 21 Apr 2013 02:07 PM PDT I have a section of code that locks the database, updates it and then confirms. This is all working fine, if another user attempts to update the same row they cannot and their changes are discarded. My problem is that there is a variable that is updated each time the query is run, this increases whether the query was successful or not. So what I need is the query NOT to run in the first place if the row is locked, how do I do this? James |
Is there a generic SQL-92 ODBC 64-bit Mac driver for Python? Posted: 21 Apr 2013 02:13 AM PDT I have a 4D SQL database which implements SQL-92. 4D's ODBC driver does not work on my system because it is compiled for 32 bit (and I am on 64 bit) and it is closed source. I wonder if there is some generic 'SQL 92' driver (or ODBC driver) that I could use to make this connection? |
SQL Server best practice for tempdb log file Posted: 21 Apr 2013 09:27 PM PDT I have read many blogs here and there about how to configure tempdb data files but i didnt found any information regarding the tempdb log file. Here's the strategy that i'm presently using with my tempdb:
But like i said, nobody is talking about the tempdb log file. What should i do with it? On my setup, this file is at the same place as the tempdb data files. What is the size and the autogrowth value that i should use with the tempdb log file? |
Exporting and importing a database Posted: 21 Apr 2013 04:25 AM PDT I have setup an Oracle 11g Database and have a question about exporting and importing a database. I am using Enterprise Manager and have browsed to the following: Data Movement->Export to Export Files. Down the bottom of the screen, I need to supply Host Credentials. When trying to use the username SYS, I see that the error message says to logout and login using a different role. What role should I use? Should I create a specific role for this task, and if so, what priviledges should the role have? |
Linux 32b MySQL periodically crashing with signal 11 and OOM errors Posted: 21 Apr 2013 09:03 PM PDT I have a MySQL DB with mostly InnoDB tables that I'm fairly certain isn't tuned properly based on what's happening, but I don't have enough know how to pinpoint what to change. The server is a 8G 32b Linux system with the following in my.cnf: Currently, here are the non-zero global status stats: And finally, Does anything pop out that is clearly mis-configured? |
Second time query execution using different constants makes faster? Posted: 21 Apr 2013 02:03 AM PDT Can someone explain or direct me how execution on indexes happen with different constants at intervals in Mysql. I notice only for the first execution on the table it takes time, after that with different constants it executes the query very quickly. I would like to know how to execute the query in such a way that it should take same amount of time every time it executes with different constants, is there a way to set some parameter off / on? Query executed time : 9 mins. Query executed time : 18 Secs. |
MySQL General log not working on Mac OS X Posted: 21 Apr 2013 01:03 PM PDT I want to log all queries to the database running on my MacBook Pro (Mac OS X 10.8.1). I created a file I restarted MySQL and tried some queries on the mysql command line, but nothing gets logged. The file is not getting created. I also created the file myself afterwards to test with When I check, MySQL did read my settings: Is there anything else I need to do? I suppose any query I type on the command line should get logged, right? I am using MySQL 5.5.24 |
Full Text Search With PostgreSQL Posted: 21 Apr 2013 04:12 AM PDT i have a table with this rows: Well, when i do search using this script, just row 03 return, how i do return the row 01 and 02? |
In MySQL Multiple instance, default instance is running, second instance is not Posted: 21 Apr 2013 12:03 AM PDT I was made a setup to create multiple instances on the ubuntu machine. When I start mysql instances mysqld1 is running but mysqld2 is not running. When I check my error log file mysql2.err, the error was like, Below is my apparmor file. My second instance data directory path is : /var/lib/mysql-databases/mysqld2/mysql Please let me know how to fix this issue. Thanks in advance. |
Posted: 21 Apr 2013 01:03 AM PDT I am installing SQL Server 2012 Developer (from ISO image written on DVD), my machine has Windows 7 (Edit: Windows 7 with service pack 1) and it already has SQL Express and SQL 2008 R2 Express installed in it. On running 2012 setup it goes fine from Setup Support Rules to Installation Progress. In Installation Progress after some progress installation fails. Windows show the following components couldn't installed: Managment Tools Complete Failed. Client Tools Connectivity Failed. Client Tools SDK Failed. Client Tools Backwards Compantibility Failed. Managment Tools Basic Failed. SQL Server Data Tools Failed. Reporting Services -Native Failed. Database Engine Services Failed. Data Quality Services Failed. full-Text and Semantic Extractins for Search Failed. SQL Server Replication Failed. Integration Services Failed. Analysis Services Failed. SQL Client Connectivity SDK Failed. In detail for failure of every component it provide these details: Action required: Use the following information to resolve the error, and then try the setup process again. Feature failure reason: An error occurred for a dependency of the feature causing the setup process for the feature to fail. In summary log file it provide the following details: (see on pastebin.com) |
postgis problem with shortest distance calculation Posted: 21 Apr 2013 08:03 AM PDT while working with POSTGIS pgrouting, for calculateing the distance between two roads(lines) i got the shortest_path function. But the logic is based on Start_point(Start_id) and end_point(end_id) but in my data the linestring contains so many internal points like ('linestring(1 1,2 2,3 3,4 4,5 5)' just for example..) it is taking start point (1 1) endpoint(5 5) if other line starting with (5 5) it is showing as route...like ('linestring(5 5,6 6)') But line which crossing the point inside the linestring like(2 2,3 3,4 4) which is not telling as connected.. example table roads: id name way 1 A linestring(1 1,2 2,3 3,4 4,5 5) 2 B linestring(5 5,6 6) 3 c linestring(2 1,2 2,2 3) if i am applying shortest_path function from point(1 1) to (6 6) its showing the way but for (1 1) to (2 3) it is not showing anything...but there is a route for this (1 1,2 2,2 3) can anyone please help me out for finding the solution.. Regards Deepak M |
You are subscribed to email updates from Recent Questions - Database Administrators Stack Exchange To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No comments:
Post a Comment