[how to] sync geographical branches localhosts with a VPS server |
- sync geographical branches localhosts with a VPS server
- How oracle syncs data across nodes in a cluster
- My MySQL server time is not the same as my Server
- How can I connect to a database after its disk has come back online?
- How do I view a Microsoft SQL Server Compact Database
- Delete operation mysql cluster
- Scaling of PostGIS vs MySQL cos/sin calculations
- Calculating the median value in a MySQL table with CodeIgniter
- Government border control database solution [closed]
- Creating a table with parent_id from a flat table
- Optimizing a query with ORDER BY in a derived table
- Is there a way to find the least recently used tables in a schema?
- Cannot rebuild index, but there's no reason why not?
- Programmatically find indexes that cannot be rebuilt online
- MySQL information_schema doesn't update
- Install MariaDB without password prompt in ubuntu
- Configuration options for relational algebra evaluator "ra.jar"
- Limit memory used for mongoDb
- What's better/faster? MySql or FileSystem?
- Pgpool, Postgresql and Apache tuning (1000 concurrent spatial queries)
sync geographical branches localhosts with a VPS server Posted: 04 Aug 2013 09:28 PM PDT We have 43 different geographical branches within the country.We are creating a Web App which we can use to deal with our university students registration,marks,payments etc.each 43 branches don't want to connect with each branches but they should connect with the central sever.And if any branch have internet interrupts we are planning to use localhost to connect to the web app.So when network is ok that localhost data should sync with the central sever.Does it possible with mysql clustering ? |
How oracle syncs data across nodes in a cluster Posted: 04 Aug 2013 05:06 PM PDT If I have a oracle db server clustered across 2 nodes, it means both nodes have a copy of the whole data, the data is not lying half and half on each node. Now when I make an update using my application connected to the cluster, (application deployed on WAS), i make an update on one of the nodes and then Oracle will sync it on the other node. My question is, will this sync happen in real time? Is it something configurable? It seems if it is in real time, then the performance will be affected? What is the standard solution for that? |
My MySQL server time is not the same as my Server Posted: 04 Aug 2013 03:51 PM PDT So a month ago I had purchased a server from a hosting company. The info are; Linux Centos (latest version). I installed ZPanel which installs phpMyAdmin, MySQL and all the other good stuff. Anyway, I have managed to change my SERVER time to my local time which is GMT. However when I try to set it on my MySQL server it shows the right time, but when I use the function in PHP, the time stores +1 hour ahead of my current time, which pretty much messes up my system. Does anyone know how to fix this? Please It's been a few weeks, yet nothing to fix it :/ Thank you. |
How can I connect to a database after its disk has come back online? Posted: 04 Aug 2013 11:26 AM PDT I have problems with database after reconnecting a hard disk:
How can I recover connection with physical files without restarting the SQL Server service? |
How do I view a Microsoft SQL Server Compact Database Posted: 04 Aug 2013 04:44 PM PDT I have installed SQL Server 2012 Enterprise Edition. I can use SQL Server Data Tools to add databases and tables and query tables etc. Next, I used Visual Studio to try out a tutorial on creating a website with a database. The database type created was an SQL Server Compact Local Database. This database doesn't turn up in the list of databases in SQL Server Data Tools. How do I view compact local databases? (I want to be able to view the data in the DB, add rows using a GUI, and run SQL queries within the tool.) Or are they different products, in which case does Microsoft have an equivalent tool to SQL Server Data Tools for SQL Server Compact databases? |
Delete operation mysql cluster Posted: 04 Aug 2013 02:17 AM PDT I am trying to delete some entries from table on a cluster and I get this error ERROR 1297 (HY000): Got temporary error 233 'Out of operation records in transaction coordinator (increase MaxNoOfConcurrentOperations)' from NDBCLUSTER I have increased MaxNoOfConcurrentOperations=1000000 but I still get this error I never get this error when selecting or inserting. |
Scaling of PostGIS vs MySQL cos/sin calculations Posted: 04 Aug 2013 01:10 AM PDT I need to sort database rows according to GPS coordinates (or any other geographical representation). The way I've understood it, MySQL Spatial Indexes are too buggy at the time of writing (at least articles and my own tests indicate so). So I can either switch to PostgreSQL to use PostGIS which seems to be working excellently, or I can do it mathematically in MySQL: I'm not asking for a PostgreSQL vs MySQL debate, but simply how the performance of the MySQL expression scales as rows grow compared to using PostGIS/PostgreSQL. It's a drastic step to switch database system, so the upside better be significant. |
Calculating the median value in a MySQL table with CodeIgniter Posted: 04 Aug 2013 05:15 PM PDT This is my model file in codeigniter. I need to calculate the median for this variable: |
Government border control database solution [closed] Posted: 04 Aug 2013 01:39 AM PDT I am on a research for border control IT solution. Do you recommend any big databases administration and security companies ? I'd really appreciate it. |
Creating a table with parent_id from a flat table Posted: 04 Aug 2013 07:47 AM PDT I have a flat table Example A city belongs to a county. A county belongs to a state. First my attempt was to divide the data into 3 tables cities, counties, and states and to build up the associations via linking tables (cities_counties). Now I want to create a 'locations' table out of it, where county is parent of city and state is parent of county. What would be best practice to create the adjacent list from the flat list? I'm working in a LAMP environment, just in case a php script would fit. |
Optimizing a query with ORDER BY in a derived table Posted: 04 Aug 2013 06:34 AM PDT The query below takes too long to execute (58 seconds). If I run two more queries like this with different The table definition is |
Is there a way to find the least recently used tables in a schema? Posted: 04 Aug 2013 07:13 AM PDT Is there a way to find the least recently used tables in a MySQL schema? Besides going into data directories? I was hoping there was a metadata or status trick-- but Update_Time in STATUS and INFORMATION_SCHEMA is always NULL. |
Cannot rebuild index, but there's no reason why not? Posted: 04 Aug 2013 02:10 AM PDT I've created a process whereby I am able to only rebuild indexes that need rebuilding(the process takes an hour and a half if I rebuild them all), and while it works beautifully, it gets stuck on one particular index and I see no reason why I should. It fails with the following message:
However, when I run the query based on a suggestion by this chap, shown below, I get no results: On top of that, a manual inspection of the index in question shows no text, ntext, image, xml or varchar(MAX), nvarchar(MAX) or varbinary(MAX). Could there be something I'm missing here? For the record, this is a clustered index. |
Programmatically find indexes that cannot be rebuilt online Posted: 04 Aug 2013 10:32 AM PDT I am automating rebuild and reorganise indexes using T-SQL. I run into problems with indexes that cannot be rebuilt online. Primarily this happens because ntext/nvarchar columns are included. Is there a way to programmatically identify them as part of this statement? So kind of addition to the WHERE predicate |
MySQL information_schema doesn't update Posted: 04 Aug 2013 08:55 PM PDT I have a database, say After I run the query The strange thing is that I find the database size doesn't decrease at all, however the data in "test" is gone. I've done this kind of test many times, this strange behavior happens sometimes. I'm using Can anybody tell me what is wrong? Update: Actually, I use another thread to check the database size periodically. |
Install MariaDB without password prompt in ubuntu Posted: 04 Aug 2013 12:53 AM PDT I need to install mariadb server in ubuntu without passwod prompt. For this purpose, I execute the following commands, but it doesn't gave me any progress. It again shows password prompt. I used the following commands : I also check some links in stack overflow, but it doesnot worked: http://stackoverflow.com/questions/7739645/install-mysql-on-ubuntu-without-password-prompt Please help me on this regard. Have any wrong with my code? |
Configuration options for relational algebra evaluator "ra.jar" Posted: 04 Aug 2013 03:53 AM PDT I am participating in the Stanford Database Class, and there are some problem sets to be solved in "mathy" relational algebra syntax. The course instructors demand from students to use this open-source, free jar file "ra.jar" to submit solutions via web forms. I wonder if there is a better evaluator available? This one is pretty good but
I want the CREATE VIEW.... and SELECT ... SQL statements that the jar file generates and sends to SQLite. Alternatively, can I configure SQLite to echo/log all sql commands submitted to it? Is there an option for the .properties file? |
Posted: 04 Aug 2013 09:55 AM PDT Is there any way to limit using RAM for mongodb on Debian? I'm looking for a solution fo about 8 hours, but have no results. |
What's better/faster? MySql or FileSystem? Posted: 04 Aug 2013 06:42 AM PDT Let's imagine a web site that is a directory of people. For each person there may be a profile photo and a biography. I'll admit my SQL queries could be better but in general what would be faster and less processor. To check if a file exists and then open it or check against MySql to see if a bio exists and display it. I'm pretty sure in the above case the filesystem will smoke the mysql database. What if I make the database a read only delimited txt file? What's faster in this case? Is there a certain point where if the txt file has too many records it's better to use MySql? |
Pgpool, Postgresql and Apache tuning (1000 concurrent spatial queries) Posted: 04 Aug 2013 08:55 AM PDT I'm trying to configure a load balancing system. I've a python script, invoked through mod_wsgi on Apache, that generates a query and executes it on pgpool: request-> wsgi python -> pgpool -> postgresql. Pgpool is configured as load balancer using 4 servers with 24GB ram and 350GB ssh hd. Our db is about 150GB and a query takes about 2 seconds. These are the configurations: Pgpool
Apache (mpm_prefork)
PostgreSQL
It seems not working When I try to submit more than 150 concurrent queries, although pgpool log file doesn't have any errors I get this error from the python script:
Any ideas? |
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